Emergency broadcasting method based on set top box

文档序号:1641403 发布日期:2019-12-20 浏览:24次 中文

阅读说明:本技术 一种基于机顶盒的应急广播方法 (Emergency broadcasting method based on set top box ) 是由 罗意 于 2019-08-23 设计创作,主要内容包括:本发明公开一种基于机顶盒的应急广播方法,包括以下步骤:1、通过前端服务器搭建通过MQTT协议与终端机顶盒通讯的消息中间件;2、终端机顶盒向消息中间件发送请求认证的信息,消息中间件根据终端机顶盒的地址生成对应的MQTT登录账号和密码;3、终端机顶盒利用MQTT登录账号和密码登录到消息中间件,对需要获取的应急广播主题进行订阅;4、通过前端服务器将应急广播主题的内容发送到消息中间件;5、消息中间件根据终端机顶盒订阅情况,将应急广播主题的内容推送到对应的终端机顶盒;6、终端机顶盒接收到应急广播主题的内容进行强制弹出显示。本发明借助终端机顶盒普及率高、覆盖面广的特点,能及时地将应急讯息告知广大公众。(The invention discloses an emergency broadcasting method based on a set top box, which comprises the following steps: 1. a message middleware which is communicated with a terminal set top box through an MQTT protocol is established through a front-end server; 2. the terminal set-top box sends information requesting authentication to the message middleware, and the message middleware generates a corresponding MQTT login account and a password according to the address of the terminal set-top box; 3. the terminal set-top box logs in to the message middleware by using an MQTT login account and a password and subscribes an emergency broadcast theme to be acquired; 4. sending the content of the emergency broadcast theme to message middleware through a front-end server; 5. the message middleware pushes the content of the emergency broadcast theme to the corresponding terminal set top box according to the subscription condition of the terminal set top box; 6. and the terminal set-top box receives the content of the emergency broadcast theme and performs forced pop-up display. The invention can inform the public of the emergency information in time by virtue of the characteristics of high popularization rate and wide coverage of the terminal set-top box.)

1. An emergency broadcasting method based on a set-top box is characterized by comprising the following steps:

s1, building a message middleware which communicates with the terminal set-top box through an MQTT protocol through the front-end server;

s2, the terminal set-top box sends information requesting authentication to the message middleware, and the message middleware generates a corresponding MQTT login account and a password according to the MAC address of the terminal set-top box;

s3, the terminal set-top box logs in the message middleware by using the MQTT login account and the password thereof, and subscribes the emergency broadcast theme to be acquired;

s4, the content of the emergency broadcast theme is sent to the message middleware through the front-end server;

s5, the message middleware pushes the content of the emergency broadcast theme to the corresponding terminal set top box according to the subscription condition of the terminal set top box;

and S6, the terminal set-top box performs forced pop-up display after receiving the content of the emergency broadcast theme.

2. The set-top box based emergency broadcasting method of claim 1, wherein: the message middleware is a TIBCO RV middleware.

3. The set-top box based emergency broadcasting method of claim 1, wherein: the terminal set-top box is an intelligent set-top box.

Technical Field

The invention belongs to the technical field of communication, and particularly relates to an emergency broadcasting method based on a set top box.

Background

An intelligent set-top box (television box) is a set-top box carrying an Aliskian or android system, has the functions of watching television and video by using a traditional television box, can realize networking functions of browsing webpages, chatting QQ, playing games and the like on a computer, and is widely applied to families. So far, the application of the intelligent set-top box in the field of emergency broadcasting is still a blank. When major natural disasters, emergencies, public health, social safety and other emergent public crises occur, related departments cannot utilize the intelligent set top box with extremely high popularization rate to inform the public of emergency messages in time, and the emergency messages can be sent out only through the traditional modes of a tweeter, an alarm and the like. Therefore, it is necessary to provide an emergency broadcasting method based on a set-top box.

Disclosure of Invention

The technical problem to be solved by the invention is to provide an emergency broadcasting method based on a set top box, which can send emergency information to the public through the set top box and overcome the defects of the prior art.

In order to solve the technical problems, the technical scheme of the invention is as follows: an emergency broadcasting method based on a set top box comprises the following steps:

s1, building a message middleware which communicates with the terminal set-top box through an MQTT protocol through the front-end server;

s2, the terminal set-top box sends information requesting authentication to the message middleware, and the message middleware generates a corresponding MQTT login account and a password according to the MAC address of the terminal set-top box;

s3, the terminal set-top box logs in the message middleware by using the MQTT login account and the password thereof, and subscribes the emergency broadcast theme to be acquired;

s4, the content of the emergency broadcast theme is sent to the message middleware through the front-end server;

s5, the message middleware pushes the content of the emergency broadcast theme to the corresponding terminal set top box according to the subscription condition of the terminal set top box;

and S6, the terminal set-top box performs forced pop-up display after receiving the content of the emergency broadcast theme.

The emergency broadcasting method based on the set top box is that the message middleware is a TIBCO RV middleware.

The emergency broadcasting method based on the set top box is characterized in that the terminal set top box is an intelligent set top box.

Compared with the prior art, the invention has the beneficial effects that: the front-end server of the invention sends the content of the emergency broadcast theme to the corresponding terminal set-top box for forced pop-up display through the message middleware, and can inform the emergency message to the general public in time by virtue of the characteristics of high popularization rate and wide coverage of the terminal set-top box. Meanwhile, compared with the traditional emergency broadcasting mode, the method has the advantages of accurate message pushing and cost saving.

Drawings

Fig. 1 is a block diagram of the basic structure of the present invention.

Fig. 2 is a data flow diagram of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Referring to fig. 1 and 2, the emergency broadcasting method based on the set-top box of the present invention includes the following steps:

s1, building a message middleware which communicates with the terminal set-top box through an MQTT protocol through the front-end server;

s2, the terminal set-top box sends information requesting authentication to the message middleware, and the message middleware generates a corresponding MQTT login account and a password according to the MAC address of the terminal set-top box;

s3, the terminal set-top box logs in the message middleware by using the MQTT login account and the password thereof, and subscribes the emergency broadcast theme to be acquired;

s4, the content of the emergency broadcast theme is sent to the message middleware through the front-end server;

s5, the message middleware pushes the content of the emergency broadcast theme to the corresponding terminal set top box according to the subscription condition of the terminal set top box;

and S6, the terminal set-top box performs forced pop-up display after receiving the content of the emergency broadcast theme.

Specifically, the message middleware is a TIBCO RV middleware.

Specifically, the terminal set-top box is an intelligent set-top box.

In the invention, the front-end server sends the content of the emergency broadcast theme to the corresponding terminal set-top box through the message middleware to perform forced pop-up display, and the emergency message can be informed to the general public in time by utilizing the realistic conditions of high popularization rate and wide coverage of the terminal set-top box.

The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention.

5页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:TDM接口扩展方法及装置、设备、可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类