CN103199871A - Method for controlling self-adaptive function replacement of control button - Google Patents

Method for controlling self-adaptive function replacement of control button Download PDF

Info

Publication number
CN103199871A
CN103199871A CN2013100592739A CN201310059273A CN103199871A CN 103199871 A CN103199871 A CN 103199871A CN 2013100592739 A CN2013100592739 A CN 2013100592739A CN 201310059273 A CN201310059273 A CN 201310059273A CN 103199871 A CN103199871 A CN 103199871A
Authority
CN
China
Prior art keywords
button
response time
self
replacing
adaptive
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
CN2013100592739A
Other languages
Chinese (zh)
Other versions
CN103199871B (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.)
Wuxi Filin Electronics Co Ltd
Original Assignee
Wuxi Filin 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 Wuxi Filin Electronics Co Ltd filed Critical Wuxi Filin Electronics Co Ltd
Priority to CN201310059273.9A priority Critical patent/CN103199871B/en
Publication of CN103199871A publication Critical patent/CN103199871A/en
Application granted granted Critical
Publication of CN103199871B publication Critical patent/CN103199871B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Washing Machine And Dryer (AREA)

Abstract

The invention provides a method for controlling self-adaptive function replacement of a control button, and relates to button control of electrical equipment. The method is characterized in that manual forced response time, self-adaptive response time, button untreated times and a button sequence chain table are respectively set, and the specific process is that firstly if the untreated times of the pressed control button is reached is checked, if the untreated times is reached, the button sequence chain table is searched to find out a self-adaptive candidate replacing button, a self-adaptive button configuration triggering mode is started, and another button is configured to be the replacing button of the button, and if not, calculation of the untreated times is restarted; when the replacing button is pressed, under the condition of the manual forced response time, replacing button functions which are manually configured are triggered; and when the replacing button is pressed in the self-adaptive response time, the self-adaptive replacing button functions are triggered. By means of the method, self-adaptive replacement of a broken button can be achieved, using is convenient, and the service lives of a button system and a whole machine can be prolonged.

Description

