CN100518239C - Remote control decoding and fault tolerance method - Google Patents

Remote control decoding and fault tolerance method Download PDF

Info

Publication number
CN100518239C
CN100518239C CNB2006100705012A CN200610070501A CN100518239C CN 100518239 C CN100518239 C CN 100518239C CN B2006100705012 A CNB2006100705012 A CN B2006100705012A CN 200610070501 A CN200610070501 A CN 200610070501A CN 100518239 C CN100518239 C CN 100518239C
Authority
CN
China
Prior art keywords
value
remote control
key
control decoding
tolerance
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.)
Active
Application number
CNB2006100705012A
Other languages
Chinese (zh)
Other versions
CN101193194A (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CNB2006100705012A priority Critical patent/CN100518239C/en
Publication of CN101193194A publication Critical patent/CN101193194A/en
Application granted granted Critical
Publication of CN100518239C publication Critical patent/CN100518239C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a remote control decoding fault-tolerance method. When the received remote control key-pressing code is a repeated key-pressing code, a tolerance value is given. When the code error rate of the remote control decoding is lower than the tolerance value, the key-pressing value with code error is set as the key-pressing value corresponding to the last key-pressing. When the code error rate of the remote control decoding is higher than the tolerance value, the key-pressing value with code error is set as the key-pressing value corresponding to no operation of key-pressing. Thus false action of the TV set can be prevented. In the invention, the fault-tolerance design is added to the remote control decoding software, namely, certain tolerance for code error is provided. When the code error rate is lower than the tolerance value, the key-pressing is considered as repeated; when the code error rate is higher than the tolerance value, no key-pressing is believed to occur until the key is released. The tolerance value is determined according to the light or electromagnetic wave disturbance degree in the environment, thus the remote control reliability of the TV set is effectively improved and false action of the TV set is prevented, which is good for promoting the whole quality of the TV set.

Description

Remote control decoding and fault tolerance method
Technical field
The invention belongs to the remote control decoding technical field, specifically, relate to a kind of for to prevent that the fault-tolerance approach that error code is taked from appearring in remote control decoding.
Background technology
At present, for the remote controller that adopts the NEC coding, the characteristic that is had according to NEC remote control mode itself: when continuous button, only send duplication code, in this case, be easy to make receiving terminal to produce error code as external interference such as light, electromagnetic waves, cause decoding error.If do not add the misoperation that processing can cause television set, thereby influence user's normal use, reduced the complete machine quality of tv product.
Summary of the invention
The problem that the present invention causes the television set misoperation in order to solve external interference in the prior art and to make remote control decoding produce error code, a kind of novel remote control decoding and fault tolerance method is provided, by in the TV remote-control decoding software, adding fault-tolerant design, thereby improved the reliability of TV remote-control operation.
For solving the problems of the technologies described above, the present invention is achieved by the following technical solutions:
A kind of remote control decoding and fault tolerance method, in NEC remote keying sign indicating number, when the code value after the first stature sign indicating number and the second stature sign indicating number is the head sign indicating number, the remote keying sign indicating number that expression receives is the key set code after switching, then read follow-up data and be converted to corresponding key assignments, compose and give the key assignments variable, when having decoding error, the remote keying key assignments after switching is changed to the pairing button value of no button operation;
When the code value after the first stature sign indicating number and the second stature sign indicating number is duplication code, keep the value of key assignments variable constant, and to put the repeat key flag bit be 1, counter O reset makes mistakes, and provide a tolerance value, when remote control decoding makes a mistake and the error rate when being no more than described tolerance value, the button value that error code takes place is changed to the pairing button value of its button last time; And when the error rate of remote control decoding surpasses described tolerance value, the button value that error code takes place is changed to the pairing button value of no button operation; Wherein, the described error rate is the number of times that mistake appears in remote control decoding continuously.
Further, described tolerance value need specifically be determined according to light in the environment or electromagnetic annoyance level.
In the present invention, described tolerance value is preferably 30.
When triggering continuous button, remote control decoding is carried out fault-tolerant design, when mistake appears in remote control decoding in order to be implemented in, judge at first whether the repeat key flag bit is 1, if 1, and under the situation of count value of makeing mistakes, keep the value of described key assignments variable constant less than described tolerance value.
Compared with prior art, advantage of the present invention and good effect are: the present invention promptly provides certain tolerance limit by add fault-tolerant design in the TV remote-control decoding software when producing error code.When the error rate is no more than this tolerance value, then think to be still repeat key; If exceed tolerance value, then thinking does not have button to press, up to unclamping button.Tolerance value specifically determines according to light in the environment or electromagnetic annoyance level, thereby effectively improved the reliability of TV remote-control operation, avoided the generation of television set misoperation, helps to promote tv product complete machine quality.This fault-tolerant design method also provides new thinking for the designer when solving the remote control interference problem.
Description of drawings
Fig. 1 is the software flow block diagram of remote control decoding and fault tolerance method among the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is done explanation in further detail.
The mentality of designing of remote control decoding and fault tolerance method proposed by the invention is: the remote keying sign indicating number that receives at television set CPU is when repeating key set code, provide a tolerance value, when the error rate of remote control decoding is no more than described tolerance value, the button value that error code takes place is changed to the pairing button value of its button last time, produces the problem that error code causes the frequent misoperation of television set to solve owing to external interference makes remote control decoding; When the error rate of remote control decoding surpasses described tolerance value, the button value that error code takes place is changed to the pairing button value of no button operation, misoperation appears to avoid television set.The described error rate is the number of times that mistake appears in remote control decoding continuously.And be the key set code after switching at the remote keying sign indicating number that receives, promptly trigger the pairing key set code of new button, and when having decoding error, the remote keying key assignments after switching is changed to the pairing button value of no button operation, television set does not respond button operation, to prevent misoperation.
In order to realize above-mentioned mentality of designing, increased by two variablees in the remote control decoding program: one is the repeat key flag bit, and whether be used to write down current button is repeat key; Another is the count value variable of makeing mistakes, and is used to write down the number of times that error code occurs.According to the change of these two variate-values, determine the current operation that will carry out then.
In TV set circuit, include infrared remote control and receive head, the remote control coding that remote controller is sent becomes the data code of a plurality of bytes from 01 code decoding, stores into to receive in the buffering area, and then carries out as shown in Figure 1 software flow, specifically may further comprise the steps:
A, when having remote keying to trigger, enter interruption;
Whether b, to read to receive the data number that generates behind the remote control decoding in the buffering area be zero, if zero, then jump to h;
C, read the first stature sign indicating number, judge whether correctly,, then jump to g if incorrect;
D, read the second stature sign indicating number, judge whether correctly,, then jump to g if incorrect;
E, read the 3rd byte data, judge whether to be the head sign indicating number, if the head sign indicating number, what then expression triggered is new button, reads follow-up data and is converted to corresponding key assignments, composes and gives the key assignments variable; If not head sign indicating number then judges whether to be duplication code, if duplication code then keeps the value of key assignments variable constant, be 1 with the repeat key mark position, the count value of makeing mistakes zero clearing; If not duplication code represents that then mistake appears in remote control decoding, jump to g;
F, key assignments is deposited in the shared drive, pass to other processes, and jump to b;
G, judge whether the repeat key flag bit is 1, and whether the count value of makeing mistakes is less than tolerance value, if the count value of makeing mistakes that adds up is read in data again, jumps to b; Otherwise, the count value of will makeing mistakes zero clearing, the key assignments variable composes zero, reads in data again, jumps to b;
H, jump out interruption.
In the present invention, choosing of tolerance value is very crucial, need determine that specifically generally be made as about 30, the preferred tolerance value of the present invention is 30 according to light in the environment or electromagnetic annoyance level.
The present invention has avoided the generation of television set misoperation to greatest extent by adopting above-mentioned remote control decoding and fault tolerance method for designing, has effectively improved the reliability that TV remote-control receives.Certainly; above-mentioned explanation is not to be limitation of the present invention; the present invention also is not limited in above-mentioned giving an example, and variation, remodeling, interpolation or replacement that those skilled in the art are made in essential scope of the present invention also should belong to protection scope of the present invention.

Claims (4)

1, a kind of remote control decoding and fault tolerance method, it is characterized in that: in NEC remote keying sign indicating number, when the code value after the first stature sign indicating number and the second stature sign indicating number is the head sign indicating number, the remote keying sign indicating number that expression receives is the key set code after switching, then read follow-up data and be converted to corresponding key assignments, compose and give the key assignments variable, when having decoding error, the remote keying key assignments after switching is changed to the pairing button value of no button operation;
When the code value after the first stature sign indicating number and the second stature sign indicating number is duplication code, keep the value of key assignments variable constant, and to put the repeat key flag bit be 1, counter O reset makes mistakes, and provide a tolerance value, when remote control decoding makes a mistake and the error rate when being no more than described tolerance value, the button value that error code takes place is changed to the pairing button value of its button last time; And when the error rate of remote control decoding surpasses described tolerance value, the button value that error code takes place is changed to the pairing button value of no button operation; Wherein, the described error rate is the number of times that mistake appears in remote control decoding continuously.
2. remote control decoding and fault tolerance method according to claim 1 is characterized in that: described tolerance value is specifically determined according to light in the environment or electromagnetic annoyance level.
3. remote control decoding and fault tolerance method according to claim 2 is characterized in that: described tolerance value is 30.
4, remote control decoding and fault tolerance method according to claim 1, it is characterized in that: when mistake appears in remote control decoding, judge at first whether the repeat key flag bit is 1, if 1, and under the situation of count value of makeing mistakes, keep the value of described key assignments variable constant less than described tolerance value.
CNB2006100705012A 2006-11-21 2006-11-21 Remote control decoding and fault tolerance method Active CN100518239C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100705012A CN100518239C (en) 2006-11-21 2006-11-21 Remote control decoding and fault tolerance method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100705012A CN100518239C (en) 2006-11-21 2006-11-21 Remote control decoding and fault tolerance method

Publications (2)

Publication Number Publication Date
CN101193194A CN101193194A (en) 2008-06-04
CN100518239C true CN100518239C (en) 2009-07-22

Family

ID=39487918

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100705012A Active CN100518239C (en) 2006-11-21 2006-11-21 Remote control decoding and fault tolerance method

Country Status (1)

Country Link
CN (1) CN100518239C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729998A (en) * 2013-12-09 2014-04-16 乐视致新电子科技(天津)有限公司 Decoding method and device
CN108269392B (en) * 2018-01-10 2020-12-04 海信视像科技股份有限公司 Decoding method and device for infrared remote controller
EP4090033A4 (en) * 2020-01-07 2023-09-27 LG Electronics Inc. Display device and remote controller controlling same
CN112735117B (en) * 2020-12-28 2022-02-11 深圳市路畅科技股份有限公司 Filtering method, system and application of IR analysis based on NEC standard

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1148226A (en) * 1995-10-13 1997-04-23 财团法人工业技术研究院 Universal remote control system
CN1496124A (en) * 1996-04-19 2004-05-12 株式会社日立制作所 Broadcast and communication receiver

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1148226A (en) * 1995-10-13 1997-04-23 财团法人工业技术研究院 Universal remote control system
CN1496124A (en) * 1996-04-19 2004-05-12 株式会社日立制作所 Broadcast and communication receiver

Also Published As

Publication number Publication date
CN101193194A (en) 2008-06-04

Similar Documents

Publication Publication Date Title
US6910169B2 (en) ECC code mechanism to detect wire stuck-at faults
EP2201431B1 (en) Devices, systems, and methods for reducing signals
CN100518239C (en) Remote control decoding and fault tolerance method
JPH0812612B2 (en) Error correction method and apparatus
CN111402570A (en) Infrared remote control signal receiving method, receiving system, receiving device and storage medium
TW200528992A (en) Buffer management via non-data symbol processing for a point to point link
CN101667837B (en) ECC controller based on Reed-Solomon codes
US20130058210A1 (en) Method and system for interrupt throttling and prevention of frequent toggling of protection groups in a communication network
CN103677239A (en) Wireless display terminal control method and device
US7523305B2 (en) Employing cyclic redundancy checks to provide data security
JP2004289843A (en) System and method of communicating data in video system
CN101448281A (en) Fault-tolerance method in wireless sensor network
CN102385795B (en) Method and device for controlling multiple systems based on single group of infrared receiving devices
US6512449B1 (en) Screen display method for portable information terminal
CN102932687A (en) Method and system for realizing mouse function by using television infrared receiving head
CN102741823B (en) Comma with scrambled data aligns
KR100574767B1 (en) Data Transmitting Circuit and Method Based on Differential Value Data Encoding
KR100784964B1 (en) The infrared data transmission method for remote control of multimedia devices
CN107332568B (en) Key coding circuit and keyboard scanning circuit
CN114003546B (en) Multi-channel switching value composite coding design method and device
CN112637011B (en) Data transmission method, data transmission device, and storage medium
US6134288A (en) Apparatus and method for generating a decoding clock signal in response to a period of write and read clock signals
Kawakami et al. On the driving state management of control system using error correction code
JPS6322736B2 (en)
EP0120640B1 (en) Data distribution network

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
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Hisense Video Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE ELECTRIC Co.,Ltd.

CP01 Change in the name or title of a patent holder