CN108470430A - Earthquake pre-warning method, set-top box and earthquake early-warning system - Google Patents

Earthquake pre-warning method, set-top box and earthquake early-warning system Download PDF

Info

Publication number
CN108470430A
CN108470430A CN201810349309.XA CN201810349309A CN108470430A CN 108470430 A CN108470430 A CN 108470430A CN 201810349309 A CN201810349309 A CN 201810349309A CN 108470430 A CN108470430 A CN 108470430A
Authority
CN
China
Prior art keywords
warning
top box
earthquake pre
earthquake
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810349309.XA
Other languages
Chinese (zh)
Inventor
徐佳宏
黄洁
李郁琼
华道伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ipanel TV Inc
Original Assignee
Shenzhen Ipanel TV Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ipanel TV Inc filed Critical Shenzhen Ipanel TV Inc
Priority to CN201810349309.XA priority Critical patent/CN108470430A/en
Publication of CN108470430A publication Critical patent/CN108470430A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/10Alarms for ensuring the safety of persons responsive to calamitous events, e.g. tornados or earthquakes
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B27/00Alarm systems in which the alarm condition is signalled from a central station to a plurality of substations
    • G08B27/005Alarm systems in which the alarm condition is signalled from a central station to a plurality of substations with transmission via computer network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders

Landscapes

  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Emergency Management (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geology (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Earthquake pre-warning method provided by the invention, set-top box and earthquake early-warning system, initially set up the data connection between the set-top box and earthquake pre-warning server, then the earthquake pre-warning information that the earthquake pre-warning server is sent is received by the data connection, the earthquake pre-warning information finally is presented using the multimedia play equipment of set-top box connection, to which the electric wave principle faster than seismic wave propagation speed be utilized, it allows users to just know the upcoming message of earthquake in advance before seismic wave is transmitted to the user location, efficiently and effectively play the role of earthquake pre-warning, improve the promptness of earthquake pre-warning, social loss caused by reducing earthquake disaster.

Description

Earthquake pre-warning method, set-top box and earthquake early-warning system
Technical field
The present invention relates to network technique fields, more specifically, being related to earthquake pre-warning method, set-top box and earthquake pre-warning system System.
Background technology
Earthquake pre-warning refers to before getting the jump on seimic wave propagation to fortified defence area, shifting to an earlier date to fortified defence area after earthquake generation Alarm is sent out to tens of seconds within several seconds, to reduce local loss.
Under conventional conditions after earthquake generation, journalist can just carry out related report by TV, for example, report ground The disaster-stricken situation of spot is shaken, and this report mode timeliness is poor, can not play the role of earthquake pre-warning, can not make to set The masses in anti-area know Behaviour of seismicity in time and take in time it is necessary combat a natural disaster measure, it is social caused by reduce earthquake disaster Loss.
Therefore, there is an urgent need to a kind of effective earthquake pre-warning schemes to be subtracted with improving the promptness of earthquake pre-warning at present Social loss caused by few earthquake disaster.
Invention content
In view of this, the present invention provides a kind of earthquake pre-warning method, set-top box and earthquake early-warning systems, to solve tradition It is poor that mode timeliness is reported in earthquake, the technical issues of can not playing the role of earthquake pre-warning.
To achieve the above object, the present invention provides the following technical solutions:
A kind of earthquake pre-warning method is applied to set-top box, the method includes:
Establish the data connection between the set-top box and earthquake pre-warning server;The earthquake pre-warning server is for obtaining The earthquake pre-warning information for taking earthquake pre-warning center to issue, and send the earthquake pre-warning information to the set-top box;
By the data connection, the earthquake pre-warning information that the earthquake pre-warning server is sent is received;
The multimedia play equipment connected using the set-top box, is presented the earthquake pre-warning information.
Preferably, the data connection established between the set-top box and earthquake pre-warning server includes:
Establish the WebSocket connections between the set-top box and earthquake pre-warning server.
Preferably, after the WebSocket connections established between the set-top box and earthquake pre-warning server, institute The method of stating further includes:
According to preset period of time to the earthquake pre-warning server send heartbeat message, for detect the set-top box with Connection status between the earthquake pre-warning server.
Preferably, described by the data connection, receive the earthquake pre-warning information that the earthquake pre-warning server is sent Including:
By the WebSocket connections between the set-top box and earthquake pre-warning server, the earthquake pre-warning clothes are received The earthquake pre-warning information that business device is pushed when earthquake occurs to the set-top box.
Preferably, the multimedia play equipment connected using the set-top box, is presented the earthquake pre-warning packet It includes:
When the earthquake pre-warning information representation seismology is serious, the multimedia connected using the set-top box is set It is standby, the earthquake pre-warning information is presented in the form of big pop-up, while playing the audio-frequency information of earthquake countdown;
When the earthquake pre-warning information representation seismology is not serious, the multimedia connected using the set-top box is broadcast Equipment is put, the earthquake pre-warning information is presented in the form of small pop-up.
Preferably, the WebSocket connections established between the set-top box and earthquake pre-warning server include:
After the set-top box start completion, detect whether the set-top box is successfully accessed network;
When detecting that the set-top box is successfully accessed network, establish between the set-top box and earthquake pre-warning server WebSocket connections.
Preferably, the heartbeat message is the card number information of the set-top box and uses JSON formats.
Preferably, the earthquake pre-warning information that the earthquake pre-warning server is sent uses JSON formats.
A kind of set-top box, the set-top box include:
Data connection establishes unit, for establishing the data connection between the set-top box and earthquake pre-warning server;Institute Earthquake pre-warning information of the earthquake pre-warning server for obtaining the publication of earthquake pre-warning center is stated, and to described in set-top box transmission Earthquake pre-warning information;
Warning information receiving unit, for by the data connection, receiving the ground that the earthquake pre-warning server is sent Shake warning information;
The earthquake is presented for the multimedia play equipment using set-top box connection in warning information display unit Warning information.
A kind of earthquake early-warning system, the system comprises:Set-top box and earthquake pre-warning server;
The set-top box, for establishing the data connection between the set-top box and earthquake pre-warning server;By described Data connection receives the earthquake pre-warning information that the earthquake pre-warning server is sent;The multimedia connected using the set-top box The earthquake pre-warning information is presented in playback equipment;
The earthquake pre-warning server, the earthquake pre-warning information for obtaining the publication of earthquake pre-warning center, and by described Shake warning information is sent to the set-top box.
It can be seen from the above technical scheme that earthquake pre-warning method provided by the invention, set-top box and earthquake pre-warning system System, initially sets up the data connection between the set-top box and earthquake pre-warning server, is then received by the data connection The earthquake pre-warning information that the earthquake pre-warning server is sent, the multimedia play equipment finally connected using the set-top box are in The existing earthquake pre-warning information allows users to which the electric wave principle faster than seismic wave propagation speed be utilized in seismic wave The upcoming message of earthquake is just known in advance before being transmitted to the user location, efficiently and effectively plays earthquake pre-warning Effect, improve the promptness of earthquake pre-warning, reduce social loss caused by earthquake disaster.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of earthquake pre-warning method provided by the embodiments of the present application;
Fig. 2 is another flow chart of earthquake pre-warning method provided by the embodiments of the present application;
Fig. 3 is another flow chart of earthquake pre-warning method provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram of set-top box provided by the embodiments of the present application;
Fig. 5 is the configuration diagram of earthquake early-warning system provided by the embodiments of the present application.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Set-top box is a kind of household appliance of support television terminal offer integrated information business, is enabled users in existing TV Digital television program is watched on machine, and formula digitlization amusement, education and commercialization activity can be interacted by network.
Earthquake pre-warning method provided by the embodiments of the present application can be applied to set-top box, utilize the electric wave original faster than seismic wave Reason carries out earthquake pre-warning to user by set-top box, allows users to understand earthquake conditions in time, improves warning, and then adopt Requisite measure is taken to reduce earthquake.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of earthquake pre-warning method provided by the embodiments of the present application.
As shown in Figure 1, the method includes:
S101:Establish the data connection between the set-top box and earthquake pre-warning server.
The earthquake pre-warning server, the earthquake pre-warning information for obtaining the publication of earthquake pre-warning center, and to the machine Top box sends the earthquake pre-warning information.
When an earthquake occurs, earthquake pre-warning center can issue earthquake pre-warning information in time, and earthquake pre-warning server can be with The earthquake pre-warning information of warning center publication is got in real time, and by being established between the set-top box and earthquake pre-warning server Data connection, earthquake pre-warning information is sent to set-top box.
In practical applications, the earthquake pre-warning server can be placed in radio and television computer room, in order to set-top box Establish data connection.
S102:By the data connection, the earthquake pre-warning information that the earthquake pre-warning server is sent is received.
By established data connection between the set-top box and earthquake pre-warning server, set-top box can be from described Earthquake pre-warning server receives corresponding earthquake pre-warning information.
S103:The multimedia play equipment connected using the set-top box, is presented the earthquake pre-warning information.
Set-top box would generally be connected at least one multimedia play equipment, and the content of digital television broadcasting is passed through Its multimedia play equipment connected is presented.So in the present invention, set-top box is receiving earthquake pre-warning information Afterwards, the multimedia play equipment connected using the set-top box, can equally be presented the earthquake pre-warning information.Its In, the presentation may include:Video is presented and/or audio is presented.
The multimedia play equipment can be television set, can also be that the other kinds of multimedia such as computer monitor is broadcast Put equipment.Wherein, television set is almost the equipment of every household indispensability, using this platform of television set, more users can be allowed to obtain Know earthquake pre-warning information, there is relatively broad audient's area.
Earthquake pre-warning method provided in this embodiment, initially sets up the number between the set-top box and earthquake pre-warning server According to connection, the earthquake pre-warning information that the earthquake pre-warning server is sent then is received by the data connection, is finally utilized The earthquake pre-warning information is presented in the multimedia play equipment of the set-top box connection, compares seimic wave propagation to which electric wave be utilized Fireballing principle allows users to just know earthquake in advance at hand before seismic wave is transmitted to the user location Message, efficiently and effectively play the role of earthquake pre-warning, improve the promptness of earthquake pre-warning, reduce earthquake disaster and make At social loss.
Referring to Fig. 2, Fig. 2 is another flow chart of earthquake pre-warning method provided by the embodiments of the present application.
As shown in Fig. 2, the method includes:
S201:Establish the WebSocket connections between the set-top box and earthquake pre-warning server.
In the present embodiment, the data connection established between the set-top box and the earthquake server is specially: WebSocket connections.WebSocket is a kind of new procotol based on TCP, it realizes set-top box and is taken with earthquake pre-warning Full-duplex communication between business device.
Wherein, by the WebSocket connections established between the set-top box and earthquake pre-warning server, institute can be allowed It states earthquake pre-warning server and initiatively and in real time pushes earthquake pre-warning information to the set-top box.
S202:By the WebSocket connections between the set-top box and earthquake pre-warning server, it is pre- to receive the earthquake The earthquake pre-warning information that alert server is pushed when earthquake occurs to the set-top box.
When earthquake occurs, earthquake pre-warning server can get the earthquake pre-warning letter of earthquake pre-warning center transmission in real time Breath, and earthquake pre-warning information is initiatively pushed to set-top box in time in such a way that WebSocket connections use is real-time, Further improve the promptness that user obtains earthquake pre-warning information.
S203:When the earthquake pre-warning information representation seismology is serious, the multimedia of set-top box connection is utilized The earthquake pre-warning information is presented in the form of big pop-up, while playing the audio-frequency information of earthquake countdown for playback equipment.
Wherein, it is presented in the form of big pop-up, can refer to full screen display, may also mean that according to the first default face Product is shown.Wherein, the first preset area refers to the 50% display area more than full frame area;For example, the first default face Product can be full frame area 80%, 90% or other be more than 50% display area.
Wherein, earthquake countdown refers to the countdown that earthquake feeds through to user location;The audio-frequency information of earthquake countdown It can be the voice broadcast information of earthquake countdown, can also be the clock ticktack sound of earthquake countdown.
For example, when seismology is serious, earthquake pre-warning information (such as earthquake place, seismic magnitude, seismaesthesia can be displayed in full screen The count down information etc. that strong and weak and earthquake reaches), while voice broadcast earthquake reaches count down information.
S204:When the earthquake pre-warning information representation seismology is not serious, the more of set-top box connection are utilized The earthquake pre-warning information is presented in apparatus for media playing in the form of small pop-up.
Wherein, it is shown in the form of small pop-up, can be shown according to the second preset area.Wherein, second Preset area refers to the 50% display area no more than full frame area, for example, the second preset area can be full frame area 10%, 20% or other be not more than 50% display area.
Also, small pop-up can be located at any angle of display screen, can also be close to any side of display screen, can be with position In the middle of display screen, other predeterminated positions are may be located on certainly.
In one example, a preset field is may include in the earthquake pre-warning information, the value of the preset field is for referring to Show the concrete form of the presentation.For example, the value of the preset field may include the first preset value and the second preset value;Work as earthquake When situation is serious, the preset field in the earthquake pre-warning information is the first preset value, and set-top box is indicated by the first preset value Using multimedia play equipment, the earthquake pre-warning information is presented in the form of big pop-up, while playing the sound of earthquake countdown Frequency information;When seismology is not serious, the preset field in the earthquake pre-warning information is the second preset value, pre- by second If value instruction set-top box utilizes multimedia play equipment, the earthquake pre-warning information is presented in the form of small pop-up.
Earthquake pre-warning method provided in this embodiment, initially sets up between the set-top box and earthquake pre-warning server WebSocket connections, then by the WebSocket connections between the set-top box and earthquake pre-warning server, described in reception The earthquake pre-warning information that earthquake pre-warning server is pushed when earthquake occurs to the set-top box, utilizes WebSocket connections It the characteristics of real-time and permission earthquake pre-warning server active push information, further improves set-top box and receives describedly Shake the promptness of warning information;Also, when the earthquake pre-warning information representation seismology is serious, connected using the set-top box The earthquake pre-warning information is presented in the form of big pop-up, while playing the sound of earthquake countdown for the multimedia play equipment connect Frequency information;When the earthquake pre-warning information representation seismology is not serious, the multimedia connected using the set-top box is broadcast Equipment is put, the earthquake pre-warning information is presented in the form of small pop-up and is presented not for the different severity of earthquake state Same presentation effect, the severity of seismology is quickly understood convenient for user.
Referring to Fig. 3, Fig. 3 is another flow chart of earthquake pre-warning method provided by the embodiments of the present application.
As shown in figure 3, the method includes:
S301:After the set-top box start completion, detect whether the set-top box is successfully accessed network.
User wants to get the information of earthquake pre-warning server transmission by set-top box, and network connection is essential , so, after set-top box start completion, the set-top box also needs to detect whether itself has been successfully accessed network.
In one example, set-top box can automatically create a global page control pagewidget after start completion, with For establishing the WebSocket connections between the set-top box and earthquake pre-warning server, to complete set-top box and earthquake Information transmit-receive between Warning Service device.
S302:When detecting that the set-top box is successfully accessed network, the set-top box and earthquake pre-warning server are established Between WebSocket connections.
When detecting that the set-top box is successfully accessed network, the set-top box just have with earthquake pre-warning server it Between establish the conditions of WebSocket connections, then can execute and establish between the set-top box and earthquake pre-warning server Otherwise the process of WebSocket connections waits for set-top box to be successfully accessed network and execute again and establishes the set-top box and earthquake pre-warning The process of WebSocket connections between server.
In one example, during establishing the WebSocket connections between the set-top box and earthquake pre-warning server, If failure is established in WebSocket connections, the process for establishing the WebSocket connections is re-executed;When WebSocket connections When establishing number more than preset times, if failure is still established in WebSocket connections, it is no longer attempt to the WebSocket connections Foundation.
S303:Heartbeat message is sent to the earthquake pre-warning server according to preset period of time, for detecting the machine Connection status between top box and the earthquake pre-warning server.
Wherein, the heartbeat message is used to detect the connection shape between the set-top box and the earthquake pre-warning server State, it is described when the connection status abnormal (such as because dtr signal, the provisional closing reason of network cause network to disconnect) The heartbeat message that set-top box is sent to the earthquake pre-warning server will be overtime, and then the set-top box will be attempted to build again Vertical WebSocket connections between the set-top box and earthquake pre-warning server.
The preset period of time can be 3 minutes, 5 minutes or other times period, can specifically be set as needed It is fixed.
The earthquake pre-warning server is returned after receiving the heartbeat message without being directed to the heartbeat message It is multiple.
The present embodiment is detected by way of heartbeat message between the set-top box and the earthquake pre-warning server Connection status, when the connection status is abnormal, the set-top box can be attempted to re-establish the set-top box and earthquake pre-warning WebSocket connections between server, to ensure that the earthquake pre-warning for timely receiving earthquake pre-warning server real time push is believed Breath can by the way of constantly sending information acquisition request to earthquake pre-warning server compared to the method using Ajax polls The access pressure of earthquake pre-warning server is effectively relieved.
In one example, the heartbeat message can be the card number information of the set-top box and use JSON formats, described JSON formats meet the data format requirement of earthquake pre-warning server.Wherein, JSON (JavaScript Object Notation, JS object tag) it is a kind of data interchange format of lightweight.
S304:It is connected by the WebSocket, receives the earthquake pre-warning information that the earthquake pre-warning server is sent.
The earthquake pre-warning information that the earthquake pre-warning server is sent can equally use the JSON formats.
S305:The multimedia play equipment connected using the set-top box, is presented the earthquake pre-warning information.
Wherein, the step S305 in previous embodiment step S103 or step S203-S204 it is similar, specifically may be used With reference to the content of previous embodiment, details are not described herein.
Earthquake pre-warning method provided by the embodiment, after the set-top box start completion, detect the set-top box whether at Work(accesses network, ensures that set-top box has and establishes the necessary condition that WebSocket is connect between earthquake pre-warning server;And It establishes after the WebSocket connections between the set-top box and earthquake pre-warning server, according to preset period of time to described Earthquake pre-warning server sends heartbeat message, for detecting the connection shape between the set-top box and the earthquake pre-warning server State, when the connection status is abnormal, to re-establish WebSocket connections in time;Then, pass through the WebSocket Connection receives the earthquake pre-warning information that the earthquake pre-warning server is sent, improve set-top box receive earthquake pre-warning information and Shi Xing;Finally, the earthquake pre-warning information is presented using the multimedia play equipment of set-top box connection, allow users to and When learn earthquake pre-warning information, reduce social loss caused by earthquake disaster.
The embodiment of the present invention additionally provides set-top box, and the set-top box is pre- for realizing earthquake provided in an embodiment of the present invention Alarm method, the technology contents of set-top box described below, can with the technology contents of above-described earthquake pre-warning method with mutually To should refer to.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of set-top box provided by the embodiments of the present application.
As shown in figure 4, the set-top box includes:
Data connection establishes unit 11, for establishing the data connection between the set-top box and earthquake pre-warning server; The earthquake pre-warning server is used to obtain the earthquake pre-warning information of earthquake pre-warning center publication, and sends institute to the set-top box State earthquake pre-warning information;
Warning information receiving unit 12, for by the data connection, receiving what the earthquake pre-warning server was sent Earthquake pre-warning information;
Warning information display unit 13 is presented describedly for the multimedia play equipment using set-top box connection Shake warning information.
In one example, the data connection establishes unit 11, is specifically used for:Establish the set-top box and earthquake pre-warning service WebSocket connections between device.
In one example, the set-top box further includes:Heartbeat message transmission unit, for it is described establish the set-top box with After WebSocket connections between earthquake pre-warning server, sent out to the earthquake pre-warning server according to preset period of time Heartbeat message is sent, for detecting the connection status between the set-top box and the earthquake pre-warning server.Wherein, the heartbeat Message can be the card number information of the set-top box and use JSON formats.
In one example, the warning information receiving unit 12 is specifically used for:Pass through the set-top box and earthquake pre-warning service WebSocket connections between device receive the ground that the earthquake pre-warning server is pushed when earthquake occurs to the set-top box Shake warning information.Wherein, JSON formats can also be used in the earthquake pre-warning information that the earthquake pre-warning server is sent.
In one example, the warning information display unit 13 is specifically used for:
When the earthquake pre-warning information representation seismology is serious, the multimedia connected using the set-top box is set It is standby, the earthquake pre-warning information is presented in the form of big pop-up, while playing the audio-frequency information of earthquake countdown;
When the earthquake pre-warning information representation seismology is not serious, the multimedia connected using the set-top box is broadcast Equipment is put, the earthquake pre-warning information is presented in the form of small pop-up.
In one example, the data connection establishes unit 11, also particularly useful for:
After the set-top box start completion, detect whether the set-top box is successfully accessed network;
When detecting that the set-top box is successfully accessed network, establish between the set-top box and earthquake pre-warning server WebSocket connections.
Set-top box provided in this embodiment, the data initially set up between the set-top box and earthquake pre-warning server connect It connects, the earthquake pre-warning information that the earthquake pre-warning server is sent then is received by the data connection, finally utilize described The earthquake pre-warning information is presented in the multimedia play equipment of set-top box connection, compares seismic wave propagation speed to which electric wave be utilized Fast principle, allows users to just to know that earthquake is upcoming in advance before seismic wave is transmitted to the user location and disappears Breath, efficiently and effectively plays the role of earthquake pre-warning, the promptness of earthquake pre-warning is improved, caused by reducing earthquake disaster Social loss.
The embodiment of the present invention additionally provides earthquake early-warning system, and the earthquake early-warning system is for realizing the embodiment of the present invention The earthquake pre-warning method of offer, the technology contents of earthquake early-warning system described below can be with above-described earthquake pre-warning side The technology contents of method with correspond reference.
Referring to Fig. 5, Fig. 5 is the configuration diagram of earthquake early-warning system provided by the embodiments of the present application.
As shown in figure 5, the system includes at least:Set-top box 1 and earthquake pre-warning server 2.
The set-top box 1, for establishing the data connection between the set-top box and earthquake pre-warning server;By described Data connection receives the earthquake pre-warning information that the earthquake pre-warning server is sent;The multimedia connected using the set-top box The earthquake pre-warning information is presented in playback equipment.
The earthquake pre-warning server 2, the earthquake pre-warning information for obtaining the publication of earthquake pre-warning center, and by described Shake warning information is sent to the set-top box.
The set-top box 1 can be the set-top box provided in previous embodiment, can also include in previous embodiment The data connection establishes unit 11, the warning information receiving unit 12, the warning information display unit 13, may be used also certainly With the heartbeat message transmission unit etc. for including including previous embodiment.
Earthquake early-warning system provided by the embodiment, the data established between earthquake pre-warning server using set-top box are connected It connects, the earthquake pre-warning information that the earthquake pre-warning server is sent then is received by the data connection, finally utilize described The earthquake pre-warning information is presented in the multimedia play equipment of set-top box connection, compares seismic wave propagation speed to which electric wave be utilized Fast principle, allows users to just to know that earthquake is upcoming in advance before seismic wave is transmitted to the user location and disappears Breath, efficiently and effectively plays the role of earthquake pre-warning, the promptness of earthquake pre-warning is improved, caused by reducing earthquake disaster Social loss.
Earthquake pre-warning scheme through the invention, user only need after starting set-top box, keep network unimpeded, and make electricity Depending on machine be in open state can (i.e. normal television-viewing state), do not need user carry out special operation, it is easy to operate;When When an earthquake occurs, set-top box will timely receive earthquake pre-warning information, and carry out text prompt or voice by television set Prompt, to remind user's earthquake pre-warning information in time, makes user prevent trouble before it happens in time, reduces society caused by earthquake disaster Loss.As it can be seen that the present invention is while the earthquake pre-warning function of enriching set-top box, it is ensured that the simplification of operation.
Finally, it is to be noted that, herein, such as first and first or the like relational terms be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only that A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Through the above description of the embodiments, those skilled in the art can be understood that the application can be used The form of complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects is realized.Based on this The understanding of sample, the technical solution of the application to background technology contribute in whole or in part can be in the form of software products It embodies, which can be stored in a storage medium, such as ROM/RAM, magnetic disc, CD, including several Instruction is used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes the application Method described in certain parts of each embodiment or embodiment.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is said referring to method part It is bright.
Specific examples are used herein to illustrate the principle and implementation manner of the present application, and above example is said It is bright to be merely used to help understand the present processes and its core concept;Meanwhile for those of ordinary skill in the art, foundation The thought of the application, there will be changes in the specific implementation manner and application range.In conclusion the content of the present specification is not It is interpreted as the limitation to the application.

Claims (10)

1. a kind of earthquake pre-warning method, which is characterized in that it is applied to set-top box, the method includes:
Establish the data connection between the set-top box and earthquake pre-warning server;The earthquake pre-warning server is for obtaining ground The earthquake pre-warning information of warning center publication is shaken, and the earthquake pre-warning information is sent to the set-top box;
By the data connection, the earthquake pre-warning information that the earthquake pre-warning server is sent is received;
The multimedia play equipment connected using the set-top box, is presented the earthquake pre-warning information.
2. the method as described in claim 1, which is characterized in that described to establish between the set-top box and earthquake pre-warning server Data connection include:
Establish the WebSocket connections between the set-top box and earthquake pre-warning server.
3. method as claimed in claim 2, which is characterized in that it is described establish the set-top box and earthquake pre-warning server it Between WebSocket connections after, the method further includes:
According to preset period of time to the earthquake pre-warning server send heartbeat message, for detect the set-top box with it is described Connection status between earthquake pre-warning server.
4. method as claimed in claim 2, which is characterized in that it is described by the data connection, receive the earthquake pre-warning Server send earthquake pre-warning information include:
By the WebSocket connections between the set-top box and earthquake pre-warning server, the earthquake pre-warning server is received The earthquake pre-warning information pushed to the set-top box when earthquake occurs.
5. the method as described in claim 1, which is characterized in that the multimedia using set-top box connection is set Standby, the earthquake pre-warning information, which is presented, includes:
When the earthquake pre-warning information representation seismology is serious, the multimedia play equipment connected using the set-top box, The earthquake pre-warning information is presented in the form of big pop-up, while playing the audio-frequency information of earthquake countdown;
When the earthquake pre-warning information representation seismology is not serious, the multimedia connected using the set-top box is set It is standby, the earthquake pre-warning information is presented in the form of small pop-up.
6. method as claimed in claim 2, which is characterized in that described to establish between the set-top box and earthquake pre-warning server WebSocket connections include:
After the set-top box start completion, detect whether the set-top box is successfully accessed network;
When detecting that the set-top box is successfully accessed network, establish between the set-top box and earthquake pre-warning server WebSocket connections.
7. method as claimed in claim 3, which is characterized in that the heartbeat message is the card number information of the set-top box and adopts With JSON formats.
8. the method as described in claim 1, which is characterized in that the earthquake pre-warning information that the earthquake pre-warning server is sent is adopted With JSON formats.
9. a kind of set-top box, which is characterized in that the set-top box includes:
Data connection establishes unit, for establishing the data connection between the set-top box and earthquake pre-warning server;Describedly Shake Warning Service device is used to obtain the earthquake pre-warning information of earthquake pre-warning center publication, and sends the earthquake to the set-top box Warning information;
Warning information receiving unit, for by the data connection, it is pre- to receive the earthquake that the earthquake pre-warning server is sent Alert information;
The earthquake pre-warning is presented for the multimedia play equipment using set-top box connection in warning information display unit Information.
10. a kind of earthquake early-warning system, which is characterized in that the system comprises:Set-top box and earthquake pre-warning server;
The set-top box, for establishing the data connection between the set-top box and earthquake pre-warning server;Pass through the data Connection receives the earthquake pre-warning information that the earthquake pre-warning server is sent;The multimedia connected using the set-top box The earthquake pre-warning information is presented in equipment;
The earthquake pre-warning server, the earthquake pre-warning information for obtaining the publication of earthquake pre-warning center, and the earthquake is pre- Alert information is sent to the set-top box.
CN201810349309.XA 2018-04-18 2018-04-18 Earthquake pre-warning method, set-top box and earthquake early-warning system Pending CN108470430A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810349309.XA CN108470430A (en) 2018-04-18 2018-04-18 Earthquake pre-warning method, set-top box and earthquake early-warning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810349309.XA CN108470430A (en) 2018-04-18 2018-04-18 Earthquake pre-warning method, set-top box and earthquake early-warning system

Publications (1)

Publication Number Publication Date
CN108470430A true CN108470430A (en) 2018-08-31

Family

ID=63263449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810349309.XA Pending CN108470430A (en) 2018-04-18 2018-04-18 Earthquake pre-warning method, set-top box and earthquake early-warning system

Country Status (1)

Country Link
CN (1) CN108470430A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246223A (en) * 2020-03-05 2020-06-05 深圳创维-Rgb电子有限公司 Earthquake early warning method, earthquake early warning system, television and storage medium
CN111429699A (en) * 2020-04-23 2020-07-17 四川省有线广播电视网络股份有限公司 Low-delay earthquake early warning system and method for broadcast and television middleware set top box
CN111556373A (en) * 2020-04-23 2020-08-18 四川省有线广播电视网络股份有限公司 Earthquake early warning information issuing safety tamper-proof method based on set top box
CN111932831A (en) * 2020-07-31 2020-11-13 成都市美幻科技有限公司 Earthquake broadcasting method, system, electronic equipment and readable storage medium
CN112712673A (en) * 2020-12-21 2021-04-27 北京数码视讯科技股份有限公司 Earthquake early warning method and system
CN113068170A (en) * 2019-12-30 2021-07-02 北京搜狗科技发展有限公司 Information pushing method and device and electronic equipment
CN113848583A (en) * 2021-09-22 2021-12-28 成都康特电子科技股份有限公司 Earthquake emergency broadcasting system, method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201976223U (en) * 2011-01-25 2011-09-14 杭州博视科技有限公司 Digital television graph-text advertisement system based on set-top box
CN102622856A (en) * 2012-04-24 2012-08-01 成都高新减灾研究所 Television set top box-based method for publishing earthquake early warning information
CN103150872A (en) * 2013-02-17 2013-06-12 王暾 Television-based earthquake early warning information publishing method
CN105959827A (en) * 2016-04-22 2016-09-21 深圳市茁壮网络股份有限公司 Data interaction method, set top box, and front-end server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201976223U (en) * 2011-01-25 2011-09-14 杭州博视科技有限公司 Digital television graph-text advertisement system based on set-top box
CN102622856A (en) * 2012-04-24 2012-08-01 成都高新减灾研究所 Television set top box-based method for publishing earthquake early warning information
CN103150872A (en) * 2013-02-17 2013-06-12 王暾 Television-based earthquake early warning information publishing method
CN105959827A (en) * 2016-04-22 2016-09-21 深圳市茁壮网络股份有限公司 Data interaction method, set top box, and front-end server

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113068170A (en) * 2019-12-30 2021-07-02 北京搜狗科技发展有限公司 Information pushing method and device and electronic equipment
CN111246223A (en) * 2020-03-05 2020-06-05 深圳创维-Rgb电子有限公司 Earthquake early warning method, earthquake early warning system, television and storage medium
CN111429699A (en) * 2020-04-23 2020-07-17 四川省有线广播电视网络股份有限公司 Low-delay earthquake early warning system and method for broadcast and television middleware set top box
CN111556373A (en) * 2020-04-23 2020-08-18 四川省有线广播电视网络股份有限公司 Earthquake early warning information issuing safety tamper-proof method based on set top box
CN111556373B (en) * 2020-04-23 2022-06-10 中国广电四川网络股份有限公司 Earthquake early warning information issuing safety tamper-proof method based on set top box
CN111932831A (en) * 2020-07-31 2020-11-13 成都市美幻科技有限公司 Earthquake broadcasting method, system, electronic equipment and readable storage medium
CN112712673A (en) * 2020-12-21 2021-04-27 北京数码视讯科技股份有限公司 Earthquake early warning method and system
CN113848583A (en) * 2021-09-22 2021-12-28 成都康特电子科技股份有限公司 Earthquake emergency broadcasting system, method and device

Similar Documents

Publication Publication Date Title
CN108470430A (en) Earthquake pre-warning method, set-top box and earthquake early-warning system
CN102710992B (en) A kind of interactive message methods of exhibiting, Apparatus and system
CN104967903A (en) Video play detection method and device
US8925019B2 (en) Synchronous display streaming system and synchronous displaying method
CN105892977A (en) Multi-screen system interaction method, multi-screen system interaction device and smart television
CN106303702A (en) Connection status inspection method, device and intelligent television system
CN107846617B (en) Interaction method of intelligent terminal and intelligent television
CN103686219A (en) Method, device and system for recording and broadcasting video conference
CN102800341A (en) Terminal and multimedia playing method thereof
CN110795699B (en) Screen recording prevention method below iOS11 based on iPhone system status bar
CN102065337A (en) Reminding method, mobile terminal and set top box
CN104079542B (en) A kind of information processing method and device management server
US8925032B2 (en) AV output system performing video output
CN110895577A (en) Voice alarm broadcasting simulation method and system for nuclear power station full-range analog machine
CN112003664A (en) Method and equipment for issuing emergency broadcast information through smart television
CN105635838A (en) Bullet-screen information processing method and device
CN105992058A (en) Prompting method, device and system for video playing
JP2017022555A (en) Relay broadcast system and control method thereof
JP2014123872A (en) Display device and display method
CN103106911A (en) Video processing device, video display device, video recording device, video processing method, and recording medium
CN108566560A (en) A kind of screen protection implementation method and device
CN114840282B (en) Screen recording method and screen recording device of intelligent interaction panel
CN103747330A (en) Program monitoring method, apparatus and digital television receiving terminal
CN110620761B (en) Method and device for realizing multi-person virtual interaction
CN108093289B (en) Popularization information avoiding method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180831

RJ01 Rejection of invention patent application after publication