CN104349204A - HTTP (hypertext transfer protocol) keep-alive connection-based two-way keep-alive connection system for set top boxes - Google Patents

HTTP (hypertext transfer protocol) keep-alive connection-based two-way keep-alive connection system for set top boxes Download PDF

Info

Publication number
CN104349204A
CN104349204A CN201310347113.4A CN201310347113A CN104349204A CN 104349204 A CN104349204 A CN 104349204A CN 201310347113 A CN201310347113 A CN 201310347113A CN 104349204 A CN104349204 A CN 104349204A
Authority
CN
China
Prior art keywords
set top
top box
server
long
http
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
CN201310347113.4A
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.)
SHANGHAI B-STAR BROADBAND TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI B-STAR BROADBAND TECHNOLOGY Co Ltd
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 SHANGHAI B-STAR BROADBAND TECHNOLOGY Co Ltd filed Critical SHANGHAI B-STAR BROADBAND TECHNOLOGY Co Ltd
Priority to CN201310347113.4A priority Critical patent/CN104349204A/en
Publication of CN104349204A publication Critical patent/CN104349204A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone

Abstract

The invention provides an HTTP (hypertext transfer protocol) keep-alive connection-based two-way keep-alive connection system for set top boxes. The system comprises a server and a plurality of set top boxes, wherein two one-way keep-alive connections are established between each set top box and the server, and are used for realizing communication from the set top box to the server and from the server to the set top box. According to the HTTP keep-alive connection-based two-way keep-alive connection system for the set top boxes, an HTTP keep-alive connection technology is applied, so that the consumption of the server is greatly lowered, and the performance of the server is improved; meanwhile, two one-way keep-alive connections are established between the server and each set top box to realize two-way instant information interaction between the server and the set top box.

Description

