The intelligent matching method of infrared remote-control deviceTechnical field
The present invention relates to a kind of infrared remote-control device and by the equipment of remote control, carried out the method for intelligence pairing.
Background technology
Existing network infra red telepilot and other general study remote controllers, be " universal remote control " popular on market, by the study of button one to one, to select brand, model, or by a button, send for a long time the outer remote control code of Different Red, then observe the mode such as whether produce effect and mated by telechiric device.These learning methods learning times is long, and matching effect is poor, uses complicatedly, has greatly hit user and has used interest universal, study remote controller.Along with smart machine, especially universal as smart mobile phone and panel computer of Handheld intelligent equipment, the raising day by day of function, performance, by smart machine (if desired, while there is no functions of receiving and transmitting infrared as smart machine, can supporting other infrared receiving/transmission equipment), provide and use more easily the user of infrared control equipment to experience to have formed a kind of trend, but matching with controlled device, is the obstacle that will overcome and go beyond all the time.
Summary of the invention
In order to solve the marriage problem of the infrared remote-controlled signal of smart machine and controlled device, the invention provides a set of succinct and unique intelligent matching method, allow user quickly and easily smart machine and controlled device be carried out to exact matching, thereby realize, use smart machine to control controlled device by infrared signal.Difference due to the ability of smart machine own, some equipment has functions of receiving and transmitting infrared, and what have does not have a functions of receiving and transmitting infrared, needs support equipment could realize infrared remote control, for simplicity, unification of the present invention is with these different device types of " infrared remote-control device " designate; An infrared remote-control device can be, but not limited to following two kinds of situations:
1. itself there is the smart machine of infrared receiving/transmission ability, as smart mobile phone, panel computer or other smart machines;
2. itself do not possess smart machine and a combination that has the corollary apparatus of functions of receiving and transmitting infrared of functions of receiving and transmitting infrared.
For the second situation, smart machine and corollary apparatus constitute an intelligent remote control device as herein described, between the two by certain wired or wireless communication modes communication, smart machine is as the terminal of user's operation, and support equipment is responsible for cooperative intelligent equipment and is carried out actual functions of receiving and transmitting infrared.
The technical solution adopted in the present invention is: four kinds of methods, consist of:
Method one: intelligence pairing, by selecting device type and producer's brand of the former telepilot of controlled device, and be used in conjunction with former telepilot and match fast, its pairing step is:
A. user selects controlled device type and producer's brand on infrared remote-control device;
B. infrared remote-control device Query Database filter out can distinguish remote unit type (under) a representative button, prompting user finds and presses this button on former telepilot;
C. infrared remote-control device receives the infrared signal data of this button, according to telepilot agreement and the remote control mode collection of the infrared signal of passing back match query in database;
D. judge matching result, a plurality of couplings are returned to execution step B if, if do not mated, perform step G, and unique coupling, performs step E if;
The remote control mode collection of E. pointing out user test to match;
F. judge that whether all buttons are effective, if invalid, perform step G; If effectively successful matching, pairing finishes;
G. infrared remote-control device prompting user cannot match, and reminding user is manually learnt button, pairing end.
Method two: blind pairing, is applicable to the former telepilot of controlled device and has lost the quick pairing in situation about maybe cannot use.Its pairing step is:
A. user selects device type and producer's brand of the former telepilot of controlled device on infrared remote-control device;
B. infrared remote-control device Query Database, filter out (under) a representational button, they may corresponding a plurality of signals; By smart machine, control infrared remote-control device one by one and attempt all infrared signals that this button is corresponding, when signal is effective, user stops attempting;
C. judge that whether remote signal is effective, if invalid, perform step F, if effectively, perform step D;
D. judge the whether corresponding unique a set of remote control mode of this signal, if corresponding many covers return to execution step B, if corresponding unique a set of, perform step E;
E. the remote control mode collection that user test matches, judges that whether all buttons are effective, if invalid, performs step F, if effectively, and successful matching, pairing finishes;
F. on infrared remote-control device, point out user to match, and reminding user is manually learnt button, pairing end.
Method three: the pairing based on image recognition, by the image recognition apparatus model of controlled device or its telepilot.Its pairing step is:
A. user is to being taken pictures by the equipment of remote control or telepilot, or to both taking pictures;
B. image recognition, judgement success finds unit type and producer's brand of coupling, if unsuccessful, by user, whether determine retry, if retry not performs step E, if retry returns to steps A, if successfully find the unit type of coupling, perform step C;
C. Query Database, can judgement find corresponding remote control mode collection, can not be by user, whether determines retry, if retry not performs step E, if retry returns to steps A, can perform step D;
D. the remote control mode collection that matches of test, tests unsuccessfully by user, whether determining retry, if retry not performs step E, if retry returns to steps A, test successfully successful matching, matches end;
E. on infrared remote-control device, point out user to match, and reminding user is manually learnt button, pairing end.
Method four: share pairing, be applicable to the situation that a plurality of infrared remote-control devices are controlled controlled device of the same type, the steps include:
A. button is manually learnt one by one, forms remote controller code;
B. upload study to remote control mode Ji He producer brand and model information to server, share to everyone, others just can match by intelligence like this, blind pairing or image match and carry out telepilot matching operation;
C. after having uploaded the remote control mode Ji He producer type information of learning, can carry out following three kinds of shared models:
1. the pattern that shares to other same model equipment, the steps include:
A. start share service, wait for sharing request;
B. receive a new request, whether checking is legitimate request, if checking do not pass through, notice request person, and turn back to step a; If the verification passes, perform step c;
C. notify client validation to pass through, and wait for " download remote control mode " request;
D. receive " download remote control mode " request, send remote control mode, share and finish.
1. in family, between a plurality of infrared remote-control devices, share the pattern of remote control mode, the steps include:
A. by NetFind, share the equipment of remote control mode, can judgement be found, if can not find, performs step e; If can find, perform step b;
B. by network, send request and share remote control mode, and verify and ask whether can pass through, if can not pass through, perform step e; If can pass through, perform step c;
C. judge that success obtains remote control mode, if can not, perform step e, if can, perform step d;
D. test remote control mode, if test unsuccessfully, perform step e; If tested successfully, share a success, finish to share matching operation;
E. cannot share from other equipment, finish to share matching operation.
2. across sharing the pattern (good friend's shared model) of remote control mode between a plurality of infrared remote-control devices of internet, the steps include:
A. search good friend, if can not find, perform step d; If found, perform step b;
B. from server, download good friend's remote control mode, if download less than; perform step d, if downloaded, obtain, perform step c;
C. test remote control mode, if test unsuccessfully, perform step d, if tested successfully, share a success, finish to share matching operation;
D. cannot share from miscellaneous equipment, shared matching operation finishes.
The present invention adopts the beneficial effect of above technical scheme to be: user can select suitable matching method according to the difference of occasion, can be accurately matching remote controller key set code collection and protocol parameter easily, reach with original telepilot same control experience.
Accompanying drawing explanation
Fig. 1 is four kinds of matching method pairing process flow diagrams of the present invention;
Fig. 2 is intelligence pairing process flow diagram of the present invention;
Fig. 3 is blind pairing process flow diagram of the present invention;
Fig. 4 is image pairing process flow diagram of the present invention;
Fig. 5 is shared pairing process flow diagram of the present invention;
Fig. 6 is the process flow diagram that shares to miscellaneous equipment pattern of the present invention;
Fig. 7 shares the process flow diagram of the pattern of remote control mode between a plurality of infrared remote-control devices in family of the present invention;
Fig. 8 is of the present invention across sharing the process flow diagram of the pattern of remote control mode between a plurality of infrared remote-control devices of internet.
Embodiment
System involved in the present invention (can be single smart machine by server, infrared remote-control device, or by smart machine in conjunction with thering is the support equipment of functions of receiving and transmitting infrared) and controlled device and internet form, server, infrared remote-control device are connected by internet.If infrared remote-control device is combined in conjunction with the support equipment with functions of receiving and transmitting infrared by smart machine, between smart machine and support equipment, can pass through audio frequency, the wired or wireless communications protocol such as bluetooth or wifi connects.As shown in Figure 1, the present invention is comprised of four kinds of methods:
Method one: intelligence pairing, by selecting device type and producer's brand of the former telepilot of controlled device, and be used in conjunction with former telepilot and match fast, its pairing step is:
A. user selects controlled device type and producer's brand on infrared remote-control device;
B. infrared remote-control device Query Database filter out can distinguish remote unit type (under) a representative button, prompting user finds and presses this button on former telepilot;
C. infrared remote-control device receives the infrared signal data of this button, according to telepilot agreement and the remote control mode collection of the infrared signal of passing back match query in database;
D. judge matching result, a plurality of couplings are returned to execution step B if, if do not mated, perform step G, and unique coupling, performs step E if;
The remote control mode collection of E. pointing out user test to match;
F. judge that whether all buttons are effective, if invalid, perform step G; If effectively successful matching, pairing finishes;
G. infrared remote-control device prompting user cannot match, and reminding user is manually learnt button, pairing end.
Method two: blind pairing, is applicable to the former telepilot of controlled device and has lost the quick pairing in situation about maybe cannot use.Its pairing step is:
A. user selects device type and producer's brand of the former telepilot of controlled device on infrared remote-control device;
B. infrared remote-control device Query Database, filter out (under) a representational button, they may corresponding a plurality of signals; By smart machine, control infrared remote-control device one by one and attempt all infrared signals that this button is corresponding, when signal is effective, user stops attempting;
C. judge that whether remote signal is effective, if invalid, perform step F, if effectively, perform step D
D. judge the whether corresponding unique a set of remote control mode of this signal, if corresponding many covers return to execution step B, if corresponding unique a set of, perform step E;
E. the remote control mode collection that user test matches, judges that whether all buttons are effective, if invalid, performs step F, if effectively, and successful matching, pairing finishes;
F. on infrared remote-control device, point out user to match, and reminding user is manually learnt button, pairing end.
Method three: the pairing based on image recognition, by the image recognition apparatus model of controlled device or its telepilot.Its pairing step is:
A. user is to being taken pictures by the equipment of remote control or telepilot, or to both taking pictures;
B. image recognition, judgement success finds unit type and producer's brand of coupling, if unsuccessful, by user, whether determine retry, if retry not performs step E, if retry returns to steps A, if successfully find the unit type of coupling, perform step C;
C. Query Database, can judgement find corresponding remote control mode collection, can not be by user, whether determines retry, if retry not performs step E, if retry returns to steps A, can perform step D;
D. the remote control mode collection that matches of test, tests unsuccessfully by user, whether determining retry, if retry not performs step E, if retry returns to steps A, test successfully successful matching, matches end;
E. on infrared remote-control device, point out user to match, and reminding user is manually learnt button, pairing end.
Method four: share pairing, be applicable to the situation that a plurality of infrared remote-control devices are controlled controlled device of the same type, the steps include:
A. button is manually learnt one by one, forms remote controller code;
B. upload study to remote control mode Ji He producer brand and model information to server, share to everyone, others just can match by intelligence like this, blind pairing or image match and carry out telepilot matching operation;
C. after having uploaded the remote control mode Ji He producer type information of learning, can carry out following three kinds of shared models:
1. the pattern that shares to other same model equipment, the steps include:
A. start share service, wait for sharing request;
B. receive a new request, whether checking is legitimate request, if checking do not pass through, notice request person, and turn back to step a; If the verification passes, perform step c;
C. notify client validation to pass through, and wait for " download remote control mode " request;
D. receive " download remote control mode " request, send remote control mode, share and finish.
2. in family, between a plurality of infrared remote-control devices, share the pattern of remote control mode, the steps include:
A. by NetFind, share the equipment of remote control mode, can judgement be found, if can not find, performs step e; If can find, perform step b;
B. by network, send request and share remote control mode, and verify and ask whether can pass through, if can not pass through, perform step e; If can pass through, perform step c;
C. judge that success obtains remote control mode, if can not, perform step e, if can, perform step d;
D. test remote control mode, if test unsuccessfully, perform step e; If tested successfully, share a success, finish to share matching operation;
E. cannot share from other equipment, finish to share matching operation.
3. across sharing the pattern (good friend's shared model) of remote control mode between a plurality of infrared remote-control devices of internet, the steps include:
A. search good friend, if can not find, perform step d; If found, perform step b;
B. from server, download good friend's remote control mode, if download less than; perform step d, if downloaded, obtain, perform step c;
C. test remote control mode, if test unsuccessfully, perform step d, if tested successfully, share a success, finish to share matching operation;
D. cannot share from miscellaneous equipment, shared matching operation finishes.
Above-mentioned embodiment is exemplary, is to be this patent to be comprised to the restriction of scope in order better to make those skilled in the art can understand this patent, can not to be interpreted as; So long as the technology contents essence of making according to the disclosed technical scheme of this patent is identical or any change or the modification that are equal to, all fall into the scope that this patent comprises.