CN106803990A - A kind of STB terminal and mobile terminal binding system - Google Patents

A kind of STB terminal and mobile terminal binding system Download PDF

Info

Publication number
CN106803990A
CN106803990A CN201611243514.5A CN201611243514A CN106803990A CN 106803990 A CN106803990 A CN 106803990A CN 201611243514 A CN201611243514 A CN 201611243514A CN 106803990 A CN106803990 A CN 106803990A
Authority
CN
China
Prior art keywords
terminal
mobile terminal
family
stb
group
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
CN201611243514.5A
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.)
Shandong Radio And Television Network Co Ltd
Original Assignee
Shandong Radio And Television Network 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 Shandong Radio And Television Network Co Ltd filed Critical Shandong Radio And Television Network Co Ltd
Priority to CN201611243514.5A priority Critical patent/CN106803990A/en
Publication of CN106803990A publication Critical patent/CN106803990A/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
    • H04N21/4367Establishing a secure communication between the client and a peripheral device or smart card
    • 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
    • H04N21/41265The peripheral being portable, e.g. PDAs or mobile phones having a remote control device for bidirectional communication between the remote control device and client device
    • 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/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4222Remote control device emulator integrated into a non-television apparatus, e.g. a PDA, media center or smart toy
    • 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
    • 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/441Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card

Abstract

The present invention provides a kind of STB terminal and mobile terminal binding system, including STB terminal, SNS server, mobile terminal and xmpp servers, the STB terminal and mobile terminal are the user of binding system, xmpp servers provide xmpp protocol services, the SNS server operation SNS services;The matching control apparatus of mobile terminal and STB terminal, secure context on the basis of original interaction message, adds encryption, checking information, and both sides need the integrality of verification message, it is to avoid message is imitated or is tampered;Can be under internet environment, mobile phone sweeps power taking regarding upper Quick Response Code, associating for mobile phone and Set Top Box is realized, so as to realize interaction function.

Description

