Embodiment
The embodiment of the invention provides matching method and the controlled device between a kind of controlled device and the telepilot.Below be elaborated respectively.
Embodiment one,
See also Fig. 1, an embodiment of the matching method in the embodiment of the invention between controlled device and the telepilot comprises:
101, controlled device receives the pairing request message that telepilot sends, and this message is carried the sign of telepilot;
The equipment that controlled device can be controlled by telepilot for set-top box, televisor, air-conditioning, digital versatile disc (DVD, DigitalVersatile Disc) or other.
The user can press the pairing button on telepilot, impel telepilot to send pairing request message (can send with the form of broadcasting).
The sign of telepilot can be ID number of telepilot, or the information that other can this telepilot of unique identification.
102, notify the user on telepilot, to press the specified button string;
The specified button string must can be distinguished different controlled devices, can be the string of button at random of controlled device generation, different controlled devices can generate the different strings of button at random at different time, can be by increasing the recurrence probability that the figure place of button string at random reduces the string of button at random that different controlled devices generate.Also can make controlled device corresponding one by one for each controlled device distributes the specified button string with the specified button string.
Controlled device can notify the user to press the specified button string on this telepilot by the mode of voice or screen display after receiving pairing request message, for example, shows the string of button at random that generates on screen.
103, receive the button string that telepilot sends;
The user is according to the notice of controlled device, need with the telepilot of controlled device pairing on press the button string of appointment, make telepilot send this button string (can send) in the mode of broadcasting to controlled device.
104, judge whether the button string and the specified button string that receive mate, if coupling, then execution in step 105, otherwise end operation;
If button string that the telepilot that receives sends and specified button string coupling, then the controlled device execution in step 105, as if not matching, and can end operation; The chance that make mistakes also can for the button of the certain number of times of user provides miscue to the user, notifies the user to press the specified button string once more on telepilot.
105, preserve the sign of telepilot, and send pairing response message, the sign of carrying controlled device in this message to telepilot.
One particular memory region can be set be specifically designed to the sign of preserving telepilot, particular memory region can be on controlled device, also can other can with the equipment of controlled device interactive information on.
Controlled device is after telepilot sends the pairing response message, and telepilot is preserved the sign of the controlled device in this message, thereby finishes the pairing process between controlled device and the telepilot.In the follow-up process that uses a teleswitch, telepilot can carry the sign of telepilot and controlled device in steering order, and controlled device is determined these two signs and local preserve consistent, responds this steering order.
From as can be known above, in the present embodiment, controlled device is after the pairing request message that receives the telepilot transmission, notify the user on telepilot, to press the specified button string, if button string that telepilot sends and specified button string coupling, then determine this telepilot be will with the telepilot of this controlled device pairing, controlled device sends the pairing response message to this telepilot.In the prior art, controlled device needs the user to press the pairing button on controlled device after the pairing request message that receives the telepilot transmission, will match with this telepilot to determine this controlled device; And in the present embodiment, this deterministic process is transferred on the telepilot, on telepilot, press the specified button string by the user, determine that this telepilot will match with this controlled device, thereby the pairing button need be set on controlled device, can finish the pairing process between telepilot and the controlled device, improve user experience.
Embodiment two,
See also Fig. 2, another embodiment of the matching method in the embodiment of the invention between controlled device and the telepilot comprises:
201, controlled device receives the pairing request message that telepilot sends, and this message is carried the sign of this telepilot;
202, judge whether the sign of the local telepilot of preserving and the sign of the telepilot that message is carried mate, and if not, then execution in step 203, otherwise end operation;
Controlled device not with the pairing of any telepilot the time, the sign that can preserve the telepilot of a hypothesis in this locality, the sign of this telepilot is not the sign of an in esse telepilot.If controlled device matches with telepilot, then the sign of this telepilot can be replaced the sign of the telepilot of hypothesis.
The sign of telepilot that can limitative proposition does not meet the predetermined condition of the sign of in esse telepilot, when the sign of the telepilot of preserving when this locality does not meet predetermined condition, illustrate that controlled device matches with any telepilot.For example, the numerical range of the sign of in esse telepilot should also not matched with any telepilot if the numerical value of local sign of preserving not in this numerical range, then can be determined controlled device 10000 to 20000.
In the present embodiment, controlled device is after the pairing request message that receives the telepilot transmission, notifying the user before pressing the specified button string on this telepilot, elder generation preserves judgement this locality the marking matched sign with this telepilot, if not, then the trigger notice user presses the step of specified button string on this telepilot, to enter the pairing process, otherwise illustrate that controlled device matches with this telepilot, no longer enters the pairing process.
203, generating at random the button string notifies the user to press this specified button string on telepilot as the specified button string;
Step 203 please refer to the explanation to step 102.
204, receive the button string that telepilot sends;
Step 204 please refer to the explanation to step 103.
205, judge whether the button string and the specified button string that receive mate, if coupling, then execution in step 206, otherwise end operation;
Step 205 please refer to the explanation to step 104.
After button string that judgement receives and specified button string do not match, direct end operation; Also can repeat the above-mentioned user of notice presses the specified button string on telepilot step, when button string that receives until judgement and the unmatched number of times of specified button string reach pre-determined number, end operation.
206, preserve the sign of telepilot, and send pairing response message, the sign of carrying controlled device in this message to telepilot.
Be understandable that the sign of preservation telepilot herein is that this sign is replaced local original sign of preserving.
Need to prove herein, after controlled device matches with certain telepilot, in the process of controlled device normal play, the pairing process that has telepilot initiation and other controlled device, the controlled device that has matched is after receiving the pairing request message of telepilot, enter pairing prompting interface, thereby interrupt normal play.Therefore, controlled device is if receive the pairing request message that telepilot sends, controlled device can judge whether the sign of the local telepilot of preserving conforms to a predetermined condition, this predetermined condition is the condition that the sign of in esse telepilot should meet, if do not meet, then interrupts normal play, enter pairing prompting interface, otherwise determine that controlled device successfully matches with certain telepilot, do not enter pairing prompting interface, thereby can avoid normal play to interrupt.
In addition, after telepilot and controlled device pairing, a fixedly button string can also be set, as long as the user presses this fixedly button string on this telepilot, this controlled device promptly shows removes the prompting interface, the sign initialization that the user can preserve this controlled device according to the prompting at prompting interface, the sign that is about to conform to a predetermined condition is initialized as the sign of the hypothesis that does not meet predetermined condition.
Be same as embodiment one, in the present embodiment, this is determined that controlled device will transfer on the telepilot with the process of telepilot pairing, on telepilot, press the specified button string by the user, determine that this telepilot will match with this controlled device, thereby the pairing button need be set on controlled device, can finish the pairing process between telepilot and the controlled device, improve user experience.And, in the present embodiment, controlled device is after the pairing request message that receives the telepilot transmission, when the sign of the telepilot of preserving when this locality and the sign of the telepilot that message is carried do not match, notify the user on telepilot, to press the specified button string, entering the pairing process, otherwise the explanation controlled device with this telepilot pairing, no longer enter the pairing process, thereby can avoid controlled device and same telepilot to repeat pairing.
Embodiment three,
See also Fig. 3, another embodiment of the matching method in the embodiment of the invention between controlled device and the telepilot comprises:
301, behind the set-top box A start electrifying startup, judge that the sign of the local telepilot of preserving does not meet predetermined condition, show pairing prompting interface, notify the user on telepilot, to press the pairing button; (match with telepilot B before the postulated mechanism top box B) in the set-top box B normal play;
302, the user presses the pairing button of telepilot A, makes telepilot A send pairing request message, the sign of carrying telepilot A in this message by broadcast mode;
303, after set-top box A receives the pairing request message of telepilot A transmission, obtain the sign of the local telepilot of preserving, the sign of judging this sign and telepilot A does not match, and generates at random button string 154268 as the specified button string, and shows this specified button string on pairing prompting interface; After set-top box B receives the pairing request message of telepilot A transmission, obtain the sign of the local telepilot of preserving, the sign of judging this sign and telepilot A does not match, and generates at random button string 845279 as the specified button string, and shows this specified button string on pairing prompting interface;
304, the user makes telepilot A send to all controlled devices (comprising set-top box A, B) with broadcast mode according to the string 154268 that pushes button on the telepilot A that is presented at pairing prompting interface;
305, set-top box A judges button string and specified button string 154268 couplings that telepilot A sends, the sign of preserving telepilot A; Set-top box B judges that button string and specified button string 845279 that telepilot A sends do not match, and shows pairing failure interface, and normal play is returned in the blanking of certain hour rear interface;
306, set-top box A returns the pairing response message for telepilot A, and this message is carried the sign of set-top box A;
307, telepilot A is after receiving the pairing response message, and with set-top box A interchange key, this key is in order to support the safe transmission of follow-up steering order;
308, set-top box A shows the successful matching interface after mutual key, and normal play is returned in the blanking of certain hour rear interface.
Be same as embodiment one, in the present embodiment, this is determined that controlled device will transfer on the telepilot with the process of telepilot pairing, on telepilot, press the specified button string by the user, determine that this telepilot will match with this controlled device, thereby the pairing button need be set on controlled device, can finish the pairing process between telepilot and the controlled device, improve user experience.And, in the present embodiment, controlled device is after the pairing request message that receives the telepilot transmission, when the sign of the telepilot of preserving when this locality and the sign of the telepilot that message is carried do not match, notify the user on telepilot, to press the specified button string, entering the pairing process, otherwise the explanation controlled device with this telepilot pairing, no longer enter the pairing process, thereby can avoid controlled device and same telepilot to repeat pairing.
In the present embodiment, set-top box B is after the pairing request message that receives telepilot A transmission, also can obtain the sign of the local telepilot of preserving, and judge that this sign conforms to a predetermined condition, determine that set-top box B matches with telepilot, do not enter the pairing flow process, keep normal play, thereby avoid normal play to be interrupted by the pairing process of telepilot A and set-top box A.
Embodiment four,
See also Fig. 4, controlled device embodiment comprises in the embodiment of the invention:
First receiver module 401 is used to receive the pairing request message that telepilot sends, and this message is carried the sign of described telepilot;
First notification module 402 is used to notify the user to press the specified button string on telepilot;
Second receiver module 403 is used to receive the button string that telepilot sends;
First judge module 404 is used to judge whether the button string and the specified button string that receive mate;
Preserve module 405, be used for when first judge module 404 judges that the button string that receives mates with the specified button string sign of the telepilot that preservation message is carried;
Respond module 406 is used for when first judge module 404 judges that the button string that receives is with specified button string coupling, sends to telepilot and matches response message, the sign of carrying controlled device in this message.
Alternatively, controlled device can also comprise:
The 3rd judge module, be used for after first receiver module receives pairing request message, whether the sign of judging the telepilot that local sign of preserving and message are carried mates, if do not match, then triggering first notification module notifies the user to press the specified button string on telepilot, otherwise determine to match with this telepilot, end operation, thus can avoid controlled device and same telepilot to repeat pairing.
Can distribute the specified button string for each controlled device, make controlled device corresponding one by one with the specified button string, and the specified button string of controlled device correspondence is stored in the controlled device, in this case, first notification module 402 is notified the user presses this preservation on telepilot specified button string.
Alternatively, the specified button string also can be the string of button at random of controlled device generation, and in this case, controlled device can also comprise: generation module, be used for notifying the user before pressing the specified button string on the telepilot, generate at random the button string as the specified button string at first notification module.
From as can be known above, in the present embodiment, first receiver module 401 is after the pairing request message that receives the telepilot transmission, first notification module 402 notifies the user to press the specified button string on telepilot, after second receiver module 403 receives the button string of telepilot transmission, if first judge module is judged button string and specified button string coupling that telepilot sends, then determine this telepilot be will with the telepilot of this controlled device pairing, preserve the sign that module 405 is preserved telepilot, respond module 406 sends the pairing response message to this telepilot.In the prior art, controlled device needs the user to press the pairing button on controlled device after the pairing request message that receives the telepilot transmission, will match with this telepilot to determine this controlled device; And in the present embodiment, this deterministic process is transferred on the telepilot, on telepilot, press the specified button string by the user, determine that this telepilot will match with this controlled device, thereby the pairing button need be set on controlled device, can finish the pairing process between telepilot and the controlled device, improve user experience.
See also Fig. 5, another embodiment of controlled device comprises in the embodiment of the invention:
First receiver module 501 is used to receive the pairing request message that telepilot sends, and this message is carried the sign of described telepilot;
Second judge module 503, be used for after first receiver module 501 receives pairing request message, whether the sign of judging the local telepilot of preserving conforms to a predetermined condition, if do not meet, then triggers first notification module 503 and notifies the user to press the specified button string on telepilot;
First notification module 503 is used to notify the user to press the specified button string on telepilot;
Second receiver module 504 is used to receive the button string that telepilot sends;
First judge module 505 is used to judge whether the button string and the specified button string that receive mate;
Preserve module 506, be used for when first judge module 505 judges that the button string that receives mates with the specified button string sign of the telepilot that preservation message is carried;
Respond module 507 is used for when first judge module 505 judges that the button string that receives is with specified button string coupling, sends to telepilot and matches response message, the sign of carrying controlled device in this message.
Alternatively, the controlled device in the present embodiment can also comprise:
Second notification module 508 is used for obtaining the sign of the local telepilot of preserving behind electrifying startup, judge whether this sign conforms to a predetermined condition, if do not meet, then notify the user on telepilot, to press the pairing button, so that telepilot broadcasting pairing request message enters the pairing process.
With respect to embodiment illustrated in fig. 4, in the present embodiment, after first receiver module receives pairing request message, when the sign of the telepilot of preserving in this locality does not meet predetermined condition, just trigger first notification module and carry out associative operation, thereby can be implemented in controlled device with telepilot pairing after, no longer carry out the pairing process, can avoid normal play to be interrupted.
It will be appreciated by those skilled in the art that described scheme of method embodiment and technical characterictic also can be used as the part of apparatus embodiments.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than controlled device that the embodiment of the invention provided and the matching method between the telepilot and controlled device are described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.