CN105139634A - Method and system for automatically parsing remote control instructions of different manufacturers at receiving terminal - Google Patents

Method and system for automatically parsing remote control instructions of different manufacturers at receiving terminal Download PDF

Info

Publication number
CN105139634A
CN105139634A CN201510602044.6A CN201510602044A CN105139634A CN 105139634 A CN105139634 A CN 105139634A CN 201510602044 A CN201510602044 A CN 201510602044A CN 105139634 A CN105139634 A CN 105139634A
Authority
CN
China
Prior art keywords
infrared
protocol driver
driver module
infrared protocol
code value
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.)
Granted
Application number
CN201510602044.6A
Other languages
Chinese (zh)
Other versions
CN105139634B (en
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.)
Shenzhen Xiaojia Technology Co Ltd
Konka Group Co Ltd
Original Assignee
Konka Group 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 Konka Group Co Ltd filed Critical Konka Group Co Ltd
Priority to CN201510602044.6A priority Critical patent/CN105139634B/en
Publication of CN105139634A publication Critical patent/CN105139634A/en
Application granted granted Critical
Publication of CN105139634B publication Critical patent/CN105139634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Selective Calling Equipment (AREA)
  • Details Of Television Systems (AREA)

Abstract

The invention discloses a method and system for automatically parsing remote control instructions of different manufacturers at the receiving terminal. The method includes the following steps: presetting a plurality of different infrared protocol driving modules and code value mapping tables of a plurality of different manufacturers, wherein the infrared remote control protocols of all the infrared protocol driving modules are different to one another; after receiving the matching signal issued by a matching key of the infrared remote control, performing roll polling to the infrared protocol driving modules at the receiving terminal; when the infrared protocol driving module capable of parsing the matching signal exists, performing roll polling to the code value mapping tables at the receiving terminal; when the code value mapping table in which the key value of the matching key is matched with the matching signal exists, loading the corresponding infrared protocol driving module and the corresponding code value mapping table. According to the method and system, remote control of the remote controls is realized, so that one receiving terminal can be used for automatically identifying infrared remote controls of different manufacturers, and can be controlled by infrared remote controls of different manufacturers.

Description

A kind of method and system of automatically resolving different vendor's remote command at receiving end
Technical field
The present invention relates to Infrared remote controller control field, particularly a kind of method and system of automatically resolving different vendor's remote command at receiving end.
Background technology
The method for designing of the infrared remote control transmitting-receiving of tradition electric equipment products is: a electric equipment products are equipped with a special Infrared remote controller, every money telepilot adopts the self-defining infrared key assignments table of a kind of Infrared remote controller agreement and a set of manufacturer, correspondingly, also only the infrared remote control analysis protocol of built-in a set of correspondence and infrared key assignments table in electric equipment products.Obviously, the electric equipment products that different vendor produces are the telepilots that can not respond other infrared protocol of employing and key assignments table.
Current most electric equipment products are all equipped with a special Infrared remote controller, and different electric equipment products will use different telepilots to control.Along with household electrical appliance increase, telepilot is also corresponding to be increased, and collects the telepilot that a lot of different electric equipment products are corresponding, not only takies family's storage space, and in use, often take telepilot by mistake, uses very inconvenience.And, when telepilot damages or lose, other telepilot cannot be utilized to carry out substituting control, cause the waste of resource and use inconvenience.
Therefore, existing technology need to improve.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide a kind of method and system of automatically resolving different vendor's remote command at receiving end, the Infrared remote controller of other manufacturer can be used to control receiving end.
In order to achieve the above object, this invention takes following technical scheme:
Automatically resolve a method for different vendor's remote command at receiving end, described method comprises step:
A, arrange the code value mapping table of multiple different infrared protocol driver modules and multiple different vendor in advance at receiving end, the infrared remote control agreement of each infrared protocol driver module is all not identical;
The pairing signal that B, the pairing key receiving Infrared remote controller send, the infrared protocol driver module of poll receiving end, judges whether to there is the infrared protocol driver module resolving described pairing signal;
C, exist can resolve the infrared protocol driver module of described pairing signal time, the code value mapping table of poll receiving end, judges whether to exist the code value mapping table that the key assignments of pairing key and described pairing signal match;
D, when there is the infrared protocol driver module that can resolve described pairing signal and there is the code value mapping table that the key assignments of pairing key and described pairing signal match, load corresponding infrared protocol driver module and corresponding code value mapping table, realize the remote pilot of telepilot.
Described resolves in the method for different vendor's remote command at receiving end automatically, and described step B specifically comprises:
The pairing signal that B1, the pairing key receiving Infrared remote controller send;
B2, judge that can the infrared protocol driver module of current loading resolve described pairing signal;
B3, when the infrared protocol driver module of current loading can not resolve described pairing signal, traversal receiving end infrared protocol driver module;
B4, judge traversal whether complete;
B5, travel through do not complete time, the infrared protocol driver module traversed resolves described pairing signal;
B6, when the infrared protocol driver module traversed can not resolve described pairing signal, turn back to step B3;
B7, when the infrared protocol driver module traversed can resolve described pairing signal, enter step C.
Described resolves in the method for different vendor's remote command at receiving end automatically, and described step C specifically comprises:
The code value mapping table of C1, traversal receiving end;
C2, judge traversal whether complete;
C3, travel through do not complete time, the key assignments of the pairing key in the code value mapping table traversed is mated with described pairing signal;
C4, when the key assignments of pairing key does not mate with described pairing signal, turn back to step C1;
C5, when the key assignments of pairing key mates with described pairing signal, enter step D.
Described resolves in the method for different vendor's remote command at receiving end automatically, and described step D specifically comprises:
D1, the infrared protocol driver module resolving described pairing signal to be marked; The code value mapping table that key assignments and the described pairing signal of pairing key match is marked;
D2, when starting shooting next time, loading infrared protocol driver module and the code value mapping table of mark of mark, realizing the remote pilot of telepilot.
Described resolves in the method for different vendor's remote command at receiving end automatically, before described step B, after also comprising step B0, receiving end start, loads the infrared protocol driver module of current markers and the code value mapping table of current markers.
Automatically resolve a system for different vendor's remote command at receiving end, comprising:
Infrared protocol Driver Library, comprises multiple different infrared protocol driver module, and the infrared remote control agreement of each infrared protocol driver module is all not identical;
Infrared code value mapping table storehouse, comprises the code value mapping table of multiple different vendor;
Infrared protocol parsing module, the pairing signal that the pairing key for receiving Infrared remote controller sends, the infrared protocol driver module in poll infrared protocol Driver Library, judges whether to there is the infrared protocol driver module resolving described pairing signal;
Pairing key analysis module, for exist can resolve the infrared protocol driver module of described pairing signal time, the code value mapping table in poll infrared code value mapping table storehouse, judges whether to exist the code value mapping table that the key assignments of pairing key and described pairing signal match;
Load-on module, for when there is the infrared protocol driver module that can resolve described pairing signal and there is the code value mapping table that the key assignments of pairing key and described pairing signal match, load corresponding infrared protocol driver module and corresponding code value mapping table, realize the remote pilot of telepilot.
Described resolves in the system of different vendor's remote command at receiving end automatically, and described infrared protocol parsing module comprises:
Infrared protocol resolver, for the pairing signal that the pairing key receiving Infrared remote controller sends, judge that can the infrared protocol driver module of current loading resolve described pairing signal, when the infrared protocol driver module of current loading can not resolve described pairing signal, start infrared driver module and match well manager;
Infrared driver module matches well manager, for traveling through the infrared protocol driver module in infrared protocol Driver Library, judging whether traversal completes, when traversal does not complete, making the infrared protocol driver module traversed resolve described pairing signal; When the infrared protocol driver module traversed can not resolve described pairing signal, continue the infrared protocol driver module in traversal infrared protocol Driver Library; When the infrared protocol driver module traversed can resolve described pairing signal, start pairing key analysis module.
Described resolves in the system of different vendor's remote command at receiving end automatically, and described pairing key analysis module comprises:
Pairing key analyzer, for traveling through the code value mapping table in infrared code value mapping table storehouse, judge whether traversal completes, when traversal does not complete, the key assignments of the pairing key in the code value mapping table traversed is mated with described pairing signal, when the key assignments of pairing key mates with described pairing signal, start-up loading module.
Described resolves in the system of different vendor's remote command at receiving end automatically, and described load-on module comprises:
Infrared receiver subsystem upgrades manager, for marking the infrared protocol driver module resolving described pairing signal; The code value mapping table that key assignments and the described pairing signal of pairing key match is marked.
Described resolves in the system of different vendor's remote command at receiving end automatically, and described load-on module also comprises:
Infrared protocol driver module loader, upgrades the infrared protocol driver module of manager mark for loading infrared receiver subsystem;
Code value mapping table loader, upgrades the code value mapping table of manager mark for loading infrared receiver subsystem.
Compared to prior art, a kind of method and system of automatically resolving different vendor's remote command at receiving end provided by the invention, by arranging the code value mapping table of multiple different infrared protocol driver modules and multiple different vendor in advance at receiving end, the infrared remote control agreement of each infrared protocol driver module is all not identical, after the pairing signal that the pairing key receiving Infrared remote controller sends, the infrared protocol driver module of poll receiving end, when existence can resolve the infrared protocol driver module of described pairing signal, the code value mapping table of poll receiving end, when the code value mapping table that the key assignments and described pairing signal that there is pairing key match, namely corresponding infrared protocol driver module and corresponding code value mapping table is loaded, realize the remote pilot of telepilot, make a receiving end automatically can identify the Infrared remote controller of different vendor, accept the control of different vendor's Infrared remote controller.
Accompanying drawing explanation
Fig. 1 is process flow diagram of automatically resolving the method for different vendor's remote command at receiving end provided by the invention.
Fig. 2 provided by the inventionly resolves in the method for different vendor's remote command automatically at receiving end, the concrete grammar process flow diagram of step S20 and S30.
Fig. 3 is structured flowchart of automatically resolving the system of different vendor's remote command at receiving end provided by the invention.
Fig. 4 provided by the inventionly resolves in the method for different vendor's remote command automatically at receiving end, the concrete grammar process flow diagram of step S200.
Embodiment
The invention provides a kind of method and system of automatically resolving different vendor's remote command at receiving end.For making object of the present invention, technical scheme and effect clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, the invention provides a kind of method of automatically resolving different vendor's remote command at receiving end, described method comprises the steps:
S10, arrange the code value mapping table of multiple different infrared protocol driver modules and multiple different vendor in advance at receiving end, the infrared remote control agreement of each infrared protocol driver module is all not identical.The instruction that described infrared protocol driver module sends for resolving Infrared remote controller.Concrete, be provided with NEC infrared protocol driver module, ITT infrared protocol driver module, Sharp infrared protocol driver module, SonySIRC infrared protocol driver module, NokiaNRC infrared protocol driver module, PhiliosRC-5 infrared protocol driver module, PhiliosRC-6 infrared protocol driver module, PhiliosRECS-80 infrared protocol driver module and other infrared protocol driver modules in receiving device.Conventional infrared remote control agreement has NEC agreement, ITT agreement etc. eight kinds (the infrared protocol driver module see corresponding), therefore, in advance by all infrared protocol drive module setting in the receiving end, the code value mapping table of brand manufacturers is all arranged in the receiving end, makes receiving end can resolve the Infrared remote controller instruction of most manufacturer.Described receiving end comprises Set Top Box, televisor, VCD machine, air-conditioning etc. and needs to use the equipment that Infrared remote controller carries out controlling.
Certainly, described receiving end can expand by upgrading, newly-increased infrared protocol driver module and code value mapping table the Infrared remote controller that can match.That is, described step S10 also comprises, by the mode of system upgrade, and upgrading, newly-increased infrared protocol driver module and code value mapping table.Concrete, when detecting that infrared protocol driver module in receiving end and code value mapping table need to upgrade or have disappearance, upgrading or newly-increased infrared protocol driver module and code value mapping table.
The pairing signal that S20, the pairing key receiving Infrared remote controller send, the infrared protocol driver module of poll receiving end, judges whether to there is the infrared protocol driver module resolving described pairing signal; When existence can resolve the infrared protocol driver module of described pairing signal, enter step S20; When there is not the infrared protocol driver module resolving described pairing signal, display Infrared remote controller is matched unsuccessfully, exits pairing flow process.Described pairing key is the general button in the Infrared remote controller of each manufacturer, and the key assignments of this general button has uniqueness, can be Menu key, on & off switch etc.Described pairing signal is the instruction that a special key-press event produces, as long by the Menu key schedule time the instruction that produces.Described pairing key, pairing signal and the schedule time can define as required, and in the present embodiment, described pairing key is Menu key, and the schedule time was 10 seconds.
S30, exist can resolve the infrared protocol driver module of described pairing signal time, the code value mapping table of poll receiving end, judges whether to exist the code value mapping table that the key assignments of pairing key and described pairing signal match; When the code value mapping table that the key assignments and described pairing signal that there is pairing key match, enter step S40; When the code value mapping table that the key assignments and described pairing signal that there is not pairing key match, display Infrared remote controller is matched unsuccessfully, exits pairing flow process.Described code value mapping table, contains the corresponding relation of each key assignments of telepilot and steering order.
S40, when there is the infrared protocol driver module that can resolve described pairing signal and there is the code value mapping table that the key assignments of pairing key and described pairing signal match, load corresponding infrared protocol driver module and corresponding code value mapping table, realize the remote pilot of telepilot.
Work under the Infrared remote controller of current most electric equipment products is all unified in 38kHz or approximate carrier frequency, therefore, adopt method of automatically resolving different vendor's remote command at receiving end provided by the invention, a receiving end can be mated the pairing signal that different vendor's telepilot sends, the Infrared remote controller of automatic identification different vendor, accepts the control of different vendor's Infrared remote controller.Make an Infrared remote controller can control multiple receiving end, save a large amount of telepilot repeated, make multiple different Infrared remote controller can control a receiving end, take full advantage of existing telepilot resource, save the time of user's finding remote controller, for user provides convenience, practical, extend the usable range of telepilot.
Further, refer to Fig. 2, described step S20 specifically comprises:
After the start of S200, receiving end, load the infrared protocol driver module of current markers and the code value mapping table of current markers.
The pairing signal that S210, the pairing key receiving Infrared remote controller send.
S220, judge that can the infrared protocol driver module of current loading resolve described pairing signal.
S230, when the infrared protocol driver module of current loading can resolve described pairing signal, enter normal keystroke handling flow process, such as this key-press event is forwarded to upper layer application.
S240, when the infrared protocol driver module of current loading can not resolve described pairing signal, traversal receiving end infrared protocol driver module.Concrete, the present invention travels through one time, that is, when the infrared protocol driver module of current loading can not resolve described pairing signal, enter pairing flow process, all infrared protocol driver modules of a traversal receiving end.
S250, judge traversal whether complete.That is, judge whether traversal completes for one time.
S260, when traversal completes, display Infrared remote controller match unsuccessfully, exit pairing flow process.That is, when traversal completes for one time, display Infrared remote controller is matched unsuccessfully, exits pairing flow process.
S270, travel through do not complete time, the infrared protocol driver module traversed resolves described pairing signal.Can the infrared protocol driver module that S271, judgement traverse resolve described pairing signal.
S280, when the infrared protocol driver module traversed can not resolve described pairing signal, turn back to step S240.
S290, when the infrared protocol driver module traversed can resolve described pairing signal, enter step S30.
The mode of traversal is adopted to search the infrared protocol driver module resolving pairing signal, simply efficiently.
Described step S30 specifically comprises:
The code value mapping table of S310, traversal receiving end.
S320, judge traversal whether complete.That is, judge whether traversal completes for one time.
S330, when traversal completes, display Infrared remote controller match unsuccessfully, exit pairing flow process.
S340, travel through do not complete time, the key assignments of the pairing key in the code value mapping table traversed is mated with described pairing signal.The key assignments of the pairing key in code value mapping table is mated with described pairing signal, specifically refer to the key assignments of the pairing key in code value mapping table identical with the key assignments that pairing signal is resolved time, namely match both representative, not identical, illustrate and do not mate.
S350, judge whether the key assignments of the pairing key in code value mapping table mates with described pairing signal.
S360, when the key assignments of pairing key does not mate with described pairing signal, turn back to step S310.
S370, when the key assignments of pairing key mates with described pairing signal, enter step S40.
The code value mapping table adopting the mode of traversal to search the key assignments of pairing key and pairing signal to match, simply efficiently.
Described step S40 specifically comprises:
S410, the infrared protocol driver module resolving described pairing signal to be marked; The code value mapping table that key assignments and the described pairing signal of pairing key match is marked.
Further, by infrared protocol Driver Library admin table, the infrared protocol driver module resolving described pairing signal is marked.Described infrared protocol Driver Library admin table comprises the mark of each infrared protocol driver module and the default load operating mark of its correspondence, the value of " default load operating mark " field that described infrared protocol Driver Library admin table only has to record is "Yes", and the receiving end value all loading " default load operating mark " field of at every turn starting shooting is the infrared protocol driver module of "Yes".
In the present embodiment, described infrared protocol Driver Library admin table is as shown in table 1 below:
Infrared protocol driver module identifies Default load operating mark
ITT No
NEC Be
Sharp No
Sony SIRC No
Nokia NRC No
Phlips RC-5 No
Phlips RC-6 No
Phlips RECS-80 No
No
Table 1
Further, by infrared code value mapping table library management table, the code value mapping table that the key assignments of pairing key and described pairing signal match is marked.Described infrared code value mapping table library management table comprises the mark of the code value mapping table of each manufacturer, the code value (key assignments) of corresponding pairing key and default load operating mark.The value of " default load operating mark " field that described infrared code value mapping table library management table only has to record is "Yes", and the receiving end value all loading " default load operating mark " field of at every turn starting shooting is the code value mapping table of "Yes".
In the present embodiment, described infrared code value mapping table library management table is as shown in table 2 below:
Infrared remote control code value definition identification of the manufacturer The infrared code value of pairing key Default load operating mark
Hisense 31H No
Konka 05H Be
Pleasure is looked 18H No
Skyworth 28H No
Changhong 14H No
TCL 22H No
Haier 17H No
No
Table 2
It can thus be appreciated that, only need upgrade the default load operating mark in infrared protocol Driver Library admin table and infrared code value mapping table library management table, the infrared protocol driver module resolving the instruction that Infrared remote controller sends and the code value mapping table of answering with the key-value pair of this Infrared remote controller can be loaded, realize the parsing to this Infrared remote controller instruction, without the need to the logical process of complexity, step is simple and efficient.
S420, when starting shooting next time, loading infrared protocol driver module and the code value mapping table of mark of mark, realizing the remote pilot of telepilot.In other words, restart receiving end, when receiving end is started shooting, load the infrared protocol driver module of mark and the code value mapping table of mark, realize the remote pilot of telepilot.
In sum, method of automatically resolving different vendor's remote command at receiving end provided by the invention, can the Infrared remote controller of Intelligent Recognition different vendor, and match, after receiving end is restarted, the Infrared remote controller of coupling can control receiving end, each telepilot is become universal remote control, only a telepilot need be used can to control most electrical equipment in family, solve the problem that existing telepilot is too much, can only control corresponding device, expand the usable range of telepilot, for user provides convenience.
Based on the method for automatically resolving different vendor's remote command at receiving end that a upper embodiment provides, the present invention also provides a kind of system of automatically resolving different vendor's remote command at receiving end, described Operation system setting in the receiving end, refer to Fig. 3, described system comprises: infrared protocol parsing module 10, pairing key analysis module 20, load-on module 30, infrared protocol Driver Library 40 and infrared code value mapping table storehouse 50.
Described infrared protocol Driver Library 40, comprises multiple different infrared protocol driver module, and the infrared remote control agreement of each infrared protocol driver module is all not identical.The instruction that described infrared protocol driver module sends for resolving Infrared remote controller.
Described infrared code value mapping table storehouse 50, comprises the code value mapping table of multiple different vendor.
Conventional infrared remote control agreement has NEC agreement, ITT agreement etc. eight kinds, therefore, in advance by all infrared protocol drive module setting in infrared protocol Driver Library 40, the code value mapping table of brand manufacturers is all arranged in infrared code value mapping table storehouse 50, makes receiving end can resolve the Infrared remote controller instruction of most manufacturer.Described receiving end comprises Set Top Box, televisor, VCD machine, air-conditioning etc. and needs to use the equipment that Infrared remote controller carries out controlling.
Certainly, described receiving end can expand by upgrading, newly-increased infrared protocol driver module and code value mapping table the Infrared remote controller that can match.That is, described system also comprises upgraded module, and described upgraded module is used for when system upgrade, upgrading, newly-increased infrared protocol driver module and code value mapping table.Concrete, when described upgraded module detects that infrared protocol driver module in receiving end and code value mapping table need to upgrade or have disappearance, upgrading or newly-increased infrared protocol driver module and code value mapping table.
Described infrared protocol parsing module 10, the pairing signal that the pairing key for receiving Infrared remote controller sends, the infrared protocol driver module in poll infrared protocol Driver Library, judges whether to there is the infrared protocol driver module resolving described pairing signal; When existence can resolve the infrared protocol driver module of described pairing signal, start described pairing key analysis module 20; When there is not the infrared protocol driver module resolving described pairing signal, display Infrared remote controller is matched unsuccessfully, exits pairing flow process.Described pairing key is the general button in the Infrared remote controller of each manufacturer, and the key assignments of this general button has uniqueness, can be Menu key, on & off switch etc.Described pairing signal is the instruction that a special key-press event produces, as long by the Menu key schedule time the instruction that produces.Described pairing key, pairing signal and the schedule time can define as required, and in the present embodiment, described pairing key is Menu key, and the schedule time was 10 seconds.
Described pairing key analysis module 20, for when existence can resolve the infrared protocol driver module of described pairing signal, code value mapping table in poll infrared code value mapping table storehouse, judges whether to exist the code value mapping table that the key assignments of pairing key and described pairing signal match; When the code value mapping table that the key assignments and described pairing signal that there is pairing key match, start described load-on module 30; When the code value mapping table that the key assignments and described pairing signal that there is not pairing key match, display Infrared remote controller is matched unsuccessfully, exits pairing flow process.Described code value mapping table, contains the corresponding relation of each key assignments of telepilot and steering order.
Described load-on module 30, for when there is the infrared protocol driver module that can resolve described pairing signal and there is the code value mapping table that the key assignments of pairing key and described pairing signal match, load corresponding infrared protocol driver module and corresponding code value mapping table, realize the remote pilot of telepilot.
Work under the Infrared remote controller of current most electric equipment products is all unified in 38kHz or approximate carrier frequency, therefore, adopt system of automatically resolving different vendor's remote command at receiving end provided by the invention, a receiving end can be mated the pairing signal that different vendor's telepilot sends, the Infrared remote controller of automatic identification different vendor, accepts the control of different vendor's Infrared remote controller.Make an Infrared remote controller can control multiple receiving end, save a large amount of telepilot repeated, make multiple different Infrared remote controller can control a receiving end, take full advantage of existing telepilot resource, save the time of user's finding remote controller, for user provides convenience, practical, extend the usable range of telepilot.
Further, described infrared protocol parsing module 10 comprises infrared protocol resolver and infrared driver module matches well manager.
Described infrared protocol resolver, for the pairing signal that the pairing key receiving Infrared remote controller sends, judge that can the infrared protocol driver module of current loading resolve described pairing signal, when the infrared protocol driver module of current loading can not resolve described pairing signal, start infrared driver module and match well manager; When the infrared protocol driver module of current loading can resolve described pairing signal, enter normal keystroke handling flow process, such as this key-press event is forwarded to upper layer application.
Described infrared driver module matches well manager, for traveling through the infrared protocol driver module in infrared protocol Driver Library 40, judges whether traversal completes, and when traversal completes, display Infrared remote controller is matched unsuccessfully, exits pairing flow process; When traversal does not complete, the infrared protocol driver module traversed is made to resolve described pairing signal; When the infrared protocol driver module traversed can not resolve described pairing signal, continue the infrared protocol driver module in traversal infrared protocol Driver Library; When the infrared protocol driver module traversed can resolve described pairing signal, start pairing key analysis module.In the present invention, described traversal only need travel through one time.
Described pairing key analysis module 20 comprises pairing key analyzer.
Described pairing key analyzer, for traveling through the code value mapping table in infrared code value mapping table storehouse 50, judges whether traversal completes, and when traversal completes, display Infrared remote controller is matched unsuccessfully, exits pairing flow process; When traversal does not complete, the key assignments of the pairing key in the code value mapping table traversed is mated with described pairing signal, when the key assignments of pairing key does not mate with described pairing signal, continue the code value mapping table in the infrared code value mapping table storehouse 50 of traversal; When the key assignments of pairing key mates with described pairing signal, start-up loading module.Same, described traversal only need travel through one time.The key assignments of the pairing key in code value mapping table is mated with described pairing signal, specifically refer to the key assignments of the pairing key in code value mapping table identical with the key assignments that pairing signal is resolved time, namely match both representative, not identical, illustrate and do not mate.
Described load-on module 30 comprises infrared receiver subsystem and upgrades manager, infrared protocol driver module loader and code value mapping table loader.
Described infrared receiver subsystem upgrades manager, for marking the infrared protocol driver module resolving described pairing signal; The code value mapping table that key assignments and the described pairing signal of pairing key match is marked.
Further, described infrared receiver subsystem renewal manager is marked the infrared protocol driver module resolving described pairing signal by infrared protocol Driver Library admin table.Described infrared protocol Driver Library admin table comprises the mark of each infrared protocol driver module and the default load operating mark of its correspondence, the value of " default load operating mark " field that described infrared protocol Driver Library admin table only has to record is "Yes", and the receiving end value all loading " default load operating mark " field of at every turn starting shooting is the infrared protocol driver module of "Yes".
In the present embodiment, described infrared protocol Driver Library admin table as shown in Table 1 above.
Further, described infrared receiver subsystem renewal manager is marked the code value mapping table that the key assignments of pairing key and described pairing signal match by infrared code value mapping table library management table.Described infrared code value mapping table library management table comprises the mark of the code value mapping table of each manufacturer, the code value (key assignments) of corresponding pairing key and default load operating mark.The value of " default load operating mark " field that described infrared code value mapping table library management table only has to record is "Yes", and the receiving end value all loading " default load operating mark " field of at every turn starting shooting is the code value mapping table of "Yes".
In the present embodiment, described infrared code value mapping table library management table as shown in Table 2 above.
It can thus be appreciated that, only need upgrade the default load operating mark in infrared protocol Driver Library admin table and infrared code value mapping table library management table, the infrared protocol driver module resolving the instruction that Infrared remote controller sends and the code value mapping table of answering with the key-value pair of this Infrared remote controller can be loaded, realize the parsing to this Infrared remote controller instruction, without the need to the logical process of complexity, step is simple and efficient.
Described infrared protocol driver module loader, upgrades the infrared protocol driver module of manager mark for loading infrared receiver subsystem.
Described code value mapping table loader, upgrades the code value mapping table of manager mark for loading infrared receiver subsystem.
Refer to Fig. 4, in conjunction with the functional module that the present embodiment provides, the step S200 in a upper embodiment specifically comprises:
S201, receiving end are started shooting.
S202a, loading infrared protocol driver module; S202b, loading code value mapping table.
S203a, infrared receiver subsystem upgrade manager and read infrared protocol Driver Library admin table; S203b, infrared receiver subsystem upgrade manager and read infrared code value mapping table library management table.
S204a, infrared protocol driver module loader are loaded with the infrared protocol driver module of default load operating mark; S204b, code value mapping table loader are loaded with the code value mapping table of default load operating mark.
Because receiving end is when starting shooting, infrared protocol driver module loader and code value mapping table loader correspondence are loaded with infrared protocol driver module and code value mapping table, therefore, after the success of pairing Infrared remote controller, infrared protocol Driver Library admin table and infrared protocol Driver Library admin table have renewal, restart receiving end, infrared protocol driver module loader and code value mapping table loader can load new infrared protocol driver module and code value mapping table, realize the parsing to Infrared remote controller instruction.
Based on the system of automatically resolving different vendor's remote command at receiving end that above-described embodiment provides, the present invention also provides a kind of televisor, comprises system and telepilot of automatically resolving different vendor's remote command at receiving end as above.Because described principle of work of automatically resolving different vendor's remote command at receiving end elaborates in the above-described embodiments, do not repeat them here.
Be understandable that, for those of ordinary skills, can be equal to according to technical scheme of the present invention and inventive concept thereof and replace or change, and all these change or replace the protection domain that all should belong to the claim appended by the present invention.

