CN102790621A - Infrared data processing storage method and infrared remote-control unit - Google Patents

Infrared data processing storage method and infrared remote-control unit Download PDF

Info

Publication number
CN102790621A
CN102790621A CN2012101875745A CN201210187574A CN102790621A CN 102790621 A CN102790621 A CN 102790621A CN 2012101875745 A CN2012101875745 A CN 2012101875745A CN 201210187574 A CN201210187574 A CN 201210187574A CN 102790621 A CN102790621 A CN 102790621A
Authority
CN
China
Prior art keywords
data
infrared
array sequence
module
sequence
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
CN2012101875745A
Other languages
Chinese (zh)
Other versions
CN102790621B (en
Inventor
陈红先
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen C&D Electronics Co Ltd
Original Assignee
Shenzhen C&D Electronics 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 Shenzhen C&D Electronics Co Ltd filed Critical Shenzhen C&D Electronics Co Ltd
Priority to CN201210187574.5A priority Critical patent/CN102790621B/en
Publication of CN102790621A publication Critical patent/CN102790621A/en
Application granted granted Critical
Publication of CN102790621B publication Critical patent/CN102790621B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

Disclosed are an infrared data processing storage method and an infrared remote-control unit. Stored repeating data sections are reduced by means of data arranging, grouping, analyzing, coding and data volumes which are required to be stored are effectively reduced. The infrared remote-control unit applying the method comprises a key operating device, an infrared signal sending and receiving device and an infrared data processing storage device, wherein the infrared data processing storage device comprises a raw data acquisition module, a data serialization module, a data coding scheme analyzing module, a data compression module, a data storage module and a data recovery module. The infrared remote-control unit is capable of effectively reducing the data volumes which are required to be stored, identifying known and unknown infrared formats, identifying novel coding schemes and identifying differences between long keys and short keys; and storage space can be greatly saved, lossless compression of data can be achieved, and production costs can be effectively reduced.

Description

Infrared data is handled storage means and IR remote controller
Technical field
The present invention relates to a kind of electronic information control device, particularly a kind of infrared data is handled the method and the IR remote controller of storage.
Background technology
At present, Digiplex has obtained increasing application in life, bring great convenience to people.The IR remote controller that household electrical appliances are used always is when handling storage infrared information coding, because the infrared coding form is various, known just reaches more than 500 kinds; And the ununified pattern of infrared information coding; Cause modulation system various, the data repetitive mode varies, and the modulated carrier scope is very wide.Therefore, handle and azaleine extrinsic information data also, present way has two kinds usually; A kind of be all data one by one intercepting get off; Be commonly called as hard copy, though this mode can be learnt any form, the memory space very big to needs; And the length of user key-press time also has very big influence to memory space, and can't distinguish long button and short button difference; Another kind is to set up the infrared coding storehouse, behind the data intercept more one by one with the library file comparative analysis, this mode does not have versatility; Because of the infrared coding mode does not have standard, all there is the coded system of controlling oneself in each producer, but also is in constantly upgrading; Therefore this mode can only be directed against the known coded mode, and is just at one's wit's end to novel coding, needs constantly to collect new coded system; Upgrade code database, so the program space can be increasing.
Summary of the invention
The present invention provides a kind of infrared data to handle storage means and IR remote controller, can solve above-mentionedly need store data than large space, and can not discern the difference of long button and short button, perhaps can not discern the technical problem of novel coding mode.
The present invention solves the problems of the technologies described above the infrared data that is provided to handle storage means, and its special type is, comprises the steps:
A, collection infrared information data;
B, the infrared information data that collect are carried out sequential value digitlization replacement, form array sequence one;
C, array sequence one is analyzed, calculated repeating data section and non-repeating data section in the array sequence one;
D, remove the repeating data section in the array sequence one, generate array sequence two;
E, array sequence two is stored in the memory;
F, the array sequence two that will be stored in the memory extract;
G, array sequence two is reduced to array sequence one;
H, array sequence one sequential value numeral is replaced with the infrared information data.
Wherein, the collection of the data of infrared information described in the steps A is that the high-low level of infrared information is all caught.
Sequential value digitlization described in step B replacement comprises that the following step gathers:
B1, the initial data that collects is separated into odd column and even column;
B2, the different value that extracts in said odd column and the even column are formed odd number group and even sets;
B3, replace its time value with the relative position in odd number group and the even sets, generate array sequence two, wherein, the relative position of odd number group row is 0, and different value is 1, and the relative position of even sets is 0, and different value is respectively 1,2,3,4,5 ...
Analytical calculation described in the step C is that the coded system of array sequence one is carried out recursive calculation.
The frame number that comprises repeating data section that a quilt removes and the repeating data section of being removed in the array sequence two described in the step D.
Memory described in the step e is the external electric EPROM.
Numeral replacement described in the step H is the sequential value numeral to array sequence one, replaces one by one with original infrared data, to the data that repeat, repeats to increase data according to increasing number of times.
A kind of IR remote controller that adopts above-mentioned infrared data to handle storage means; Comprise key operation device, infrared signal transmitting and receiving device, infrared data processing storage device; Wherein the infrared signal transmitting and receiving device is handled storage device with the infrared signal transmission that receives to infrared data, handles storage device by infrared data the information that receives is analyzed, compresses, stored; Perhaps change operational motion into command signal and be transferred to infrared data processing storage device by key operation device; Handle storage device by infrared data and carry out data extract, be reduced into raw information, the information after will being reduced by the infrared signal transmitting and receiving device is again launched.
Described infrared data is handled storage device and is comprised raw data acquisition module, data sequence module, digital coding mode analysis module, data compressing module, data memory module and data restoring module; Wherein the raw data acquisition module is used for the collection of infrared data; The data sequence module is used for the infrared data that collects is carried out the digitlization replacement of sequential value; Form array sequence one; Digital coding mode analysis module is analyzed array sequence one, calculates repeating data section and non-repeating data section, and the array sequence one that data compressing module will be removed the repeating data section replaces with array sequence two; Data memory module is used for the storage of array sequence two, and data restoring module is used to extract array sequence two its reduction is replaced with infrared data.
The present invention adopts information data is analyzed, encoded, and reduces the means of storage repeating data section, and effectively minimizing needs data quantity stored; It is known to have identification, and the ability of unknown infrared form can be discerned the novel coding mode; Again can be when saving memory space greatly; Data are carried out lossless compress, discern the difference of long button and short button, effectively reduce production costs.
Description of drawings
Fig. 1 is the job step block diagram that infrared data of the present invention is handled storage means.
Fig. 2 is the workflow block diagram of step B of the present invention.
Fig. 3 is the information stores workflow block diagram that infrared data of the present invention is handled storage means.
Fig. 4 is the information reverting workflow block diagram that infrared data of the present invention is handled storage means.
Fig. 5 is the operation principle block diagram of IR remote controller of the present invention.
Fig. 6 is the workflow block diagram that infrared data is handled storage device in the IR remote controller of the present invention.
Embodiment
In conjunction with above-mentioned description of drawings specific embodiment of the present invention.
Can find out by Fig. 1, Fig. 2, Fig. 3, Fig. 4, Fig. 5, Fig. 6,
A, by the raw data acquisition module with certain sampling precision, the high-low level of infrared information is all caught one by one, form an array sequence one; Tentation data is classified AB, CD, CE, CD, CE, CE, CD, CE, CD, CF, AG, CH, AG, CH, AG, CH, AG, CH as, forms array sequence one Array_A;
B, above-mentioned array sequence one Array_A is analyzed by the data sequence module; Be separated into the odd and even number row to Array_A; Again the odd and even number row are analyzed, extracted different value composition Array_B (very) in every row, Array_C (idol); Use Array_B (very) then, the relative position in Array_C (idol) array replaces the time value among the Array_A to produce a new data sequence Array_D;
Wherein,
Array_B (very) array is classified as: A, C
Therefore the relative position of A is 0, and C is 1
Array_C (idol) array is classified as: B, D, E, F, G, H
Therefore the relative position of B is 0, and D is 1, and E is 2, and F is 3, and G is 4, and H is 5
The Array_D array is classified as: 00,11,12,11,12,12,11,12,11,13,04,15,04,15,04,15,04,15
C, by digital coding mode analysis module the coded system of new data sequence is carried out recursive calculation, analysis meter is calculated non-repeating data section and repeating data section;
Array sequence A rray_D is carried out recursive calculation since second element:
When Array_D array sequence is:
00、11、12、11、12、12、11、12、11、13、04、15、04、15、04、15、04、15
Through top recursive algorithm, but analysis meter calculate data segment 00,11,12,11,12,12,11,12,11,13 and be non-repeating data section, 04,15 is the repeating data section;
D, data segment is carried out compression memory, only need keep once, remove repeating data repeating data by data compressing module;
Know which partly is a repeating data, which partly is non-repeating data, and data compressing module just can only keep once repeating data, removes repeating data with this, reduces memory space; Simultaneously; For the accuracy of restoring data, the data that sample are generally all minimum to take two bytes, after the serializing of second step to data; Each data only keeps once; Only needing increases repeating data or non-repeating data mark, and with regard to reducible data, this also significantly reduces taking memory space.The data of storage only are array sequence two: A, C, B, D, E, F, G, H, 00,11,12,11,12,12,11,12,11,13, K, 04,15, M at last,
E, by the storage of data memory module after externally in the EEPROM, so that use next time compression;
F, by data restoring module the storage data read from the external electric EPROM; A, C, B, D, E, F, G, H, 00,11,12,11,12,12,11,12,11,13, K, 04,15, M; Use initial data to replace sequential value one by one to data sequence 00,11,12,11,12,12,11,12,11,13,04,15; The result is AB, CD, CE, CD, CE, CE, CD, CE, CB, CF, AG, CH; Contrast finds it only is that the repeating data frame number is different with initial data; But we know the data of repeating frame, only need repeatedly increase repeating data just can guarantee with initial data identical, the lossless compress of completion data.
Above content is to combine concrete preferred implementation to the further explain that the present invention did, and can not assert that practical implementation of the present invention is confined to these explanations.For the those of ordinary skill of technical field under the present invention, under the prerequisite that does not break away from the present invention's design, can also make some simple deduction or replace, all should be regarded as belonging to protection scope of the present invention.

Claims (9)

1. an infrared data is handled storage means, and its special type is, comprises the steps:
A, collection infrared information data;
B, the infrared information data that collect are carried out sequential value digitlization replacement, form array sequence one;
C, array sequence one is analyzed, calculated repeating data section and non-repeating data section in the array sequence one;
D, remove the repeating data section in the array sequence one, generate array sequence two;
E, array sequence two is stored in the memory;
F, the array sequence two that will be stored in the memory extract;
G, array sequence two is reduced to array sequence one;
H, array sequence one sequential value numeral is replaced with the infrared information data.
2. infrared data according to claim 1 is handled storage means, and it is characterized in that: the collection of the data of infrared information described in the steps A is that the high-low level of infrared information is all caught.
3. infrared data according to claim 1 is handled storage means, it is characterized in that: the sequential value digitlization replacement described in the step B comprises that the following step gathers:
B1, the initial data that collects is separated into odd column and even column;
B2, the different value that extracts in said odd column and the even column are formed odd number group and even sets;
B3, replace its time value with the relative position in odd number group and the even sets, generate array sequence two, wherein, the relative position of odd number group row is 0, and different value is 1, and the relative position of even sets is 0, and different value is respectively 1,2,3,4,5 ...
4. infrared data according to claim 1 is handled storage means, and it is characterized in that: the analytical calculation described in the step C is that the coded system of array sequence one is carried out recursive calculation.
5. infrared data according to claim 1 is handled storage means, it is characterized in that: the frame number that comprises repeating data section that a quilt removes and the repeating data section of being removed in the array sequence two described in the step D.
6. infrared data according to claim 1 is handled storage means, and it is characterized in that: the memory described in the step e is the external electric EPROM.
7. infrared data according to claim 1 is handled storage means; It is characterized in that: the numeral replacement described in the step H is the sequential value numeral to array sequence one; Replace one by one with original infrared data,, repeat to increase data according to increasing number of times to the data that repeat.
8. each said infrared data is handled the IR remote controller of storage means in employing such as the claim 1 to 7; It is characterized in that; Comprise key operation device, infrared signal transmitting and receiving device, infrared data processing storage device; Wherein the infrared signal transmitting and receiving device is handled storage device with the infrared signal transmission that receives to infrared data, handles storage device by infrared data the information that receives is analyzed, compresses, stored; Perhaps change operational motion into command signal and be transferred to infrared data processing storage device by key operation device; Handle storage device by infrared data and carry out data extract, be reduced into raw information, the information after will being reduced by the infrared signal transmitting and receiving device is again launched.
9. IR remote controller according to claim 8; It is characterized in that; Described infrared data is handled storage device and is comprised raw data acquisition module, data sequence module, digital coding mode analysis module, data compressing module, data memory module and data restoring module, and wherein the raw data acquisition module is used for the collection of infrared data, and the data sequence module is used for the infrared data that collects is carried out the digitlization replacement of sequential value; Form array sequence one; Digital coding mode analysis module is analyzed array sequence one, calculates repeating data section and non-repeating data section, and the array sequence one that data compressing module will be removed the repeating data section replaces with array sequence two; Data memory module is used for the storage of array sequence two, and data restoring module is used to extract array sequence two its reduction is replaced with infrared data.
CN201210187574.5A 2012-06-08 2012-06-08 Infrared data processing storage method and infrared remote-control unit Active CN102790621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210187574.5A CN102790621B (en) 2012-06-08 2012-06-08 Infrared data processing storage method and infrared remote-control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210187574.5A CN102790621B (en) 2012-06-08 2012-06-08 Infrared data processing storage method and infrared remote-control unit

Publications (2)

Publication Number Publication Date
CN102790621A true CN102790621A (en) 2012-11-21
CN102790621B CN102790621B (en) 2015-06-24

Family

ID=47155933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210187574.5A Active CN102790621B (en) 2012-06-08 2012-06-08 Infrared data processing storage method and infrared remote-control unit

Country Status (1)

Country Link
CN (1) CN102790621B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103426292A (en) * 2013-09-03 2013-12-04 湖南工业大学 Infrared remote control, infrared code learning method and infrared code emission method
CN104240491A (en) * 2014-09-24 2014-12-24 恬家(上海)信息科技有限公司 Method for digitizing infrared signal
CN105258303A (en) * 2015-11-20 2016-01-20 珠海格力电器股份有限公司 Remote transmission control method and device for air conditioner unit operation data and air conditioner
CN105281777A (en) * 2014-07-04 2016-01-27 Tcl集团股份有限公司 Compression method of remote controller learning data, system and remote controller
CN105654707A (en) * 2016-01-22 2016-06-08 宁波三星医疗电气股份有限公司 Infrared code identification method
CN106971528A (en) * 2017-03-31 2017-07-21 上海智觅智能科技有限公司 A kind of algorithm for compressing infrared Air Conditioner Remote code storehouse
CN107331147A (en) * 2017-07-28 2017-11-07 杭州聪普智能科技有限公司 A kind of efficient infrared coding-decoding method of intelligent home control system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1801763A2 (en) * 2005-12-20 2007-06-27 SMK Corporation Method for communicating infrared remote control data and learning infrared remote control device
CN201754301U (en) * 2009-12-31 2011-03-02 深圳市创荣发电子有限公司 Universal remote controller
CN101989379A (en) * 2009-07-31 2011-03-23 宁波家天下智能系统有限公司 Learning method and transmitting method of infrared cod signal and remote controller
CN102129769A (en) * 2011-01-14 2011-07-20 利尔达科技有限公司 Universal remote control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1801763A2 (en) * 2005-12-20 2007-06-27 SMK Corporation Method for communicating infrared remote control data and learning infrared remote control device
CN101989379A (en) * 2009-07-31 2011-03-23 宁波家天下智能系统有限公司 Learning method and transmitting method of infrared cod signal and remote controller
CN201754301U (en) * 2009-12-31 2011-03-02 深圳市创荣发电子有限公司 Universal remote controller
CN102129769A (en) * 2011-01-14 2011-07-20 利尔达科技有限公司 Universal remote control method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103426292A (en) * 2013-09-03 2013-12-04 湖南工业大学 Infrared remote control, infrared code learning method and infrared code emission method
CN103426292B (en) * 2013-09-03 2015-11-11 湖南工业大学 A kind of Infrared remote controller and infrared coding learning method, launching technique
CN105281777A (en) * 2014-07-04 2016-01-27 Tcl集团股份有限公司 Compression method of remote controller learning data, system and remote controller
CN105281777B (en) * 2014-07-04 2018-09-18 Tcl集团股份有限公司 A kind of compression method, system and the remote controler of remote controler learning data
CN104240491A (en) * 2014-09-24 2014-12-24 恬家(上海)信息科技有限公司 Method for digitizing infrared signal
CN104240491B (en) * 2014-09-24 2017-10-13 恬家(上海)信息科技有限公司 The digitizing solution of infrared signal
CN105258303A (en) * 2015-11-20 2016-01-20 珠海格力电器股份有限公司 Remote transmission control method and device for air conditioner unit operation data and air conditioner
CN105258303B (en) * 2015-11-20 2018-01-16 珠海格力电器股份有限公司 Air-conditioner set service data remote transmission control method, device and air-conditioning
CN105654707A (en) * 2016-01-22 2016-06-08 宁波三星医疗电气股份有限公司 Infrared code identification method
CN106971528A (en) * 2017-03-31 2017-07-21 上海智觅智能科技有限公司 A kind of algorithm for compressing infrared Air Conditioner Remote code storehouse
CN107331147A (en) * 2017-07-28 2017-11-07 杭州聪普智能科技有限公司 A kind of efficient infrared coding-decoding method of intelligent home control system

Also Published As

Publication number Publication date
CN102790621B (en) 2015-06-24

Similar Documents

Publication Publication Date Title
CN102790621A (en) Infrared data processing storage method and infrared remote-control unit
RU2019127048A (en) CONTEXT INITIALIZATION IN ENTROPY CODING
CN103023511A (en) Applied compressed encoding method and device
WO2013067327A2 (en) Image compression using sub-resolution images
CN101354608A (en) Method and system for implementing video input
US9900025B2 (en) Efficient adaptive seismic data flow lossless compression and decompression method
CN102467817A (en) Gesture recognition-based remote circuit multiplexing device and method
CN110021369B (en) Gene sequencing data compression and decompression method, system and computer readable medium
CN103258030A (en) Mobile device memory compression method based on dictionary encoding and run-length encoding
CN103455265A (en) Controlled equipment, control method and control system thereof and mobile terminal
CN101383617A (en) Data compression/decompression apparatus and method
KR101950058B1 (en) Systems and methods for user event data reduction
CN102985917A (en) Generalized notion of similarities between uncertain time series
CN103152054A (en) Method and apparatus for arithmetic coding
CN105281777A (en) Compression method of remote controller learning data, system and remote controller
CN101751897A (en) Lookup table compression and decompression method and relevant device thereof
CN102238376B (en) Image processing system and method
CN110021368A (en) Comparison type gene sequencing data compression method, system and computer-readable medium
CN104217576A (en) Decoding/coding method of infrared pulse signal
CN110320394B (en) Decoding processing method and decoding processing device, the digital oscilloscope of Wave data
CN105719473A (en) Multifunctional remote control method and device based on single-chip microcomputer
JP2006259937A (en) Data collection device and data recovery device
CN102298782B (en) System and method for parameter estimation for lossless video compression
CN104240491A (en) Method for digitizing infrared signal
CN101324803A (en) Remote control method and device of personal computer medium player

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant