Summary of the invention
The embodiment of the present invention provides a kind of message distributing method and system, so that at specified channel and fixed time Pop-up message, and informs whether described message sends successfully.
The embodiment of the present invention provides a kind of message distributing method, described method comprises: increment service system sends the message of picture and text type to message system, and the message of described picture and text type comprises appointment and from which channel ejects the channel information of described picture and text and specify the temporal information that when ejects described picture and text;
Described message system, by monitoring information queue, is sent to receiving terminal for digital television by the message of described picture and text type;
The channel that described receiving terminal for digital television is specified according to described channel information and temporal information and time eject described picture and text and return to the transmission result of the message of described picture and text type to described message system;
Described message system receive described transmission result and by described transmission result feedback to described increment service system.
The embodiment of the present invention provides a kind of message distributing system, and described message distributing system comprises increment service system, message system and receiving terminal for digital television;
Described increment service system, for send the message of picture and text type to described message system, the message of described picture and text type comprises appointment and from which channel ejects the channel information of described picture and text and specify the temporal information that when ejects described picture and text;
Described message system comprises message transmission module, message result receiver module and message result feedback module;
Described message transmission module, for by monitoring information queue, is sent to receiving terminal for digital television by the message of described picture and text type;
Described message result receiver module, for receiving the transmission result of message of the described picture and text type that described receiving terminal for digital television returns;
Described message result feedback module, for by described transmission result feedback to described increment service system;
Described receiving terminal for digital television, ejected described picture and text and returns to the transmission result of the message of described picture and text type to described message system for the channel of specifying according to described channel information and temporal information and time;
Described increment service system, for receiving the transmission result of described message result feedback module feedback.
The message distributing method providing from the invention described above embodiment, because increment service system is to the message of message system transmission picture and text type, and the message of described picture and text type comprises to specify from which channel and ejects the channel information of described picture and text and specify and when eject the temporal information of described picture and text, message system after the transmission result of message of described picture and text type that receives described receiving terminal for digital television feedback by described transmission result feedback to described increment service system.Therefore, in the method that the embodiment of the present invention provides, message system can regularly be determined channel and send the message that comprises picture and text type, and increment service system also can accurately know whether the message of the picture and text type of transmission arrives receiving terminal for digital television.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, the every other embodiment that those skilled in the art obtain, belongs to the scope of protection of the invention.
Referring to accompanying drawing 1, is a kind of message distributing method schematic flow sheet that the embodiment of the present invention provides, and mainly comprises step:
S101, increment service system sends the message of picture and text type to message system, and the message of described picture and text type comprises appointment and from which channel ejects the channel information of described picture and text and specify the temporal information that when ejects described picture and text.
In embodiments of the present invention, increment service system (Value Added Service, the message that VAS) can send comprises the message of command type and the message of picture and text type, the message of described picture and text type is mainly the message that ejects type, can comprise picture, word etc., the message of command type is mainly order line message.
After receiving terminal for digital television start, receiving terminal for digital television can be registered to message system by log-on messages such as the IP address of described receiving terminal for digital television, media access control information and smart card information, and described log-on message is sent to increment service system, before increment service system sends message to message system, message system receives the log-on message of described receiving terminal for digital television, and described increment service system receives the log-on message of described receiving terminal for digital television.This binding relationship is bound and safeguarded to message system by the IP address of receiving terminal for digital television and its smart card information, so, as long as the smart card information that the message that message system receives comprises receiving terminal for digital television, message system just can be sent to this receiving terminal for digital television by this message according to the IP address of receiving terminal for digital television.Due to the user of this receiving terminal for digital television of smart card information unique identification of receiving terminal for digital television, therefore, above-mentioned message system can send message to designated user.
Further, message system receives the service log-on information of described increment service system and records the heartbeat message of described receiving terminal for digital television.
S102, message system, by monitoring information queue, is sent to receiving terminal for digital television by described message.
Message system is pressed into message queue by message after receiving message, whether has new message by monitoring information queue and then discovery.In embodiments of the present invention, in message system, there is a message queue administration module, provide queue management for the message that will send VAS, and message queue is realized to persistence etc., for example,, by message stores in the dead electricity such as such as hard disk and not in the storage media of obliterated data.
It should be noted that, in the message of the picture and text type that message system is received, at least comprise the smart card information of receiving terminal for digital television.
If by monitoring information queue, find that there is new message, by getting idle thread, from described message queue, read the message that increment service system sends.The IP address of the receiving terminal for digital television of safeguarding while registration according to receiving terminal for digital television and the binding relationship of smart card information, message system is sent to described receiving terminal for digital television according to IP address by described message.
S103, the channel that receiving terminal for digital television is specified according to described channel information and temporal information and time eject described picture and text and return to the transmission result of the message of described picture and text type to described message system.
In receiving terminal for digital television one side, judge that described message is the message of picture and text type or the message of command type.If message is the message of command type, the message of this command type is transmitted to the application program of VAS on receiving terminal for digital television.If message is the message of picture and text type, channel and the time of specifying according to described channel information and temporal information are ejected described picture and text, and transmission result from described message to described message system that feed back shows described picture and text message in screen display mode.
In embodiments of the present invention, message system comprises a cache module, for data cached, perdurable data (for example, by message stores in the dead electricity such as such as hard disk and not in the storage media of obliterated data) and the information of synchronous modules etc., wherein, described data comprise the IP address of receiving terminal for digital television and the binding relationship of its smart card, heartbeat message and the success of message transmission or failed record etc.The data that need persistence are generally data of data, for a long time inapplicable data and the calcellation that cannot go down at cache module buffer memory etc.
Before described message is sent to receiving terminal for digital television by message system, further judge that whether described receiving terminal for digital television is online.After receiving terminal for digital television registration, can timing send heartbeat message to message system, therefore, in embodiments of the present invention, if the heartbeat message that described receiving terminal for digital television sends is received in described message system timing, described message system can judge that described receiving terminal for digital television is online, otherwise described receiving terminal for digital television is not online.If it is not online that described message system judges described receiving terminal for digital television, described message system readjustment business.
S104, message system receive described receiving terminal for digital television feedback described message transmission result and by described transmission result feedback to described increment service system.
If receiving terminal for digital television is online, described receiving terminal for digital television handles accordingly according to the type of message of receiving,, if what message system sended over is the message of picture and text type, Pop-up message prompt window, if the message of command type is called corresponding service application, fill order, and by the transmission result feedback of described message to increment service system.
If receiving terminal for digital television is not online, described message system readjustment business.The result of readjustment business is sent to described increment service system by message system.If described message system can not be adjusted back business, described message sends unsuccessfully, and failure result is sent to described increment service system by described message system.
The message distributing method providing from the invention described above embodiment, because increment service system is to the message of message system transmission picture and text type, and the message of described picture and text type comprises to specify from which channel and ejects the channel information of described picture and text and specify and when eject the temporal information of described picture and text, message system after the transmission result of message that receives the described picture and text type that described receiving terminal for digital television returns by described transmission result feedback to described increment service system.Therefore, in the method that the embodiment of the present invention provides, message system can regularly be determined channel and send the message that comprises picture and text type, and increment service system also can accurately know whether the message of the picture and text type of increment service system transmission arrives receiving terminal for digital television.
Referring to accompanying drawing 2, is the message distributing system structural representation that the embodiment of the present invention provides.For convenience of explanation, only show the part relevant to the embodiment of the present invention, functional module/unit wherein can be software module/unit, hardware module/unit or the software and hardware module/unit that combines.The message distributing system of accompanying drawing 2 examples comprises increment service system 201, message system 202 and receiving terminal for digital television 203, wherein:
Increment service system 201 is for send the message of picture and text type to described message system 202, and the message of described picture and text type comprises appointment and from which channel ejects the channel information of described picture and text and specify the temporal information that when ejects described picture and text;
Message system 202 comprises message transmission module 2021, message result receiver module 2022 and message result feedback module 2023;
Message transmission module 2021, for by monitoring information queue, is sent to receiving terminal for digital television 203 by the message of described picture and text type;
The transmission result of the message of the described picture and text type that message result receiver module 2022 returns for receiving digital television receiving terminal 203
Result feedback module 2023 will be for sending result feedback to increment service system 201;
Receiving terminal for digital television 203, ejected described picture and text and returns to the transmission result of described message to described message system for the channel of specifying according to described channel information and temporal information and time;
Message system 202, the transmission result of feeding back for reception result feedback module 2023.
The message system 202 of accompanying drawing 2 examples also comprises the first log-on message receiver module 301, and increment service system 201 comprises the second log-on message receiver module 302, as the message distributing system of accompanying drawing 3 examples, wherein:
The first log-on message receiver module 301 is for the service log-on information of log-on message and the increment service system 201 of receiving digital television receiving terminal 203, and the log-on message of receiving terminal for digital television 203 comprises IP address, media access control information and the smart card information of receiving terminal for digital television 203;
The second log-on message receiver module 302 is for the log-on message of receiving digital television receiving terminal 203.
The message transmission module 2021 of accompanying drawing 3 examples further comprises message reading unit 401 and message sending unit 402, as the message distributing system of accompanying drawing 4 examples, wherein:
Message reading unit 401 for by monitoring information queue, reads the message of described picture and text type from described message queue, and the message of described picture and text type comprises the smart card information of described receiving terminal for digital television;
Message sending unit 402, for according to the IP address of receiving terminal for digital television 203 and the binding relationship of smart card information, is sent to receiving terminal for digital television 203 by the message of described picture and text type.
The message system 202 of accompanying drawing 2 to Fig. 4 arbitrary examples further comprises online judge module 501, as the message distributing system of accompanying drawing 5 examples.Whether online judge module 501 is online for judging receiving terminal for digital television 203.Particularly, if the heartbeat message that receiving terminal for digital television sends is received in message system 202 timings, judge that receiving terminal for digital television 203 is online.
The message system 202 of accompanying drawing 5 examples is further included in callback module 601, as the message distributing system of accompanying drawing 6 examples.If callback module 601 judges that for online judge module 501 receiving terminal for digital television 203 is not online, adjust back business, now, result feedback module 2023 is for being sent to increment service system 201 by the result of the readjustment business of callback module 601;
If callback module 601 can not be adjusted back business, result feedback module 2023 is for being sent to failure result increment service system 201.
It should be noted that, the content such as information interaction, implementation between the each module/unit of said apparatus, due to the inventive method embodiment based on same design, its technique effect bringing is identical with the inventive method embodiment, particular content can, referring to the narration in the inventive method embodiment, repeat no more herein.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is can carry out the hardware that instruction is relevant by program to complete, such as following the whole bag of tricks one or more or all:
Increment service system sends the message of picture and text type to message system, the message of described picture and text type comprises appointment and from which channel ejects the channel information of described picture and text and specify the temporal information that when ejects described picture and text;
Described message system, by monitoring information queue, is sent to receiving terminal for digital television by the message of described picture and text type;
The channel that described receiving terminal for digital television is specified according to described channel information and temporal information and time eject described picture and text and return to the transmission result of the message of described picture and text type to described message system;
Described message system receive described transmission result and by described transmission result feedback to described increment service system.
This program can be stored in a computer-readable recording medium, and storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
The message distributing method and the system that above the embodiment of the present invention are provided are described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.