CN106448128A - Processing method and system of infrared remote control data - Google Patents
Processing method and system of infrared remote control data Download PDFInfo
- Publication number
- CN106448128A CN106448128A CN201610944037.9A CN201610944037A CN106448128A CN 106448128 A CN106448128 A CN 106448128A CN 201610944037 A CN201610944037 A CN 201610944037A CN 106448128 A CN106448128 A CN 106448128A
- Authority
- CN
- China
- Prior art keywords
- data
- decoding
- minus
- radix
- code
- 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
Links
- 238000003672 processing method Methods 0.000 title abstract description 29
- 230000001960 triggered effect Effects 0.000 claims abstract description 10
- 230000000295 complement effect Effects 0.000 claims description 100
- 238000000034 method Methods 0.000 claims description 41
- 230000005540 biological transmission Effects 0.000 description 23
- 238000004458 analytical method Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 2
- 150000001875 compounds Chemical class 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 235000012364 Peperomia pellucida Nutrition 0.000 description 1
- 240000007711 Peperomia pellucida Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Selective Calling Equipment (AREA)
- Optical Communication System (AREA)
Abstract
The embodiment of the application provides a processing method and system of infrared remote control data, wherein the processing method provided by the invention comprises the following steps: receiving identical multi-frame data triggered by a one-time remote keying trigger signal; combining data codes and/or data inverse codes in data code segments of the multi-frame data in pairs to form a plurality of pairs of decoding combinations; analyzing the pairs of decoding combinations, wherein two pieces of data are valid decoding data if the two pieces of data in any pair of decoding combinations are identical or are inverse codes with each other; otherwise, the two pieces of data are invalid decoding data. Multi-frame sending is carried out on the same data code segment, the sent multi-frame data segments are received, the data codes and the data inverse codes in the data segments are combined in pairs to form a plurality of decoding combinations, and the decoding combinations are analyzed to acquire the valid decoding data, thereby increasing the quantity of the decoding combinations acquired by an infrared receiving end, improving the capability of receiving the valid data of the infrared receiving end and improving the anti-jamming capability of the infrared receiving end.
Description
Technical field
The present invention relates to infrared remote control field, more particularly, to one kind receive infrared remote control data effectiveness for receiving device
Recognition methodss and system.
Background technology
Infrared Ray Remote Control Technology is usually used in home environment, when infrared data is processed, due to processing method of the prior art
Have ignored the interference with wave band infrared signal for the extraneous same frequency, so processing method adopts better simply codec protocol, than
As NEC agreement commonly used in the trade, RC-5 agreement etc., although above-mentioned agreement improves the efficiency of coding and decoding, it is anti-interference
Ability is poor, and being easily caused IR remote controller cannot be correctly decoded.
, this device is that one kind has merged intelligent television, computer, infrared taking the infrared touch-control all-in-one machine rising in recent years as a example
Touching technique in the human-computer interaction device of one, due to infrared touch panel transmitting, receive to pipe or other light extraneous with infrared
Remote control is launched, the infrared ray wave band of receiving terminal is identical, when infrared touch panel normal work, the signal that its transmitting sends to pipe
Or other light of the external world all can cause to remote control reception end greatly to disturb, lead to IR remote controller cannot be correctly decoded, impact
The stability of product and Consumer's Experience impression.
Taking conventional NEC agreement in infrared remote sensing as a example, illustrate that in coding and decoding processing method, poor anti jamming capability is conciliate
The low problem of code efficiency.The form schematic diagram of NEC agreement as shown in figure 1, the NEC agreement of standard adopts pulse width modulation, its
Protocol format one frame data comprise guidance code(AGC synchronization burst), 8 bit address codes, 8 bit instruction numeric data codes, wherein address
It is transmitted twice respectively with director data, transmit in data radix-minus-one complement mode, to strengthen the reliability in data transfer procedure for second
Property.
Fig. 2 is the transmission example of data under NEC agreement, and send first is the high level pulse of 9ms, is followed by 4.5ms
Low level, be next exactly effective impulse data, including the address date code of 8bit, be then the address of 8bit successively
Data radix-minus-one complement, the order data code of 8bit and the order data radix-minus-one complement of 8bit, totally 32 valid data positions, the effect of data radix-minus-one complement
It is for verifying whether the information receiving malfunctions, wherein, each is all to be represented with binary zero or " 1 ".
NEC agreement carries out single frames transmission to the numeric data code section in infrared data and single frames receives, when user's execution is once distant
Control button operation, Infrared Remote-Control Sending end is transmitted to infrared data, only has a frame data code in the infrared data being sent
Section, in the infrared data being sent in addition to a frame data code section, also comprises the duplication code with 110ms as cycle, when 110ms
Between, send one section of duplication code, specific transmission form is as shown in Figure 3.Infrared remote control receiving terminal enters to the infrared data being sent
Row receives, and for only one group of the decoding combination of parsing, is combined by the decoding that same frame data are constituted, if frame data
In numeric data code section receive external interference, such as the transmission of infrared touch screen, receive interference to pipe or other light extraneous, decoding
Numeric data code data radix-minus-one complement in combination not radix-minus-one complement each other, receiving terminal cannot be correctly decoded, decode unsuccessfully.
Content of the invention
For overcoming problem present in correlation technique, the present patent application provide a kind of for receiving device to infrared data
Processing method and system, improve the ability that infrared remote control receiving terminal receives valid data.
In a first aspect, the present patent application provides a kind of processing method of infrared remote control data in implementing, the method includes:
The many frame data of the triggered identical of remote keying trigger of reception;To number in the numeric data code section of described many frame data
Carry out combination of two according to code and/or data radix-minus-one complement, form multipair decoding combination;Described multipair decoding combination is parsed, if
Have that two data in arbitrary combination to decoding are identical or radix-minus-one complement each other, then for efficient decoding data, otherwise for invalid decoding
Data.
Further, described analytic solutions code character is closed, if being two numeric data codes in decoding combination, when described two data code-phase
Meanwhile, then described numeric data code is efficient decoding data;If being numeric data code data radix-minus-one complement in decoding combination, when described numeric data code and
Data radix-minus-one complement each other radix-minus-one complement when, then described numeric data code be efficient decoding data;If being two data radix-minus-one complements in decoding combination, work as institute
State two data radix-minus-one complements identical when, then ask for the corresponding numeric data code of described data radix-minus-one complement be efficient decoding data.
Further, the many frame data of described identical include identical numeric data code section for every frame data.
Further, described decoding combination, including the solution being made up of the numeric data code data radix-minus-one complement in same frame data
Code character is closed, and is combined by the decoding that the numeric data code in different frame data and/or data radix-minus-one complement are constituted.
Further, described analytic solutions code character is closed, and first parses to being combined by the decoding that same frame data are constituted, if
Do not obtain efficient decoding data after parsing, parse to being combined by the decoding that different frame data are constituted.
Second aspect, the present patent application also provides a kind of processing system of infrared remote control data in implementing, and this system includes:
Receiving unit:The many frame data of the triggered identical of remote keying trigger of reception;
Assembled unit:Numeric data code in the numeric data code section of described many frame data and/or data radix-minus-one complement are carried out with combination of two, is formed many
To decoding combination;
Resolution unit:Described multipair decoding combination is parsed, if two data existing in arbitrary combination to decoding are identical
Or radix-minus-one complement each other, then for efficient decoding data, otherwise for invalid decoding data.
Further, described resolution unit parses to described decoding combination, including:If being two numbers in decoding combination
According to code, when described two numeric data codes are identical, then described numeric data code is efficient decoding data;If in decoding combination for numeric data code and
Data radix-minus-one complement, when described numeric data code data radix-minus-one complement radix-minus-one complement each other, then described numeric data code is efficient decoding data;If solution code character
It is two data radix-minus-one complements in conjunction, when described two data radix-minus-one complements are identical, then asking for the corresponding numeric data code of described data radix-minus-one complement is
Efficient decoding data.
Further, the many frame data of described identical include identical numeric data code section for every frame data.
Further, described assembled unit is used for the numeric data code data radix-minus-one complement in same frame data is combined obtaining
The combination of same frame decoding, is combined obtaining different frame decodings combining by the numeric data code in different frame data and/or data radix-minus-one complement.
Further, when resolution unit parses to decoding combination, first to by same frame data code data radix-minus-one complement institute
The decoding combination constituting is parsed, if not obtaining efficient decoding data, to by numeric data code in different frame and/or data after parsing
The decoding combination that radix-minus-one complement is constituted is parsed.
Compared with correlation technique, the beneficial effect that the present patent application implements proposed technical scheme includes:
In the processing method of a kind of infrared remote control data that the present patent application provides in implementing, receive remote keying triggering letter
The many frame data of number triggered identical;Numeric data code in the numeric data code section of described many frame data and/or data radix-minus-one complement are carried out two-by-two
Combination, forms multipair decoding combination;Described multipair decoding combination is parsed, if there are two in arbitrary combination to decoding
Data is identical or radix-minus-one complement each other, then for efficient decoding data, otherwise for invalid decoding data.
This processing method, by same numeric data code section is carried out multiframe transmission, receives sent multiframe numeric data code section, and
Numeric data code data radix-minus-one complement in numeric data code section is carried out with combination of two, constitutes multiple decoding combinations, decoding combination is solved
Analysis is to obtain efficient decoding data.This infrared data processing method, overcomes in correlation technique single frames infrared data by the external world
With wave band infrared signal interference when be decoded into that power is low and the problem of poor anti jamming capability, infrared data multiframe is sent and incite somebody to action
Many frame data constitute multipair decoding combination, are parsed to obtain efficient decoding data to decoding combination, this processing method improves
Infrared receiver end receives the ability of valid data, improves the power that is decoded at infrared receiver end, strengthens the anti-interference of infrared remote control
Ability, improves job stability and the Consumer's Experience of infrared product.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the present invention
Example simultaneously is used for explaining the principle of the present invention together with description.
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description are these
Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, acceptable
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is NEC protocol format schematic diagram in correlation technique;
Fig. 2 is NEC protocol data transmission example in correlation technique;
Fig. 3 is the transmission form of NEC agreement in correlation technique;
Fig. 4 is a kind of schematic flow sheet of the processing method of infrared data provided in an embodiment of the present invention;
Fig. 5 is the detailed process schematic diagram of step 130 provided in an embodiment of the present invention;
Fig. 6 is the transmission form in the embodiment of the present invention, data two frame being sent;
Fig. 7 is the transmission form in the embodiment of the present invention, data three frame being sent;
Fig. 8 is the transmission form of transmission of in the embodiment of the present invention, data two interframe being broken;
Fig. 9 is the transmission form of transmission of in the embodiment of the present invention, data three interframe being broken;
Figure 10 is a kind of schematic diagram of the processing system of infrared data provided in an embodiment of the present invention.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is
The a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
Some preferred versions or not preferred scheme occur in the application in concrete application scene, can each have certain
Advantage and defect, art technology can need to carry out selecting setting according to concrete application scene, and such change can't shadow
Ring the protection domain of the application.
As described in background technology, in correlation technique, single frames is adopted to send the process side receiving the process of infrared data
Method, because infrared data can be disturbed by with the infrared signal of wave band in processing procedure, as the infrared signal of infrared touch panel
With other light extraneous, if the frame data for processing is interfered in processing procedure, will directly result in for processing
Infrared data cannot be correctly decoded.The present patent application provides a kind of processing method of infrared data, wherein, receives a remote control
The many frame data of the triggered identical of button trigger;Anti- to numeric data code in the numeric data code section of described many frame data and/or data
Code carries out combination of two, forms multipair decoding combination;To described multipair decoding combination parse, if exist arbitrary to solution code character
Two data in conjunction are identical or radix-minus-one complement each other, then for efficient decoding data, otherwise for invalid decoding data.So, the present invention
The infrared data processing method that application provides, by infrared data is carried out with multiframe transmission processe, increases decoding number of combinations, improves
Capacity of resisting disturbance in the decoding accuracy of infrared remote control receiving terminal and infrared data process.
On the one hand, provide a kind of processing method of infrared data in the embodiment of the present application, this processing method is applied infrared
In remote control unit, including for sending the transmitting terminal of infrared data and the receiving terminal for accepting infrared signal, Fig. 4 is the application
A kind of schematic flow sheet of the processing method of infrared data providing in embodiment.
The many frame data of the triggered identical of step 110 remote keying trigger of reception.When user's execution is once distant
Control button operation, to identical, many frame data are transmitted infrared remote control transmitting terminal, and infrared remote control receiving terminal is to the number being sent
According to being received, one-touch triggers sending and receiving of a secondary data, wherein, the many frame data of sent identical, i.e. every frame
Data includes identical numeric data code section, and the data being sent includes different numeric data code sections, and numeric data code section includes data
Code data radix-minus-one complement, the effect of data radix-minus-one complement is mainly used for strengthening reliability in transmit process for the data, with NEC agreement is
Example, its numeric data code section includes address field data section, and address field includes address date code and address date radix-minus-one complement, data segment bag
Include Data Data code data data radix-minus-one complement.
Step 120 carries out combination of two to numeric data code in the numeric data code section of described many frame data and/or data radix-minus-one complement, is formed
Multipair decoding combination, wherein, decoding combination can be divided into same frame decoding combination and different frame decoding combination, wraps with frame decoding combination
Include a numeric data code and a data radix-minus-one complement, both at the same numeric data code section in same frame;Different frame decodings combine by not
The numeric data code of each numeric data code section at same frame and/or data radix-minus-one complement combine, and it specifically includes:The combination of two numeric data codes,
The combination of two data radix-minus-one complements and the combination of a numeric data code and a data radix-minus-one complement.
Step 130 parses to described multipair decoding combination, if there are two data phases in arbitrary combination to decoding
With or radix-minus-one complement each other, then for efficient decoding data, otherwise for invalid decoding data.
Different for the adopted analytic method of different decoding combinations, specific analytic method is:
If being two numeric data codes in decoding combination, when described two numeric data codes are identical, then described numeric data code is efficient decoding number
According to;If being numeric data code data radix-minus-one complement in decoding combination, when described numeric data code and described data radix-minus-one complement radix-minus-one complement each other, then described
Numeric data code is efficient decoding data;If being two data radix-minus-one complements in decoding combination, when described two data radix-minus-one complements are identical, then ask
The corresponding numeric data code of described data radix-minus-one complement is taken to be efficient decoding data.
Preferably, for improve decoding work efficiency, save decoding the calculating time, for decoding combination parsing according to such as
Under analyzing step carry out, specific analyzing step is as shown in Figure 5.
The step 131 decoding combination to same frame first parses, if the numeric data code data radix-minus-one complement in decoding combination
Radix-minus-one complement each other, then obtaining numeric data code is efficient decoding data, successfully decoded;Otherwise, continue the decoding combination to other same frames
Being parsed, after all of same frame decoding combined analysis, if also not obtaining efficient decoding data, being started the decoding to different frame
Combination is parsed;
The combination that step 132 is combined as two true forms to decoding first parses, if two numeric data codes are identical, obtains
Numeric data code is efficient decoding data, successfully decoded;Otherwise, continue the combination of other two true forms to be parsed, to all groups
After closing parsing, if also not obtaining efficient decoding data;Execution step 133 is combined as the group of a true form and a radix-minus-one complement to decoding
Conjunction is parsed, if numeric data code data radix-minus-one complement radix-minus-one complement each other in decoding combination, acquisition numeric data code is efficient decoding data, solution
Code success, decoding terminates;Otherwise, continue the combination of other true form and a radix-minus-one complement is parsed, to all combination solutions
After analysis terminates, if also not obtaining efficient decoding data;The combination that execution step 134 is combined as two radix-minus-one complements to decoding solves
Analysis, if two data radix-minus-one complements are identical in decoding combination, asking for the corresponding numeric data code of data radix-minus-one complement is efficient decoding data,
Successfully decoded, decoding terminates, and otherwise decodes unsuccessfully.
So that NEC agreement two frame data send as a example, illustrate analyzing step, wherein, the transmission form of two frame data is such as
Shown in Fig. 6, every frame data include address code section and command code section, and wherein, same numeric data code section includes numeric data code data
Radix-minus-one complement, receives the numeric data code section in two sent frame data, and the numeric data code data radix-minus-one complement of same numeric data code section is carried out
Combination of two, is combined into multiple decoding combinations in order to parse.
Taking address code section as a example to illustrate compound mode and the analytic method of decoding combination, the ground in the wherein first frame
Location section includes address code A1 and address radix-minus-one complement, the address field in the second frame includes address code A2 and address radix-minus-one complement,
The address code section of same frame is combined, decoding combination A1 can be obtainedAnd A2, the address code section of different frame is carried out
Combination, can obtain decoding combination A1A2, A1、A2 and, totally 6 decoding combinations.
Start after obtaining decoding combination decoding combination is parsed, for improving decoding effort efficiency, optimize decoding and calculate,
Preferably, as steps described below decoding combination is parsed:
First, the decoding combination to same frame parses, that is, to decoding combination A1Or A2Parsed, if wherein appointing
Address code in one group of decoding combination and address radix-minus-one complement radix-minus-one complement each other, then obtaining A1 or A2 is efficient decoding data, successfully resolved,
Decoding terminates, and otherwise, the decoding combination to different frame parses.
In processing method to two frame infrared datas, the decoding combination of different frame has four decoding combinations:A1A2、A1、A2 and.First the decoding combination containing two address codes is parsed, A1A2 combination is parsed, if address
A1 is identical with address code A2 for code, then obtaining A1 or A2 is efficient decoding data, and parsing terminates;Otherwise, start to containing address
The decoding combination of code and address radix-minus-one complement is parsed, that is, to A1WithA2 combination is parsed, if the decoding of any of which group
Address code in combination and address radix-minus-one complement radix-minus-one complement each other, then obtaining the address code in decoding combination is efficient decoding data, i.e. A1
Or A2 is efficient decoding data, parsing terminates;Otherwise, start the decoding combination containing two address radix-minus-one complements is parsed, that is, rightCombination is parsed, if address radix-minus-one complementWith address radix-minus-one complementIdentical, then ask forOrCorresponding number
It is efficient decoding data according to code, parsing terminates, successfully decoded.
In the related, it is single frames infrared data to be transmitted receive and process, right to the process of infrared data
The signal of reception when infrared data is received, can be interfered with the infrared signal of wave band, the signal in frame data receives dry
Disturb, unique decoding combination in same numeric data code section will be lost efficacy, then the whole infrared data being sent cannot be correctly decoded.
Compared with the method being processed with single frames infrared data, the present invention implements the place that mid-infrared data carries out two frame transmissions
Reason method, when user's execution one-touch operation, Infrared Remote-Control Sending end sends same infrared data two frame to receiving terminal, connects
Receive the infrared data that two frames send, the numeric data code in numeric data code section and/or data radix-minus-one complement are carried out combination of two, constitute solution code character
Close, decoding combination is parsed, obtains efficient decoding data.This processing method can will be used for the number of combinations decoding by related skill
1 group in art increases to 6 groups, as long as wherein any one group of decoding combined analysis are correctly so that it may realize being correctly decoded.To related skill
In art, one-to-one decoding process is compared, and by the multiframe transmission processe to infrared data, improves decoding number of combinations, improves red
Outer remote control reception end be decoded into power, enhance the capacity of resisting disturbance in processing procedure to infrared data.
For improving capacity of resisting disturbance and decoding success rate, the present invention implements to carry out three frame process to infrared data, with two
The processing mode of frame is compared, and can be that infrared remote control receiving terminal provides more decoding combinations, and it is higher to be decoded into power, anti-interference energy
Power is higher.
So that NEC agreement three frame data send as a example, the transmission form of its three frame is as shown in Figure 7.Receive three sent frames
Numeric data code section in data, and combination of two is carried out to the numeric data code data radix-minus-one complement of same data section, it is combined into multiple solutions
Code character shares to parse.
To illustrate compound mode and the analytic method of decoding combination, the address in the wherein first frame taking address field as a example
Code section includes address code A1 and address radix-minus-one complement, the address code section in the second frame includes address code A2 and address radix-minus-one complement
, the address field in the 3rd frame includes address code A3 and address radix-minus-one complement, the numeric data code section of same frame is combined, can obtain
To decoding combination A1、A2And A3, the numeric data code section of different frame is combined, can obtain decoding combination A1A2,
A1A3、A2A3、A1、A1、A2、A3、A2、A3、、 With , totally 15 decodings
Combination.
First, A1 is combined in the decoding to same frame、A2And A3Parsed, if the address code of one of which and
Address radix-minus-one complement radix-minus-one complement each other, that is, obtaining the address code in this decoding combination is efficient decoding data, successfully decoded;Otherwise, start
Decoding combination to different frame parses, and specific analytic method is identical with the processing method of two frame data with analyzing step,
First the decoding combination including two address codes is parsed, A1A2, A1A3 and A2A3 combination is parsed, if wherein
Two address codes of one group of decoding combination are identical, and obtaining arbitrary address code in this combination is efficient decoding data, parsing knot
Bundle;Otherwise, start the decoding combination including address code and address radix-minus-one complement to be parsed, that is, to A1、A1、A2、
A3、A2、A3 combination is parsed, if the address code of one of which decoding combination and address radix-minus-one complement radix-minus-one complement each other, obtains
The address code in this decoding combination is taken to be efficient decoding data, parsing terminates;Otherwise, start to the solution including two address radix-minus-one complements
Code character is closed and is parsed, that is, right、 With Combination is parsed, if two of one of which decoding combination
Address radix-minus-one complement is identical, then the address code asked for corresponding to the radix-minus-one complement of address is efficient decoding data, and parsing terminates, and is decoded into
Work(.
Infrared data is adopted with the processing method of three frames, the decoding number of combinations that receiving terminal is used for obtaining efficient decoding data is
15 groups, compared with the processing method of two frames, decoding number of combinations increased 9 groups, improves and is decoded into power it is ensured that in infrared data
There is higher capacity of resisting disturbance in process, be especially used for the capacity of resisting disturbance of decoding in receiving terminal.Compared with correlation technique, single
The processing method of frame data is man-to-man coding and decoding, if being interfered in receiving terminal one frame data, decoding unsuccessfully, adopting
The processing method of data multiframe, in the case that frame data are interfered, can be parsed to the data of other frames to obtain
Efficient decoding data, is successfully decoded.
Need it is further noted that in the present invention to decoding combination analyzing step not unique, can to decoding combination with
Machine parses, as long as the decoding combination being parsed has the data in a group identical or radix-minus-one complement each other, i.e. successfully decoded, and obtain and effectively solve
Complete to parse after code data.For improving analyzing efficiency, optimize the decoding calculating time, be previously mentioned in preferentially being implemented using the present invention
Analyzing step, first the decoding combined analysis to same frame, after all solutions code combined analysis, do not obtain efficient decoding number yet
According to starting the decoding of different frame combination is parsed, successively two data code groups closed, a numeric data code and a data are anti-
The combination of code, the combination of two data radix-minus-one complements is parsed, during decoding combination is parsed, as long as there being one group of solution
Code combined analysis correctly can obtain efficient decoding data, successfully decoded.
Need it is further noted that carrying out as a example button operation by user, the key time durations of user typically exist
More than 500ms, and the launch time launching a frame infrared data is 110ms, less than the persistent period of button, for button behaviour
Make, if infrared data is carried out with four frame transmission processes, total transmission time of multiframe is 440ms, close to user operation continue when
Between 500ms, easily cause infrared data and send mistake, furthermore, the frame number of transmission is excessive, and the number of times of combination decoding increases, will necessarily
Increase parsing operation time, substantially reduce decoding efficiency.So, for execution remote keying operation, it is preferred to use two frames
Or three frame processing mode, not only can guarantee that decoding efficiency but also can improve and be decoded into power.
Need it is further noted that the multiframe transmission to numeric data code section can be to continuously transmit, or interruption sends, to two frames
The form that continuously transmits of data and three frame data is distinguished as shown in Figure 6 and Figure 7, sends form such as Fig. 8 to the interruption of two frame data
Shown, form being sent as shown in figure 9, sending duplication code in the every frame data code section being spaced to the interruption of three frame data, being
Reduce the decoding time of infrared data, improve the work efficiency of decoding, running fire from many frame data preferential to infrared data
Processing method.
On the other hand, provide a kind of processing system of infrared data in the embodiment of the present application, Figure 10 is the embodiment of the present application
A kind of schematic diagram of the processing system of infrared data of middle offer.
A kind of processing system of infrared data includes:Receiving unit 210, assembled unit 220 and resolution unit 230, wherein,
Receiving unit 210 is used for the many frame data of the triggered identical of remote keying trigger of reception;Assembled unit 220 is to described
In the numeric data code section of many frame data, numeric data code and/or data radix-minus-one complement carry out combination of two, form multipair decoding combination;Resolution unit
230 pairs of described multipair decoding combinations parse, if existing, two data in arbitrary combination to decoding are identical or radix-minus-one complement each other,
It is then efficient decoding data, otherwise for invalid decoding data.
Described assembled unit 220 is used for the numeric data code data radix-minus-one complement in same frame data is combined obtaining same frame
Decoding combination, is combined obtaining different frame decodings combining by the numeric data code in different frame data and/or data radix-minus-one complement.
Described resolution unit 230 parses to described decoding combination, including:If being two numeric data codes in decoding combination,
When described two numeric data codes are identical, then described numeric data code is efficient decoding data;If being numeric data code data in decoding combination
Radix-minus-one complement, when described numeric data code data radix-minus-one complement radix-minus-one complement each other, then described numeric data code is efficient decoding data;If in decoding combination
For two data radix-minus-one complements, when described two data radix-minus-one complements are identical, then it is effective for asking for the corresponding numeric data code of described data radix-minus-one complement
Decoding data.
The many frame data of described identical include identical numeric data code section for every frame data.
When resolution unit 230 parses to decoding combination, first to being made up of same frame data code data radix-minus-one complement
Decoding combination is parsed, if not obtaining efficient decoding data, to by numeric data code in different frame and/or data radix-minus-one complement institute after parsing
The decoding combination constituting is parsed.
A kind of processing system of the infrared data proposing in the embodiment of the present application, including:Receiving unit 210 is used for reception one
The many frame data of the triggered identical of secondary remote keying trigger;In the numeric data code section to described many frame data for the assembled unit 220
Numeric data code and/or data radix-minus-one complement carry out combination of two, form multipair decoding combination;Resolution unit 230 is to described multipair solution code character
Conjunction is parsed, if existing, two data in arbitrary combination to decoding are identical or radix-minus-one complement each other, for efficient decoding data, no
It is then invalid decoding data.
This processing system adopts the processing method of multiframe to infrared data, when user executes remote keying operation, red
To identical, many frame data are transmitted outer remote control transmitting terminal, and infrared remote control receiving terminal receives to the data being sent, right
Numeric data code in the many frame data being received and/or data radix-minus-one complement carry out combination of two, obtain multipair decoding combination, parsing decoding
Combination, to obtain the efficient decoding data for decoding, is realized infrared data being correctly decoded, by many to infrared data
Frame is processed, and increases the number of combinations for decoding, as long as having one group of successfully resolved in multiple decoding number of combinations, you can be decoded into
Work(, improves the power that is decoded at infrared receiver end, and the infrared data processing system that the present patent application provides can overcome to red
During outer data single frames transmission, capacity of resisting disturbance is low and decodes low success rate of problem, improves anti-dry in infrared data processing procedure
Disturb ability and decoding accuracy, improve job stability and the Consumer's Experience of infrared product.
The processing method of a kind of infrared data proposed in the embodiment of the present application and processing system can be used for multiple infrared
In codec protocol, NEC agreement, Philips RC-5 agreement and Sharp agreement of such as commonly using etc., the present embodiment is assisted with NEC
As a example view, the technical scheme that the application is proposed, the technique effect being obtained better illustrate, and the application is proposed
Technical scheme is applied in other infrared coding decoding protocol and also can obtain same or superior technique effect, strengthens to infrared letter
Capacity of resisting disturbance in number processing procedure and decoding capability, improve the service behaviour of infrared product.
Each embodiment in this specification is all described by the way of going forward one by one, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.Especially for device or
For system embodiment, because it is substantially similar to embodiment of the method, so describing fairly simple, referring to method in place of correlation
The part of embodiment illustrates.Apparatus and system embodiment described above is only schematically, wherein as separation
The unit of part description can be or may not be physically separate, as the part that unit shows can be or
Can not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
The needing of border selects the purpose to realize this embodiment scheme for some or all of module therein.Those of ordinary skill in the art
In the case of not paying creative work, you can to understand and to implement.
The above is only the specific embodiment of the present invention it is noted that coming for those skilled in the art
Say, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should be regarded as
Protection scope of the present invention.
Claims (10)
1. a kind of recognition methodss for receiving device reception infrared remote control data effectiveness are it is characterised in that include:
The many frame data of the triggered identical of remote keying trigger of reception;
Numeric data code in the numeric data code section of described many frame data and/or data radix-minus-one complement are carried out with combination of two, forms multipair solution code character
Close;
Described multipair decoding combination is parsed, if two data existing in arbitrary combination to decoding are identical or anti-each other
Code, then for efficient decoding data, otherwise for invalid decoding data.
2. a kind of recognition methodss receiving infrared remote control data effectiveness for receiving device according to claim 1,
It is characterized in that, described analytic solutions code character is closed, including:
If being two numeric data codes in decoding combination, when described two numeric data codes are identical, then described numeric data code is efficient decoding number
According to;If being numeric data code data radix-minus-one complement in decoding combination, when described numeric data code data radix-minus-one complement radix-minus-one complement each other, then described data
Code is efficient decoding data;If being two data radix-minus-one complements in decoding combination, when described two data radix-minus-one complements are identical, then ask for institute
Stating the corresponding numeric data code of data radix-minus-one complement is efficient decoding data.
3. a kind of recognition methodss receiving infrared remote control data effectiveness for receiving device according to claim 1,
It is characterized in that, the many frame data of described identical include identical numeric data code section for every frame data.
4. a kind of recognition methodss receiving infrared remote control data effectiveness for receiving device according to claim 1,
It is characterized in that, described decoding combination, combine including by the decoding that the numeric data code data radix-minus-one complement in same frame data is constituted,
Combined by the decoding that the numeric data code in different frame data and/or data radix-minus-one complement are constituted.
5. a kind of recognition methodss receiving infrared remote control data effectiveness for receiving device according to claim 1,
It is characterized in that, described analytic solutions code character is closed, and first parses to being combined by the decoding that same frame data are constituted, if after parsing
Do not obtain efficient decoding data, parse to being combined by the decoding that different frame data are constituted.
6. a kind of identifying system for receiving device reception infrared remote control data effectiveness is it is characterised in that include:
Receiving unit:The many frame data of the triggered identical of remote keying trigger of reception;
Assembled unit:Numeric data code in the numeric data code section of described many frame data and/or data radix-minus-one complement are carried out with combination of two, is formed many
To decoding combination;
Resolution unit:Described multipair decoding combination is parsed, if two data existing in arbitrary combination to decoding are identical
Or radix-minus-one complement each other, then for efficient decoding data, otherwise for invalid decoding data.
7. a kind of identifying system receiving infrared remote control data effectiveness for receiving device according to claim 6, its
It is characterised by, described resolution unit parses to described decoding combination, including:
If being two numeric data codes in decoding combination, when described two numeric data codes are identical, then described numeric data code is efficient decoding number
According to;If being numeric data code data radix-minus-one complement in decoding combination, when described numeric data code data radix-minus-one complement radix-minus-one complement each other, then described data
Code is efficient decoding data;If being two data radix-minus-one complements in decoding combination, when described two data radix-minus-one complements are identical, then ask for institute
Stating the corresponding numeric data code of data radix-minus-one complement is efficient decoding data.
8. a kind of identifying system receiving infrared remote control data effectiveness for receiving device according to claim 6,
It is characterized in that, the many frame data of described identical include identical numeric data code section for every frame data.
9. a kind of identifying system receiving infrared remote control data effectiveness for receiving device according to claim 6, its
It is characterised by, described assembled unit is used for:
Numeric data code data radix-minus-one complement in same frame data is combined obtain same frame decoding combination, by different frame data
Numeric data code and/or data radix-minus-one complement be combined obtaining different frame decodings combinations.
10. a kind of identifying system receiving infrared remote control data effectiveness for receiving device according to claim 6,
It is characterized in that, when resolution unit parses to decoding combination, first to being made up of same frame data code data radix-minus-one complement
Decoding combination is parsed, if not obtaining efficient decoding data, to by numeric data code in different frame and/or data radix-minus-one complement institute after parsing
The decoding combination constituting is parsed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610944037.9A CN106448128B (en) | 2016-10-26 | 2016-10-26 | Infrared remote control data processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610944037.9A CN106448128B (en) | 2016-10-26 | 2016-10-26 | Infrared remote control data processing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106448128A true CN106448128A (en) | 2017-02-22 |
CN106448128B CN106448128B (en) | 2020-03-06 |
Family
ID=58179066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610944037.9A Active CN106448128B (en) | 2016-10-26 | 2016-10-26 | Infrared remote control data processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106448128B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108922163A (en) * | 2018-10-09 | 2018-11-30 | 东莞市华业新科电子科技有限公司 | A kind of learning method of infrared remote control, device, terminal and storage medium |
CN109345806A (en) * | 2018-11-01 | 2019-02-15 | 常州弘度智能科技有限公司 | A kind of anti-interference decoding method applied to Digiplex |
CN111757157A (en) * | 2020-06-30 | 2020-10-09 | 深圳Tcl新技术有限公司 | Infrared code processing method, television and system |
CN111968361A (en) * | 2020-08-31 | 2020-11-20 | 成都埃克思智创科技有限公司 | Infrared repeated code learning method and infrared remote control system applied to Internet of things |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101465050A (en) * | 2007-12-19 | 2009-06-24 | 深圳Tcl新技术有限公司 | Method for controlling controlled electric appliance through remote controller and remote controller |
US20100141472A1 (en) * | 2008-12-09 | 2010-06-10 | Mstar Semiconductor, Inc. | Decoding Method and Apparatus for Infrared Remote Control Commands |
CN101783067A (en) * | 2009-01-16 | 2010-07-21 | 海洋王照明科技股份有限公司 | Infrared remote control receiving circuit with electromagnetic interference resistance and implementation method thereof |
CN103051417A (en) * | 2012-11-30 | 2013-04-17 | 浙江西盈科技有限公司 | Fixed code length complementary type coding method for infrared remote controller |
CN103107864A (en) * | 2013-02-20 | 2013-05-15 | 齐凯 | Double-bit-check coding and decoding method |
CN103927864A (en) * | 2014-03-28 | 2014-07-16 | 小米科技有限责任公司 | Infrared signal transmitting method, infrared signal transmitting device and remote controller |
-
2016
- 2016-10-26 CN CN201610944037.9A patent/CN106448128B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101465050A (en) * | 2007-12-19 | 2009-06-24 | 深圳Tcl新技术有限公司 | Method for controlling controlled electric appliance through remote controller and remote controller |
US20100141472A1 (en) * | 2008-12-09 | 2010-06-10 | Mstar Semiconductor, Inc. | Decoding Method and Apparatus for Infrared Remote Control Commands |
CN101783067A (en) * | 2009-01-16 | 2010-07-21 | 海洋王照明科技股份有限公司 | Infrared remote control receiving circuit with electromagnetic interference resistance and implementation method thereof |
CN103051417A (en) * | 2012-11-30 | 2013-04-17 | 浙江西盈科技有限公司 | Fixed code length complementary type coding method for infrared remote controller |
CN103107864A (en) * | 2013-02-20 | 2013-05-15 | 齐凯 | Double-bit-check coding and decoding method |
CN103927864A (en) * | 2014-03-28 | 2014-07-16 | 小米科技有限责任公司 | Infrared signal transmitting method, infrared signal transmitting device and remote controller |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108922163A (en) * | 2018-10-09 | 2018-11-30 | 东莞市华业新科电子科技有限公司 | A kind of learning method of infrared remote control, device, terminal and storage medium |
CN109345806A (en) * | 2018-11-01 | 2019-02-15 | 常州弘度智能科技有限公司 | A kind of anti-interference decoding method applied to Digiplex |
CN111757157A (en) * | 2020-06-30 | 2020-10-09 | 深圳Tcl新技术有限公司 | Infrared code processing method, television and system |
CN111968361A (en) * | 2020-08-31 | 2020-11-20 | 成都埃克思智创科技有限公司 | Infrared repeated code learning method and infrared remote control system applied to Internet of things |
Also Published As
Publication number | Publication date |
---|---|
CN106448128B (en) | 2020-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106448128A (en) | Processing method and system of infrared remote control data | |
KR100694220B1 (en) | Apparatus and method for noise reduction of remote control system | |
CN104796888A (en) | Method for connecting WI-FI network by intelligent hardware terminal based on sound waves and system for realizing same | |
CN100566389C (en) | Television set | |
CN103686225B (en) | Remote control method, client side and server side | |
CN104301012A (en) | Interaction method, terminal and system realized by NFC technique | |
EP3163777A1 (en) | Multi-channel synchronisation method, synchronisation device and system, and computer storage medium | |
CN101389036B (en) | Error correcting device suitable for video conference and method thereof | |
CN104158562B (en) | Frequency-hopping method based on radio frequency remote control system | |
CN103763757A (en) | Method for rapid networking based on internet-of-thing embedded type Wi-Fi module | |
CN109345806B (en) | Anti-interference encoding and decoding method applied to wireless remote controller | |
CN104618784A (en) | safety authentication method, remote control method, remote control device and authentication system for network television | |
CN106412683A (en) | System and method for realizing audio and video transmission and interactive signaling through USB interface | |
CN106572375A (en) | TV remote control method and apparatus | |
CN104469443B (en) | Remote control crosstalk prevention method and remote control | |
CN103974110A (en) | Method for inputting characters into intelligent set top box through mobile terminal | |
CN101155278A (en) | Electrical equipment with multi-remote controller control function and implementing method thereof | |
CN103325233A (en) | Method, apparatus and system for realizing infrared ray learning type remote control | |
KR20090121065A (en) | Method and system for controlling ip set top box | |
CN102075721B (en) | Data stream conversion method and device, and flat panel display | |
CN109147307A (en) | A kind of encryption method of infrared remote-controlled signal | |
CN102195750A (en) | Data transfer device and data transfer system | |
FI102929B (en) | Remote control system and for this useful transmitter and receiver | |
US11825233B2 (en) | Data transmission system and data transmission method | |
WO2016145592A1 (en) | Communication establishing method, device and terminal, and router |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Patentee after: Hisense Visual Technology Co., Ltd. Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |