Summary of the invention
In view of this, be necessary to provide a kind of by with mobile device and the digital audio-video terminal is bound and solution ties up giving mobile terminal to the system and method for the mobile terminal control figure audiovisual terminals of digital audiovisual terminals control authority.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is:
Provide a kind of mobile terminal to digital audiovisual terminals binding control method, comprise the steps: that the digital audio-video terminal is obtained privately owned Cloud Server IP and digital audio-video terminal IP and privately owned Cloud Server IP are added random code to generate a binding code and should bind and yard be stored to this locality; Mobile terminal obtains described binding code from the digital audio-video terminal, and parses digital audio-video terminal IP and privately owned Cloud Server IP from the binding code; Mobile terminal sends to privately owned Cloud Server to the binding code; Privately owned Cloud Server is resolved described binding code and is obtained audiovisual terminals IP and the binding code is sent to digital audio-video terminal IP; The binding code that the digital audio-video terminal will receive is compared with the binding code of local storage, judge whether comparison result is consistent, and should to bind code labeling be legal binding yard to the digital audio-video terminal when definite comparison result is consistent; Acquisition for mobile terminal is controlled the command information bag of input generation and command information bag and binding code is sent to the digital audio-video terminal; Whether the binding code that the digital audio-video terminal judges receives is legal binding code, when being defined as legal binding code, and the control command in the fill order packets of information.
Wherein, described acquisition for mobile terminal is controlled command information bag that input produces and command information bag and binding code is sent to the digital audio-video terminal and comprises the steps: that acquisition for mobile terminal controls the command information bag that input produces; Mobile terminal judges whether to be in same local area network (LAN) with the digital audio-video terminal, if mobile terminal directly sends to the digital audio-video terminal to command information bag and binding code by this local area network (LAN); If not, mobile terminal sends to privately owned Cloud Server to command information bag and binding code, and privately owned Cloud Server is resolved described binding code and obtained audiovisual terminals IP and command information bag and binding code are sent to the digital audio-video terminal.
Wherein, described mobile terminal also comprises and cancels the binding step digital audiovisual terminals binding control method:
The digital audio-video terminal is obtained and is cancelled the bindings instruction; The digital audio-video terminal is according to the legal binding code of the local storage of described cancellation bindings instruction deletion digital audio-video terminal.
Wherein, the instruction of described cancellation bindings is the operational order in described command information bag.
Another technical solution used in the present invention is:
Provide a kind of mobile terminal to digital audiovisual terminals binding method, comprise the steps: that the digital audio-video terminal is obtained privately owned Cloud Server IP and digital audio-video terminal IP and privately owned Cloud Server IP are added random code to generate a binding code and should bind and yard be stored to this locality; Mobile terminal obtains described binding code from the digital audio-video terminal, and parses digital audio-video terminal IP and privately owned Cloud Server IP from the binding code; Mobile terminal sends to privately owned Cloud Server to the binding code; Privately owned Cloud Server is resolved described binding code and is obtained audiovisual terminals IP and the binding code is sent to digital audio-video terminal IP; The binding code that the digital audio-video terminal will receive is compared with the binding code of local storage, judge whether comparison result is consistent, and should to bind code labeling be legal binding yard to the digital audio-video terminal when definite comparison result is consistent.
Wherein, the described code labeling of should binding is also to comprise step after legal binding code: the digital audio-video terminal is returned to binding success information to mobile terminal by privately owned Cloud Server.
Wherein, described mobile terminal also comprises cancellation binding step to digital audiovisual terminals binding method: the digital audio-video terminal is obtained and is cancelled the bindings instruction; The digital audio-video terminal is according to the legal binding code of the local storage of described cancellation bindings instruction deletion digital audio-video terminal.
Wherein, described digital audio-video terminal is obtained and cancelled the bindings instruction and comprise step: the digital audio-video terminal shows that one cancels the binding interface, and this cancellations binding interface display has legal binding code and a cancellation corresponding with legal binding code to bind a button; Digital audio-video terminal acceptance point is chosen the cancellation bindings instruction that the binding button that disappears produces.
Wherein, the instruction of described cancellation bindings is the operational order in described command information bag.
Wherein, the performing step of described " mobile terminal obtains the binding code from described digital audio-video terminal " comprising: the digital audio-video terminal will be bound the code coding and generated bar code figure and be presented on described digital audio-video terminal; Mobile terminal is taken and is resolved described bar code figure to described bar code figure and draws the binding code.
Wherein, the performing step of described " mobile terminal obtains the binding code from described digital audio-video terminal " comprising: the digital audio-video terminal will be bound yard form with word and will be presented on described digital audio-video terminal; Thereby the word of the binding code correspondence of acquisition for mobile terminal input obtains described binding code.
Another technical solution used in the present invention is:
Provide a kind of mobile terminal to digital audiovisual terminals binding control system, comprise privately owned Cloud Server and at least one the digital audio-video terminal that communicates to connect with described privately owned Cloud Server, also comprise the mobile terminal that at least one and described privately owned Cloud Server communicate to connect, described digital audio-video terminal comprises mobile terminal binding module and memory module, and described mobile terminal comprises related digital audiovisual terminals module and Broadcast Control module; Wherein, the digital audiovisual terminals module of described association comprises that a binding code acquiring unit, a binding code resolution unit, bind request unit, described mobile terminal binding module comprise a binding code generation unit, a binding code authentication unit, authentication unit; Described binding code generation unit is used for obtaining privately owned Cloud Server IP and digital audio-video terminal IP and privately owned Cloud Server IP is added random code and generates a binding code and will bind and yard be stored to memory module; Described binding code acquiring unit is used for obtaining described binding code from described digital audio-video terminal; Described binding code resolution unit is used for resolving described binding code and obtains audiovisual terminals IP and privately owned Cloud Server IP; Described bind request unit is used for the binding code is sent to privately owned Cloud Server; Described privately owned Cloud Server is used for resolving described binding code and obtains audiovisual terminals IP and will bind and yard be sent to described digital audio-video terminal; The described code authentication unit of binding is compared for the binding code of the binding code that will receive and the local storage of memory module, judges whether comparison result is consistent, and is legal binding code for should bind code labeling when definite comparison result is consistent; Described Broadcast Control module is used for obtaining the command information bag of controlling the input generation and command information bag and binding code is sent to the digital audio-video terminal; Described authentication unit is used for judging whether the binding code that receives is legal binding code, notifies the control command in digital audiovisual terminals fill order packets of information when being defined as legal binding code.
Wherein, described Broadcast Control module also is used for judging whether mobile terminal is in same local area network (LAN) with the digital audio-video terminal when obtaining the command information bag of controlling the input generation; Described Broadcast Control module also is used for when definite mobile terminal and digital audio-video terminal are in same local area network (LAN), command information bag and binding code are directly sent to the digital audio-video terminal by this local area network (LAN), and be used for when definite mobile terminal and digital audio-video terminal are not in same local area network (LAN), the command information bag yard is sent to privately owned Cloud Server with binding; Described privately owned Cloud Server also is used for when receiving described command information bag and binding code, resolves described binding code and obtains audiovisual terminals IP and command information bag and binding code are sent to the digital audio-video terminal.
Wherein, described mobile terminal binding module also comprises cancelling binds the unit, is used for the local legal binding code of storing of deletion memory module when receiving the instruction of cancellation bindings.
Wherein, described cancellation binding unit is used for demonstration one cancellation and binds the interface in the digital audio-video terminal, this cancellation binding interface display has legal binding code and a cancellation binding button corresponding with legal binding code, and described binding unit is used for the cancellation bindings instruction that acceptance point is chosen the binding button generation that disappears.
Wherein, the instruction of described cancellation bindings is the operational order in described command information bag.
Wherein, described digital audio-video terminal also is used for binding code coding generation bar code figure and being presented at described digital audio-video terminal; Described binding code acquiring unit is used for that described bar code figure is taken and resolve described bar code figure and draws the binding code.
Wherein, described digital audio-video terminal also is presented at described digital audio-video terminal for binding the form of code with word; Thereby described binding code acquiring unit obtains described binding code for the word of the binding code correspondence of obtaining input.
mobile terminal of the present invention is to digital audiovisual terminals binding method, binding control method and system generate the binding code with digital audio-video terminal IP information and privately owned Cloud Server IP, acquisition for mobile terminal should be bound code, and to the binding yard IP information of decoding and obtaining digital audio-video terminal and privately owned Cloud Server, the binding code that the digital audio-video terminal sends by privately owned Cloud Server by the comparison mobile terminal is bound code with local storage, and whether consistent legitimacy to the mobile terminal binding code is verified, and will to bind code labeling when being verified be legal binding code, and carry out mobile terminal by the command information bag of privately owned Cloud Server transmission in the time, whether bind code by judgement is the identity legitimacy that legal binding code authenticates mobile terminal, and when authenticating by legitimacy the control command in the fill order packets of information, further, the digital audio-video terminal is by deleting the binding of this locality storage binding code cancellation and mobile terminal.
Embodiment
By describing technology contents of the present invention, structural feature in detail, being realized purpose and effect, below in conjunction with execution mode and coordinate accompanying drawing to be explained in detail.
Seeing also Fig. 1, is the structured flowchart of mobile terminal to digital audiovisual terminals binding control system in an embodiment of the present invention.Mobile terminal is to digital audiovisual terminals binding control system, comprise privately owned Cloud Server 30 and at least one the digital audio-video terminal 10 that communicates to connect with described privately owned Cloud Server 30, and the mobile terminal 20 of at least one and described privately owned Cloud Server 30 communication connections, in the present embodiment, described digital audio-video terminal 10 forms by set-top box with the station of ordering songs of set-top box communication connection, and described mobile terminal 20 is electronic equipments that desktop computer, notebook, smart mobile phone or panel computer etc. can carry out wireless telecommunications.
See also Fig. 2, Fig. 3, Fig. 2 is the structured flowchart of digital audio-video terminal, and Fig. 3 is the structured flowchart of mobile terminal.Described digital audio-video terminal 10 comprises mobile terminal binding module and memory module 15, and described mobile terminal 20 comprises related digital audiovisual terminals module and Broadcast Control module.Wherein, the digital audiovisual terminals module of described association comprises a binding code acquiring unit 21, a binding code resolution unit 22, bind request unit 23, and described mobile terminal binding module comprises a binding code generation unit 11, a binding code authentication unit 12, authentication unit 13.
Described binding code generation unit 11 is used for obtaining privately owned Cloud Server IP and digital audio-video terminal IP and privately owned Cloud Server IP is added random code and generates a binding code and will bind and yard be stored to memory module 15, for example, if digital audio-video terminal IP is 192.168.74.224, privately owned Cloud Server IP is 110.90.119.97, the binding code is 110.90.119.97||192.168.74.224||12 so, wherein 12 is random codes, and each random code that generates is all from last time different.
Described binding code acquiring unit 21 is used for obtaining described binding code from described digital audio-video terminal 10, in the first embodiment, described digital audio-video terminal 10 also is used for binding the code coding and generates bar code figure and be presented at described digital audio-video terminal, and described binding code acquiring unit 21 is used for that described bar code figure is taken and resolve described bar code figure and draws the binding code.In the second execution mode, described digital audio-video terminal 10 also is used for binding yard form with word and is presented at described digital audio-video terminal 10; Thereby described binding code acquiring unit 21 words for the binding code correspondence of obtaining input obtain described binding code.
Described binding code resolution unit 22 is used for resolving described binding code and obtains audiovisual terminals IP and privately owned Cloud Server IP; Described bind request unit 23 is used for the binding code is sent to privately owned Cloud Server 30; Described privately owned Cloud Server 30 is used for resolving described binding code and obtains audiovisual terminals IP and will bind and yard be sent to described digital audio-video terminal 10.
The described code authentication unit 12 of binding is compared for the binding code of the binding code that will receive and memory module 15 local storages, judges whether comparison result is consistent, and is legal binding code for should bind code labeling when definite comparison result is consistent.
Described Broadcast Control module is used for obtaining the command information bag of controlling the input generation and command information bag and binding code is sent to digital audio-video terminal 10, particularly, described Broadcast Control module also is used for judging whether mobile terminal 20 is in same local area network (LAN) with digital audio-video terminal 10 when obtaining the command information bag of controlling the input generation; Described Broadcast Control module also is used for when definite mobile terminal 20 is in same local area network (LAN) with digital audio-video terminal 10, command information bag and binding code are directly sent to digital audio-video terminal 10 by this local area network (LAN), and be used for when definite mobile terminal 20 is not in same local area network (LAN) with digital audio-video terminal 10, command information bag and binding code are sent to privately owned Cloud Server 30; Described privately owned Cloud Server 30 also is used for when receiving described command information bag and binding code, resolves described binding code and obtains audiovisual terminals IP and command information bag and binding code are sent to digital audio-video terminal 10.
Described authentication unit 13 is used for judging whether the binding code that receives is legal binding code, notifies the control command in digital audiovisual terminals 10 fill order packets of information when being defined as legal binding code.
Described mobile terminal binding module also comprises cancelling binds unit 14, is used for the local legal binding code of storing of deletion memory module 15 when receiving the instruction of cancellation bindings.In one embodiment, this cancellation is bound unit 14 and is bound the interface in the station of ordering songs of digital audio-video terminal 10 for demonstration one cancellation, this cancellation binding interface display has legal binding code and a cancellation binding button corresponding with legal binding code, and described binding unit 14 also is used for receiving input unit and clicks the cancellation bindings instruction of cancelling the generation of binding button; In another embodiment, the instruction of described cancellation bindings is the operational order in described command information bag.
See also Fig. 4, be the realization flow figure of mobile terminal of the present invention to digital audiovisual terminals binding method.The method that this mobile terminal is controlled digital audiovisual terminals binding runs on above-mentioned mobile terminal in digital audiovisual terminals binding control system, and the method comprises the following steps:
Step S101, digital audio-video terminal are obtained privately owned Cloud Server IP and digital audio-video terminal IP and privately owned Cloud Server IP are added random code and generate a binding code and should bind and yard be stored to this locality;
Step S102, mobile terminal obtain described binding code from the digital audio-video terminal, and parse digital audio-video terminal IP and privately owned Cloud Server IP from the binding code;
Step S103, mobile terminal send to privately owned Cloud Server to the binding code;
Step S104, privately owned Cloud Server are resolved described binding code and are obtained audiovisual terminals IP and the binding code is sent to digital audio-video terminal IP;
The binding code that step S105, digital audio-video terminal will receive is compared with the binding code of local storage, judge whether comparison result is consistent, and should to bind code labeling be legal binding yard to the digital audio-video terminal when definite comparison result is consistent.
Wherein, the described code labeling of should binding is also to comprise step after legal binding code: the digital audio-video terminal is returned to binding success information to mobile terminal by privately owned Cloud Server.
Wherein, described mobile terminal also comprises cancellation binding step to digital audiovisual terminals binding method:
Step S301, digital audio-video terminal are obtained and are cancelled the bindings instruction;
Step S302, the digital audio-video terminal legal binding code stored local according to described cancellation bindings instruction deletion digital audio-video terminal.
Wherein, in one embodiment, described step S301 comprises step:
S3011, digital audio-video terminal show that one cancels the binding interface, and this cancellations binding interface display has legal binding code and a cancellation corresponding with legal binding code to bind a button;
S3012, digital audio-video terminal acceptance point are chosen the cancellation bindings instruction that the binding button that disappears produces.
Wherein, the performing step of described " mobile terminal obtains the binding code from described digital audio-video terminal " comprising: the digital audio-video terminal will be bound the code coding and generated bar code figure and be presented on described digital audio-video terminal; Mobile terminal is taken and is resolved described bar code figure to described bar code figure and draws the binding code.
Wherein, the performing step of described " mobile terminal obtains the binding code from described digital audio-video terminal " comprising: the digital audio-video terminal will be bound yard form with word and will be presented on described digital audio-video terminal; Thereby the word of the binding code correspondence of acquisition for mobile terminal input obtains described binding code.
See also Fig. 5, be the realization flow figure of corresponding mobile terminal to digital audiovisual terminals binding control method.The method that this mobile terminal is controlled digital audiovisual terminals binding runs on above-mentioned mobile terminal in digital audiovisual terminals binding control system, and the method comprises the following steps:
Step S201, digital audio-video terminal are obtained privately owned Cloud Server IP and digital audio-video terminal IP and privately owned Cloud Server IP are added random code and generate a binding code and should bind and yard be stored to this locality;
Step S202, mobile terminal obtain described binding code from the digital audio-video terminal, and parse digital audio-video terminal IP and privately owned Cloud Server IP from the binding code;
Step S203, mobile terminal send to privately owned Cloud Server to the binding code;
Step S204, privately owned Cloud Server are resolved described binding code and are obtained audiovisual terminals IP and the binding code is sent to digital audio-video terminal IP;
The binding code that step S205, digital audio-video terminal will receive is compared with the binding code of local storage, judge whether comparison result is consistent, and should to bind code labeling be legal binding yard to the digital audio-video terminal when definite comparison result is consistent;
Step S206, acquisition for mobile terminal are controlled the command information bag of input generation and command information bag and binding code are sent to the digital audio-video terminal;
Whether the binding code that step S207, digital audio-video terminal judges receive is legal binding code, when being defined as legal binding code, and the control command in the fill order packets of information.
Wherein, described step S206 comprises the steps:
Acquisition for mobile terminal is controlled the command information bag that input produces;
Mobile terminal judges whether to be in same local area network (LAN) with the digital audio-video terminal, if mobile terminal directly sends to the digital audio-video terminal to command information bag and binding code by this local area network (LAN); If not, mobile terminal sends to privately owned Cloud Server to command information bag and binding code, and privately owned Cloud Server is resolved described binding code and obtained audiovisual terminals IP and command information bag and binding code are sent to the digital audio-video terminal.
Wherein, described mobile terminal also comprises and cancels the binding step digital audiovisual terminals binding control method:
The digital audio-video terminal is obtained and is cancelled the bindings instruction, and in one embodiment, the instruction of described cancellation bindings is the operational order in described command information bag;
The digital audio-video terminal is according to the legal binding code of the local storage of described cancellation bindings instruction deletion digital audio-video terminal.
mobile terminal of the present invention is to digital audiovisual terminals binding method, binding control method and system generate the binding code with digital audio-video terminal IP information and privately owned Cloud Server IP, acquisition for mobile terminal should be bound code, and to the binding yard IP information of decoding and obtaining digital audio-video terminal and privately owned Cloud Server, the binding code that the digital audio-video terminal sends by privately owned Cloud Server by the comparison mobile terminal is bound code with local storage, and whether consistent legitimacy to the mobile terminal binding code is verified, and will to bind code labeling when being verified be legal binding code, and carry out mobile terminal by the command information bag of privately owned Cloud Server transmission in the time, whether bind code by judgement is the identity legitimacy that legal binding code authenticates mobile terminal, and when authenticating by legitimacy the control command in the fill order packets of information, further, the digital audio-video terminal is by deleting the binding of this locality storage binding code cancellation and mobile terminal.
The above is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.