CN105281777A - Compression method of remote controller learning data, system and remote controller - Google Patents

Compression method of remote controller learning data, system and remote controller Download PDF

Info

Publication number
CN105281777A
CN105281777A CN201410315674.0A CN201410315674A CN105281777A CN 105281777 A CN105281777 A CN 105281777A CN 201410315674 A CN201410315674 A CN 201410315674A CN 105281777 A CN105281777 A CN 105281777A
Authority
CN
China
Prior art keywords
data
remote controller
data bit
button
bit
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
CN201410315674.0A
Other languages
Chinese (zh)
Other versions
CN105281777B (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201410315674.0A priority Critical patent/CN105281777B/en
Publication of CN105281777A publication Critical patent/CN105281777A/en
Application granted granted Critical
Publication of CN105281777B publication Critical patent/CN105281777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Selective Calling Equipment (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The present invention discloses a compression method of remote controller learning data, a system and a remote controller. The method comprises the step of (A) extracting a common data bit from remote controller learning data and constructing the remote control encoding template of the remote controller through the data and position of the common data bit, (B) taking the data other than the common data bit as non common data bit, extracting the data and position of the non common data bit of each key to be key encoding data, storing the key encoding data and deleting original data at the same time, (C) when equipment needs to be controlled by the key of the remote controller, the remote control encoding template of the remote controller and the key encoding data of the key are extracted and combined, and constructing the complete infrared encoding data of the key of the remote controller. Through the compression method of the invention, the compression ratio and compression efficiency are improved greatly, the cost of storage hardware is saved, and the efficiency of data transmission is improved.

Description

A kind of compression method of remote controller learning data, system and remote controller
Technical field
The present invention relates to remote controller equipment field, particularly relate to a kind of compression method of remote controller learning data, system and remote controller.
Background technology
The centralized management of household electrical appliance, the particularly centralized management of home entertaining audio-visual equipment are the core places of digital family system.At present, most home entertaining audio-visual equipment all adopts Infrared remote controller to control, and wants the centralized management realizing these equipment, just must learn the remote controller of these equipment.
But, numerous remote controller is learnt, a large amount of remote controller learning datas will certainly be produced, if these learning datas are not compressed, inevitably cause following problem: on the one hand, if in the Flash that these learning datas are stored in embedded device or other memory devices, the remote-controller data that enough large memory space just must be provided to learn to arrive to store these, which adds the hardware cost of product; On the other hand, the remote controller learning data do not compressed can increase the transmission time in the processes such as Internet Transmission, affects Consumer's Experience.
At present, the method compressed remote controller learning data mainly contains two kinds: one is based on RLE(run length encoding) compression algorithm; Another is the compression algorithm based on dictionary.The common feature of these two kinds of methods is all continue to use the compression algorithm of existing comparative maturity, the object of compression can be reached to a certain extent, but these two kinds of methods have the following disadvantages: 1, not according to the exclusive characteristic Design compression method of remote controller codes data, cause compression ratio and compression efficiency not high; 2, the process of compression method realization is more loaded down with trivial details, it is relatively long to cause needing sending the time of resolution data when infrared data carries out equipment remote-control, affect Consumer's Experience, when there are some special infrared coding forms, these compression methods can not realize the object of compression coding completely, and even causing compressing rear data can not the correct problem such as decompress(ion) reduction.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of compression method of remote controller learning data, system and remote controller, the problem such as be intended to solve existing remote controller learning data compression method compression ratio and compression efficiency is low, the parsing time is long.
Technical scheme of the present invention is as follows:
A compression method for remote controller learning data, wherein, comprises step:
A, from remote controller learning data, extract public data position, built the remote control coding template of remote controller by the data of public data position and position;
B, using the data bit outside public data position as unshared data bit, the data of the unshared data bit of each button and position are extracted as keyboard-coding data, and store, delete initial data simultaneously;
C, when needing the button control appliance by remote controller, the keyboard-coding data of the remote control coding template of this remote controller and this button being extracted and merges, constructing the complete infrared coded data of this button of this remote controller.
The compression method of described remote controller learning data, wherein, described steps A specifically comprises:
A1, all data of the same data bit of each button of remote controller to be compared;
A2, judge that whether all data of same data bit are all in the same size in error allowed band, if then using this data bit as public data position, and using the numerical value of the mean value of all data of this data bit as this public data position, if not then using this data bit as unshared data bit, the numerical value with the unshared data bit of tense marker is zero;
A3, the numerical value of each data bit to be recorded in remote control coding template successively.
The compression method of described remote controller learning data, wherein, described step B specifically comprises:
In B1, record remote control coding template, numeric indicia is the position of the unshared data bit of zero;
Data in unshared for each button data bit are extracted successively by B2, position according to unshared data bit from remote controller learning data, build keyboard-coding data.
The compression method of described remote controller learning data, wherein, described step C specifically comprises:
Whether the numerical value judging each data bit in remote control coding template is successively zero, the numerical value of corresponding data position in remote control coding template is extracted when no, extract the data of this button in keyboard-coding data on corresponding data position when being, and the data extracted are merged.
A compressibility for remote controller learning data, wherein, comprising:
Remote control coding template builds module, for extracting public data position from remote controller learning data, by the data of public data position and the remote control coding template of position structure remote controller;
Keyboard-coding data construct module, for using the data bit outside public data position as unshared data bit, the data of the unshared data bit of each button and position are extracted as keyboard-coding data, and store, delete initial data simultaneously;
Decompress(ion) recovery module, for when needing the button control appliance by remote controller, extracting the keyboard-coding data of the remote control coding template of this remote controller and this button and merging, constructing the complete infrared coded data of this button of this remote controller.
The compressibility of described remote controller learning data, wherein, described remote control coding template builds module and specifically comprises:
Comparing unit, all data for the same data bit to each button of remote controller compare;
Indexing unit, whether all in the same size in error allowed band for judging all data of same data bit, if then using this data bit as public data position, and using the numerical value of the mean value of all data of this data bit as this public data position, if not then using this data bit as unshared data bit, the numerical value with the unshared data bit of tense marker is zero;
Records of values unit, for being recorded in the numerical value of each data bit successively in remote control coding template.
The compressibility of described remote controller learning data, wherein, described keyboard-coding data construct module specifically comprises:
Position record cell, for recording the position that numeric indicia in remote control coding template is the unshared data bit of zero;
Data in unshared for each button data bit, for the position according to unshared data bit, are extracted successively by data extracting unit from remote controller learning data, build keyboard-coding data.
The compressibility of described remote controller learning data, wherein, described decompress(ion) recovery module specifically comprises:
Extract merge cells, for judging whether the numerical value of each data bit in remote control coding template is zero successively, the numerical value of corresponding data position in remote control coding template is extracted when no, extract the data of this button in keyboard-coding data on corresponding data position when being, and the data extracted are merged.
A kind of remote controller, wherein, comprises the compressibility of remote controller learning data as above.
Beneficial effect: the feature of combined with remote-control device learning data of the present invention, first the data of public data position constant for each button and position are extracted and build remote control coding template, again the data of other unshared data bit and position are extracted and build keyboard-coding data, like this when decompress(ion) reduces, only the two need be carried out merging treatment, the complete infrared coded data of each button of the type remote controller can be constructed, by compression method of the present invention, only need store a remote control coding template and the relevant data of each button, and a large amount of repeated data need not be stored, thus substantially increase compression ratio and compression efficiency, save the cost of storage hardware, and improve data transmission efficiency.
Accompanying drawing explanation
Fig. 1 is the flow chart of the compression method preferred embodiment of a kind of remote controller learning data of the present invention.
Fig. 2 is the flow chart of the specific embodiment of remote control coding template building process in Fig. 1.
Fig. 3 be in Fig. 1 in remote controller learning data specific embodiment with the change schematic diagram that data bit is different.
Fig. 4 is the flow chart of the Application Example of remote control coding template building process in Fig. 1.
Fig. 5 is the flow chart of the specific embodiment of keyboard-coding data construct process in Fig. 1.
Fig. 6 is the flow chart of the Application Example of keyboard-coding data construct process in Fig. 1.
Fig. 7 is the flow chart of the Application Example of decompress(ion) reduction process in Fig. 1.
Fig. 8 is the structured flowchart of the compressibility preferred embodiment of a kind of remote controller learning data of the present invention.
Fig. 9 is the concrete structure block diagram that in system shown in Figure 8, remote control coding template builds module preferred embodiment.
Figure 10 is the concrete structure block diagram of keyboard-coding data construct module preferred embodiment in system shown in Figure 8.
Embodiment
The invention provides a kind of compression method of remote controller learning data, system and remote controller, for making object of the present invention, technical scheme and effect clearly, clearly, the present invention is described in more detail below.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the flow chart of the compression method preferred embodiment of a kind of remote controller learning data of the present invention, and as shown in the figure, it comprises step:
S101, from remote controller learning data, extract public data position, by the data of public data position and the remote control coding template of position structure remote controller, public data position described here refers to the data bit that in each button learning data, numerical values recited is consistent in error range;
S102, using the data bit outside public data position as unshared data bit, the data of the unshared data bit of each button and position are extracted as keyboard-coding data, and store, delete initial data simultaneously;
S103, when needing the button control appliance by remote controller, the keyboard-coding data of this this button of remote controller to be extracted, and merge with described remote control coding template, construct the complete infrared coded data of this button of this remote controller.
The principle that realizes of the present embodiment is: all types of remote controller codes is all not quite similar, but be no matter the remote controller of which kind of type, its remote control coding data major part is all identical, only have some just distinct for the data bit distinguishing assortment of keys, that is, the coding of all each buttons of remote controller can be divided into two parts: a part is the public data position that each button is constant, and these data bit form the remote control coding template of the type remote controller; Another part is the private data position relevant to each button and unshared data bit, and these data bit form the coded data of each button.
Citing is described, the initial data (remote controller learning data) that Fig. 2 collects for 3 different keys in TCL television series one remote controller, abscissa representative data position, ordinate represents the data in this data bit, marking the data bit (12,14,16,20,22,24,36,38,40,44,46 and 48) that vertical line represents on this position in figure is unshared data bit, no the data bit of mark is not public data position, data in unshared data bit are not quite similar, and the data on public data position then size are in the same size in error allowed band.And the present invention has this coding characteristic based on coded telecommand device just and design proposition.
According to the feature of remote controller codes data, public data position extracts and forms remote control coding template with placeholder by the present embodiment, then by with the relevant unshared data bit extraction of each button out, forms keyboard-coding data.When needing the control command of the button sending this remote controller, according to remote control coding template, public data position and keyboard-coding data are merged the data that just can be reduced to original each button stored.Like this for the remote controller of each type, only need store the data bits certificate that the coding templet of a remote controller is relevant with each button, and do not need a large amount of memory spaces to store the data of repeatability, thus improve data compression rate and improve compression efficiency.
As the preferred embodiment of the present invention, as shown in Figure 3, described step S101 specifically comprises:
S201, all data of the same data bit of each button of remote controller to be compared;
Such as certain type remote controller learning data is:
Button 1:irKey1 [N]={ k 11, k 12..., k 1N;
Button 2:irKey2 [N]={ k 21, k 22..., k 2N;
Button M:irKeyM [N]={ k m1, k m2..., k mN;
Wherein, M is the button sequence number of certain type remote controller; N is the data length of each keyboard-coding data.
Then the data in the same data bit of each button are contrasted, such as, data k in the first data bit of button 1 11, the data k in the first data bit of button 2 21..., the data k in first data bit of button M m1.
S202, judge that whether all data of same data bit are all in the same size in error allowed band, if then using this data bit as public data position, and using the numerical value of the mean value of all data of this data bit as this public data position, if not then using this data bit as unshared data bit, the numerical value with the unshared data bit of tense marker is zero;
S203, the numerical value of each data bit to be recorded in remote control coding template successively.
Again successively by the records of values of each data bit in remote control coding template.In the array of this remote control coding template, have N number of numerical value, the numerical value of public data position is wherein the mean value of all data in the same data bit of all buttons, and the numerical value of unshared data bit is 0.
There is provided an Application Example so that the building process of remote control coding template to be described below.
For above-mentioned remote controller learning data:
Button 1:irKey1 [N]={ k 11, k 12..., k 1N;
Button 2:irKey2 [N]={ k 21, k 22..., k 2N;
Button M:irKeyM [N]={ k m1, k m2..., k mN;
Wherein, M is the button sequence number of certain type remote controller; N is the data length of each keyboard-coding data.
Current key value: keyValue=0;
The mean value of the data of each button in same data bit: =0;
Button cyclic variable: m;
Data bit cyclic variable: n=1;
Remote control coding template array: keyCodeT [N]={ kt 1, kt 2..., kt n.
As shown in Figure 4, the building process Application Example of remote control coding template specifically comprises step:
S301, beginning;
S302, judge whether n is greater than N; When no, entering step S303, proceeding to step S311 when being;
S303、m=2,keyValue=k 1n=k 1n
S304, judge whether m is greater than M; When no, entering step S305, proceeding to step S308 when being;
S305, judgement whether be less than T; When being, enter step S306, otherwise proceed to step S309; Namely the mean value of all data in the n-th data bit of all buttons before m button and the data k in the n-th data bit of m button is judged herein mndifference, whether be less than Evaluation threshold T, if then think in error range in the same size, otherwise think and exceed error range.
S306、keyValue=keyValue+k mn
S307, m=m+1, and return step S304;
S308, keyCodeT [n]= , and enter step S310;
S309, keyCodeT [n]=0, and enter step S310;
S310, n=n+1, and return step S302;
S311, end.
Wherein this mean value if a certain data bit is public data position, the mean value that so this data bit is final be exactly the numerical value that this public data position stores, and before this certain data bit, the mean value of button is also to provide the data judging next button standard whether of the same size.
Such as, suppose there are 3 buttons, the present embodiment is only 4 data bit exemplified wherein for convenience of description, it is evident that, in actual conditions learning data, number of data bits and numerical value may be all different, so this citing does not do any restriction to the present invention.Suppose that concrete data are as follows:
Button 1 [4]={ 10,50,10,80};
Button 2 [4]={ 9,51,8,78};
Button 3 [4]={ 11,49,2,100};
2nd button is judged:
keyValue=k 11=10;
=k 11=10;
| -k 21| <5 (T, Evaluation threshold);
So keyValue=keyValue+k 21=19;
=keyValue/2=9.5;
3rd button is judged:
| -k 31| <5 (Evaluation threshold);
So keyValue=keyValue+k 31=30;
=keyValue/3=10, so, finally =10, and this data bit is public data position.
By above-described embodiment, the array of the remote control coding template finally obtained:
KeyCodeT [N]={ kt 1, kt 2..., kt nthe remote control coding template of the type remote controller for finally building.In the above-described embodiments, T is Evaluation threshold, be used for judging the current average of current data position and the data of certain button in this data bit whether in the same size in error allowed band, the large I of T value is determined according to actual conditions.In this remote control coding template, have recorded N number of numerical value successively, for public data position, its numerical value is the mean value of all data of each button on this public data position, for unshared data bit, be then zero by numeric indicia, to use in subsequent extracted keyboard-coding data.
As the preferred embodiment of the present invention, as shown in Figure 5, described step S102 specifically comprises:
In S401, record remote control coding template, numeric indicia is the position of the unshared data bit of zero;
Whether first exactly is herein zero according to numerical value each in remote control coding template, which belongs to public data position to judge each data bit, which belongs to unshared data bit, for unshared data bit, then need successively the data of each button in same data bit to be extracted from remote controller learning data.
Data in unshared for each button data bit are extracted successively by S402, position according to unshared data bit from remote controller learning data, build keyboard-coding data.
The data extracted from unshared data bit are the private data relevant to each button, these data can be complete extract, thus construct the data relevant to each keyboard-coding, then remote controller learning data can be deleted, because just remote controller learning data can be restored from remote control coding template and keyboard-coding data, so original remote controller learning data can be deleted, because eliminate a large amount of repeated data, namely the data on public data position, so the present invention substantially increases compression ratio and compression efficiency.
The structure of a specific embodiment to keyboard-coding data is provided to be described below.
Button cyclic variable: m=1;
Data bit cyclic variable: n=1;
Keyboard-coding array of data cyclic variable: s=1;
Remote control coding template array: keyCodeT [N]={ kt 1, kt 2..., kt n;
Keyboard-coding array of data: keyCodeP [M] [S]; Wherein, M is key number, and S is the number of unshared data bit, and the unshared data of such as button 1 are keyCodeP [1] [S], and the unshared data of button 2 are keyCodeP [2] [S] ..., the like.And s is a variable of the unshared data bit of statistics.
As shown in Figure 6, it specifically comprises step:
S501, beginning;
S502, judge whether n is greater than N; When no, entering step S503, proceeding to step S510 when being;
S503, judge whether keyCodeT [n] equals zero; When being, enter step S504, otherwise proceed to step S509;
S504、m=1;
S505, judge whether m is greater than M; When no, entering step S506, proceeding to step S508 when being;
S506、keyCodeP[m][s]=k mn
S507, m=m+1, then return step S505;
S508、s=s+1;
S509, n=n+1, then return step S502;
S510, end.
Each keyCodeP [m] [s] that wherein obtain forms last array keyCodeP [M] [S], is the keyboard-coding data of all extractions.
As the preferred embodiment of the present invention, described step S103 specifically comprises:
Whether the numerical value judging each data bit in remote control coding template is successively zero, the numerical value of corresponding data position in remote control coding template is extracted when no, extract the data of this button in keyboard-coding data on corresponding data position when being, and the data extracted are merged.
Whether the present embodiment is the numerical value first judging each data bit in remote control coding template is zero, if zero, then illustrates that corresponding data position is unshared data bit, if not zero, then illustrates that corresponding data position is public data position.For data bit of different nature, carry out different process.For public data position, then need the numerical value (each button is identical) extracted from remote control coding template on this public data position, for unshared data bit, then need to go out the data of this button on this data bit from keyboard-coding extracting data, constitute the complete infrared coded data of this button, realize sending key commands to the control of smart machine.
A specific embodiment is provided to be specifically described the process that decompress(ion) reduces below.
Send the sequence number of key commands: m;
Data bit cyclic variable: n=1;
Keyboard-coding array of data cyclic variable: s=1;
Remote control coding template array: keyCodeT [n];
Keyboard-coding array of data: keyCodeP [M] [S];
Remote control coding array of data: keyCode [N]=keyCodeT [N];
As shown in Figure 7, it specifically comprises step:
S601, beginning;
S602, judge whether n is greater than N; When no, then entering step S603, then proceeding to step S607 when being;
S603, judge whether keyCodeT [n] equals zero; When being, then entering step S604, when no, proceed to step S606;
S604, keyCode [n]=keyCodeP [m] [s]; For the situation of keyCodeT [n]=0, illustrate that this data bit is unshared data bit, so need the data getting corresponding data position from keyboard-coding array of data, and be recorded in remote control coding data.KeyCodeT [n] is not equal to the situation of 0, then can according to the mode of keyCode [N]=keyCodeT [N], by the records of values in remote control coding template in remote control coding data, cycling so successively, obtain the data of each data bit thus form remote control coding data, namely complete infrared coded data.
S605、s=s+1;
S606, n=n+1, then return step S602;
S607, end.
The array keyCode [N] that each keyCode [n] wherein obtained forms, be reduce the complete infrared coded data of this button obtained.
Based on said method, the present invention also provides a kind of compressibility preferred embodiment of remote controller learning data, and as shown in Figure 8, it comprises:
Remote control coding template builds module 100, for extracting public data position from remote controller learning data, by the data of public data position and the remote control coding template of position structure remote controller;
Keyboard-coding data construct module 200, for using the data bit outside public data position as unshared data bit, the data of the unshared data bit of each button and position are extracted as keyboard-coding data, and store, delete initial data simultaneously;
Decompress(ion) recovery module 300, for when needing the button control appliance by remote controller, extracting the keyboard-coding data of the remote control coding template of this remote controller and this button and merging, constructing the complete infrared coded data of this button of this remote controller.
Further, as shown in Figure 9, described remote control coding template structure module 100 specifically comprises:
Comparing unit 110, all data for the same data bit to each button of remote controller compare;
Indexing unit 120, whether all in the same size in error allowed band for judging all data of same data bit, if then using this data bit as public data position, and using the numerical value of the mean value of all data of this data bit as this public data position, if not then using this data bit as unshared data bit, the numerical value with the unshared data bit of tense marker is zero;
Records of values unit 130, for being recorded in the numerical value of each data bit successively in remote control coding template.
Further, as shown in Figure 10, described keyboard-coding data construct module 200 specifically comprises:
Position record cell 210, for recording the position that numeric indicia in remote control coding template is the unshared data bit of zero;
Data in unshared for each button data bit, for the position according to unshared data bit, are extracted successively by data extracting unit 220 from remote controller learning data, build keyboard-coding data.
Further, described decompress(ion) recovery module 300 specifically comprises:
Extract merge cells, for judging whether the numerical value of each data bit in remote control coding template is zero successively, the numerical value of corresponding data position in remote control coding template is extracted when no, extract the data of this button in keyboard-coding data on corresponding data position when being, and the data extracted are merged.
Based on said system, the present invention also provides a kind of remote controller, it is characterized in that, comprises the compressibility of remote controller learning data as above.
In sum, the feature of combined with remote-control device learning data of the present invention, first the data of public data position constant for each button and position are extracted and build remote control coding template, again the data of other unshared data bit and position are extracted and build keyboard-coding data, like this when decompress(ion) reduces, only the two need be carried out merging treatment, the complete infrared coded data of each button of the type remote controller can be constructed, by compression method of the present invention, only need store a remote control coding template and the relevant data of each button, and a large amount of repeated data need not be stored, thus substantially increase compression ratio and compression efficiency, save the cost of storage hardware, and improve data transmission efficiency.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.

Claims (9)

1. a compression method for remote controller learning data, is characterized in that, comprises step:
A, from remote controller learning data, extract public data position, built the remote control coding template of remote controller by the data of public data position and position;
B, using the data bit outside public data position as unshared data bit, the data of the unshared data bit of each button and position are extracted as keyboard-coding data, and store, delete initial data simultaneously;
C, when needing the button control appliance by remote controller, the keyboard-coding data of the remote control coding template of this remote controller and this button being extracted and merges, constructing the complete infrared coded data of this button of this remote controller.
2. the compression method of remote controller learning data according to claim 1, is characterized in that, described steps A specifically comprises:
A1, all data of the same data bit of each button of remote controller to be compared;
A2, judge that whether all data of same data bit are all in the same size in error allowed band, if then using this data bit as public data position, and using the numerical value of the mean value of all data of this data bit as this public data position, if not then using this data bit as unshared data bit, the numerical value with the unshared data bit of tense marker is zero;
A3, the numerical value of each data bit to be recorded in remote control coding template successively.
3. the compression method of remote controller learning data according to claim 2, is characterized in that, described step B specifically comprises:
In B1, record remote control coding template, numeric indicia is the position of the unshared data bit of zero;
Data in unshared for each button data bit are extracted successively by B2, position according to unshared data bit from remote controller learning data, build keyboard-coding data.
4. the compression method of remote controller learning data according to claim 3, is characterized in that, described step C specifically comprises:
Whether the numerical value judging each data bit in remote control coding template is successively zero, the numerical value of corresponding data position in remote control coding template is extracted when no, extract the data of this button in keyboard-coding data on corresponding data position when being, and the data extracted are merged.
5. a compressibility for remote controller learning data, is characterized in that, comprising:
Remote control coding template builds module, for extracting public data position from remote controller learning data, by the data of public data position and the remote control coding template of position structure remote controller;
Keyboard-coding data construct module, for using the data bit outside public data position as unshared data bit, the data of the unshared data bit of each button and position are extracted as keyboard-coding data, and store, delete initial data simultaneously;
Decompress(ion) recovery module, for when needing the button control appliance by remote controller, extracting the keyboard-coding data of the remote control coding template of this remote controller and this button and merging, constructing the complete infrared coded data of this button of this remote controller.
6. the compressibility of remote controller learning data according to claim 5, is characterized in that, described remote control coding template builds module and specifically comprises:
Comparing unit, all data for the same data bit to each button of remote controller compare;
Indexing unit, whether all in the same size in error allowed band for judging all data of same data bit, if then using this data bit as public data position, and using the numerical value of the mean value of all data of this data bit as this public data position, if not then using this data bit as unshared data bit, the numerical value with the unshared data bit of tense marker is zero;
Records of values unit, for being recorded in the numerical value of each data bit successively in remote control coding template.
7. the compressibility of remote controller learning data according to claim 6, is characterized in that, described keyboard-coding data construct module specifically comprises:
Position record cell, for recording the position that numeric indicia in remote control coding template is the unshared data bit of zero;
Data in unshared for each button data bit, for the position according to unshared data bit, are extracted successively by data extracting unit from remote controller learning data, build keyboard-coding data.
8. the compressibility of remote controller learning data according to claim 7, is characterized in that, described decompress(ion) recovery module specifically comprises:
Extract merge cells, for judging whether the numerical value of each data bit in remote control coding template is zero successively, the numerical value of corresponding data position in remote control coding template is extracted when no, extract the data of this button in keyboard-coding data on corresponding data position when being, and the data extracted are merged.
9. a remote controller, is characterized in that, comprises as right wants the compressibility of the remote controller learning data as described in 5-8 any one.
CN201410315674.0A 2014-07-04 2014-07-04 A kind of compression method, system and the remote controler of remote controler learning data Active CN105281777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410315674.0A CN105281777B (en) 2014-07-04 2014-07-04 A kind of compression method, system and the remote controler of remote controler learning data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410315674.0A CN105281777B (en) 2014-07-04 2014-07-04 A kind of compression method, system and the remote controler of remote controler learning data

Publications (2)

Publication Number Publication Date
CN105281777A true CN105281777A (en) 2016-01-27
CN105281777B CN105281777B (en) 2018-09-18

Family

ID=55150202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410315674.0A Active CN105281777B (en) 2014-07-04 2014-07-04 A kind of compression method, system and the remote controler of remote controler learning data

Country Status (1)

Country Link
CN (1) CN105281777B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105869383A (en) * 2016-04-13 2016-08-17 北京精益理想科技有限公司 Infrared data processing method, infrared instruction calling method and infrared instruction calling system
CN107730868A (en) * 2017-09-11 2018-02-23 深圳市劳沃智能科技有限公司 The compression and storage method and device of infrared learning coded data
CN107945477A (en) * 2017-11-10 2018-04-20 深圳睿舍智能科技有限公司 The method and device that infrared or wireless remote control signals data are compressed
CN108022592A (en) * 2018-01-17 2018-05-11 深圳市沃特沃德股份有限公司 Voice remote control method and device
CN110427133A (en) * 2019-07-31 2019-11-08 中国工商银行股份有限公司 Data processing method and data processing equipment
CN111817725A (en) * 2020-08-21 2020-10-23 济南赛英立德电子信息股份有限公司 High-efficiency compression algorithm for infrared remote control code library of universal air conditioner

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010008546A1 (en) * 2000-01-19 2001-07-19 Kiyoshi Fukui Data compressing apparatus
US20040008650A1 (en) * 2002-07-12 2004-01-15 Khiem Le Wireless communications system having built-in packet data compression and support for enabling non-standard features between network elements
CN101452643A (en) * 2007-11-30 2009-06-10 无锡华润矽科微电子有限公司 Learning type infrared remote-controller
CN102790621A (en) * 2012-06-08 2012-11-21 深圳市创荣发电子有限公司 Infrared data processing storage method and infrared remote-control unit
CN102881286A (en) * 2012-09-12 2013-01-16 康佳集团股份有限公司 Intelligent remote control system and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010008546A1 (en) * 2000-01-19 2001-07-19 Kiyoshi Fukui Data compressing apparatus
US20040008650A1 (en) * 2002-07-12 2004-01-15 Khiem Le Wireless communications system having built-in packet data compression and support for enabling non-standard features between network elements
CN101452643A (en) * 2007-11-30 2009-06-10 无锡华润矽科微电子有限公司 Learning type infrared remote-controller
CN102790621A (en) * 2012-06-08 2012-11-21 深圳市创荣发电子有限公司 Infrared data processing storage method and infrared remote-control unit
CN102881286A (en) * 2012-09-12 2013-01-16 康佳集团股份有限公司 Intelligent remote control system and control method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105869383A (en) * 2016-04-13 2016-08-17 北京精益理想科技有限公司 Infrared data processing method, infrared instruction calling method and infrared instruction calling system
CN107730868A (en) * 2017-09-11 2018-02-23 深圳市劳沃智能科技有限公司 The compression and storage method and device of infrared learning coded data
CN107945477A (en) * 2017-11-10 2018-04-20 深圳睿舍智能科技有限公司 The method and device that infrared or wireless remote control signals data are compressed
CN108022592A (en) * 2018-01-17 2018-05-11 深圳市沃特沃德股份有限公司 Voice remote control method and device
CN110427133A (en) * 2019-07-31 2019-11-08 中国工商银行股份有限公司 Data processing method and data processing equipment
CN111817725A (en) * 2020-08-21 2020-10-23 济南赛英立德电子信息股份有限公司 High-efficiency compression algorithm for infrared remote control code library of universal air conditioner
CN111817725B (en) * 2020-08-21 2024-10-11 济南赛英立德电子信息股份有限公司 Efficient compression algorithm for air conditioner infrared remote control code library

Also Published As

Publication number Publication date
CN105281777B (en) 2018-09-18

Similar Documents

Publication Publication Date Title
CN105281777A (en) Compression method of remote controller learning data, system and remote controller
JP2011521536A5 (en)
CN102122960B (en) Multi-character combination lossless data compression method for binary data
US20140040214A1 (en) Entropy Coding and Decoding Using Polar Codes
CN103236847A (en) Multilayer Hash structure and run coding-based lossless compression method for data
CN101667843B (en) Methods and devices for compressing and uncompressing data of embedded system
CN104125475B (en) Multi-dimensional quantum data compressing and uncompressing method and apparatus
CN107610445B (en) Infrared self-learning data coding method and circuit thereof
TW200917671A (en) Data compression/decompression apparatus and method
CN103841424B (en) The system and method for compressed data in random access memory
WO2019076177A1 (en) Gene sequencing data compression preprocessing, compression and decompression method, system, and computer-readable medium
CN103702133A (en) Image compression display method and image compression display device
WO2023202149A1 (en) State selection method and system for finite state entropy encoding, and storage medium and device
CN111193254B (en) Residential daily electricity load prediction method and device
CN109495211A (en) A kind of channel coding and coding/decoding method
KR101467684B1 (en) Binary data compression and decompression apparatus and method thereof
JP5913748B2 (en) Secure and lossless data compression
CN105719473B (en) A kind of SCM Based multifunction remote-control method and remote control device
CN104052749B (en) A kind of method of link layer protocol data type identification
CN102238376B (en) Image processing system and method
CN103428502B (en) Decoding method and decoding system
Qin et al. Reversible data embedding for vector quantization compressed images using search‐order coding and index parity matching
CN104682966A (en) Non-destructive compressing method for list data
CN104301726A (en) Method for image lossless compression and uncompress
US20130222159A1 (en) Entropy method of binary-ternary lossless data coding

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