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 at telepilot, impels 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 to press the specified button string at telepilot;
The specified button string must can be distinguished different controlled devices, can be the at random button string of controlled device generation, different controlled devices can generate different at random button strings at different time, can reduce by increasing the figure place of button string at random the recurrence probability of the at random button string that different controlled devices generate.Also can be for each controlled device distributes the specified button string, so that controlled device is corresponding one by one with the specified button string.
Controlled device can notify the user to press the specified button string at this telepilot by the mode of voice or screen display after receiving pairing request message, for example, shows the at random button string that generates at screen.
103, receive the button string that telepilot sends;
The user need to press the button string of appointment with the telepilot of controlled device pairing according to the notice of controlled device, so that telepilot sends 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 the button string that the telepilot that receives sends mates with the specified button string, then the controlled device execution in step 105, if do not mate, 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, again notifies the user to press the specified button string at 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 to press the specified button string at telepilot, if the 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 at 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, press the specified button string by the user at telepilot, determine that this telepilot will match with this controlled device, thereby need to the pairing button be set at controlled device, can finish the pairing process between telepilot and the controlled device, improve user's 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 in this locality the telepilot of a hypothesis, 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 10000 to 20000, 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.
In the present embodiment, controlled device is after the pairing request message that receives the telepilot transmission, notifying the user before this telepilot is pressed the specified button string, judge first local marking matched sign of preserving with this telepilot, if not, then the trigger notice user presses the step of specified button string at 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 at 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 mate, direct end operation; Also can repeat the above-mentioned user of notice and press the step of specified button string at telepilot, until judge when the button string that receives 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 telepilot initiation and other controlled device may be arranged, the controlled device that has matched is after receiving the pairing request message of telepilot, enter pairing prompting interface, thereby interrupt normal play.Therefore, if controlled device receives 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 at this telepilot, this controlled device namely 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, press the specified button string by the user at telepilot, determine that this telepilot will match with this controlled device, thereby need to the pairing button be set at controlled device, can finish the pairing process between telepilot and the controlled device, improve user's 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 are not mated, notify the user to press the specified button string at telepilot, 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 to press the pairing button at telepilot; (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, so that telepilot A sends 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 is not mated, and generates at random button string 154268 as the specified button string, and shows this specified button string at 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 is not mated, and generates at random button string 845279 as the specified button string, and shows this specified button string at pairing prompting interface;
304, the user is according to the string 154268 that pushes button on the telepilot A that is presented at pairing prompting interface, so that telepilot A sends to all controlled devices (comprising set-top box A, B) with broadcast mode;
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 mate, and shows the failed interface of pairing, and normal play is returned in the blanking of certain hour rear interface;
306, set-top box A returns the pairing response message to telepilot A, the sign of this message portable machine 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 interactive 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, press the specified button string by the user at telepilot, determine that this telepilot will match with this controlled device, thereby need to the pairing button be set at controlled device, can finish the pairing process between telepilot and the controlled device, improve user's 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 are not mated, notify the user to press the specified button string at telepilot, 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:
The first receiver module 401 is used for receiving the pairing request message that telepilot sends, and this message is carried the sign of described telepilot;
The first notification module 402 is used for notifying the user to press the specified button string at telepilot;
The second receiver module 403 is used for receiving the button string that telepilot sends;
The first judge module 404 is used for judging whether the button string and the specified button string that receive mate;
Preserve module 405, during for the button string that receives when 404 judgements of the first judge module and specified button string coupling, the sign of the telepilot that preservation message is carried;
Respond module 406 during for the button string that receives when 404 judgements of the first judge module and specified button string coupling, sends pairing response message, the sign of carrying controlled device in this message to telepilot.
Alternatively, controlled device can also comprise:
The 3rd judge module, be used for after the 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 mate, then triggering the first notification module notifies the user to press the specified button string at 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, so that controlled device is corresponding one by one with the specified button string, and the specified button string that controlled device is corresponding is stored in the controlled device, in this case, the first notification module 402 notifies the user to press the specified button string of this preservation at telepilot.
Alternatively, the specified button string also can be the at random button string of controlled device generation, and in this case, controlled device can also comprise: generation module, be used for notifying the user before telepilot is pressed the specified button string at the first notification module, generate at random the button string as the specified button string.
From as can be known above, in the present embodiment, the first receiver module 401 is after the pairing request message that receives the telepilot transmission, the first notification module 402 notifies the user to press the specified button string at telepilot, after the second receiver module 403 receives the button string of telepilot transmission, if the 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 at 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, press the specified button string by the user at telepilot, determine that this telepilot will match with this controlled device, thereby need to the pairing button be set at controlled device, can finish the pairing process between telepilot and the controlled device, improve user's experience.
See also Fig. 5, another embodiment of controlled device comprises in the embodiment of the invention:
The first receiver module 501 is used for receiving the pairing request message that telepilot sends, and this message is carried the sign of described telepilot;
The second judge module 503, be used for after the 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 the first notification module 503 and notifies the user to press the specified button string at telepilot;
The first notification module 503 is used for notifying the user to press the specified button string at telepilot;
The second receiver module 504 is used for receiving the button string that telepilot sends;
The first judge module 505 is used for judging whether the button string and the specified button string that receive mate;
Preserve module 506, during for the button string that receives when 505 judgements of the first judge module and specified button string coupling, the sign of the telepilot that preservation message is carried;
Respond module 507 during for the button string that receives when 505 judgements of the first judge module and specified button string coupling, sends pairing response message, the sign of carrying controlled device in this message to telepilot.
Alternatively, the controlled device in the present embodiment can also comprise:
The second notification module 508 for the sign of obtaining the local telepilot of preserving behind electrifying startup, judges whether this sign conforms to a predetermined condition, if do not meet, then notify the user to press the pairing button at telepilot, so that telepilot broadcasting pairing request message enters the pairing process.
With respect to embodiment illustrated in fig. 4, in the present embodiment, after the 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 the 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 the described scheme of embodiment of the method 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 above-described embodiment is to come the relevant hardware of instruction 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 is provided and the matching method between the telepilot and controlled device be 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, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.