A kind of STB terminal and mobile terminal binding system
Technical field
The invention belongs to data interaction technology field, and in particular to a kind of STB terminal and mobile terminal binding system.
Background technology
The mankind have been brought into brand-new Consumption Age by the high speed development of internet, and we can clearly have found, I Everyone notice circulated on the screen of ours in fact, TV, PC, pad, mobile phone, or even outdoor big The screens such as screen, the marketing of 21 century is launched by core of consumer demand, so understand these screens being consumed for research The psychological needs of person are definitely extremely important, and multi-screen interactive is exactly future.
Prior art has following several:
airplay (The wireless communication technique that Apple Inc. formulates):
AirPlay is a kind of play-back technology added in iOS4.2 and OS X Mountain Lion of Apple Inc., can be with By iPhone, iPod touch, iPad and Mac(Need OS X Mountain Lion)On video mirror picture be sent to support The equipment of Airplay(Such as:Audio amplifier, Apple TV) middle broadcasting.Equipment or the Mac electricity of iOS4.2 versions are needed using Airplay More than iTunes10.1 versions on brain.Video mirror picture then needs iOS 5 and OS X Mountain Lion.
DLNA:
The full name of DLNA is DIGITAL LIVING NETWORK ALLIANCE (DLNA), and its objective is Enjoy your music, photos and videos, anywhere anytime, DLNA (Digital Living Network Alliance) to be initiated to set up, aim to solve the problem that personal PC by Sony, Intel, Microsoft etc., consumer appliances, movement sets Standby interconnecting in interior wireless network and cable network so that the unconfined shared and increasing of Digital Media and content service Possibility is grown to, current member company is up to family more than 280.
DLNA is not creation technology, but forms a kind of scheme of solution, a kind of specification that everybody can observe.Institute So that the various technologies and agreement of its selection are all currently to apply very extensive technology and agreement.
Its whole application is specified to 5 functional units by DLNA.It is followed successively by from top to bottom:Network interconnection, procotol, matchmaker Body is transmitted, the discovery control and management of equipment, media formats.
Miracast:
Miracast is that Wi-Fi Alliance announced the Wi-Fi CERTIFIED Miracast of startup on the 19th in September in 2012 Authentication item.
Miracast equipment provides to simplify and finds and set, and user can transmit video in equipment room rapidly.The technology with Authentication item is formulated jointly by the movement in Wi-Fi Alliance with consumer electronics device manufacturer and chip manufacturer.Industry analysis The annual production of the estimated Miracast authenticating devices of person 4 years will be more than 1,000,000,000 in future.[1]
Miracast user can browse the photo that smart mobile phone takes on large-size screen monitors TV heartily, by conference room projectors reality When shared note this screen, or the programme televised live that home videos Set Top Box is watched on panel computer.Miracast passes through Wi- Fi CERTIFIED Wi-Fi Direct form connection, therefore need not access any Wi-Fi network --- and Miracast recognizes Card device interior possesses linkage function.
Miracast supports protection content crossfire, equipment is received film and other materials protected by copyright.For Protection quality contents, Miracast is widely used in the trust at wired interface such as HDMI and DisplayPort to today Content protecting mechanism has carried out wireless reorganization.In addition, every equipment all enables brand-new WPA2 safeguard protections automatically, it is ensured that all The confidentiality of multimedia content deliveries.
" Miracast is a noticeable application based on Wi-Fi Direct, " IHS iSuppli Brian O ' the Rourke of Research are represented.
The technology that Miracast is used is by from Wi-Fi Alliance movements and client's electronics manufacturer and chip manufacturing Team's research and development of business, to realize simplifying the standardization of video sharing.Specification is shown according to Wi-Fi Alliance, product is included The interactive operation of different brands between Miracast manufacturers, allows user to be easily in or be enjoyed on giant-screen in office Video.
But there is following defect in prior art:
1st, the integrality of data cannot be ensured on the internet, is prevented compromised or distorted.
2nd, in order to ensure the integrality of data, prevent compromised or distort, can only be used under LAN.
The content of the invention
For the defect for overcoming prior art to exist, the present invention provides a kind of STB terminal and mobile terminal binding system System, secure context on the basis of original interaction message, adds encryption, checking information, and both sides need the complete of verification message Property, it is to avoid message is imitated or is tampered;Can be under internet environment, mobile phone sweeps power taking regarding upper Quick Response Code, realizes mobile phone With associating for Set Top Box, so as to realize interaction function, such as, drawing screen, remote control are cut.
A kind of STB terminal and mobile terminal binding system, including STB terminal, SNS server, mobile terminal and Xmpp servers, the STB terminal and mobile terminal are the user of binding system, and xmpp servers provide xmpp agreements Service, the SNS server operation SNS services;Mobile terminal is connected by internet with SNS server and xmpp servers, STB terminal is connected by internet or special line with SNS server and xmpp servers, and the STB terminal takes with SNS Coded communication, coded communication between the STB terminal and mobile terminal between business device;
The STB terminal is respectively provided with the js files comprising key key0 ' and key1 ' with the communication of mobile terminal,
The STB terminal is respectively provided with the js files comprising corresponding key key0 and key1 with the communication of SNS server;
The mobile terminal sends the request for adding the family's group specified to SNS server;
The SNS server can complete the registration of STB terminal, be that STB terminal creates family's group, by xmpp servers Management account sends the confirmation request that mobile terminal adds the family's group specified to STB terminal;
The xmpp servers, are configured to the plusing good friend operation requests for only allowing SNS server to send, other third party's plusing good friends Request refuse response;
The STB terminal, can obtain the IP address of mobile terminal server, and return to mobile terminal addition to SNS server The request results of the family's group specified.
Further, the SNS server has terminal landing, obtains family's group information, inquiry family group membership, deletes Member, the interface for obtaining blacklist list, agreement other-end addition family group, refusing other-end addition family group.
Further, the STB terminal has the interface and the corresponding page for calling mobile terminal, realizes user Log in, obtain family's group information, family's group membership management, agreeing to or refusal other-end adds family's group, blacklist management Function.
Further, the STB terminal registration is registered using CA card numbers and logged in, and password uses physical address.
Further, a kind of STB terminal and mobile terminal binding system, including mobile terminal and STB terminal Matching control apparatus, the matching control apparatus include:
When STB terminal is started shooting, for obtaining the device for including the js files of key and parsing the information such as key therein;
The device of SNS server is signed in for STB terminal, the device can be selected following action,
To the current set top box terminal having not yet registered, SNS server is automatically obtained STB terminal registration and completes, and all data are kept away Exempt to send in plain text,
To chartered current set top box terminal, SNS server returns to family's group information, members list, blacklist and token Information, if current set top box terminal not yet creates family's group, SNS server is automatically for it is created;
The page comprising 2 D code information is obtained for STB terminal operation and enter the device of the Quick Response Code page, in Quick Response Code Hold the token value to return(token);
STB terminal is returned to for SNS server include token value(token)The Quick Response Code page device;
The device of 2 D code information is obtained for scanning;
Device for recognizing 2 D code information;
Submitted to for mobile terminal and add family's group request and incoming token, the device of terminal account;
Send out confirmation message to STB terminal and obtain Set Top Box by xmpp server admins account for SNS server and agree to This mobile terminal user is added the device of family's group;
The device of result is confirmed for returning, the device receives mobile terminal to STB terminal and adds the request of family's group to enter The information of row parsing and the mobile terminal for obtaining is contrasted with the user profile in blacklist, is directly replied if matching Refuse information, if do not matched, needs STB terminal to eject the prompting message of " agreement " or " refusal ";
For completing the device for verifying and add mobile terminal family's group according to STB terminal feedback result, the device can Following action is selected:
If STB terminal clicks on " agreement ", SNS server relevant interface is called, notify that SNS server adds mobile subscriber Enter family's group, complete matching flow,
If STB terminal clicks on " refusal ", SNS server relevant interface is called, SNS server refusal active user ask, And whether automatic decision adds blacklist by active user;
Mobile terminal for that will be verified adds the device of family's group;
The device of interaction data is sent for mobile terminal and STB terminal, mobile terminal is added after family's group, it is mobile whole End is to be capable of achieving interaction with STB terminal, and data interaction sends in an encrypted form.
Further, the described device that SNS server is signed in for STB terminal, the device also adds including data The device of close transmission:
Obtain the device of the js files for including key for STB terminal and SNS server, it is interior comprising key0 and key1;
Interface is sent by http post modes, for being encrypted using key0 before all data is activations and calculates verification data (hmac)Device;
Device for sending interaction data ciphertext and verification data;
Device for decrypting, verifying verification data, verification parses interaction data after passing through;
Device for returning to interaction data, encryption mechanism is consistent;
The described device that interaction data is sent for STB terminal and mobile terminal, the device includes:
Include the device of the js files of key for STB terminal and acquisition for mobile terminal, it is interior comprising key0 ' and key1 ';
Interface is sent by http post modes, for needing to use key0 ' to encrypt and calculate check number before all data is activations According to(hmac)Device;
Device for sending interaction data ciphertext and verification data;
Device for decrypting, verifying verification data, verification parses interaction data after passing through;
Device for returning to interaction data, encryption mechanism is consistent.
Further, in order to improve efficiency, the device that the data encryption sends is configured to using aes algorithms.
Further, verification data is the binary data that length is 56bit.
Further, for STB terminal operation obtain the page comprising 2 D code information in described and enter Quick Response Code The device of the page be alternatively used for Set Top Box into certain menu device, or remote controller device one way in which Realize.
Further, the SNS server have for terminal landing, obtain family group information, inquiry family group membership, Removing members, acquisition blacklist list, agreement other-end add family's group, refusal other-end to add the interface of family's group Device;The STB terminal has the interface and the corresponding page for calling mobile terminal, realizes User logs in, obtains Family's group information, family's group membership management, agreement or refusal other-end add family's group, the dress of blacklist management function Put.
Further, the device that result is confirmed for returning, STB terminal refusal is mobile twice eventually in the device End is added after the request of family's group, and the information of mobile terminal is added into blacklist list automatically.
Beneficial effects of the present invention have:The security of data is noted in association process, it is ensured that the integrality of data, prevented It is compromised or distort:
The coded communication of STB terminal/between mobile terminal and server:
In order to improve security, it is to avoid user profile is revealed, it is ensured that the data communications security between Set Top Box and server, it is ensured that The data of transmission are not intercepted and captured and then are simulated corresponding data and pretend the initiation request of certain terminal to server by third party, are caused Potential safety hazard.Therefore data encryption, system of certification are introduced.
Coded communication between STB terminal and mobile terminal:
In order to ensure communication safety, it is ensured that mobile terminal cannot be intercepted and captured and mould to the data that STB terminal sends by third party Intend corresponding data and then control STB terminal, caused damage to user.In order to verify the integrality of data, in communication data Add summary verification(HMAC).
Secure context, on the basis of original interaction message, adds encryption, checking information, and both sides need verification message Integrality, it is to avoid message is imitated or is tampered.
Brief description of the drawings
Fig. 1 is the matching system schematic diagram of mobile terminal and STB terminal;
Fig. 2 is STB terminal and SNS server communication system schematic diagram;
Fig. 3 is STB terminal and mobile terminal communication system schematic diagram.
Specific embodiment
Below in conjunction with the accompanying drawings and embodiment describe in detail the technical program.
Generally speaking, according to user's request, mobile phone sweeps power taking regarding upper Quick Response Code, realizes associating for mobile phone and Set Top Box, So as to realize interaction function, drawing screen, remote control are such as cut;The security of data is should be noted during this, it is ensured that data Integrality, prevents compromised or distorts.
First, technical scheme is illustrated:The multimedia hub of each family is broadcasting and TV Set Top Box, therefore family's group Should be centered on Set Top Box, terminal is wanted to be interacted with box, it is necessary to add the family's group specified.
Set top box operations are more complicated, in order to improve Consumer's Experience, simplify interaction, should avoid excessively being grasped in Set Top Box Make, be such as input into account, password operation.
Mobile terminal adds family group, that is, completes to be matched, it is necessary to Set Top Box agreement with Set Top Box.
Secure context, can add encryption, checking information on the basis of original interaction message, and both sides need verification to disappear The integrality of breath, it is to avoid message is imitated or is tampered.
A kind of STB terminal and mobile terminal binding system, mainly including STB terminal, SNS server, movement eventually End and xmpp servers, the STB terminal and mobile terminal are the user of binding system, and xmpp servers provide xmpp Protocol service, the SNS server operation SNS services;Mobile terminal is connected by internet with SNS server and xmpp servers Connect, STB terminal is connected by internet or special line with SNS server and xmpp servers, STB terminal typically more to be made It is connected with SNS server and xmpp servers with special line,
In order to ensure the integrality and security of data, prevent compromised or distort, all data avoid sending in plain text, the machine Coded communication between set top box terminal, mobile terminal and SNS server, encrypts logical between the STB terminal and mobile terminal Letter.
STB terminal is respectively provided with the js files comprising key key0 ' and key1 ' with the communication of mobile terminal.
STB terminal, mobile terminal are respectively provided with comprising corresponding key key0's and key1 with the communication of SNS server Js files.
The mobile terminal sends the request for adding the family's group specified to SNS server.
If STB terminal has not yet registered, the SNS server can be automatically performed the registration of Set Top Box, and all data are avoided Send preferred in plain text, STB terminal registration is registered using CA card numbers and logged in, and password uses physical address;For not yet creating The STB terminal of family's group, SNS server can also automatically for STB terminal creates family's group;Sent to STB terminal and moved Dynamic terminal adds the confirmation request of the family's group specified.
The xmpp servers, are configured to the plusing good friend operation requests for only allowing SNS server to send over, and other the 3rd Response is refused in the request of square plusing good friend.
The STB terminal, can obtain the IP address of mobile terminal server, and return to mobile terminal to SNS server The request results of family's group that addition is specified, STB terminal receives mobile terminal and adds the request of family's group to be parsed simultaneously The information of the mobile terminal for obtaining is contrasted with the user profile in blacklist, if it find that information of mobile terminal and black name Refuse information is then directly replied in user profile matching in list, the request of general STB terminal refusal addition twice family group with Afterwards, corresponding information of mobile terminal is added into blacklist list automatically;If do not matched, STB terminal is needed to eject " same The prompting message of meaning " or " refusal ".
Mobile terminal is added after family's group, and mobile terminal is to be capable of achieving interaction with STB terminal, and data interaction Send in an encrypted form.
Attainable, SNS server is configured with terminal landing, obtains family's group information, inquiry family group membership, deletes Except member, the interface for obtaining blacklist list, agreeing to other-end addition family group, refusal other-end addition family group.
Attainable, the STB terminal is configured with the interface and the corresponding page for calling mobile terminal, real Existing User logs in, acquisition family group information, family's group membership management, agreement or refusal other-end add family's group, black name Menu manager function.
As shown in figure 1, the following detailed description of mobile terminal and the matching control apparatus of STB terminal, match control dress Put including:
When STB terminal is started shooting, for obtaining the device for including the js files of key and parsing the information such as key therein;
The device of SNS server is signed in for STB terminal, the device can be selected following action,
To the current set top box terminal having not yet registered, SNS server is automatically obtained STB terminal registration and completes, and all data are kept away Exempt to send in plain text,
To chartered current set top box terminal, SNS server returns to family's group information, members list, blacklist and token Information, if current set top box terminal not yet creates family's group, SNS server is automatically for it is created;
The page comprising 2 D code information is obtained for STB terminal operation and enter the device of the Quick Response Code page, in Quick Response Code Hold the token value to return(token);
It is selectable, obtain the page comprising 2 D code information for STB terminal operation and enter the device of the Quick Response Code page Set Top Box into the device of certain menu is alternatively used for, or the one way in which of remote controller device is realized;
STB terminal is returned to for SNS server include token value(token)The Quick Response Code page device;
The device of 2 D code information is obtained for scanning;
Device for recognizing 2 D code information;
Submitted to for mobile terminal and add family's group request and incoming token, the device of terminal account;
Send out confirmation message to STB terminal and obtain Set Top Box by xmpp server admins account for SNS server and agree to This mobile terminal user is added the device of family's group;
The device of result is confirmed for returning, the device receives mobile terminal to STB terminal and adds the request of family's group to enter The information of row parsing and the mobile terminal for obtaining is contrasted with the user profile in blacklist, is directly replied if matching Refuse information, if do not matched, needs STB terminal to eject the prompting message of " agreement " or " refusal ";Preferably, the dress Put after the request of STB terminal refusal mobile terminal addition twice family group, automatically add the information of mobile terminal black List list;
For completing the device for verifying and add mobile terminal family's group according to STB terminal feedback result, the device can Following action is selected:
If STB terminal clicks on " agreement ", SNS server relevant interface is called, notify that SNS server adds mobile subscriber Enter family's group, complete matching flow,
If STB terminal clicks on " refusal ", SNS server relevant interface is called, SNS server refusal active user ask, And whether automatic decision adds blacklist by active user;
Mobile terminal for that will be verified adds the device of family's group;
The device of interaction data is sent for mobile terminal and STB terminal, mobile terminal is added after family's group, it is mobile whole End is to be capable of achieving interaction with STB terminal, and data interaction sends in an encrypted form.
As shown in Fig. 2 described in the matching control apparatus of mobile terminal described above and STB terminal for machine top , to the device of SNS server, the device is also including the device of data encryption transmission for box terminal logs in:
Obtain the device of the js files for including key for STB terminal and SNS server, it is interior comprising key0 and key1;
Interface is sent by http post modes, for being encrypted using key0 before all data is activations and calculates verification data (hmac)Device;
Device for sending interaction data ciphertext and verification data;
Device for decrypting, verifying verification data, verification parses interaction data after passing through;
Device for returning to interaction data, encryption mechanism is consistent.
As shown in figure 3, the dress that interaction data is sent for STB terminal and mobile terminal described in matching control apparatus Put, the device includes:
Include the device of the js files of key for STB terminal and acquisition for mobile terminal, it is interior comprising key0 ' and key1 ';
Interface is sent by http post modes, for needing to use key0 ' to encrypt and calculate check number before all data is activations According to(hmac)Device;
Device for sending interaction data ciphertext and verification data;
Device for decrypting, verifying verification data, verification parses interaction data after passing through;
Device for returning to interaction data, encryption mechanism is consistent.
Wherein, the device of SNS server is signed in and for STB terminal and mobile terminal for STB terminal Send in the device of interaction data, the device that its data encryption sends is each configured to using aes algorithms, and verification data is length It is the binary data of 56bit.
It is attainable, the SNS server have for terminal landing, obtain family group information, inquiry family group membership, Removing members, acquisition blacklist list, agreement other-end add family's group, refusal other-end to add the interface of family's group Device;STB terminal has the interface and the corresponding page for calling mobile terminal, realizes User logs in, obtains family Group information, family's group membership management, agreement or refusal other-end add family's group, the device of blacklist management function.
Intelligible, mobile terminal generally refers to such as mobile phone, flat board, notebook computer equipment.
Here be by STB terminal and mobile terminal binding system realize it is specific match flow, specifically, such as Fig. 1 It is shown, it is the flow that matches of mobile terminal and STB terminal, idiographic flow is as follows:
(1)When STB terminal is started shooting, networking gets the js files for including key, and parses the information such as key therein;
(2)STB terminal signs in front end SNS server, if current set top box terminal has not yet registered, SNS server is automatic Realize that Set Top Box is registered, it is generally preferable to registered using CA card numbers and logged in, password uses physical address, and above-mentioned all data avoid bright Text sends, and specific encrypted form is shown in annex 1;
(3)To chartered current set top box terminal, SNS server return family's group information, members list, blacklist and Token information;If current set top box terminal not yet creates family's group, SNS server is automatically for it is created;
(4)STB terminal operation obtains the page comprising 2 D code information, and STB terminal enters certain menu, or by distant A button of device is controlled, into the Quick Response Code page, two-dimentional digital content is step(1)The token of return(token)Value;
(5)SNS server returns to STB terminal and includes token value(token)The Quick Response Code page;
(6)Scanning obtains 2 D code information;
(7)Identification 2 D code information(token);
(8)Mobile terminal is submitted to and adds family's group request, incoming token, terminal account;
Flow(6)、(7)、(8)It is specifically:Into barcode scanning is carried out inside App, the data for obtaining are token to mobile terminal (token)Information, not including any information of user, token information is sent to SNS server by calling interface;
(9)SNS server sends out confirmation message to STB terminal, is sent particular by xmpp server admins account, only Set Top Box agreement, just can add family's group by this mobile terminal user;
(10)Return and confirm result, after STB terminal receives the request for adding family's group, parsed, get mobile whole Client information, and contrasted with the user profile in blacklist, if it find that information of mobile terminal is believed with the user in blacklist Refuse information is then directly replied in breath matching, it is preferred that after the request of Set Top Box refusal mobile terminal addition twice family group, from It is dynamic that corresponding information of mobile terminal is added into blacklist list;If do not matched, STB terminal ejects " agreement " or " refuses Prompting message absolutely ";
(11)According to STB terminal feedback result, checking is completed, and mobile terminal is added into family's group:If STB terminal Click on " agreement ", call SNS server relevant interface, notify that mobile subscriber is added family's group by SNS server, complete matching stream Journey;
If STB terminal clicks on " refusal ", SNS system relevant interface is called, SNS server refusal active user ask, and Whether automatic decision adds blacklist by active user;
(12)It is verified, mobile terminal adds family's group;
(13)Mobile terminal and Set Top Box send interaction data, through front end SNS server transfer, mobile terminal add family's group with Afterwards, mobile terminal is to be capable of achieving interaction with STB terminal, it should be noted that data interaction sends in an encrypted form, and encrypted form is shown in attached Record 2;
In order to be further ensured that communication security, the timely message that user sends beyond STB terminal shielding family group;
In order to realize that mobile terminal is matched with the above-mentioned of STB terminal, mobile terminal include 4 keys key0, key1, The js files of key0 ', key1 ';
Can realize, mobile terminal provides generation Quick Response Code, the page of two-dimensional code display.
The xmpp servers are configured to the plusing good friend operation requests for only allowing SNS server to send over, and other the 3rd Response is refused in the request of square plusing good friend.
SNS server provides terminal landing, obtains family's group information, inquiry family group membership, removing members, the black name of acquisition Single-row table, the interface agreed to other-end addition family group, refuse other-end addition family group, call for STB terminal.
Mobile terminal has terminal scanning function, recognizes Quick Response Code, and the family's group for adding and specifying is sent to STB terminal Request operation.
Intelligible, STB terminal can obtain the IP address of mobile terminal server by a kind of mode, it is to avoid write Extremely, both sides can consult specific practice, such as address of service is issued by js files, and mobile terminal coordinates.
STB terminal has the interface and the corresponding page for calling mobile terminal, realizes User logs in, obtains family Group information, family's group membership management, agreement/refusal other-end add family's group, blacklist management function.
Annex 1:The coded communication of Set Top Box/between mobile terminal and SNS server
In order to improve security, it is to avoid user profile reveals the data communication peace, it is necessary to protect between STB terminal and server Entirely, it is ensured that the data of transmission are not intercepted and captured by third party and then simulate corresponding data, are pretended certain terminal to server and are initiated to ask Ask, cause potential safety hazard.Therefore need to introduce data encryption, system of certification, specific communication process is as follows:As shown in Fig. 2
1)STB terminal and SNS server are both needed to obtain the js files for including key, interior comprising key0 and key1;
2)Interface is sent by http post modes, needs to use key0 to encrypt before all data is activations, and calculate verification data (hmac);
3)Send interaction data ciphertext and verification data;
4)Decryption, checking verification data, verification parse interaction data after passing through;
5)Interaction data is returned to, encryption mechanism is consistent.
Coded communication explanation:
STB terminal is obtained and includes the js files of key, interior comprising key0 and key1;Front end SNS server is also required to obtain Include the js files of key, it is interior comprising key0 and key1;In order to improve efficiency, AES preferably uses aes, and both sides can be with AES details, such as AES128 are decided through consultation, CBC, PKCS7 is filled, and IV is 0.
Coded communication between mobile terminal and SNS server, its specific communication process is also such as STB terminal and clothes Communication process between business device, acquisition for mobile terminal includes the js files of key, interior comprising key0 and key1;Front end SNS is serviced Device is also required to obtain the js files for including key, interior comprising key0 and key1;Likewise, in order to improve efficiency, AES It is preferred that using aes, both sides can decide through consultation AES details, such as AES128, and CBC, PKCS7 is filled, and IV is 0.
On data encryption basis, verification data is added, verification data should be the binary number that length is 56bit According to composition is as follows:
Annex 2:Coded communication between Set Top Box and mobile terminal
In order to ensure communication safety, it is necessary to ensure the data that mobile terminal is sent to STB terminal cannot be intercepted and captured by third party, And simulate corresponding data and then control STB terminal, caused damage to user.In order to verify the integrality of data, communicate number Summary verification is added according to middle(HMAC), circular is as follows:As shown in figure 3,
1)STB terminal and mobile terminal are both needed to obtain the js files for including key, interior comprising key0 ' and key1 ';
2)Interface is sent by http post modes, needs to use key0 ' to encrypt before all data is activations, and calculate check number According to(hmac);
3)Send interaction data ciphertext and verification data;
4)Decryption, checking verification data, verification parse interaction data after passing through;
5)Interaction data is returned to, encryption mechanism is consistent.
Coded communication mode is basically identical with annex 1, it is noted that STB terminal, mobile terminal and SNS server are led to The key Key0 and key1 of letter are, it is necessary to be different from the key key0 ' and key1 ' that use of STB terminal and mobile terminal.For Raising efficiency, AES preferably uses the aes, both sides can to decide through consultation AES details, such as AES128, CBC, PKCS7 Filling, IV is 0.On data encryption basis, verification data is added, verification data should be the binary system that length is 56bit Data.
Particular embodiments described above, has been carried out further in detail to the purpose of the present invention, technical scheme and beneficial effect Describe in detail bright, should be understood that and the foregoing is only specific embodiment of the invention, be not intended to limit the invention, it is all Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements done etc., should be included in guarantor of the invention Within the scope of shield.

Claims (11)

1. a kind of STB terminal and mobile terminal binding system, it is characterised in that:Including STB terminal, SNS server, shifting Dynamic terminal and xmpp servers, the STB terminal and mobile terminal are the user of binding system, and xmpp servers are provided Xmpp protocol services, the SNS server operation SNS services;Mobile terminal is serviced by internet with SNS server and xmpp Device is connected, and STB terminal is connected by internet or special line with SNS server and xmpp servers, the STB terminal The coded communication between SNS server, coded communication between the STB terminal and mobile terminal;
The STB terminal is respectively provided with the js files comprising key key0 ' and key1 ' with the communication of mobile terminal;
The STB terminal is respectively provided with the js files comprising corresponding key key0 and key1 with the communication of SNS server;
The mobile terminal sends the request for adding the family's group specified to SNS server;
The SNS server can complete the registration of STB terminal, be that STB terminal creates family's group, by xmpp servers Management account sends the confirmation request that mobile terminal adds the family's group specified to Set Top Box;
The xmpp servers, are configured to the plusing good friend operation requests for only allowing SNS server to send, other third party's plusing good friends Request refuse response;
The STB terminal, can obtain the IP address of mobile terminal server, and return to mobile terminal addition to SNS server The request results of the family's group specified.
2. a kind of STB terminal according to claim 1 and mobile terminal binding system, it is characterised in that:The SNS Server has terminal landing, obtains family's group information, inquiry family group membership, removing members, acquisition blacklist list, agreement Other-end adds family's group, refusal other-end to add the interface of family's group.
3. a kind of STB terminal according to claim 2 and mobile terminal binding system, it is characterised in that:The machine top Box terminal has the interface and the corresponding page for calling mobile terminal, realizes User logs in, obtains family's group information, family's group Member management, agreement or refusal other-end add family's group, blacklist management function.
4. a kind of STB terminal according to claim 3 and mobile terminal binding system, it is characterised in that:The machine top Box endpoint registration is registered using CA card numbers and logged in, and password uses physical address.
5. a kind of STB terminal according to claim 1-4 any claims and mobile terminal binding system, it is special Levy and be:Matching control apparatus including mobile terminal Yu STB terminal, the matching control apparatus include:
When STB terminal is started shooting, for obtaining the device for including the js files of key and parsing the information such as key therein;
The device of SNS server is signed in for STB terminal, the device can be selected following action,
To the current set top box terminal having not yet registered, SNS server is automatically obtained STB terminal registration and completes, and all data are kept away Exempt to send in plain text,
To chartered current set top box terminal, SNS server returns to family's group information, members list, blacklist and token Information, if current set top box terminal not yet creates family's group, SNS server is automatically for it is created;
The page comprising 2 D code information is obtained for STB terminal operation and enter the device of the Quick Response Code page, in Quick Response Code Hold the token value to return(token);
STB terminal is returned to for SNS server include token value(token)The Quick Response Code page device;
The device of 2 D code information is obtained for scanning;
Device for recognizing 2 D code information;
Submitted to for mobile terminal and add family's group request and incoming token, the device of terminal account;
Send out confirmation message to STB terminal and obtain Set Top Box by xmpp server admins account for SNS server and agree to This mobile terminal user is added the device of family's group;
The device of result is confirmed for returning, the device receives mobile terminal to STB terminal and adds the request of family's group to enter The information of row parsing and the mobile terminal for obtaining is contrasted with the user profile in blacklist, is directly replied if matching Refuse information, if do not matched, the prompting message of STB terminal ejection " agreement " or " refusal ";
For completing the device for verifying and add mobile terminal family's group according to STB terminal feedback result, the device can Following action is selected,
If STB terminal clicks on " agreement ", SNS server relevant interface is called, notify that SNS server adds mobile subscriber Enter family's group, complete matching flow,
If STB terminal clicks on " refusal ", SNS server relevant interface is called, SNS server refusal active user ask, And whether automatic decision adds blacklist by active user;
Mobile terminal for that will be verified adds the device of family's group;
The device of interaction data is sent for mobile terminal and STB terminal, mobile terminal is added after family's group, it is mobile whole End is to be capable of achieving interaction with STB terminal, and data interaction sends in an encrypted form.
6. a kind of STB terminal according to claim 5 and mobile terminal binding system, it is characterised in that:Described use Sign in the device of SNS server in STB terminal, the device also includes the device that data encryption sends:
Obtain the device of the js files for including key for STB terminal and SNS server, it is interior comprising key0 and key1;
Interface is sent by http post modes, for being encrypted using key0 before all data is activations and calculates verification data (hmac)Device;
Device for sending interaction data ciphertext and verification data;
Device for decrypting, verifying verification data, verification parses interaction data after passing through;
Device for returning to interaction data, encryption mechanism is consistent;
The described device that interaction data is sent for STB terminal and mobile terminal, the device includes:
Include the device of the js files of key for STB terminal and acquisition for mobile terminal, it is interior comprising key0 ' and key1 ';
Interface is sent by http post modes, for needing to use key0 ' to encrypt and calculate check number before all data is activations According to(hmac)Device;
Device for sending interaction data ciphertext and verification data;
Device for decrypting, verifying verification data, verification parses interaction data after passing through;
Device for returning to interaction data, encryption mechanism is consistent.
7. a kind of STB terminal according to claim 6 and mobile terminal binding system, it is characterised in that:The data The device for sending is encrypted to be configured to using aes algorithms.
8. a kind of STB terminal according to claim 7 and mobile terminal binding system, it is characterised in that:Verification data It is that length is the binary data of 56bit.
9. a kind of STB terminal according to claim 8 and mobile terminal binding system, it is characterised in that:It is described to be used for STB terminal operation obtains the page comprising 2 D code information and the device into the Quick Response Code page is alternatively used for Set Top Box One way in which into the device of certain menu, or remote controller device is realized.
10. a kind of STB terminal according to claim 9 and mobile terminal binding system, it is characterised in that:The SNS Server have for terminal landing, obtain family group information, inquiry family group membership, removing members, obtain blacklist list, Agree to that other-end adds family's group, refusal other-end to add the device of the interface of family's group;The STB terminal has Interface and the corresponding page for calling mobile terminal, realize User logs in, obtain family's group information, family group membership pipe Reason, agreement or refusal other-end add family's group, the device of blacklist management function.
A kind of 11. STB terminals according to claim 10 and mobile terminal binding system, it is characterised in that:The use In the device for returning to confirmation result, in the device after the request of STB terminal refusal mobile terminal addition twice family group, Automatically the information of mobile terminal is added into blacklist list.
CN201611243514.5A 2016-12-29 2016-12-29 A kind of STB terminal and mobile terminal binding system Pending CN106803990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611243514.5A CN106803990A (en) 2016-12-29 2016-12-29 A kind of STB terminal and mobile terminal binding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611243514.5A CN106803990A (en) 2016-12-29 2016-12-29 A kind of STB terminal and mobile terminal binding system