The control method that a kind of adaptation function of controlling button is replaced
Technical field
The present invention relates to a kind of control method of button operation of electric equipment, especially a kind ofly remedy keys deactivation and take the control method of the self adaptation button that function replaces.
Background technology
The control system of existing electric equipment much all adopts embedded software, realizes automation, intelligent control by master controller.Because low, the man-machine interface aspect of embedded system cost is not very friendly, so general user can't accomplish to use freely, and must depend on the function performance of software design.Be example with household electrical appliances, general all can be according to user's instructions for use, the button of design some, corresponding function separately increases user's ease of use and alternative.
Along with increasing of function, number of keys also increases, and simultaneously, also can increase because various factors cause the failure conditions of button, such as: the damage that vibration causes on the washing machine, the alignment error of panel cause can't use, frequently use, excessively press cause malfunctioning etc.
Isolating by key processing module and scan module of existing embedded system, in one-period, handle once, the action of the electrical level judging button by detecting the button port, press for the first time according to button then and carry out timing, as the flow chart of Fig. 1, timing to 3 second then enters longly to be handled by 3 seconds.Can upspring, press, grow the action of pressing simultaneously by some seconds, continuous button and many buttons by the simple response button, fairly simple to the recognizer of button.This button process control method can not be tackled the situation of keys deactivation, in case i.e. certain keys deactivation just can't be operated the leeway that does not have other to remedy to the corresponding function of this button except changing button.
Summary of the invention
The present invention is directed to the deficiency of the button tupe of existing embedded system, invented a kind of control method with control button of adaptation function.
Described control button possesses the feature of the described prior art of background technology: be by to the corresponding port transmission level information work of master controller, can reflect and upspring, press, long by, the different situations of pressing continuously, and can judge the number of times of pressing and the duration of pressing.Feature technology means of the present invention are as follows: set a manual forced response time, automated response time, the untreated standard number of times of button, set a keystroke sequence chained list in the database of master controller; Detailed process is at first to check the untreated number of times that whether reaches the control button that is pressed, if reached, then search the keystroke sequence chained list, find out adaptive candidate and substitute button, enter and trigger self adaptation key configurations pattern, dispose the alternative button that another button becomes this button; If do not reach, then restart calculation times; When this replacement button is pressed, be under the situation of manual forced response time, trigger the alternative keypress function of manual configuration; Be pressed to be the automated response time when replacing button, then trigger self adaptation and substitute keypress function.
For avoiding and the manually conflict of key configurations pattern, before searching the keystroke sequence chained list, also check the data chain of manual configuration whether Already in and in the self-adapting data chain.Wherein have the data chain of manual configuration, then manual configuration is preferential; If there has been the self-adapting data chain, expression has been self adaptation button, no longer repeated configuration.
Preferred a kind of manual configuration pattern, push button satisfy the manual forced response time after, mate the button that another is not configured, deposit in then in the keystroke sequence chained list.
According to general operating habit, between ease for use and anti-misoperation, seek balance, the preferred manual forced response time is 3 ~ 4 seconds; The automated response time is 5 ~ 10 seconds; The untreated number of times of button is 10 ~ 20 times.
The present invention has designed the button self adaptation in the button of embedded system is handled, can be under the situation of some keys deactivation, substitute by other effective button adaptation functions temporarily, and this substituting in advance as can be known, also be not easy to occur misoperation.Can reduce maintenance times not increasing under the condition of cost, increase the useful life of whole system and even whole electrical equipment.
Description of drawings
Fig. 1 is an embodiment flow chart of existing button processing mode.
Fig. 2 is the flow chart of one embodiment of the present of invention.
Fig. 3 is the embodiment flow chart of manual configuration pattern of the present invention.
Embodiment
According to flowchart text embodiments of the invention as shown in Figure 2.
At first, the inventive method is applied to embedded system, and the duration of pressing, upspring, growing by and press of each button can be identified, and sends to master controller, produces corresponding function.Present embodiment is that the button with washing machine is controlled to be example, and wherein the time of She Dinging is according to operating habit and prevents that the prerequisite of misoperation from setting, and each setting-up time resolution height, and is fuzzy, in whole flow process is described with detailed presentations.
The beginning of flow process is to carry out master controller or the button processor carries out key scan, judges whether that at first a button is pressed, if have, then judging whether it is to press for the first time again, is not to press for the first time, then judges whether by being issued to the adaptive configuration time (being 10 seconds in the present embodiment), the words that reach, search default keystroke sequence chained list, judge whether it is Candidate Key according to the keystroke sequence chained list, the words that are, send the main key information of Candidate Key, finish button and handle.
Wherein, press if not effective button, then enter branch: whether exist the last time to have key to press, judge again and press the manual configuration function time that whether reaches (present embodiment is 3 seconds), if do not have, then send the button message of upspringing, finish button and handle.
If do not reach the adaptive configuration time in the main line program, also directly processing finishes.
In the present embodiment, also explained adaptive flow process simultaneously.At first, default keystroke sequence chained list in the local EEPROM database, the keystroke sequence chained list comprises manual configuration data chain and adaptive configuration data chain, and wherein presets the rule of having fixed self adaptation button replacement function.The renewal of keystroke sequence chained list is that read data has the number of times that is untreated of setting to trigger (being set in the present embodiment 12 times), and the number of times that is untreated can be understood as the performance that button damages.When being untreated for a long time, then carry out twice judgement: the 1st, do not belong to the button of the manual configuration data chain of keystroke sequence chained list; The 2nd, do not belong to the button of the adaptive configuration data chain of keystroke sequence chained list, under the situation about all satisfying, search the nearest individual palpation key chained list of keystroke sequence chain table definition, then this definition is added in the keystroke sequence chained list, upgrade the memory button, the button that upgrades sends the information of pressing of button as the basis, finishes button and handles.So just realized the length with the button time, triggered adaptation function, the button self-adaptive processing that function is good is the function of the button correspondence of disabler.
Fig. 3 is the processing method of button manual configuration of the present invention.Manual configuration is a kind of user key-press configuration mode, enters this pattern by special key; Under the manual configuration pattern, choose certain button, press another button and reach the manual configuration time (3 second), then with the manual configuration button of another button as this button, memory is to manually disposing the button chain.If button mates, then finish up to the configuration of all buttons.
Be controlled to be routine explanation work effect with the washing machine key-press with drying function.A key correspondence be the laundry function of washing machine, b key correspondence be drying function, a key is major key, the failure probability height, b key utilization rate is not high.When a key lost efficacy, master controller moved incorrect response a key function continuous 10 times, and then master controller judges that it is possible lose efficacy, and is confirming that a key is not arrived under the situation of other button by manual configuration, is adapted to the b key automatically.At this moment, do not need to keep in repair at once and change, as long as press 10 seconds of b key, namely realize the function of a key; If the c key has been set to the Candidate Key of a key under the key configurations pattern of master controller, then the c key also can be realized the function of a key.