Claims (10)

1. automatically resolve a method for different vendor's remote command at receiving end, it is characterized in that, described method comprises step:
A, arrange the code value mapping table of multiple different infrared protocol driver modules and multiple different vendor in advance at receiving end, the infrared remote control agreement of each infrared protocol driver module is all not identical;
The pairing signal that B, the pairing key receiving Infrared remote controller send, the infrared protocol driver module of poll receiving end, judges whether to there is the infrared protocol driver module resolving described pairing signal;
C, exist can resolve the infrared protocol driver module of described pairing signal time, the code value mapping table of poll receiving end, judges whether to exist the code value mapping table that the key assignments of pairing key and described pairing signal match;
D, when there is the infrared protocol driver module that can resolve described pairing signal and there is the code value mapping table that the key assignments of pairing key and described pairing signal match, load corresponding infrared protocol driver module and corresponding code value mapping table, realize the remote pilot of telepilot.
2. method of automatically resolving different vendor's remote command at receiving end according to claim 1, is characterized in that, described step B specifically comprises:
The pairing signal that B1, the pairing key receiving Infrared remote controller send;
B2, judge that can the infrared protocol driver module of current loading resolve described pairing signal;
B3, when the infrared protocol driver module of current loading can not resolve described pairing signal, traversal receiving end infrared protocol driver module;
B4, judge traversal whether complete;
B5, travel through do not complete time, the infrared protocol driver module traversed resolves described pairing signal;
B6, when the infrared protocol driver module traversed can not resolve described pairing signal, turn back to step B3;
B7, when the infrared protocol driver module traversed can resolve described pairing signal, enter step C.
3. method of automatically resolving different vendor's remote command at receiving end according to claim 2, is characterized in that, described step C specifically comprises:
The code value mapping table of C1, traversal receiving end;
C2, judge traversal whether complete;
C3, travel through do not complete time, the key assignments of the pairing key in the code value mapping table traversed is mated with described pairing signal;
C4, when the key assignments of pairing key does not mate with described pairing signal, turn back to step C1;
C5, when the key assignments of pairing key mates with described pairing signal, enter step D.
4. method of automatically resolving different vendor's remote command at receiving end according to claim 3, is characterized in that, described step D specifically comprises:
D1, the infrared protocol driver module resolving described pairing signal to be marked; The code value mapping table that key assignments and the described pairing signal of pairing key match is marked;
D2, when starting shooting next time, loading infrared protocol driver module and the code value mapping table of mark of mark, realizing the remote pilot of telepilot.
5. method of automatically resolving different vendor's remote command at receiving end according to claim 4, it is characterized in that, before described step B, after also comprising step B0, receiving end start, load the infrared protocol driver module of current markers and the code value mapping table of current markers.
6. automatically resolve a system for different vendor's remote command at receiving end, it is characterized in that, comprising:
Infrared protocol Driver Library, comprises multiple different infrared protocol driver module, and the infrared remote control agreement of each infrared protocol driver module is all not identical;
Infrared code value mapping table storehouse, comprises the code value mapping table of multiple different vendor;
Infrared protocol parsing module, the pairing signal that the pairing key for receiving Infrared remote controller sends, the infrared protocol driver module in poll infrared protocol Driver Library, judges whether to there is the infrared protocol driver module resolving described pairing signal;
Pairing key analysis module, for exist can resolve the infrared protocol driver module of described pairing signal time, the code value mapping table in poll infrared code value mapping table storehouse, judges whether to exist the code value mapping table that the key assignments of pairing key and described pairing signal match;
Load-on module, for when there is the infrared protocol driver module that can resolve described pairing signal and there is the code value mapping table that the key assignments of pairing key and described pairing signal match, load corresponding infrared protocol driver module and corresponding code value mapping table, realize the remote pilot of telepilot.
7. system of automatically resolving different vendor's remote command at receiving end according to claim 6, is characterized in that, described infrared protocol parsing module comprises:
Infrared protocol resolver, for the pairing signal that the pairing key receiving Infrared remote controller sends, judge that can the infrared protocol driver module of current loading resolve described pairing signal, when the infrared protocol driver module of current loading can not resolve described pairing signal, start infrared driver module and match well manager;
Infrared driver module matches well manager, for traveling through the infrared protocol driver module in infrared protocol Driver Library, judging whether traversal completes, when traversal does not complete, making the infrared protocol driver module traversed resolve described pairing signal; When the infrared protocol driver module traversed can not resolve described pairing signal, continue the infrared protocol driver module in traversal infrared protocol Driver Library; When the infrared protocol driver module traversed can resolve described pairing signal, start pairing key analysis module.
8. system of automatically resolving different vendor's remote command at receiving end according to claim 7, is characterized in that, described pairing key analysis module comprises:
Pairing key analyzer, for traveling through the code value mapping table in infrared code value mapping table storehouse, judge whether traversal completes, when traversal does not complete, the key assignments of the pairing key in the code value mapping table traversed is mated with described pairing signal, when the key assignments of pairing key mates with described pairing signal, start-up loading module.
9. system of automatically resolving different vendor's remote command at receiving end according to claim 8, is characterized in that, described load-on module comprises:
Infrared receiver subsystem upgrades manager, for marking the infrared protocol driver module resolving described pairing signal; The code value mapping table that key assignments and the described pairing signal of pairing key match is marked.
10. system of automatically resolving different vendor's remote command at receiving end according to claim 9, is characterized in that, described load-on module also comprises:
Infrared protocol driver module loader, upgrades the infrared protocol driver module of manager mark for loading infrared receiver subsystem;
Code value mapping table loader, upgrades the code value mapping table of manager mark for loading infrared receiver subsystem.
CN201510602044.6A 2015-09-21 2015-09-21 A kind of method and system automatically parsing different vendor's remote command in receiving end Active CN105139634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510602044.6A CN105139634B (en) 2015-09-21 2015-09-21 A kind of method and system automatically parsing different vendor's remote command in receiving end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510602044.6A CN105139634B (en) 2015-09-21 2015-09-21 A kind of method and system automatically parsing different vendor's remote command in receiving end