Publications (1)

Publication Number Publication Date
CN106803990A true CN106803990A (en) 2017-06-06

Family

ID=58984313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611243514.5A Pending CN106803990A (en) 2016-12-29 2016-12-29 A kind of STB terminal and mobile terminal binding system

Country Status (1)

Country Link
CN (1) CN106803990A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107707356A (en) * 2017-09-25 2018-02-16 中国科学院信息工程研究所 A kind of mobile device secure binding method and application system based on Quick Response Code identification
CN107797900A (en) * 2017-10-19 2018-03-13 广东小天才科技有限公司 A kind of application message display methods and service equipment
CN107800703A (en) * 2017-10-31 2018-03-13 深圳红点点互动技术发展有限公司 A kind of interaction platform management method and system
CN107801056A (en) * 2017-10-31 2018-03-13 深圳红点点互动技术发展有限公司 A kind of interaction platform management method and system
CN107864386A (en) * 2017-10-31 2018-03-30 深圳红点点互动技术发展有限公司 A kind of interaction platform management method and system
CN108156488A (en) * 2017-12-22 2018-06-12 北京数码视讯软件技术发展有限公司 Interactive approach and electronic equipment based on gateway server
CN109089152A (en) * 2018-10-25 2018-12-25 广州虎牙科技有限公司 A kind of operating method of direct broadcasting room, device, equipment and storage medium
CN109756743A (en) * 2019-01-21 2019-05-14 湖北省广播电视信息网络股份有限公司 Localization information synchronized push system and method
CN109802886A (en) * 2019-01-28 2019-05-24 奥克斯空调股份有限公司 A kind of method, apparatus, air conditioner and storage medium for binding third party's public platform
CN109819283A (en) * 2019-01-21 2019-05-28 湖北省广播电视信息网络股份有限公司 Localization information supplying system and method
CN110035312A (en) * 2018-01-11 2019-07-19 中兴通讯股份有限公司 Interface display method, terminal, system and readable storage medium storing program for executing
CN110267264A (en) * 2019-05-20 2019-09-20 广西蛋壳机器人科技有限公司 A kind of system and method for failed cluster intelligent terminal and customer mobile terminal binding
CN110740137A (en) * 2019-10-22 2020-01-31 福州汇思博信息技术有限公司 Android equipment management method based on wifi direct connection without touch screen
CN113905263A (en) * 2021-10-28 2022-01-07 深圳小湃科技有限公司 Set top box control method, set top box control equipment and storage medium
CN115277072A (en) * 2022-06-17 2022-11-01 支付宝(杭州)信息技术有限公司 Account number getting-through method, account number getting-through device, storage medium and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594845A (en) * 2012-03-29 2012-07-18 东南大学 Instant message transmission method based on XMPP
CN103326908A (en) * 2013-06-24 2013-09-25 四川九洲电器集团有限责任公司 Intelligent home control method and device based on XMPP server
US20140063562A1 (en) * 2012-08-28 2014-03-06 Samsung Electronics Co., Ltd Electronic apparatus, message server and method of controlling scanning
CN103701695A (en) * 2013-12-26 2014-04-02 四川九洲电器集团有限责任公司 Intelligent home gateway control system
CN105376442A (en) * 2014-08-13 2016-03-02 三星电子株式会社 Cloud system and method of displaying, by cloud system, content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594845A (en) * 2012-03-29 2012-07-18 东南大学 Instant message transmission method based on XMPP
US20140063562A1 (en) * 2012-08-28 2014-03-06 Samsung Electronics Co., Ltd Electronic apparatus, message server and method of controlling scanning
CN103326908A (en) * 2013-06-24 2013-09-25 四川九洲电器集团有限责任公司 Intelligent home control method and device based on XMPP server
CN103701695A (en) * 2013-12-26 2014-04-02 四川九洲电器集团有限责任公司 Intelligent home gateway control system
CN105376442A (en) * 2014-08-13 2016-03-02 三星电子株式会社 Cloud system and method of displaying, by cloud system, content

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107707356B (en) * 2017-09-25 2019-11-26 中国科学院信息工程研究所 A kind of mobile device secure binding method and application system based on two dimensional code identification
CN107707356A (en) * 2017-09-25 2018-02-16 中国科学院信息工程研究所 A kind of mobile device secure binding method and application system based on Quick Response Code identification
CN107797900A (en) * 2017-10-19 2018-03-13 广东小天才科技有限公司 A kind of application message display methods and service equipment
CN107800703A (en) * 2017-10-31 2018-03-13 深圳红点点互动技术发展有限公司 A kind of interaction platform management method and system
CN107801056A (en) * 2017-10-31 2018-03-13 深圳红点点互动技术发展有限公司 A kind of interaction platform management method and system
CN107864386A (en) * 2017-10-31 2018-03-30 深圳红点点互动技术发展有限公司 A kind of interaction platform management method and system
CN107864386B (en) * 2017-10-31 2020-04-07 深圳红点点互动技术发展有限公司 Interactive platform management method and system
CN107800703B (en) * 2017-10-31 2020-04-07 深圳红点点互动技术发展有限公司 Interactive platform management method and system
CN108156488A (en) * 2017-12-22 2018-06-12 北京数码视讯软件技术发展有限公司 Interactive approach and electronic equipment based on gateway server
CN110035312B (en) * 2018-01-11 2021-11-19 中兴通讯股份有限公司 Interface display method, terminal, system and readable storage medium
CN110035312A (en) * 2018-01-11 2019-07-19 中兴通讯股份有限公司 Interface display method, terminal, system and readable storage medium storing program for executing
CN109089152A (en) * 2018-10-25 2018-12-25 广州虎牙科技有限公司 A kind of operating method of direct broadcasting room, device, equipment and storage medium
CN109819283A (en) * 2019-01-21 2019-05-28 湖北省广播电视信息网络股份有限公司 Localization information supplying system and method
CN109756743A (en) * 2019-01-21 2019-05-14 湖北省广播电视信息网络股份有限公司 Localization information synchronized push system and method
CN109756743B (en) * 2019-01-21 2021-03-23 湖北省广播电视信息网络股份有限公司 Localized information synchronous pushing system and method
CN109819283B (en) * 2019-01-21 2021-03-23 湖北省广播电视信息网络股份有限公司 Localized information pushing system and method
CN109802886A (en) * 2019-01-28 2019-05-24 奥克斯空调股份有限公司 A kind of method, apparatus, air conditioner and storage medium for binding third party's public platform
CN110267264B (en) * 2019-05-20 2022-10-25 广西蛋壳机器人科技有限公司 System for binding non-networked intelligent terminal and user mobile terminal
CN110267264A (en) * 2019-05-20 2019-09-20 广西蛋壳机器人科技有限公司 A kind of system and method for failed cluster intelligent terminal and customer mobile terminal binding
CN110740137A (en) * 2019-10-22 2020-01-31 福州汇思博信息技术有限公司 Android equipment management method based on wifi direct connection without touch screen
CN113905263A (en) * 2021-10-28 2022-01-07 深圳小湃科技有限公司 Set top box control method, set top box control equipment and storage medium
CN113905263B (en) * 2021-10-28 2024-03-26 深圳小湃科技有限公司 Set top box control method, equipment and storage medium
CN115277072A (en) * 2022-06-17 2022-11-01 支付宝(杭州)信息技术有限公司 Account number getting-through method, account number getting-through device, storage medium and computer equipment
CN115277072B (en) * 2022-06-17 2024-03-15 支付宝(杭州)信息技术有限公司 Account number opening method and device, storage medium and computer equipment