Claims (4)

1. control method that the adaptation function of controlling button is replaced, described control button is by to the corresponding port transmission level information work of master controller, can reflect and upspring, press, long by, the different situations of pressing continuously, and can judge the number of times of pressing and the duration of pressing, it is characterized in that: set a manual forced response time, automated response time, the untreated number of times of button, in the database of master controller, set a keystroke sequence chained list;
Detailed process is at first to check the untreated number of times that whether reaches the control button that is pressed, if reached, then search the keystroke sequence chained list, find out adaptive candidate and substitute button, enter and trigger self adaptation key configurations pattern, dispose the alternative button that another button becomes this button; If do not reach, then restart calculation times; When this replacement button is pressed, be under the situation of manual forced response time, trigger the alternative keypress function of manual configuration; Be pressed to be the automated response time when replacing button, then trigger self adaptation and substitute keypress function.
2. the adaptation function of the control button according to claim 1 control method of replacing, it is characterized in that: in the self adaptation key configurations pattern, before searching the keystroke sequence chained list, also check the data chain of manual configuration whether Already in and in the self-adapting data chain.
3. the adaptation function of the control button according to claim 1 control method of replacing, it is characterized in that: in the described manual configuration pattern, push button satisfy the manual forced response time after, mate the button that another is not configured, deposit in then in the keystroke sequence chained list.
4. the adaptation function of the control button according to claim 1 control method of replacing, it is characterized in that: the described manual forced response time is 3 ~ 4 seconds; The automated response time is 5 ~ 10 seconds; The untreated number of times of button is 10 ~ 20 times.
CN201310059273.9A 2013-02-26 2013-02-26 The control method that a kind of adaptation function controlling button is replaced Active CN103199871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310059273.9A CN103199871B (en) 2013-02-26 2013-02-26 The control method that a kind of adaptation function controlling button is replaced

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310059273.9A CN103199871B (en) 2013-02-26 2013-02-26 The control method that a kind of adaptation function controlling button is replaced

Publications (2)

Publication Number Publication Date
CN103199871A true CN103199871A (en) 2013-07-10
CN103199871B CN103199871B (en) 2016-02-03

Family

ID=48722255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310059273.9A Active CN103199871B (en) 2013-02-26 2013-02-26 The control method that a kind of adaptation function controlling button is replaced

Country Status (1)

