CN105719473A - Multifunctional remote control method and device based on single-chip microcomputer - Google Patents

Multifunctional remote control method and device based on single-chip microcomputer Download PDF

Info

Publication number
CN105719473A
CN105719473A CN201610069859.7A CN201610069859A CN105719473A CN 105719473 A CN105719473 A CN 105719473A CN 201610069859 A CN201610069859 A CN 201610069859A CN 105719473 A CN105719473 A CN 105719473A
Authority
CN
China
Prior art keywords
infrared
code
coding
sequence
time
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
CN201610069859.7A
Other languages
Chinese (zh)
Other versions
CN105719473B (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.)
Xu Wenjie
Original Assignee
Nanjing Yuekong Intelligent Technology 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 Nanjing Yuekong Intelligent Technology Co Ltd filed Critical Nanjing Yuekong Intelligent Technology Co Ltd
Priority to CN201610069859.7A priority Critical patent/CN105719473B/en
Publication of CN105719473A publication Critical patent/CN105719473A/en
Application granted granted Critical
Publication of CN105719473B publication Critical patent/CN105719473B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-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)

Abstract

The invention discloses a multifunctional remote control method based on a single-chip microcomputer. The method comprises an infrared encoding step and an infrared decoding step. According to the specific infrared encoding method, B1, specific frequency band infrared waves sent by a household appliance remote control unit are collected and then converted into digital time sequence codes; B2, the digital time sequence codes are subjected to mode analysis according to an infrared encoding protocol, and infrared codes obtained after mode analysis are stored in a formatted text mode. According to the specific infrared decoding step, J1, the infrared codes are decoded according to the infrared encoding protocol to generate digital time sequence codes of infrared waveforms; J2, a logical waveform sequence is output to remotely control a household appliance according to the digital time sequence codes. Meanwhile, the invention discloses a multifunctional remote control device based on the single-chip microcomputer. The codes are automatically compressed and coded through an algorithm, the low-performance single-chip microcomputer is used for decoding, carrier waves are sent, and the method and device can adapt to infrared control over existing mainstream household appliances.

Description