Similar Documents

Publication Publication Date Title
CN106803990A (en) A kind of STB terminal and mobile terminal binding system
TWI633781B (en) Program and device class entitlements in a media platform
KR101508360B1 (en) Apparatus and method for transmitting data, and recording medium storing program for executing method of the same in computer
US9769507B2 (en) System, method, and infrastructure for real-time live streaming content
EP1867158B1 (en) Tool pack structure and contents execution device
EP3117575B1 (en) Systems and methods related to establishing a temporary trust relationship between a network-based media service and a digital media renderer
CN102356640B (en) Safe IPTV service is sent to PC platform
US9398338B2 (en) Utilization of remote control to display media
CN104298896B (en) Digital copyright protecting and distribution method and system
CN102186101B (en) Digital home video and service resource protecting method
CN104683320A (en) Home network multimedia content sharing access control method and device
CN105430431B (en) multimedia data playing method and device
CN105142008B (en) A method of playing second terminal data using first terminal
CN105245944B (en) Based on the multiple terminals DVB program broadcasting method and system, set-top box and mobile terminal
WO2018196686A1 (en) Service response method and middleware thereof
CN103020504A (en) Image management system and image management method based on fingerprint identification
CN106454436A (en) Film playing information feedback system and method for second-level film theater chain
US20150082018A1 (en) Secure data exchange method, and communication device and system implementing same
CN107094156A (en) A kind of safety communicating method and system based on P2P patterns
CN101605298A (en) Professional player method of China Mobile multimedia broadcasting and playing device thereof
CN102340702B (en) IPTV (Internet protocol television) network playing system and rights management and descrambling method based on USB (Universal serial bus) Key
US20110258657A1 (en) System and method for secured digital video broadcasting of instantaneous testimony
US20040179687A1 (en) Method for transmitting copyrighted electronic documents in a wireless communication system
CN105635850B (en) A kind of method that IP terminal obtains DVB standard digital television on-demand resource from gateway
CN101990771B (en) Service reporting

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170606

WD01 Invention patent application deemed withdrawn after publication