Based on the long two-way long connected system of Set Top Box connected of http
Technical field
The present invention relates to the communications field, particularly relate to a kind of based on the long two-way long connected system of Set Top Box connected of http.
Background technology
Digital TV set-top box (Set Top Box, STB) be a kind of conversion equipment digital television signal being converted to analog signal, it is by carrying out decoded back to through the image of digitalization compressed and voice signal, produce video and the voice signal of simulation, then provide high-quality TV programme via television indicator and stereo set to spectators.
At present, digital TV set-top box has developed into a kind of embedding assembly equipment, there is perfect real time operating system, powerful CPU computing capability is provided, be used for cooperation control Set Top Box each several part hardware facility, and easy-operating graphic user interface is provided, provide the program description and background information that both pictures and texts are excellent to user.Along with developing rapidly of digital TV set-top box, the role that Set Top Box is served as in home intelligence becomes more and more important.In many application such as the instant messaging of Set Top Box and Flash Quote, the short interconnection technique of traditional tcp cannot meet this demand, its need server can in real time by the information pushing that upgrades to Set Top Box, and to send request without the need to the user of Set Top Box; Meanwhile, Set Top Box also by the connection of setting up with server, can realize the real-time information interaction between other terminal equipment.
Therefore, under these circumstances, the renewal of the interconnection technique between Set Top Box and server just becomes the current problem needing solution badly.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of based on the long two-way long connected system of Set Top Box connected of http, by setting up at STB terminal and server terminal, two reciprocal http are long to be connected, and realizes the real-time information interaction between real-time information processing between server and Set Top Box and Set Top Box.
For achieving the above object and other relevant objects, the invention provides a kind of based on the long two-way long connected system of Set Top Box connected of http, comprise server and some Set Top Box, wherein, set up two between each Set Top Box with described server unidirectionally long to be connected, described two unidirectional long connections are respectively used to realize Set Top Box to server, server to the communication of Set Top Box.
According to the above-mentioned two-way long connected system of Set Top Box based on the long connection of http, wherein: server connects for real-time for the information of the information of server update or server reception is pushed to Set Top Box to the unidirectional long of Set Top Box.
According to the above-mentioned two-way long connected system of Set Top Box based on the long connection of http, wherein: Set Top Box was used for the Real time request of Set Top Box to be sent to server to unidirectional long connection of server.
The Set Top Box two-way long connected system based on http long connection above-mentioned according to power, wherein: between the first Set Top Box and the second Set Top Box, carry out real-time video call by following step:
First step S1: the first Set Top Box sends the video calling request to the second Set Top Box to server;
Step S2: after server receives described video calling request, gives the second Set Top Box by described video calling request forward;
After step S3: the second Set Top Box receives described video calling request, then carry out video calling by server and the first Set Top Box.
As mentioned above, of the present invention based on the long two-way long connected system of Set Top Box connected of http, there is following beneficial effect:
(1) secondary data request is often done with traditional, all to re-establish between server with client compared with a short connection, the present invention is by the long interconnection technique of application http, greatly reduce the consumption to server, improve the performance of server, achieve information interaction function fast simultaneously.
(2) the short connecting communication technology of traditional set-top-box server can only realize the one-way data transmission of server to Set Top Box, and server cannot obtain the timely response from Set Top Box; And the present invention is connected by setting up two unidirectional length between server with Set Top Box, achieve the information bidirectional real-time interaction between server and Set Top Box;
(3) real-time information interaction between Set Top Box is achieved.
Accompanying drawing explanation
Fig. 1 is shown as the structural representation based on the long two-way long connected system of Set Top Box connected of http of the present invention.
Element numbers explanation
1 server
2 first Set Top Box STB1
3 second Set Top Box STB2
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Under the 4S standard setting up long connection mechanism, namely Safe (safety), Stable (stablizing), Save(save), Slim (volume is little), of the present inventionly adopt following structure based on the long two-way long connected system of Set Top Box connected of http:
1, control information and data message use different http length to connect.When Set Top Box needs to close, and server is also in the blocked state reading data, and Set Top Box needs announcement server timely to close data cube computation.Server, after receiving turn-off request, first wakes up from the blocked state reading data, then discharges the resource that this Set Top Box is distributed, then closes connection.So control request and the request of data of Set Top Box use the long connection of different http can ensure to control to ask not get clogged.
2, between Set Top Box and server, set up a set of Two-way Feedback mechanism, guarantee that set top box side and server end are mutual in time.Maintain between server with Set Top Box and long a connection can bring uncertainty for communication.Because transfer of data is random, Set Top Box does not know when server just has data transmission; Meanwhile, server will be guaranteed, when Set Top Box no longer works, to discharge the resource that this Set Top Box is distributed.Therefore, need to keep " heartbeat " information between Set Top Box and server, reduce this uncertainty.
Consult Fig. 1, of the present inventionly comprise server and some Set Top Box based on the long two-way long connected system of Set Top Box connected of http, wherein, each Set Top Box with sets up two unidirectional length between server and is connected.By above-mentioned two unidirectional long connections, Set Top Box and server can send request packet to the other side simultaneously and receive response data packet.By the transfer of server, between Set Top Box, also real-time information interaction can be realized.
Server connects for real-time for the information of the information of server update or server reception is pushed to each Set Top Box to the unidirectional long of Set Top Box STB1, STB2.
Set Top Box STB1, STB2 were used for the Real time request of Set Top Box to be sent to server to unidirectional long connection of server.After server receives above-mentioned request, process will be responded in time.
Real-time video call is carried out by following step between Set Top Box STB1 and Set Top Box STB2:
Step S1: Set Top Box STB1 sends the video calling request to Set Top Box STB2 to server;
Step S2: after server receives this video calling request, by this video calling request forward to Set Top Box STB2;
Step S3: Set Top Box STB2 receive this video calling request after, just can exchange video data by server and Set Top Box STB1, realize video call function.
In like manner, STB1 also can receive video calling request and the video data of STB2 by above-mentioned steps.
In sum, the two-way long connected system of Set Top Box based on the long connection of http of the present invention, by the long interconnection technique of application http, greatly reduces the consumption to server, improves the performance of server; Being connected by setting up two unidirectional length between server with Set Top Box simultaneously, achieving the information bidirectional real-time interaction between server and Set Top Box.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (4)

1. the two-way long connected system of Set Top Box based on the long connection of http, it is characterized in that, comprise server and some Set Top Box, wherein, set up two between each Set Top Box with described server unidirectionally long to be connected, described two unidirectional long connections are respectively used to realize Set Top Box to server, server to the communication of Set Top Box.
2. according to claim 1 based on the long two-way long connected system of Set Top Box connected of http, it is characterized in that: server connects for real-time for the information of the information of server update or server reception is pushed to Set Top Box to the unidirectional long of Set Top Box.
3. according to claim 1 based on the long two-way long connected system of Set Top Box connected of http, it is characterized in that: Set Top Box was used for the Real time request of Set Top Box to be sent to server to unidirectional long connection of server.
4. according to claim 1 based on the long two-way long connected system of Set Top Box connected of http, it is characterized in that: between the first Set Top Box and the second Set Top Box, carry out real-time video call by following step:
First step S1: the first Set Top Box sends the video calling request to the second Set Top Box to server;
Step S2: after server receives described video calling request, gives the second Set Top Box by described video calling request forward;
After step S3: the second Set Top Box receives described video calling request, then carry out video calling by server and the first Set Top Box.
CN201310347113.4A 2013-08-09 2013-08-09 HTTP (hypertext transfer protocol) keep-alive connection-based two-way keep-alive connection system for set top boxes Pending CN104349204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310347113.4A CN104349204A (en) 2013-08-09 2013-08-09 HTTP (hypertext transfer protocol) keep-alive connection-based two-way keep-alive connection system for set top boxes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310347113.4A CN104349204A (en) 2013-08-09 2013-08-09 HTTP (hypertext transfer protocol) keep-alive connection-based two-way keep-alive connection system for set top boxes

Publications (1)

Publication Number Publication Date
CN104349204A true CN104349204A (en) 2015-02-11

Family

ID=52503874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310347113.4A Pending CN104349204A (en) 2013-08-09 2013-08-09 HTTP (hypertext transfer protocol) keep-alive connection-based two-way keep-alive connection system for set top boxes

Country Status (1)

Country Link
CN (1) CN104349204A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561061A (en) * 2017-09-27 2019-04-02 中兴通讯股份有限公司 A kind of data sharing method, server, set-top box and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360010A (en) * 2008-09-19 2009-02-04 中山大学 Set-top box remote monitoring method based on internet service station
CN101478607A (en) * 2009-01-20 2009-07-08 深圳华为通信技术有限公司 Electric power management apparatus and method for mobile terminal based on dual processor
CN101540870A (en) * 2009-04-22 2009-09-23 中兴通讯股份有限公司 Realization method of video call service
CN102984596A (en) * 2012-11-26 2013-03-20 烽火通信科技股份有限公司 Device and method for integrating video communication service and internet protocol television (IPTV) service
CN103023880A (en) * 2012-11-26 2013-04-03 烽火通信科技股份有限公司 Device and method for integration of video communication service and DLNA (Digital Living Network Alliance) service
CN202918417U (en) * 2012-11-28 2013-05-01 青岛海信宽带多媒体技术有限公司 Video conversation system based on Android set top box
CN103139529A (en) * 2013-02-22 2013-06-05 青岛海信宽带多媒体技术有限公司 Video call switchover method between session initiation protocol (SIP) server and video call devices

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360010A (en) * 2008-09-19 2009-02-04 中山大学 Set-top box remote monitoring method based on internet service station
CN101478607A (en) * 2009-01-20 2009-07-08 深圳华为通信技术有限公司 Electric power management apparatus and method for mobile terminal based on dual processor
CN101540870A (en) * 2009-04-22 2009-09-23 中兴通讯股份有限公司 Realization method of video call service
CN102984596A (en) * 2012-11-26 2013-03-20 烽火通信科技股份有限公司 Device and method for integrating video communication service and internet protocol television (IPTV) service
CN103023880A (en) * 2012-11-26 2013-04-03 烽火通信科技股份有限公司 Device and method for integration of video communication service and DLNA (Digital Living Network Alliance) service
CN202918417U (en) * 2012-11-28 2013-05-01 青岛海信宽带多媒体技术有限公司 Video conversation system based on Android set top box
CN103139529A (en) * 2013-02-22 2013-06-05 青岛海信宽带多媒体技术有限公司 Video call switchover method between session initiation protocol (SIP) server and video call devices

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561061A (en) * 2017-09-27 2019-04-02 中兴通讯股份有限公司 A kind of data sharing method, server, set-top box and system

Similar Documents

Publication Publication Date Title
CN104391890B (en) picture loading method and system
CN103517142B (en) A kind of interaction comment information processing method and system based on intelligent television
CN102571979A (en) Multi-screen interactive equipment and binding method thereof
CN103442071A (en) Mobile phone screen content real-time sharing method
CN103650458A (en) Transmission method, device and system of media streams
CN103813213A (en) Real-time video sharing platform and method based on mobile cloud computing
EP3557877A1 (en) Control method and device
CN108683653A (en) A kind of active message push system based on WebSocket
CN105282124A (en) Transmission method and presentation method of progressive picture based on XMPP
CN111240858A (en) Event scheduling method and component
CN103024457A (en) Method and device for controlling server touch screen
CN103516788A (en) Data pushing method and Flash client terminal and server thereof
CN104852987A (en) Screen capture transmission system for family internet equipment
CN103581695A (en) System and method for achieving access of mobile terminal to global eye
CN104349204A (en) HTTP (hypertext transfer protocol) keep-alive connection-based two-way keep-alive connection system for set top boxes
CN112218034A (en) Video processing method, system, terminal and storage medium
CN104602108A (en) Method and system for transferring files of mobile phone and set-top box
CN114679436B (en) Session management method, server and computer readable storage medium
CN206402373U (en) A kind of touch-control system
CN104391576A (en) Remote input method and device based on wireless Ethernet
CN107750003A (en) A kind of long-range touching input system and method
CN106998278A (en) A kind of remote control thereof and intelligent mobile terminal
CN105323225B (en) The interactive correspondence protocol fitting method and system of cross-terminal
CN203984565U (en) A kind of video conferencing system of integrated management
CN102611914B (en) Cloud television application service system and method

Legal Events

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

Application publication date: 20150211

RJ01 Rejection of invention patent application after publication