A kind of SCM Based multifunction remote-control method and remote control unit
Technical field
The present invention relates to a kind of multifunction remote-controller, more particularly relate to a kind of SCM Based multifunction remote-controller aobvious with LCD screen, belong to household electrical appliances infrared control technical field.
Background technology
At present, overwhelming majority conventional domestic electrical equipment all uses infrared-ray that it is remotely controlled, infrared carrier frequency is mostly in 38KHz and 52KHz frequency range, information transmission is carried out according to train wave shape code digit time, and in code stream time sequence, use " having carrier level signal " and " carrierfree level signal " and then represent logic 1 and logical zero, carry out D/A and A/D conversion respectively sender and recipient.In traditional home appliance industry development course, also accumulate gradually and define a set of protocolcode of having, infrared digital agreement that systemcode, datacode combine.Household appliances manufacturer invents or utilizes existing standard IR agreement code the panel in conjunction with self remote control unit, specific infrared carrier wave sequence code can be deposited in the built-in storage of remote controller, and then specific household electrical appliances are carried out infrared signal transmission, but, the method comparison that current infrared signal controls mid-infrared carrier wave sequence code is huge, the speed of service is slow, and the requirement of processor is also higher, largely limits its development.
Summary of the invention
Goal of the invention: present invention aim at for the deficiencies in the prior art, it is provided that a kind of algorithm is simple, the speed of service fast, the SCM Based multifunction remote-control method that processor requirement is not high.
Meanwhile, the present invention also provides for a kind of SCM Based multifunction remote-controller solving the problems referred to above.
Technical scheme: the SCM Based multifunction remote-control method of one of the present invention, including infrared coding step and infrared decoding step, wherein, infrared coding step particularly as follows:
The special frequency channel infrared waves that B1, collection household electrical appliance remote controller send, then infrared waves are converted to sequence code digit time;
B2, sequence code digit time is carried out pattern analysis according to infrared coding agreement, and infrared coding pattern analysis obtained uses formatted text mode to store;
Infrared decoding step particularly as follows:
J1, read the infrared coding of storage and be loaded, according to infrared coding agreement, infrared coding being decoded generating sequence code digit time of infrared waveform;
J2, according to sequence code output logic wave sequence digit time, household electrical appliance are remotely controlled.
Being further defined to of technical solution of the present invention, in step B1 in infrared coding step, sequence code digit time generated is 2 byte numerical digit codings, constituted with bootcode, seperatorcode, endcode and logical zero/1code by one group, wherein, logical zero/1code is indicated by the time segment of " having carrier wave " of fixing and " not having carrier wave " respectively.
Further, in pattern analysis step in step B2 in infrared coding step, first infrared protocol protocolcode is identified according to the bootcode in digit time sequence code, and judge that this infrared code is command code or conditional code, if this infrared code is command code, then without receiving more reference number time series, directly sequence digit time of follow-up expression logical zero and logic 1 is carried out pattern recognition according to infrared coding agreement, until identifying complete remote keying coding remotecode, and remotecode uses formatting mode herein store;If this infrared code is conditional code, then continue to more reference encoder, to identify each field combination under different conditions, after receiving and identifying successfully, use formatted text mode to store complete remote keying coding remotecode.
Further, in infrared coding step, infrared coding is used formatted text mode to be also encoded compression step after storing by step B2, and concrete compression method is:
Command code type: reference key when " the having carrier wave " of bootcode, endcode, the sepratorcode in infrared coding and " not having carrier wave " time being compressed to respectively binary coding head as decoding, use 16 systems to represent the logical zero/1code in infrared coding, complete the double byte bit digital of logical zero/1 represented by " there is carrier wave " and " not there is carrier wave " to the conversion of binary representation;
Conditional code type: bootcode, seperatorcode, the endcode in infrared coding is compressed according to protocol headers generating mode in mentioned order code type, simultaneously, step B2 obtains defaultcode, and based on defaultcode according to correction coding initial, that end logic bit position is when being subject to the change of various state.
Further, the concrete decoding process in the step J1 in infrared decoding step is:
To the decoding process of the infrared coding of command code type it is:
M1, bootcode, endcode and the seperatorcode time series resolved in infrared coding, and keep in;
The time series of M2, the logical zero representing carrier wave resolved in infrared coding and logic 1, and keep in;
M3, button according to input, being indexed in the remote region of infrared coding searching, possessing this key set code if found, then taken out its hexadecimal data, be converted into binary representation, and according to large and small end syllable sequence, preserved;
M4, by the binary sequence of preservation logically 0 and logic 1 and frame sequence in remotecode sequence carry out the binary code conversion to time sequence code;
M5, generate logical time code basis on, be reduced into final sequence digit time according to bootcode, endcode, seperatorcode of frame sequence.
To the decoding process of the infrared coding of conditional code type it is:
Z1, bootcode, endcode and the seperatocoder time series resolved in infrared coding, and keep in;
The time series of Z2, the logical zero representing carrier wave resolved in infrared coding and logic 1, and keep in;
Z3, air-conditioning type conditional code decoding time need according to specified button, extract the correction bit bit field of defaultcode, and the value of bit field specific in defaultcode is extracted, it is overlapped covering according still further on off state, mode state, air quantity, wind direction, temperature value, last superposition specify verification and, and convert to and defaultcode code equal length but the binary sequence that comprises each state;
Z4, by the binary sequence of preservation logically 0 and logic 1 and frame sequence in remotecode sequence carry out the binary code conversion to time sequence code;
Z5, generate logical time code basis on, be reduced into final sequence digit time according to bootcode, endcode, seperatorcode of frame sequence.
The present invention also provides for a kind of SCM Based multifunction remote-controller, and including infrared encoder and IR decoder, described infrared encoder is connected by transport module with described IR decoder, carries out the transmission of infrared coded data,
Described infrared encoder includes coding acquisition module, for gathering the special frequency channel infrared waves that household electrical appliance remote controller sends, then infrared waves is converted to sequence code digit time;
Code analysis module, for sequence code digit time is carried out pattern analysis according to infrared coding agreement, and infrared coding pattern analysis obtained uses formatted text mode to store;
Described IR decoder includes infrared decoding module, for reading the infrared coding of storage and be loaded, according to infrared coding agreement, infrared coding is decoded generating sequence code digit time of infrared waveform;
Infrared remote control module, for being remotely controlled household electrical appliance according to sequence code output logic wave sequence digit time.
Being further defined to of the technical program, described coding acquisition module includes sequential sampling digit time unit, sequence code digit time for generating is 2 byte numerical digit codings, constituted with bootcode, seperatorcode, endcode and logical zero/1code by one group, wherein, logical zero/1code is indicated by the time segment of " having carrier wave " of fixing and " not having carrier wave " respectively.
Further, described code analysis module is to protocal analysis method particularly includes: first identify infrared protocol protocolcode according to the bootcode in digit time sequence code, and judge that this infrared code is command code or conditional code, if this infrared code is command code, then without receiving more reference number time series, directly sequence digit time of follow-up expression logical zero and logic 1 is carried out pattern recognition according to infrared coding agreement, until identifying complete remote keying coding remotecode, and remotecode uses formatting mode herein store;If this infrared code is conditional code, then continue to more reference encoder, to identify each field combination under different conditions, after receiving and identifying successfully, use formatted text mode to store complete remote keying coding remotecode.
Further, described infrared encoder also includes compression coding module, for being also encoded compression after infrared coding uses formatted text mode store, compression method is: command code type: by the bootcode in infrared coding, endcode, reference key when " the having carrier wave " of sepratorcode and " not having carrier wave " time are compressed to binary coding head respectively as decoding, 16 systems are used to represent the logical zero/1code in infrared coding, complete the double byte bit digital of logical zero/1 represented by " there is carrier wave " and " not there is carrier wave " to the conversion of binary representation;
Conditional code type: bootcode, seperatorcode, the endcode in infrared coding is compressed according to protocol headers generating mode in mentioned order code type, simultaneously, step B2 obtains defaultcode, and based on defaultcode according to correction coding initial, that end logic bit position is when being subject to the change of various state.
Further, described IR decoder also includes coding decompression module, for being decompressed by file compressed for compression coding module.
Beneficial effect: the present invention provides a kind of SCM Based multifunction remote-control method and remote control unit thereof, consider the command instruction in ultra-red order and status command two types, by the automatic compressed encoding of algorithm and be decoded and carry out carrier wave transmission by low performance single-chip microcomputer, can the infrared control of adaptive main flow household electrical appliance at present;The present invention compared with the tradition solution according to infrared carrier wave sequence code, possesses the relatively low processor of frequency and the less RAM single-chip microcomputer of capacity, takies memory space less, it is easy to realize multifunctional Infrared Telequipment;Infrared encoder is as the external system of IR decoder, it is possible to coordinate non-embedded environment to operate, and owing to compressed encoding takes up room less, has higher efficiency of transmission;Because whole coding having been split into fixing protocol headers and unfixed remote control mode body, therefore more generally applicable according to train wave shape code solution digit time than tradition;The present invention decodes process and has load function, when system start-up and initialization, less coding can be contained in Installed System Memory by certain algorithm and reside, have only to perform decoding algorithm when receiving external key request, can solve the situation that embedded system CPU disposal ability is low.
Accompanying drawing explanation
Fig. 1 provides the structural representation of a kind of SCM Based multifunction remote-controller for the present invention;
Fig. 2 be in a kind of SCM Based multifunction remote-control method provided by the invention digit time sequence code schematic diagram;
The remote control mode schematic diagram of the typical television set type that Fig. 3 provides for the present embodiment 1;
The typical air-conditioning type remote control mode schematic diagram that Fig. 4 provides for the present embodiment 1;
The flow chart of the infrared decoding step that Fig. 5 provides for the present embodiment 1.
Detailed description of the invention
Below by accompanying drawing, technical solution of the present invention is described in detail, but protection scope of the present invention is not limited to described embodiment.
Embodiment 1:A kind of SCM Based multifunction remote-controller, its structural representation is as it is shown in figure 1, include infrared encoder and IR decoder, and described infrared encoder is connected by transport module with described IR decoder.Described infrared encoder includes coding acquisition module, code analysis module and compression coding module, and described coding acquisition module includes infrared receiving device, sequential sampling digit time unit and master controller.Described IR decoder includes infrared decoding module, infrared remote control module and coding decompression module.
In the SCM Based multifunction remote-controller that the present embodiment provides, the operation principle of various modules is made a concrete explanation by remote control thereof.
The present embodiment provide SCM Based multifunction remote-control method, including infrared coding step and infrared decoding step, wherein, infrared coding step particularly as follows:
B1, coding acquisition module gather the special frequency channel infrared waves that household electrical appliance remote controller sends, then infrared waves are converted to sequence code digit time.
After infrared receiving device have received special frequency channel infrared waves, produce input to master controller to interrupt, and transmit to master controller after carrier signal changed by A/D, main controller controls sequential sampling digit time unit generate digit time sequence code schematic diagram as shown in Figure 2, it is 2 byte numerical digit codings, by one group with bootcode, seperatorcode, endcode and logical zero/1code is constituted, except bootcode, outside seperatorcode and endcode, logical zero/1code is indicated by the time segment of " having carrier wave " of fixing and " not having carrier wave " respectively.
Sequence code digit time is carried out pattern analysis according to infrared coding agreement by B2, code analysis module, and infrared coding pattern analysis obtained uses formatted text mode to store.
First infrared protocol protocolcode is identified according to the bootcode in digit time sequence code, and judge that this infrared code is command code or conditional code, if this infrared code is command code, then without receiving more reference number time series, directly sequence digit time of follow-up expression logical zero and logic 1 is carried out pattern recognition according to infrared coding agreement, until identifying complete remote keying coding remotecode, and remotecode use formatting mode herein store (such as xml document);If this infrared code is conditional code, then continue to more reference encoder, to identify each field combination under different conditions, after receiving and identifying successfully, use formatted text mode to store complete remote keying coding remotecode.
Sequence code digit time that code analysis module obtains carries out pattern analysis according to common infrared coding agreement, if the command code of television set type household electrical appliances, is then decomposed into protocol code and code code, is stored as text formatting data respectively;If the conditional code of air-conditioning type household electrical appliances, then, except analyzing protocol code and code code, also need to carry out state parsing according to the power supply of air-conditioning, temperature, operational mode, air quantity, 5 factors of wind direction, and be stored as the conditional code of text formatting.
B3, compression coding module are also encoded compression after infrared coding uses formatted text mode store.
Compression coding module preserves the command code and conditional code remotecode file that obtain according to code analysis module, it is compressed resetting to the formatted data taken up room more greatly, not easily analyzed by single-chip microcomputer programming language by command code and conditional code form equally, realizes not as follows:
Command code type: " the having carrier wave " of bootcode, endcode, sepratorcode of protocol part in infrared coding and " not having carrier wave " time are compressed to respectively binary coding head as reference key when decoding, use 16 systems to represent the logical zero/1code in infrared coding, complete the double byte bit digital of logical zero/1 represented by " there is carrier wave " and " not there is carrier wave " to the conversion of binary representation.When household electrical appliances type is television set, DVD, Set Top Box, all of key set code should all be converted, and makes each button according to certain byte length, is closely spaced the lower section in protocol headers.The remote control code table of one typical television set type is as shown in Figure 3.
Conditional code type: bootcode, seperatorcode, the endcode in infrared coding is compressed according to protocol headers generating mode in mentioned order code type, simultaneously, step B2 obtains defaultcode, and based on defaultcode according to correction coding initial, that end logic bit position is when being subject to the change of various state.The correction coding of air-conditioning is divided into 5 grades according on off state, state of temperature, mode of operation, air quantity state, wind direction state one, and for some air-conditioning, also should possess cumulative sum verification and revise coding, press the bit position (bit field) calculated for a certain section of same corresponding defaultcode coding.The state remote control mode of one typical air-conditioning type is as shown in Figure 4.
No matter it is command code or conditional code, in encoded content, equal storage frame constitutes sequence: i.e. complete infrared ray remotes control code each ingredient sequentially in time, it is the combination in any of bootcode, endcode, seperatorcode, remotecode, and this combination generates according to protocol definition.Compression coding module carries out the binary coding compression of different-format respectively according to television set type command code and two kinds of infrared codings of air-conditioning type state code, text formatting data are compressed to, according to gauge outfit, each field of protocol (next saves detailed description), remotecode key set code, the binary code receiving suitable in microcontroller embedded equipment and storing respectively, to improve efficiency of transmission, to save storage overhead.
The infrared coding compressed is transmitted by wired or wireless mode, and the mode of transmission is not repeating in the present embodiment.
Infrared decoding step particularly as follows:
J1, infrared decoding module the infrared coding reading storage, infrared coding is decompressed and is loaded by coding decompression module, according to infrared coding agreement, infrared coding is decoded generating sequence code digit time of infrared waveform.
IR decoder is stored by memorizer after receiving infrared coding, it is simple to the reading of infrared decoding module.Memorizer can adopt the modes such as flash or EEPROM to realize, and does not elaborate at this.
When system needs the key-press event according to domestic electrical equipment remote controller to be decoded, trigger decoder module and run.
To the decoding process of the infrared coding of command code type it is:
M1, load the coding after compression according to file size from memorizer, resolve bootcode, endcode and the seperatorcode time series in infrared coding, and keep in;
The time series of M2, the logical zero representing carrier wave resolved in infrared coding and logic 1, and keep in;
M3, button according to input, being indexed in the remote region of infrared coding searching, possessing this key set code if found, then taken out its hexadecimal data, be converted into binary representation, and according to large and small end syllable sequence, preserved;
M4, by the binary sequence of preservation logically 0 and logic 1 and frame sequence in remotecode sequence carry out the binary code conversion to time sequence code;
M5, generate logical time code basis on, be reduced into final sequence digit time according to bootcode, endcode, seperatorcode of frame sequence.
The seasonal effect in time series that the infrared coding of command code type is final is generated method is:
(1) by agreement protocol part and remote control mode remotecode part from code database, extract respectively, be mapped in different data structures;
(2) map according to the button pre-defined on remote controller, from remote control mode, extract the code value of button;
(3) by the code value of the button frame sequence pattern according to protocol section, key set code is inserted, and be interpreted as Microsecond grade time slot sequence according to what the logic level and 0/1 of protocol section represented with/without subcarrier time gap;
(4) the Microsecond grade time slot data according to the bootcode of protocol section, seperatorcode and endcode, are packaged into complete Frame
To the decoding process of the infrared coding of conditional code type it is:
Z1, load the coding after compression according to file size from memorizer, resolve bootcode, endcode and the seperatocoder time series in infrared coding, and keep in;
The time series of Z2, the logical zero representing carrier wave resolved in infrared coding and logic 1, and keep in;
Z3, air-conditioning type conditional code decoding time need according to specified button, extract the correction bit bit field of defaultcode, and the value of bit field specific in defaultcode is extracted, it is overlapped covering according still further on off state, mode state, air quantity, wind direction, temperature value, last superposition specify verification and, and convert to and defaultcode code equal length but the binary sequence that comprises each state;
Z4, by the binary sequence of preservation logically 0 and logic 1 and frame sequence in remotecode sequence carry out the binary code conversion to time sequence code;
Z5, generate logical time code basis on, be reduced into final sequence digit time according to bootcode, endcode, seperatorcode of frame sequence.
The seasonal effect in time series that the infrared coding of conditional code type is final is generated method is:
(1) from coding, default code is parsed, both initial default conditional codes;
(2) from coding, parse each conditional code require modification to data bit skew and the correction value of default code;
(3) combinations of states is calculated according to remote controller key;
(4) according to each state (such as switching, pattern, wind speed, wind direction etc.) in combinations of states, different pieces of information structure it is resolved to respectively successively;
(5) successively default code is modified according to biased shifting and correction value by each state, obtains end-state code;
(6) from coding, bootcode, seperatorcode and endcode, the respectively head of insert state code, stage casing (if there is) and afterbody are parsed;
(7) it is interpreted as Microsecond grade time slot sequence according to what the logic level and 0/1 of regulation in coding represented with/without subcarrier time gap, constructs complete data frame.
Command code generates identical in protocol header extraction and final time series with conditional code in decoding process, but different in logic code handling process.Their operation principle is as shown in Figure 5.
Household electrical appliance are remotely controlled by J2, infrared remote control module according to sequence code output logic wave sequence digit time.
Infrared remote control module is according to logic 1 and logical zero, by controller general intervalometer, to infrared outut device output logic wave sequence, infrared outut device carries out D/A(numeral à simulation) signal conversion, send infrared carrier wave and household electrical appliance are remotely controlled.
To sum up, the versatility of the general household electrical appliance infrared coding-decoding method proposed in the present invention is embodied in command code and conditional code that traditional home appliance is used, has carried out compression that is adaptive and that achieve coding on this basis according to protocol specification.It is limited to the various hardware limitation of Single Chip MC in Embedded System, this method well solves the problem that single-chip microcomputer memory space is little, CPU disposal ability is low, make individual in an encoding process, allow several different home wiring control code can carry out independent assortment according to agreement code and remote control mode, only in the decoding stage, they are carried out generalization process.
Although as it has been described above, represented and described the present invention with reference to specific preferred embodiment, but it shall not be construed as the restriction to the present invention self.Under the spirit and scope of the present invention premise defined without departing from claims, it can be made in the form and details various change.

Claims (10)

1. a SCM Based multifunction remote-control method, it is characterised in that include infrared coding step and infrared decoding step, wherein, infrared coding step particularly as follows:
The special frequency channel infrared waves that B1, collection household electrical appliance remote controller send, then infrared waves are converted to sequence code digit time;
B2, sequence code digit time is carried out pattern analysis according to infrared coding agreement, and infrared coding pattern analysis obtained uses formatted text mode to store;
Infrared decoding step particularly as follows:
J1, read the infrared coding of storage and be loaded, according to infrared coding agreement, infrared coding being decoded generating sequence code digit time of infrared waveform;
J2, according to sequence code output logic wave sequence digit time, household electrical appliance are remotely controlled.
2. the SCM Based multifunction remote-control method of one according to claim 1, it is characterized in that, in step B1 in infrared coding step, sequence code digit time generated is 2 byte numerical digit codings, constituted with bootcode, seperatorcode, endcode and logical zero/1code by one group, wherein, logical zero/1code is indicated by the time segment of " having carrier wave " of fixing and " not having carrier wave " respectively.
3. the SCM Based multifunction remote-control method of one according to claim 2, it is characterized in that, in pattern analysis step in step B2 in infrared coding step, first infrared protocol protocolcode is identified according to the bootcode in digit time sequence code, and judge that this infrared code is command code or conditional code, if this infrared code is command code, then without receiving more reference number time series, directly sequence digit time of follow-up expression logical zero and logic 1 is carried out pattern recognition according to infrared coding agreement, until identifying complete remote keying coding remotecode, and remotecode uses formatting mode herein store;If this infrared code is conditional code, then continue to more reference encoder, to identify each field combination under different conditions, after receiving and identifying successfully, use formatted text mode to store complete remote keying coding remotecode.
4. the SCM Based multifunction remote-control method of one according to claim 3, it is characterised in that in infrared coding step, infrared coding is used formatted text mode to be also encoded compression step after storing by step B2, and concrete compression method is:
Command code type: reference key when " the having carrier wave " of bootcode, endcode, the sepratorcode in infrared coding and " not having carrier wave " time being compressed to respectively binary coding head as decoding, use 16 systems to represent the logical zero/1code in infrared coding, complete the double byte bit digital of logical zero/1 represented by " there is carrier wave " and " not there is carrier wave " to the conversion of binary representation;
Conditional code type: bootcode, seperatorcode, the endcode in infrared coding is compressed according to protocol headers generating mode in mentioned order code type, simultaneously, step B2 obtains defaultcode, and based on defaultcode according to correction coding initial, that end logic bit position is when being subject to the change of various state.
5. the SCM Based multifunction remote-control method of one according to claim 3, it is characterised in that the concrete decoding process in the step J1 in infrared decoding step is:
To the decoding process of the infrared coding of command code type it is:
M1, bootcode, endcode and the seperatorcode time series resolved in infrared coding, and keep in;
The time series of M2, the logical zero representing carrier wave resolved in infrared coding and logic 1, and keep in;
M3, button according to input, being indexed in the remote region of infrared coding searching, possessing this key set code if found, then taken out its hexadecimal data, be converted into binary representation, and according to large and small end syllable sequence, preserved;
M4, by the binary sequence of preservation logically 0 and logic 1 and frame sequence in remotecode sequence carry out the binary code conversion to time sequence code;
M5, generate logical time code basis on, be reduced into final sequence digit time according to bootcode, endcode, seperatorcode of frame sequence;
To the decoding process of the infrared coding of conditional code type it is:
Z1, bootcode, endcode and the seperatocoder time series resolved in infrared coding, and keep in;
The time series of Z2, the logical zero representing carrier wave resolved in infrared coding and logic 1, and keep in;
Z3, air-conditioning type conditional code decoding time need according to specified button, extract the correction bit bit field of defaultcode, and the value of bit field specific in defaultcode is extracted, it is overlapped covering according still further on off state, mode state, air quantity, wind direction, temperature value, last superposition specify verification and, and convert to and defaultcode code equal length but the binary sequence that comprises each state;
Z4, by the binary sequence of preservation logically 0 and logic 1 and frame sequence in remotecode sequence carry out the binary code conversion to time sequence code;
Z5, generate logical time code basis on, be reduced into final sequence digit time according to bootcode, endcode, seperatorcode of frame sequence.
6. the remote control unit of SCM Based multifunction remote-control method according to claim 1, it is characterized in that, including infrared encoder and IR decoder, described infrared encoder is connected by transport module with described IR decoder, carry out the transmission of infrared coded data
Described infrared encoder includes coding acquisition module, for gathering the special frequency channel infrared waves that household electrical appliance remote controller sends, then infrared waves is converted to sequence code digit time;
Code analysis module, for sequence code digit time is carried out pattern analysis according to infrared coding agreement, and infrared coding pattern analysis obtained uses formatted text mode to store;
Described IR decoder includes infrared decoding module, for reading the infrared coding of storage and be loaded, according to infrared coding agreement, infrared coding is decoded generating sequence code digit time of infrared waveform;
Infrared remote control module, for being remotely controlled household electrical appliance according to sequence code output logic wave sequence digit time.
7. the SCM Based multifunction remote-controller of one according to claim 6, it is characterized in that, described coding acquisition module includes sequential sampling digit time unit, sequence code digit time for generating is 2 byte numerical digit codings, constituted with bootcode, seperatorcode, endcode and logical zero/1code by one group, wherein, logical zero/1code is indicated by the time segment of " having carrier wave " of fixing and " not having carrier wave " respectively.
8. the SCM Based multifunction remote-controller of one according to claim 7, it is characterized in that, described code analysis module is to protocal analysis method particularly includes: first identify infrared protocol protocolcode according to the bootcode in digit time sequence code, and judge that this infrared code is command code or conditional code, if this infrared code is command code, then without receiving more reference number time series, directly sequence digit time of follow-up expression logical zero and logic 1 is carried out pattern recognition according to infrared coding agreement, until identifying complete remote keying coding remotecode, and remotecode uses formatting mode herein store;If this infrared code is conditional code, then continue to more reference encoder, to identify each field combination under different conditions, after receiving and identifying successfully, use formatted text mode to store complete remote keying coding remotecode.
9. the SCM Based multifunction remote-controller of one according to claim 7, it is characterized in that, described infrared encoder also includes compression coding module, for being also encoded compression after infrared coding uses formatted text mode store, compression method is: command code type: by the bootcode in infrared coding, endcode, reference key when " the having carrier wave " of sepratorcode and " not having carrier wave " time are compressed to binary coding head respectively as decoding, 16 systems are used to represent the logical zero/1code in infrared coding, complete the double byte bit digital of logical zero/1 represented by " there is carrier wave " and " not there is carrier wave " to the conversion of binary representation;
Conditional code type: bootcode, seperatorcode, the endcode in infrared coding is compressed according to protocol headers generating mode in mentioned order code type, simultaneously, step B2 obtains defaultcode, and based on defaultcode according to correction coding initial, that end logic bit position is when being subject to the change of various state.
10. the SCM Based multifunction remote-controller of one according to claim 9, it is characterised in that described IR decoder also includes coding decompression module, for being decompressed by file compressed for compression coding module.
CN201610069859.7A 2016-04-07 2016-04-07 A kind of SCM Based multifunction remote-control method and remote control device Expired - Fee Related CN105719473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610069859.7A CN105719473B (en) 2016-04-07 2016-04-07 A kind of SCM Based multifunction remote-control method and remote control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610069859.7A CN105719473B (en) 2016-04-07 2016-04-07 A kind of SCM Based multifunction remote-control method and remote control device

Publications (2)

Publication Number Publication Date
CN105719473A true CN105719473A (en) 2016-06-29
CN105719473B CN105719473B (en) 2019-04-05

Family

ID=56154537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610069859.7A Expired - Fee Related CN105719473B (en) 2016-04-07 2016-04-07 A kind of SCM Based multifunction remote-control method and remote control device

Country Status (1)

Country Link
CN (1) CN105719473B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112003624A (en) * 2020-08-05 2020-11-27 北京有生志广科技有限公司 Lossless compression and online decompression method and device for radio monitoring data
CN112634556A (en) * 2020-11-18 2021-04-09 清研讯科(北京)科技有限公司 Electronic device, detection method, detection device, storage medium, and computer device
CN114120617A (en) * 2021-11-29 2022-03-01 珠海格力电器股份有限公司 Method and device for encoding infrared signal of remote controller

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101354830A (en) * 2007-07-25 2009-01-28 杭州士兰微电子股份有限公司 Remote controller code type general-purpose coding method
CN101546475A (en) * 2009-04-30 2009-09-30 余翀 System and method for learning remote controller
CN101751772A (en) * 2010-02-01 2010-06-23 青岛海信电器股份有限公司 Infrared remote control system for controlling household appliance and remote control method thereof
CN102945599A (en) * 2012-11-17 2013-02-27 福州大学 Self-adaptive multi-system infrared decoding method, module and control circuit applying module
US20130171981A1 (en) * 2010-09-17 2013-07-04 Digience Co., Ltd. Digital device control system using smart phone
CN103426290A (en) * 2013-07-18 2013-12-04 惠州市和易科技有限公司 Intelligent remote-control unit code learning method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101354830A (en) * 2007-07-25 2009-01-28 杭州士兰微电子股份有限公司 Remote controller code type general-purpose coding method
CN101546475A (en) * 2009-04-30 2009-09-30 余翀 System and method for learning remote controller
CN101751772A (en) * 2010-02-01 2010-06-23 青岛海信电器股份有限公司 Infrared remote control system for controlling household appliance and remote control method thereof
US20130171981A1 (en) * 2010-09-17 2013-07-04 Digience Co., Ltd. Digital device control system using smart phone
CN102945599A (en) * 2012-11-17 2013-02-27 福州大学 Self-adaptive multi-system infrared decoding method, module and control circuit applying module
CN103426290A (en) * 2013-07-18 2013-12-04 惠州市和易科技有限公司 Intelligent remote-control unit code learning method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李冬梅等: "通用学习式红外遥控器中数据压缩与识别算法", 《清华大学学报(自然科学版)》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112003624A (en) * 2020-08-05 2020-11-27 北京有生志广科技有限公司 Lossless compression and online decompression method and device for radio monitoring data
CN112003624B (en) * 2020-08-05 2024-01-26 北京有生志广科技有限公司 Radio monitoring data lossless compression and online decompression method and device
CN112634556A (en) * 2020-11-18 2021-04-09 清研讯科(北京)科技有限公司 Electronic device, detection method, detection device, storage medium, and computer device
CN114120617A (en) * 2021-11-29 2022-03-01 珠海格力电器股份有限公司 Method and device for encoding infrared signal of remote controller
CN114120617B (en) * 2021-11-29 2022-12-09 珠海格力电器股份有限公司 Method and device for encoding infrared signal of remote controller

