CN108156488A - Interactive approach and electronic equipment based on gateway server - Google Patents

Interactive approach and electronic equipment based on gateway server Download PDF

Info

Publication number
CN108156488A
CN108156488A CN201711414778.7A CN201711414778A CN108156488A CN 108156488 A CN108156488 A CN 108156488A CN 201711414778 A CN201711414778 A CN 201711414778A CN 108156488 A CN108156488 A CN 108156488A
Authority
CN
China
Prior art keywords
top box
sent
gateway server
mobile terminal
unpaired message
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
CN201711414778.7A
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.)
Sumavision Technologies Co Ltd
Original Assignee
Sumavision Technologies 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 Sumavision Technologies Co Ltd filed Critical Sumavision Technologies Co Ltd
Priority to CN201711414778.7A priority Critical patent/CN108156488A/en
Publication of CN108156488A publication Critical patent/CN108156488A/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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43632Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • 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
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client
    • H04N21/6334Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key
    • H04N21/63345Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key by transmitting keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/637Control signals issued by the client directed to the server or network components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/637Control signals issued by the client directed to the server or network components
    • H04N21/6377Control signals issued by the client directed to the server or network components directed to server
    • H04N21/63775Control signals issued by the client directed to the server or network components directed to server for uploading keys, e.g. for a client to communicate its public key to the server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Abstract

The invention discloses a kind of interactive approaches and electronic equipment based on gateway server, it is related to set-top box and interacts field with mobile terminal, gateway server is equipped with for the first mailing address with communication of mobile terminal and for the second mailing address with set top box communication, and method includes:The unpaired message that mobile terminal is sent is received, unpaired message includes:Set-top box identification;The mailing address of set-top box is determined according to set-top box identification;By unpaired message be sent to the corresponding set-top box of mailing address so that set-top box verifies unpaired message;The successful matching information and communication key that receiving set up box is sent;Successful matching information and the communication key are sent to mobile terminal.The present invention provides a kind of interactive approach and electronic equipment based on gateway server, in a manner of by gateway server forwarding information, the communication link between set-top box and mobile terminal is established, and then realizes that set-top box can carry out interactive purpose with mobile terminal in heterogeneous networks.

Description