Country Link
CN (1) CN103199871B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812925A (en) * 2014-12-29 2016-07-27 深圳Tcl数字技术有限公司 Remote controller key up detecting method, remote controller and television
CN106802763A (en) * 2017-01-03 2017-06-06 惠州Tcl移动通信有限公司 A kind of control method and system based on mobile terminal dynamic select function button
CN107168828A (en) * 2017-04-26 2017-09-15 深圳天珑无线科技有限公司 A kind of utilization sensor circuit realizes the method and its system of button switching
CN107678344A (en) * 2017-10-13 2018-02-09 深圳市劲码科技有限公司 Switch gearing control method and device
TWI682637B (en) * 2018-05-23 2020-01-11 香港商冠捷投資有限公司 Method for customizing button of remote control
CN114237529A (en) * 2020-09-07 2022-03-25 华为技术有限公司 Navigation bar display method, navigation bar display method and first electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008072191A (en) * 2006-09-12 2008-03-27 Funai Electric Co Ltd Remote controller
CN101202814A (en) * 2006-12-14 2008-06-18 深圳Tcl新技术有限公司 Replaceable key functional remote controller and implementation method thereof
WO2011000128A1 (en) * 2009-06-30 2011-01-06 深圳Tcl新技术有限公司 Method for setting substitute key and electrical device using the method
CN102508556A (en) * 2011-10-31 2012-06-20 深圳市元征软件开发有限公司 Realization method for scanning keyboard

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008072191A (en) * 2006-09-12 2008-03-27 Funai Electric Co Ltd Remote controller
CN101202814A (en) * 2006-12-14 2008-06-18 深圳Tcl新技术有限公司 Replaceable key functional remote controller and implementation method thereof
WO2011000128A1 (en) * 2009-06-30 2011-01-06 深圳Tcl新技术有限公司 Method for setting substitute key and electrical device using the method
CN102318360A (en) * 2009-06-30 2012-01-11 深圳Tcl新技术有限公司 Method for setting substitute key and electrical device using the method
CN102508556A (en) * 2011-10-31 2012-06-20 深圳市元征软件开发有限公司 Realization method for scanning keyboard

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812925A (en) * 2014-12-29 2016-07-27 深圳Tcl数字技术有限公司 Remote controller key up detecting method, remote controller and television
CN106802763A (en) * 2017-01-03 2017-06-06 惠州Tcl移动通信有限公司 A kind of control method and system based on mobile terminal dynamic select function button
CN107168828A (en) * 2017-04-26 2017-09-15 深圳天珑无线科技有限公司 A kind of utilization sensor circuit realizes the method and its system of button switching
CN107678344A (en) * 2017-10-13 2018-02-09 深圳市劲码科技有限公司 Switch gearing control method and device
TWI682637B (en) * 2018-05-23 2020-01-11 香港商冠捷投資有限公司 Method for customizing button of remote control
CN114237529A (en) * 2020-09-07 2022-03-25 华为技术有限公司 Navigation bar display method, navigation bar display method and first electronic equipment

Also Published As

Publication number Publication date
CN103199871B (en) 2016-02-03

Similar Documents

Publication Publication Date Title
CN103199871A (en) Method for controlling self-adaptive function replacement of control button
CN106648669B (en) Product equipment remote firmware upgrading method and system
JP2003084984A5 (en)
CN104750520A (en) Software installation method and terminal
CN106230674B (en) Method and device for preventing intelligent household appliance from being maliciously controlled
CN105472111A (en) Touch screen terminal key function switching method and apparatus
CN105282140A (en) Control method, devices and system of intelligent household system
CN104538058A (en) Semi-automatic burning device and method
CN104881133B (en) The combination of keyboard and its control method, computer system and keyboard and application program
RU2009136414A (en) DEVICE AND METHOD FOR CONTROL AND CONTROL OF HOUSEHOLD APPLIANCES
KR20180093071A (en) Washing machine and control method
CN101123428A (en) Intelligent electronic remote control switch for voice recognition capable of dynamic setting
JP4715577B2 (en) Remote control device
CN105005492A (en) Embedded equipment and software upgrading method
CN114326507B (en) Machine control method, device, electronic equipment and computer readable storage medium
CN106791065B (en) Mobile device and method for controlling flashlight switch through fingerprint touch
CN108720770B (en) Control method and device of drawer type dish washer and readable storage medium
CN110398900B (en) Remote control method, device, medium and server for intelligent lighting equipment
CN112776732A (en) Vehicle switching method and device, storage medium and electronic device
TW200600988A (en) Engineering tool, engineering tool start program selection method, and new program addition method
CN115826553A (en) Fault removing method and electronic device
CN109610587A (en) Intelligent closestool and one key control method, storage equipment
CN109408285A (en) A kind of capable of preventing error touch system detection control method and the steaming and baking box using it
CN111477372B (en) Nuclear power station DCS controller updating method and system, terminal equipment and storage medium
KR19990066368A (en) Integrated operating device of distributed 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
C14 Grant of patent or utility model
GR01 Patent grant