Also Published As

Publication number Publication date
CN105719473B (en) 2019-04-05

Similar Documents

Publication Publication Date Title
US6097520A (en) Remote control receiver and method of operation
CN105719473A (en) Multifunctional remote control method and device based on single-chip microcomputer
CN203118209U (en) Intelligent remote controller and intelligent remote control system
CN102968897A (en) Household appliance remote control method based on handheld equipment
CN104157115A (en) Cloud service based networked all-purpose remote control device and method
CN103248930A (en) Voice television and household appliance system
CN101881948A (en) Remote air conditioner control starter design method based on wireless mobile communication network
US20220270474A1 (en) Star cluster codeset database for universal remote control devices
CN105281777B (en) A kind of compression method, system and the remote controler of remote controler learning data
CN202721771U (en) Television system with audio recognition function
CN103024498A (en) Television control method capable of simultaneously responding to two kinds of remote control coding schemes
CN1185852A (en) Wireless and secure control of electrical equipment
CN102547457B (en) A kind of method for down loading of the remote-controller data based on Set Top Box
CN203057380U (en) Signal pile processing device for expanding controllable functions of remote controller and system thereof
CN111787325B (en) Entropy encoder and encoding method thereof
EP3745375B1 (en) Method for transmitting signal via mesh network and remote control system thereof
CN104320143A (en) Method and device for compressing three-phase voltage and current signal waveform sample data
CN106297264A (en) The coded method of the multiple ultra-red order of a kind of compatibility and system
CN203386343U (en) Learning infrared remote controller based on WIFI (wireless fidelity)
CN109872522B (en) Algorithm for decompressing infrared code based on sample index
CN105590445A (en) Household intelligent remote control system
CN202551155U (en) Cable mobile phone intelligent remote control
CN104468968A (en) Implementation method of telecontrol system based on Android mobile phone
GB2250118A (en) Programming device for programming a remote control transmitter
KR100495959B1 (en) Remote Controller System

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
TA01 Transfer of patent application right

Effective date of registration: 20190314

Address after: Room 301, Unit 1, Building 15, Xiyuan, Qingjiang, 418 Jiangbei Road, Gulou District, Nanjing City, Jiangsu Province, 210000

Applicant after: Xu Wenjie

Address before: 210012 8 blocks, 50 Andmen Street, Yuhuatai District, Nanjing City, Jiangsu Province

Applicant before: NANJING YUEKONG INTELLIGENT TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190405

Termination date: 20210407