Interactive approach and electronic equipment based on gateway server
Technical field
Field is interacted with mobile terminal the present invention relates to set-top box, more particularly, to a kind of interaction based on gateway server Method and electronic equipment.
Background technology
Currently, multi-screen interactive can be realized between mobile terminal and set-top box, for example, user can by mobile terminal to Set-top box sends push instruction, realizes the push of data or video, and set-top box is made to play the video of mobile terminal push with screen.But When existing intelligent mobile terminal is interacted with set-top box, the two has to belong to a LAN.If intelligent mobile is whole When end is in heterogeneous networks with set-top box, it can not realize the two interactive function, make troubles to the use of user, lead to user's body It tests poor.
Invention content
In view of this, the purpose of the present invention is to provide a kind of interactive approach and electronic equipment based on gateway server, If be in heterogeneous networks to alleviate intelligent mobile terminal and set-top box in the prior art, interaction can not be realized, to user's The technical issues of using making troubles.
In a first aspect, an embodiment of the present invention provides a kind of interactive approach based on gateway server, taken applied to gateway Business device, the gateway server are equipped with:For the first mailing address with communication of mobile terminal and it is used for and set top box communication The second mailing address, including:
The unpaired message that mobile terminal is sent is received, the unpaired message includes:Set-top box identification;
The mailing address of set-top box is determined according to the set-top box identification;
By the unpaired message be sent to the corresponding set-top box of the mailing address so that the set-top box is to described Unpaired message is verified;
Receive successful matching information and the communication key that the set-top box is sent;
The successful matching information and the communication key are sent to the mobile terminal.
With reference to first aspect, an embodiment of the present invention provides the first possible embodiment of first aspect, wherein, Before receiving the unpaired message that mobile terminal is sent, including:
The registration request that receiving set up box is sent, the registration request include:Set-top box identification and mailing address;
Establish the correspondence of the set-top box identification and mailing address;
Configuration information is sent to the set-top box.
With reference to first aspect, an embodiment of the present invention provides second of possible embodiment of first aspect, wherein, institute The method of stating further includes:
Obtain the pairing relationship table that the set-top box is sent;
When receiving the interactive instruction that the mobile terminal is sent, according to the pairing relationship table by the interactive instruction It is sent to the set-top box with the mobile terminal successful matching.
Second aspect, the embodiment of the present invention also provide a kind of interactive approach based on gateway server, applied to set-top box, Including:
Receive the unpaired message that gateway server is sent;
Verify whether the unpaired message meets default pairing condition according to the parameter information being stored under preset path;
If verifying, the unpaired message meets the default pairing condition, generates successful matching information and communication key;
The successful matching information and communication key are sent to gateway server, so that the gateway server is by described in Successful matching information and communication key are sent to and the successful mobile terminal of self pair.
With reference to second aspect, an embodiment of the present invention provides the first possible embodiment of second aspect, wherein, Before receiving the unpaired message that gateway server is sent, including:
Registration request is sent to the gateway server, the registration request includes:Set-top box identification and mailing address;
Receive the configuration information that the gateway server is sent, the configuration information:Preset connection equipment current limit threshold.
With reference to second aspect, an embodiment of the present invention provides second of possible embodiment of second aspect, wherein, institute The method of stating further includes:
If verifying, the unpaired message meets default pairing condition, and the pairing relationship of generation is stored in pairing relationship table In;
Statistics and the number of devices of itself successful matching;
If it is described verify that the unpaired message meets default pairing condition after, further include:
When the number of devices is more than preset connection equipment current limit threshold, pairing request is returned to the mobile terminal Failure information.
With reference to second aspect, an embodiment of the present invention provides the third possible embodiment of second aspect, wherein, institute The method of stating further includes:
The interactive instruction that the gateway server is sent is received, the interactive instruction includes:Communication key;
Verify whether communication key meets default communication condition in the interactive instruction;
If the communication key in the interactive instruction meets the default communication condition, the interactive instruction is performed.
The third aspect, the embodiment of the present invention also provide a kind of interactive approach based on gateway server, applied to mobile whole End, including:
Quick Response Code is read, obtains unpaired message, the unpaired message includes:Set-top box identification;
The unpaired message is sent to gateway server, so that the gateway server is true according to the set-top box identification Determine the mailing address of set-top box, and by the unpaired message be sent to the corresponding set-top box of the mailing address so that institute Set-top box is stated to verify the unpaired message;
Receive successful matching information and the communication key that gateway server is sent.
Fourth aspect, the embodiment of the present invention also provide a kind of electronic equipment, including memory, processor, the memory In be stored with the computer program that can be run on the processor, said program code makes the processor perform described first Method described in aspect, second aspect or the third aspect.
5th aspect, the embodiment of the present invention also provide a kind of meter of non-volatile program code that can perform with processor Calculation machine readable medium, said program code make the processor perform the first aspect, second aspect or third aspect institute The method stated.
The embodiment of the present invention brings following advantageous effect:It is provided in an embodiment of the present invention a kind of based on gateway server Interactive approach and electronic equipment in a manner of by gateway server forwarding information, are established between set-top box and mobile terminal Communication link, and then realize that set-top box can carry out interactive purpose with mobile terminal in heterogeneous networks.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification It obtains it is clear that being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims And specifically noted structure is realized and is obtained in attached drawing.
For the above objects, features and advantages of the present invention is enable to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution of the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is architectural configurations schematic diagram provided in an embodiment of the present invention;
Fig. 2 is pairing flow diagram provided in an embodiment of the present invention;
Fig. 3 cancels pairing flow diagram for intelligent terminal provided in an embodiment of the present invention;
Fig. 4 cancels pairing flow diagram for set-top box provided in an embodiment of the present invention;
Icon:
100- gateway servers;200- intelligent mobile terminals;300- set-top boxes.
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present invention are clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiment be part of the embodiment of the present invention rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Lower all other embodiments obtained, shall fall within the protection scope of the present invention.
Explanation of nouns:
FTP/HTTP servers:It supports the server of FTP/HTTP agreements, for storing the resource of user's upload, provides end Hold access function.
Qie La screens:Be divided into tangent screen and draw and shield, be one kind can by sending message, allow video in intelligent mobile terminal and The interactive mode shared between set-top box.
Multi-screen interactive:It refers to, with IGRS protocol, Miracast agreements etc., connecting by WIFI network, it is more in difference On media termination (between such as mobile phone, PAD, TV etc.), can carry out the transmission of multimedia (audio, video, picture) content, parsing, The sequence of operations such as displaying and control shared simultaneously in different platform equipment can show content.
DLNA:The wireless push technology of Android.The full name of DLNA is DIGITAL LIVING NETWORK ALLIANCE (Digital Life Network Alliance) is set up by initiations such as Sony, Intel, Microsofts, aims to solve the problem that personal PC, and consumer appliances are mobile Wireless network and cable network including equipment interconnect.
AirPlay:AirPlay is that one kind added in iOS4.2 and OS X Mountain Lion of Apple Inc. is broadcast Discharge technique, can be by the video mirror image on iPhone, iPod touch, iPad and Mac (needing OS X Mountain Lion) It is transmitted to the equipment of support Airplay (such as:Speaker, Apple TV) in play.Setting for iOS4.2 versions is needed using Airplay More than iTunes10.1 versions on standby or Mac computers.Video mirror image then needs iOS 5 and OS X Mountain Lion.
XMPP:XMPP is a kind of agreement of the subset X ML based on standard generalized markup language, it is inherited in XML environment In it is flexible expansionary.Therefore, the application based on XMPP has superpower scalability.XMPP after extension can lead to It crosses and sends the information of extension and established the demand that handles user and on the top of XMPP such as content delivering system and based on address The application programs such as service.Moreover, XMPP contains the software protocol for server end, make it to be led to another Words, this causes developer to be easier to establish client applications or prepare system addition function to one.
Currently, cell phone realizes the Conventional implementations of multi-screen interactive with set-top box:
Mode one by DLNA, AirPlay technology in same LAN, realizes intelligent mobile terminal and set top box side Video frequency co-screen playing function, file push function etc..
The method has the disadvantage that:Intelligent mobile terminal realizes multi-screen interactive with set-top box, then needs intelligent mobile terminal A LAN is belonged to set-top box;Mobile terminal and set-top box must support DLNA, AirPlay technology or installation to support this The client of technology;It can only realize that pushing video or data to the other end play and show with screen, can not realize and mutually cut Draw screen;And when mobile phone terminal, which plays, to be stopped, set-top box also stops therewith;Can not accomplish mobile phone terminal stop, another terminal still after The function that continued broadcasting is put;
Mode two based on XMPP across screen message engine, based on wire/radio network, supports a plurality of types of intelligence Mobile terminal extends to multi-screen from single TV screen, realizes a variety of across screen application:Qie La screens, multi-screen are seen together, multi-screen is mutual It is dynamic.
Based on the multi-screen interactive that XMPP protocol is realized, entire realization principle is by intelligent mobile terminal, realizes XMPP client The main modulars such as set top box side, XMPP message engine OpenFire, the background system at end carry out good friend's message by groups of users Push form realizes multi-screen interactive function.XMPP message engine OpenFire is responsible for the registration of XMPP accounts, logs in, message road By, forwarding, session management etc..
It realizes flow:
1, intelligent terminal and the STB terminal for realizing XMPP clients are needed in XMPP message engine OpenFire It registers XMPP accounts and logs in, i.e., needed as QQ while online;
2, the form of message is then sent out by group good friend, carries out multi-screen interactive message push, screen behaviour is drawn so as to fulfill cutting Make.
The method has the following disadvantages:Based on XMPP protocol, connected by TCP modes, need each terminal online simultaneously and Mutual plusing good friend is connected as long type of attachment, and when concurrency rises to 100,000 grades of numbers of users, concurrent connection resource occupies very Greatly, lead to occur wild effect in practical applications.
At present, if intelligent mobile terminal is in heterogeneous networks with set-top box in the prior art, interaction can not be realized, to use The use at family is made troubles, based on this, a kind of interactive approach and electronics based on gateway server provided in an embodiment of the present invention Equipment in a manner of by gateway server forwarding information, establishes the communication link between set-top box and mobile terminal, Jin Ershi Existing set-top box can carry out interactive purpose with mobile terminal in heterogeneous networks.
For ease of understanding the present embodiment, describe in detail first to specific implementation of the embodiment of the present invention.
Architecture configuration
In order to realize pairing, cancel pairing, inter-network cuts and screen and inter-network is drawn to share the application scenarios of video, need to configure as Under:
Organization Chart as shown in Figure 1, disposes a gateway server 100, and the gateway server 100 includes:With road By the gateway server child servers of function and the FTP/HTTP child servers of support terminal access.The sub- gateway service of interaction For device there are two up to mailing address (i.e. IP address), one is used for the internet-ip address towards intelligent mobile terminal 200, another It is the CHINA RFTCOM Co Ltd IP address towards set-top box 300.Intelligent mobile terminal 200 is the smart machines such as mobile phone or tablet.Gateway The communication link of server 100 needs to open corresponding fire wall restriction rule.
For example, gateway server 100 directly can find set-top box 300 by the IP address of set-top box or domain name, utilize CHINA RFTCOM Co Ltd IP towards set-top box sends message to set-top box 300.
Operation flow is as follows:
Scene one:Intelligent mobile terminal carries out matching operation with set-top box.
As shown in Fig. 2, the pairing flow of intelligent mobile terminal and set-top box is as follows:
1st, each set-top box start or IP address change after, by the CA card numbers of the machine and mailing address for receiving message (i.e. IP address) is sent to gateway server by HTTP message and is registered.
2nd, after succeeding in registration, set-top box to gateway server ask configuration information, gateway server send configuration information to Set-top box, configuration information include:Preset connection equipment current limit threshold, i.e., maximum paired device quantity.
3rd, set-top box connection tv display screen, when user opens the page of the pairing APP in display screen, set-top box passes through The Quick Response Code generation interface (api interface) that gateway server provides is called, by pairing message (including CA card numbers and with overtime machine The verification information of system) Quick Response Code is converted into, the two-dimension code image address that gateway server returns is received, and pass through tv display screen Show user.
Wherein, other than two-dimensional code display, when needing to show binding code, set-top box is by calling gateway server to carry The Quick Response Code generation interface of confession, when generating and obtaining Quick Response Code, can intercept out the file name of the picture address of Quick Response Code Come, used as binding code.
Splice example:
A) request address:http://10.10.10.10:8080/tool/qrcode/
B) code is bound:1234567890
C) picture suffix name:.png
Splicing result:http://10.10.10.10:8080/tool/qrcode/1234567890.png
4th, user can carry out barcode scanning by the APP of intelligent mobile terminal or be manually entered binding code, obtain Quick Response Code Comprising unpaired message.
Barcode scanning mode:User opens the Quick Response Code shown in the APP scanning display screens of intelligent mobile terminal, parses Quick Response Code Information obtains the CA card numbers included in 2 D code information and verification information;
It is manually entered binding code:User opens the APP of intelligent mobile terminal, and intelligent mobile terminal is according to unalterable rules:Please Address+binding code+.png is sought, is spliced into the download address of Quick Response Code, intelligent mobile terminal sends to download to gateway server and ask It asks, gateway server sends Quick Response Code to intelligent mobile terminal, after the APP parsing unpaired messages of intelligent mobile terminal, obtains two The CA card numbers and verification information included in dimension code information.
5th, intelligent mobile terminal will match message by HTTP request and will be sent to (including set-top box CA card numbers, verification information) Gateway server, gateway server verify the IP address of parsing set-top box after terminal legality, and pairing message is transmitted to correspondence The set-top box of IP address;
6th, set-top box receives the unpaired message of gateway server forwarding, and set-top box is according to being stored under preset path in parameter CA card numbers and verification information carry out information authentication, be such as proved to be successful, the pairing relationship of generation be stored in Set-top Gateway In pairing relationship table, statistics and the number of devices of itself successful matching.The number of devices that current set top box has matched is judged later Whether amount is more than preset connection equipment current limit threshold, if less than preset connection equipment current limit threshold, intelligent mobile is whole thus End generation communication key (key), and local is recorded in, while return to successful matching message and communication key (key).If more than pre- If connection equipment current limit threshold when, to intelligent mobile terminal return pairing request failure information, and delete be stored in set-top box The pairing relationship of gateway pairing relationship table.
7th, intelligent mobile terminal receives and set-top box CA card numbers and communication key (key) is preserved after successful matching message, and Later in the interaction of set-top box, being communicated, being paired into as verification information using the CA card numbers and communication key (key) Work(.
8th, set-top box calls the pairing relationship memory interface of gateway server, by newly-generated pairing relationship storage to gateway In server.Gateway server memory contains pairing relationship table, if intelligent mobile terminal or set-top box restarting, gateway service Device carries out message forwarding according to the intelligent mobile terminal and set-top box pairing relationship of pairing relationship table.
In the case where intelligent mobile terminal and two side of set-top box are without cancelling pairing, can repeatedly be communicated, no It is influenced by intelligent mobile terminal or set-top box restarting.
Scene two:Intelligent mobile terminal carries out cancellation matching operation with set-top box.
As shown in figure 3, intelligent mobile terminal cancellation pairing flow is as follows:
1st, for user after intelligent mobile terminal cancels pairing, the message for cancelling pairing is sent to gateway by intelligent mobile terminal Server;
2nd, gateway server returns success message after preserving the information;
3rd, gateway server is attempted the message for cancelling pairing being sent to set-top box, and message is then marked as complete by success Into state, if time-out failure, will again be sent in set-top box login next time;
4th, after set-top box receives cancellation pairing message, local pairing relationship is deleted, and call pairing relationship memory interface, from The pairing relationship is deleted in data storage in gateway server.
As shown in figure 4, set-top box cancellation pairing pairing flow is as follows:
1st, after user cancels pairing on the set-top box, set-top box deletes the unpaired message on set-top box;
2nd, set-top box deletes pairing relationship from the machine, pairing relationship memory interface is called, from the data in gateway server Pairing relationship is deleted in storage;
3rd, for intelligent mobile terminal when sending messages to set-top box after cancelling pairing, set-top box returns to unpaired message;
4th, after intelligent mobile terminal receives unpaired message, local pairing relationship is deleted.
Interaction between intelligent mobile terminal and set-top box includes:Qie La screens get rid of figure, get rid of video or inter-network shares screen Deng.
Scene three:Tangent screen draws screen
Drawing screen interaction protocol of cutting between intelligent mobile terminal and set-top box is HTTP bearing protocols.
Intelligent mobile terminal tangent screen flow is as follows:
1st, intelligent mobile terminal and set-top box have completed pairing flow (having got CA card numbers and communication key);
2nd, user initiates tangent screen instruction, intelligent mobile terminal assembling tangent screen instruction metadata by intelligent mobile terminal;
3rd, user selects tangent screen purpose user, i.e. set-top box;
4th, tangent screen instruction is sent to gateway server by intelligent mobile terminal;
5th, tangent screen instruction is transmitted to set-top box by gateway server according to tangent screen purpose user;
6th, set-top box parsing tangent screen instruction, and perform tangent screen action;
7th, set-top box completes tangent screen, and sends tangent screen and respond to gateway server, and wherein purpose user initiates to use for tangent screen Family;
8th, tangent screen response is transmitted to intelligent mobile terminal by gateway server.
Wherein, draw screen message consistent with tangent screen message flow.
Scene five:Shared picture/video uploads
Intelligent mobile terminal carries out the upload of shared picture/video, and flow is as follows:
1st, intelligent mobile terminal has completed shooting/video recording of picture/video;
2nd, intelligent mobile terminal uploading pictures/video, picture/video is stored on the server, after uploading successfully, server Request address is returned to intelligent mobile terminal;
3rd, after intelligent mobile terminal uploaded videos, forward notice set-top box that can show/broadcast by gateway server Shared picture/video is put, set-top box plays or notify automatically user.
Scene six:Shared picture/video tour
Whether shared picture/video can be downloaded, but can watch online by HTTP modes, then depending on set-top box Display/broadcast stream protocol tenability.
After set-top box receives the shared notice of intelligent mobile terminal transmission, a prompting frame is popped up, user is prompted to have newly Picture/the video shared.Specific prompting rectangle style is determined by set-top box.When user determines to browse shared picture/video, beat Open picture/list of videos page.
Shared picture/video tour and playing flow are as follows:
1st, set-top box asks for this set-top box matchmaker to gateway server and provides list, and be presented to user, wherein shared picture/regard Frequency is arranged according to share time inverted order, and each picture/video has broadcasting, deletes link;
2nd, user selects a picture/video file being checked;
Gateway server generates the progressive download broadcast address based on HTTP, such as http://IP:port/ CACard1/1.mp4, set-top box play this address.
A kind of interactive approach based on gateway server provided in an embodiment of the present invention, solves multi-screen interactive traditional approach The limitation of multi-screen interactive cannot be carried out in one in heterogeneous networks, realization principle is to pass through routing forwarding side using gateway server Formula solves the problems, such as inter-network.The concurrent connection resource for carrying out multi-screen interactive generation using long connection in traditional approach two is also solved to account for With more, so as to a large number of users using when there is the unstable bottleneck of multi-screen interactive, realization principle:Using intelligent mobile end End, by realizing customized communication protocol (i.e. Http agreements are not long types of attachment), takes with STB terminal by front end Business device carries out matching operation, so as to establish correspondence between the two.
A kind of interactive approach based on gateway server provided in an embodiment of the present invention, when intelligent mobile terminal and set-top box When terminal is in heterogeneous networks, the communication link of safety and stability is established by the method, realizes that inter-network cuts drawing screen and inter-network is shared The interaction functions such as video in the case where intelligent mobile terminal and two side of set-top box are all without cancelling pairing, can carry out repeatedly Communication, is not take up server when not influenced by intelligent mobile terminal or set-top box restarting, and solving concurrent and concurrently connects The problem of resource.
In the embodiment of the present invention, a kind of electronic equipment is also provided, including memory, processor, is stored in the memory There is the computer program that can be run on the processor, it is above-mentioned based on gateway clothes that said program code performs the processor The interactive approach of business device.
The computer program of the interactive approach based on gateway server, device and system that the embodiment of the present invention is provided Product, the computer readable storage medium including storing program code, the instruction that said program code includes can be used for performing Method described in previous methods embodiment, specific implementation can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description With the specific work process of device, the corresponding process in preceding method embodiment can be referred to, details are not described herein.
If the function is realized in the form of SFU software functional unit and is independent product sale or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially in other words The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention. And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
In the description of the present invention, it should be noted that term " " center ", " on ", " under ", "left", "right", " vertical ", The orientation or position relationship of the instructions such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to Convenient for the description present invention and simplify description rather than instruction or imply signified device or element must have specific orientation, With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ", " third " is only used for description purpose, and it is not intended that instruction or hint relative importance.
Finally it should be noted that:Embodiment described above, only specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those of ordinary skill in the art that:Any one skilled in the art In the technical scope disclosed by the present invention, it can still modify to the technical solution recorded in previous embodiment or can be light It is readily conceivable that variation or equivalent replacement is carried out to which part technical characteristic;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover the protection in the present invention Within the scope of.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.

Claims (10)

1. a kind of interactive approach based on gateway server, which is characterized in that applied to gateway server, the gateway server It is equipped with:For the first mailing address with communication of mobile terminal and for the second mailing address with set top box communication, including:
The unpaired message that mobile terminal is sent is received, the unpaired message includes:Set-top box identification;
The mailing address of set-top box is determined according to the set-top box identification;
By the unpaired message be sent to the corresponding set-top box of the mailing address so that the set-top box is to the pairing Information is verified;
Receive successful matching information and the communication key that the set-top box is sent;
The successful matching information and the communication key are sent to the mobile terminal.
2. according to the method described in claim 1, it is characterized in that, before the unpaired message that mobile terminal is sent is received, wrap It includes:
The registration request that receiving set up box is sent, the registration request include:Set-top box identification and mailing address;
Establish the correspondence of the set-top box identification and mailing address;
Configuration information is sent to the set-top box.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
Obtain the pairing relationship table that the set-top box is sent;
When receiving the interactive instruction that the mobile terminal is sent, the interactive instruction is sent according to the pairing relationship table Give the set-top box of the mobile terminal successful matching.
4. a kind of interactive approach based on gateway server, which is characterized in that applied to set-top box, including:
Receive the unpaired message that gateway server is sent;
Verify whether the unpaired message meets default pairing condition according to the parameter information being stored under preset path;
If verifying, the unpaired message meets the default pairing condition, generates successful matching information and communication key;
The successful matching information and communication key are sent to gateway server, so that the gateway server is by the pairing Successful information and communication key are sent to and the successful mobile terminal of self pair.
5. according to the method described in claim 4, it is characterized in that, receive gateway server send unpaired message before, Including:
Registration request is sent to the gateway server, the registration request includes:Set-top box identification and mailing address;
Receive the configuration information that the gateway server is sent, the configuration information:Preset connection equipment current limit threshold.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
If verifying, the unpaired message meets default pairing condition, and the pairing relationship of generation is stored in pairing relationship table;
Statistics and the number of devices of itself successful matching;
If it is described verify that the unpaired message meets default pairing condition after, further include:
When the number of devices is more than preset connection equipment current limit threshold, pairing request failure is returned to the mobile terminal Information.
7. according to the method described in claim 6, it is characterized in that, the method further includes:
The interactive instruction that the gateway server is sent is received, the interactive instruction includes:Communication key;
Verify whether communication key meets default communication condition in the interactive instruction;
If the communication key in the interactive instruction meets the default communication condition, the interactive instruction is performed.
8. a kind of interactive approach based on gateway server, which is characterized in that applied to mobile terminal, including:
Quick Response Code is read, obtains unpaired message, the unpaired message includes:Set-top box identification;
The unpaired message is sent to gateway server, so that the gateway server determines machine according to the set-top box identification The mailing address of top box, and by the unpaired message be sent to the corresponding set-top box of the mailing address so that the machine Top box verifies the unpaired message;
Receive successful matching information and the communication key that gateway server is sent.
9. a kind of electronic equipment including memory, processor, is stored with what can be run on the processor in the memory Computer program, which is characterized in that said program code makes the processor perform any one of described claims 1 to 3, described Any one of claim 4 to 7 or method according to any one of claims 8.
10. a kind of computer-readable medium of non-volatile program code that can perform with processor, which is characterized in that described Program code makes the processor perform any one of any one of described claims 1 to 3, described claim 4 to 7 or right It is required that the method described in 8.
CN201711414778.7A 2017-12-22 2017-12-22 Interactive approach and electronic equipment based on gateway server Pending CN108156488A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711414778.7A CN108156488A (en) 2017-12-22 2017-12-22 Interactive approach and electronic equipment based on gateway server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711414778.7A CN108156488A (en) 2017-12-22 2017-12-22 Interactive approach and electronic equipment based on gateway server

Publications (1)

Publication Number Publication Date
CN108156488A true CN108156488A (en) 2018-06-12

Family

ID=62465613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711414778.7A Pending CN108156488A (en) 2017-12-22 2017-12-22 Interactive approach and electronic equipment based on gateway server

Country Status (1)

Country Link
CN (1) CN108156488A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833434A (en) * 2018-07-02 2018-11-16 山东浪潮商用系统有限公司 A kind of implementation method of the inter-network video call system based on IP bilateral network set-top box
CN109348269A (en) * 2018-12-02 2019-02-15 甘肃万维信息技术有限责任公司 A kind of inter-network throws screen system and its application method
CN109756743A (en) * 2019-01-21 2019-05-14 湖北省广播电视信息网络股份有限公司 Localization information synchronized push system and method
CN109819283A (en) * 2019-01-21 2019-05-28 湖北省广播电视信息网络股份有限公司 Localization information supplying system and method
CN109862113A (en) * 2019-03-11 2019-06-07 安徽志辉教育科技有限公司 The wireless throwing screen system and its method of wide area network-oriented
CN110418187A (en) * 2019-07-30 2019-11-05 四川虹魔方网络科技有限公司 A kind of interactive screen protection system based on two dimensional code
CN110913268A (en) * 2018-09-18 2020-03-24 深圳市茁壮网络股份有限公司 Multi-screen interaction method and device and electronic equipment
CN111866591A (en) * 2020-07-23 2020-10-30 腾讯科技(深圳)有限公司 Video playing method, device, equipment and storage medium
CN112272319A (en) * 2020-09-21 2021-01-26 宇龙计算机通信科技(深圳)有限公司 Audio and video data transmission method and device, storage medium and electronic equipment
CN113596805A (en) * 2021-06-11 2021-11-02 珠海派诺科技股份有限公司 Wireless communication pairing method, device and medium
CN114339384A (en) * 2021-12-23 2022-04-12 天翼视讯传媒有限公司 Short link signaling channel realization method for realizing remote multi-screen interaction under public network
CN114401428A (en) * 2021-12-20 2022-04-26 天翼视讯传媒有限公司 Method for realizing remote multi-screen interaction under public network based on short link signaling channel
CN115426433A (en) * 2022-09-05 2022-12-02 亦非云科技(上海)有限公司 Cloud remote controller control method and system for private network video service

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012149851A1 (en) * 2011-07-30 2012-11-08 华为技术有限公司 Method and system for remotely controlling set top box
CN103152624A (en) * 2013-02-26 2013-06-12 中兴通讯股份有限公司 Remote control processing method, device and system
CN103491424A (en) * 2013-10-21 2014-01-01 天津网络广播电视台有限公司 Server system for IPTV multi-screen interaction and multi-screen interaction achieving method
CN103686317A (en) * 2013-11-26 2014-03-26 小米科技有限责任公司 Method and device for playing television channels
CN104142868A (en) * 2013-05-10 2014-11-12 腾讯科技(深圳)有限公司 Connection establishment method and device
CN104349208A (en) * 2013-08-09 2015-02-11 中兴通讯股份有限公司 Message processing method, message processing device, gateway, set-top box and network television system
CN105704116A (en) * 2015-12-31 2016-06-22 深圳市美贝壳科技有限公司 Method for binding intelligent device through binding code
CN106803990A (en) * 2016-12-29 2017-06-06 山东广电网络有限公司 A kind of STB terminal and mobile terminal binding system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012149851A1 (en) * 2011-07-30 2012-11-08 华为技术有限公司 Method and system for remotely controlling set top box
CN103152624A (en) * 2013-02-26 2013-06-12 中兴通讯股份有限公司 Remote control processing method, device and system
CN104142868A (en) * 2013-05-10 2014-11-12 腾讯科技(深圳)有限公司 Connection establishment method and device
CN104349208A (en) * 2013-08-09 2015-02-11 中兴通讯股份有限公司 Message processing method, message processing device, gateway, set-top box and network television system
CN103491424A (en) * 2013-10-21 2014-01-01 天津网络广播电视台有限公司 Server system for IPTV multi-screen interaction and multi-screen interaction achieving method
CN103686317A (en) * 2013-11-26 2014-03-26 小米科技有限责任公司 Method and device for playing television channels
CN105704116A (en) * 2015-12-31 2016-06-22 深圳市美贝壳科技有限公司 Method for binding intelligent device through binding code
CN106803990A (en) * 2016-12-29 2017-06-06 山东广电网络有限公司 A kind of STB terminal and mobile terminal binding system

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833434B (en) * 2018-07-02 2020-09-08 山东云缦智能科技有限公司 Method for realizing cross-network video call system based on IP bidirectional network set top box
CN108833434A (en) * 2018-07-02 2018-11-16 山东浪潮商用系统有限公司 A kind of implementation method of the inter-network video call system based on IP bilateral network set-top box
CN110913268A (en) * 2018-09-18 2020-03-24 深圳市茁壮网络股份有限公司 Multi-screen interaction method and device and electronic equipment
CN109348269A (en) * 2018-12-02 2019-02-15 甘肃万维信息技术有限责任公司 A kind of inter-network throws screen system and its application method
CN109756743B (en) * 2019-01-21 2021-03-23 湖北省广播电视信息网络股份有限公司 Localized information synchronous pushing system and method
CN109756743A (en) * 2019-01-21 2019-05-14 湖北省广播电视信息网络股份有限公司 Localization information synchronized push system and method
CN109819283A (en) * 2019-01-21 2019-05-28 湖北省广播电视信息网络股份有限公司 Localization information supplying system and method
CN109819283B (en) * 2019-01-21 2021-03-23 湖北省广播电视信息网络股份有限公司 Localized information pushing system and method
CN109862113A (en) * 2019-03-11 2019-06-07 安徽志辉教育科技有限公司 The wireless throwing screen system and its method of wide area network-oriented
CN110418187A (en) * 2019-07-30 2019-11-05 四川虹魔方网络科技有限公司 A kind of interactive screen protection system based on two dimensional code
CN111866591A (en) * 2020-07-23 2020-10-30 腾讯科技(深圳)有限公司 Video playing method, device, equipment and storage medium
CN112272319A (en) * 2020-09-21 2021-01-26 宇龙计算机通信科技(深圳)有限公司 Audio and video data transmission method and device, storage medium and electronic equipment
CN113596805A (en) * 2021-06-11 2021-11-02 珠海派诺科技股份有限公司 Wireless communication pairing method, device and medium
CN114401428A (en) * 2021-12-20 2022-04-26 天翼视讯传媒有限公司 Method for realizing remote multi-screen interaction under public network based on short link signaling channel
CN114401428B (en) * 2021-12-20 2024-03-19 天翼视讯传媒有限公司 Method for implementing remote multi-screen interaction under public network based on short link signaling channel
CN114339384A (en) * 2021-12-23 2022-04-12 天翼视讯传媒有限公司 Short link signaling channel realization method for realizing remote multi-screen interaction under public network
CN115426433A (en) * 2022-09-05 2022-12-02 亦非云科技(上海)有限公司 Cloud remote controller control method and system for private network video service

Similar Documents

Publication Publication Date Title
CN108156488A (en) Interactive approach and electronic equipment based on gateway server
CN109922377B (en) Play control method and device, storage medium and electronic device
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
US9432454B2 (en) Cloud-to-cloud peering
US9544627B2 (en) System for monetizing resources accessible to a mobile device server
CN106254951B (en) A kind of net cast creation method and its system, access device, management equipment
US10841215B2 (en) Apparatus and method for accessing a back-end service
CN108513154A (en) Intelligent home furnishing control method, smart television based on smart television and storage medium
US20160286531A1 (en) Messaging abstraction in a mobile device server
US20120084466A1 (en) System for synchronizing to a mobile device server
CN104602098A (en) Video barrage display method and equipment thereof
CN105430482A (en) Multi-screen interaction method and terminal equipment
US20120081209A1 (en) System for selecting resources accessible to a mobile device server
KR102177013B1 (en) A system and method for managing playback of streaming digital content
WO2018072650A1 (en) Method, apparatus, and platform for accomplishing interaction between mobile terminal and iptv
US20170171496A1 (en) Method and Electronic Device for Screen Projection
CN102694704A (en) Home gateway, and distinguishing method of user identities thereof
CN112261421B (en) Virtual reality display method and device, electronic equipment and storage medium
CN106488334A (en) A kind of net cast interactive approach and system
CN107040798A (en) Interaction display control method, system, server, control terminal and playback terminal
CN103096181B (en) A kind of provide the method for interactive application business, equipment
CN105281987B (en) Router and data uploading method, device, system
CN107396033A (en) Video conferencing system and method
US10708330B2 (en) Multimedia resource management method, cloud server and electronic apparatus
CN103442256B (en) A kind of method and system that electric program menu is realized based on HTML5

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: 20180612

RJ01 Rejection of invention patent application after publication