Publications (2)

Publication Number Publication Date
CN105139634A true CN105139634A (en) 2015-12-09
CN105139634B CN105139634B (en) 2019-11-08

Family

ID=54724961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510602044.6A Active CN105139634B (en) 2015-09-21 2015-09-21 A kind of method and system automatically parsing different vendor's remote command in receiving end

Country Status (1)

Country Link
CN (1) CN105139634B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847923A (en) * 2016-04-13 2016-08-10 福建新大陆通信科技股份有限公司 Method for intelligent hand-held device to simulate remote controller
CN106610834A (en) * 2016-11-07 2017-05-03 广州视源电子科技股份有限公司 Method and system for loading remote control drive
CN106781378A (en) * 2016-12-12 2017-05-31 广州视源电子科技股份有限公司 Information matching method, information configuration method of remote controller and corresponding devices
CN106851372A (en) * 2017-02-28 2017-06-13 山东浪潮商用***有限公司 A kind of corresponding method for being adapted to different model IR remote controller
WO2017124958A1 (en) * 2016-01-21 2017-07-27 阿里巴巴集团控股有限公司 Method and apparatus for processing identification data
CN108694827A (en) * 2018-07-30 2018-10-23 珠海格力电器股份有限公司 Household appliance voice control method and device and central control equipment
CN108924615A (en) * 2018-07-20 2018-11-30 深圳创维-Rgb电子有限公司 A kind of method responding different ultra-red orders, storage medium and smart television
CN109405193A (en) * 2017-08-14 2019-03-01 大金工业株式会社 Air-conditioning system and its remote controler matching method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006270370A (en) * 2005-03-23 2006-10-05 Victor Co Of Japan Ltd Remote operating device
CN101155278A (en) * 2006-09-30 2008-04-02 深圳Tcl新技术有限公司 Electrical equipment with multi-remote controller control function and implementing method thereof
CN101170635A (en) * 2007-11-22 2008-04-30 深圳市茁壮网络技术有限公司 A mapping device and digital TV terminal device using this mapping device
CN101616278A (en) * 2008-06-25 2009-12-30 深圳华强三洋技术设计有限公司 Utilize the method for different remote control television set and control associate device
CN103000008A (en) * 2012-12-13 2013-03-27 青岛海信宽带多媒体技术有限公司 Method and apparatus for responding remote signals of remote receiving equipment
CN103366546A (en) * 2012-12-14 2013-10-23 张蕾 Intelligence appliance multi-purpose remote controller
CN103561301A (en) * 2013-10-11 2014-02-05 康佳集团股份有限公司 Method and system for allocating remote-control units with television and television
CN103745590A (en) * 2014-01-08 2014-04-23 无锡讯泰科技有限公司 Infrared remote coding method
CN104468968A (en) * 2014-10-16 2015-03-25 苏州佑瑞检测技术有限公司 Implementation method of telecontrol system based on Android mobile phone

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006270370A (en) * 2005-03-23 2006-10-05 Victor Co Of Japan Ltd Remote operating device
CN101155278A (en) * 2006-09-30 2008-04-02 深圳Tcl新技术有限公司 Electrical equipment with multi-remote controller control function and implementing method thereof
CN101170635A (en) * 2007-11-22 2008-04-30 深圳市茁壮网络技术有限公司 A mapping device and digital TV terminal device using this mapping device
CN101616278A (en) * 2008-06-25 2009-12-30 深圳华强三洋技术设计有限公司 Utilize the method for different remote control television set and control associate device
CN103000008A (en) * 2012-12-13 2013-03-27 青岛海信宽带多媒体技术有限公司 Method and apparatus for responding remote signals of remote receiving equipment
CN103366546A (en) * 2012-12-14 2013-10-23 张蕾 Intelligence appliance multi-purpose remote controller
CN103561301A (en) * 2013-10-11 2014-02-05 康佳集团股份有限公司 Method and system for allocating remote-control units with television and television
CN103745590A (en) * 2014-01-08 2014-04-23 无锡讯泰科技有限公司 Infrared remote coding method
CN104468968A (en) * 2014-10-16 2015-03-25 苏州佑瑞检测技术有限公司 Implementation method of telecontrol system based on Android mobile phone

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017124958A1 (en) * 2016-01-21 2017-07-27 阿里巴巴集团控股有限公司 Method and apparatus for processing identification data
US10862700B2 (en) 2016-01-21 2020-12-08 Alibaba Group Holding Limited Method and apparatus for processing identification data
CN105847923A (en) * 2016-04-13 2016-08-10 福建新大陆通信科技股份有限公司 Method for intelligent hand-held device to simulate remote controller
CN106610834A (en) * 2016-11-07 2017-05-03 广州视源电子科技股份有限公司 Method and system for loading remote control drive
CN106781378A (en) * 2016-12-12 2017-05-31 广州视源电子科技股份有限公司 Information matching method, information configuration method of remote controller and corresponding devices
CN106851372A (en) * 2017-02-28 2017-06-13 山东浪潮商用***有限公司 A kind of corresponding method for being adapted to different model IR remote controller
CN109405193A (en) * 2017-08-14 2019-03-01 大金工业株式会社 Air-conditioning system and its remote controler matching method
CN108924615A (en) * 2018-07-20 2018-11-30 深圳创维-Rgb电子有限公司 A kind of method responding different ultra-red orders, storage medium and smart television
CN108694827A (en) * 2018-07-30 2018-10-23 珠海格力电器股份有限公司 Household appliance voice control method and device and central control equipment
CN108694827B (en) * 2018-07-30 2024-03-15 珠海格力电器股份有限公司 Household appliance voice control method and device and central control equipment

Also Published As

Publication number Publication date
CN105139634B (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN105139634A (en) Method and system for automatically parsing remote control instructions of different manufacturers at receiving terminal
JP5744004B2 (en) NFC communication apparatus and control method thereof
JP4887627B2 (en) RFID reading system, RFID reading method, RFID reader, RFID reading management apparatus, RFID reader control program and computer-readable information recording medium, and RFID reading management apparatus control program and computer recording the same Possible information recording media
KR102166721B1 (en) Pairing of a battery monitor to a communication device, by message encoded in battery current
CN106648669B (en) Product equipment remote firmware upgrading method and system
CN108665897B (en) Electric appliance control method and device, storage medium and server
US20180234294A1 (en) System and method for configuring iot devices
CN101741583A (en) Method, device and system for realizing data updating of intelligent household electrical appliance
CN109947482A (en) A kind of loading method of USB device, storage medium and smart television
US20130154808A1 (en) Electrical outlet for automatically sensing electrical device, system for managing energy using the electrical outlet, and method thereof
CN105389020A (en) Universal input device
US20160356830A1 (en) Method, system, user terminal and apparatus for power management
CN107025120B (en) Software upgrading processing method and device and terminal
CN105094895A (en) Method and device for installing multiple display card drivers
CN106920384A (en) The method and apparatus that intelligent electronic device is adapted to remote control
CN105635274A (en) Electrical equipment remote intelligent monitoring platform and intelligent control system
CN104182330A (en) Application recommendation method and device and terminal
CN104835304A (en) Bluetooth remote control apparatus and configuration method thereof
US8880740B2 (en) Computing device location
CN111386433A (en) Electric appliance and control method thereof
CN100407160C (en) Method for monitoring and correcting errors of electronic device
CN105243736A (en) Household electrical appliance recycling device and household electrical appliance system
CN109857408A (en) Application dispositions method, device, equipment, system and the readable storage medium storing program for executing of terminal
JP2004056435A (en) Electric apparatus and method and system for managing the same
CN104125097A (en) Management control communication method and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20190918

Address after: 518000 Kangjia R&D Building, 28 South 12 Road, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 2301

Applicant after: Shenzhen Xiaojia Technology Co., Ltd.

Applicant after: Konka Group Co., Ltd.

Address before: 518057 Konka 28 R & D building, twelve hi tech Industrial Zone, Shenzhen hi tech Industrial Park, Guangdong, Nanshan District 23

Applicant before: Konka Group Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant