CN109388225A - Key triggers energy-saving control method, storage medium, control device and its terminal - Google Patents
Key triggers energy-saving control method, storage medium, control device and its terminal Download PDFInfo
- Publication number
- CN109388225A CN109388225A CN201811160568.4A CN201811160568A CN109388225A CN 109388225 A CN109388225 A CN 109388225A CN 201811160568 A CN201811160568 A CN 201811160568A CN 109388225 A CN109388225 A CN 109388225A
- Authority
- CN
- China
- Prior art keywords
- key
- state
- current
- main control
- control chip
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3243—Power saving in microcontroller unit
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3275—Power saving in memory, e.g. RAM, cache
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of key triggering energy-saving control method, storage medium, control device and its terminals;It is larger to solve existing long keying protection mechanism still electric energy loss, its key points of the technical solution are that, obtain current key triggering information;Main control chip is compared according to preset key information with current key triggering information to judge whether it is key false triggering state;If current state is key false triggering state, main control chip controls built-in timer initiation to enter forced dormancy state after transmission timing signal message;Built-in timer wakes up main control chip according to timing signal information with discontinuity, and main control chip judges whether to be still within key false triggering state, if current state remains as key false triggering state, main control chip enters forced dormancy state and waits be waken up next time;If it is key false triggering state that current state, which is not, main control chip resets and closes built-in timer;The present invention can reduce electric energy loss as far as possible, extend service life.
Description
Technical field
The present invention relates to the technical field of key triggering control, in particular to key triggering energy-saving control method, storage is situated between
Matter, control device and its terminal.
Background technique
It is existing on time for key length to have the protection of time-out judgement using the chip or system that have keypress function more
Mechanism.When long-pressing key is more than that after a certain period of time, then judging as the secondary key is accidentally by and chip can stop the key institute
Corresponding feedback action is to avoid more electric energy are consumed, until key could normal work again after the key relieving being long pressed
Make.It is when sending signal after triggering key, if key quilt by taking infrared remote controller as an example, when power consumption maximum
It accidentally presses, persistently sends signal and without overtime protection, then battery power will exhaust quickly.
Existing chip or system are generally constituted matrix type or T-type key scan with I/O mouthfuls.In no key, chip or
System is in a dormant state to reduce power consumption.
In matrix type keyboard scanning system, long keying protection mechanism is to receive failing edge signal with input port at present
When, it wakes up chip and executes actuation of keys and key time-out is judged by program to realize.When key time-out occurs, program stopped
Chip is entered dormant state by movement corresponding to the key, the very little of system power consumption at this time;So having to unclamp until key
Afterwards, depresses button can just re-execute movement corresponding to the key again.Since key is that input port receives failing edge
Chip is just waken up when signal, the failing edge signal caused by button press again can just reawake chip and execute the key
Movement.The method can decline to a great extent electric energy loss, but continue key still have fraction of electric current by input port it is default on
Pull-up resistor flows to low potential output port, according to the resistance value of pull-up resistor, electric current about few tens of microamps.If multiple same durations of key
It presses, such as infrared remote controller is pushed down by thick and heavy object, can consume a large amount of electric energy.
In T-type keyboard scanning system, since key sweeps the difference of mode, using failing edge signal come by the way of waking up chip
It cannot achieve arousal function.The reason is that T-type keyboard scanning system all I/O mouthfuls at regular intervals will be successively defeated in suspend mode
Whether there is or not keys to detect for low level pulse signal out, so stopping movement entering and stops even if program has determined that key time-out
It sleeps, as long as key also exists, execution actuation of keys will be waken up again.So the long-time key in T-type keyboard scanning system
Protection mechanism is only capable of with program stopped actuation of keys and continues to check whether key is decontroled, and detecting after key is decontroled can just return to
Normal procedure enters suspend mode;Chip is in operating state in the time of lasting key, although it is corresponding dynamic to stop execution key
Make, but still expends sizable electric energy.
So biggish electric energy loss is still had using above two existing long keying protection mechanism, so having one
Fixed room for improvement.
Summary of the invention
The first object of the present invention is to provide a kind of key triggering energy-saving control method, can effectively reduce key triggering
When electric energy loss, extend service life.
Above-mentioned technical purpose of the invention has the technical scheme that
A kind of key triggering energy-saving control method,
Obtain the current key triggering information of current key;
Main control chip is compared according to pre-set preset key information with current key triggering information to judge whether it is
Key false triggering state;If current state is key false triggering state, it is fixed to send that main control chip controls built-in timer initiation
When signal message after enter forced dormancy state;
Built-in timer wakes up main control chip according to timing signal information with discontinuity, main control chip judge whether to be still within by
Key false triggering state, if current state remains as key false triggering state, under main control chip enters forced dormancy state and waits
It is secondary to be waken up;If it is key false triggering state that current state, which is not, main control chip resets and closes built-in timer.
By using above-mentioned technical proposal, if entering key false triggering state, i.e. key remains triggering state,
Signal can be constantly sent, persistently sends signal and without overtime protection, then battery power will exhaust quickly, and realization can be to button
Triggering carries out key overtime protection, while effectively main control chip in existing overtime protection mode on the market being avoided to be in always
Working condition still consumes the problem of a large amount of electric energy, i.e., when there is key false triggering state, main control chip is entered pressure and is stopped
Dormancy state, and energy consumption can be further decreased by carrying out discontinuity wake-up to main control chip by built-in counter.
The present invention is further arranged to: the preset key information includes key reference time information, the current key
Triggering information includes current key triggered time information;If current key triggered time information is greater than key reference time information,
Main control chip judges state at this time as key false triggering state.
By using above-mentioned technical proposal, according to key reference time information compared with current key triggered time information,
Illustrate to be at this time improper triggering beyond the preset time if there is key, judges this kind of state for key false triggering
State since accidentally touching generally weight is pushed down key and caused, therefore needs the time cycle to key only to be compared
Complete judgement.
The present invention is further arranged to: the current key triggering information include current key trigger position information and with
The mutual corresponding current key execution information of current key trigger position information, it is main if current state is key false triggering state
Chip is controlled to stop sending current key execution information.
By using above-mentioned technical proposal, information is sent when electric energy damage measures bigger i.e. after triggering key
State, so when determining current state for key false triggering state, i.e. main control chip directly stops the current key of transmission and holds
Row information substantially reduces energy consumption.
The present invention is further arranged to: current key triggers information after the update of key after acquisition wake-up main control chip;Institute
Stating current key triggering information after update includes current key triggered time information and current key triggering after updating after updating
Location information;
Main control chip is compared between key trigger position information current after update and current key trigger position information, if
Current key trigger position information is identical as current key trigger position information after update and current key triggered time after updating
Information is greater than key reference time information, determines that current state remains as key false triggering state;
If current state remains as key false triggering state, main control chip enters forced dormancy state and waits be waken up next time;
If it is key false triggering state that current state, which is not, main control chip resets and closes built-in timer.
By using above-mentioned technical proposal, after built-in timer wakes up main control chip, i.e., key-case is carried out again
It detects and updates corresponding current key triggering information to form current key triggering information after update, again according to sentencing before
Disconnected method carries out judging whether to be still within key false triggering state, if so, main control chip goes successively to forced dormancy, waits
Next time is waken up, if not being key false triggering state, main control chip enters normal operating conditions.
The present invention is further arranged to: if current key trigger position information and current key trigger position information after updating
Difference, determining that current state is not is key false triggering state.
By using above-mentioned technical proposal, due to the key in decision process, occurring changing triggering, then preliminary judgement
Not to be key false triggering state, i.e., main control chip directly restores to normal operating conditions, judges the key newly triggered
It whether is key false triggering state.
The present invention is further arranged to: if current key trigger position information and current key trigger position information after updating
Difference, whether current key triggering information is in key false triggering state after the accessed update of main control chip judgement;If working as
Preceding state is key false triggering state, and main control chip controls built-in timer initiation and forced with entering after transmission timing signal message
Dormant state;
Built-in timer wakes up main control chip according to timing signal information with discontinuity, main control chip judge whether to be still within by
Key false triggering state, if current state remains as key false triggering state, under main control chip enters forced dormancy state and waits
It is secondary to be waken up;If it is key false triggering state that current state, which is not, main control chip resets and closes built-in timer.
The key newly triggered is judged after there is transformation key by using above-mentioned technical proposal, that is, uses it
Preceding method is judged whether the key newly triggered is in key false triggering state, if it is, main control chip enters pressure
Dormant state waits wake up the next time of built-in timer, again waits for the detection after waking up, if new key is not that key accidentally touches
Hair-like state, then main control chip is resetted to send corresponding signal, executes the corresponding function of key.
The present invention is further arranged to: main control chip key is scanned with obtain current key trigger position information with
And current key trigger position information after updating.
By using above-mentioned technical proposal, the acquisition of key triggering is completed, is obtained by the scanning to all keys different
Level to confirm the case currently triggered.
The second object of the present invention is to provide a kind of storage medium, can effectively reduce electric energy damage when key triggering
Consumption extends service life.
Above-mentioned technical purpose of the invention has the technical scheme that
A kind of storage medium, is stored with instruction set, and described instruction collection is suitable for a processor and loads and execute following processing, wraps
It includes:
Obtain the current key triggering information of current key;
Main control chip is compared according to pre-set preset key information with current key triggering information to judge whether it is
Key false triggering state;If current state is key false triggering state, it is fixed to send that main control chip controls built-in timer initiation
When signal message after enter forced dormancy state;
Built-in timer wakes up main control chip according to timing signal information with discontinuity, main control chip judge whether to be still within by
Key false triggering state, if current state remains as key false triggering state, under main control chip enters forced dormancy state and waits
It is secondary to be waken up;If it is key false triggering state that current state, which is not, main control chip resets and closes built-in timer.
By using above-mentioned technical proposal, if entering key false triggering state, i.e. key remains triggering state,
Signal can be constantly sent, persistently sends signal and without overtime protection, then battery power will exhaust quickly, and realization can be to button
Triggering carries out key overtime protection, while effectively main control chip in existing overtime protection mode on the market being avoided to be in always
Working condition still consumes the problem of a large amount of electric energy, i.e., when there is key false triggering state, main control chip is entered pressure and is stopped
Dormancy state, and energy consumption can be further decreased by carrying out discontinuity wake-up to main control chip by built-in counter.
The third object of the present invention is to provide a kind of control device, can effectively reduce electric energy damage when key triggering
Consumption extends service life.
Above-mentioned technical purpose of the invention has the technical scheme that
A kind of control device, comprising:
Processor, for loading and executing instruction collection;And
Above-mentioned storage medium.
By using above-mentioned technical proposal, if entering key false triggering state, i.e. key remains triggering state,
Signal can be constantly sent, persistently sends signal and without overtime protection, then battery power will exhaust quickly, and realization can be to button
Triggering carries out key overtime protection, while effectively main control chip in existing overtime protection mode on the market being avoided to be in always
Working condition still consumes the problem of a large amount of electric energy, i.e., when there is key false triggering state, main control chip is entered pressure and is stopped
Dormancy state, and energy consumption can be further decreased by carrying out discontinuity wake-up to main control chip by built-in counter.
The fourth object of the present invention is to provide a kind of terminal, can effectively reduce electric energy loss when key triggering, prolong
Long service life.
Above-mentioned technical purpose of the invention has the technical scheme that
A kind of terminal, comprising:
Several keys;
Processor, for loading and executing instruction collection;And
Above-mentioned storage medium.
By using above-mentioned technical proposal, if entering key false triggering state, i.e. key remains triggering state,
Signal can be constantly sent, persistently sends signal and without overtime protection, then battery power will exhaust quickly, and realization can be to button
Triggering carries out key overtime protection, while effectively main control chip in existing overtime protection mode on the market being avoided to be in always
Working condition still consumes the problem of a large amount of electric energy, i.e., when there is key false triggering state, main control chip is entered pressure and is stopped
Dormancy state, and energy consumption can be further decreased by carrying out discontinuity wake-up to main control chip by built-in counter.
In conclusion the invention has the following advantages: reduction electric energy loss as far as possible, extends service life.
Detailed description of the invention
Fig. 1 is the flow diagram that key triggers energy-saving control method.
Specific embodiment
Below in conjunction with attached drawing, invention is further described in detail.
This specific embodiment is only explanation of the invention, is not limitation of the present invention, those skilled in the art
Member can according to need the modification that not creative contribution is made to the present embodiment after reading this specification, but as long as at this
All by the protection of Patent Law in the scope of the claims of invention.
The embodiment of the present invention provides a kind of key triggering energy-saving control method, comprising: obtains the current key of current key
Trigger information;Main control chip is compared according to pre-set preset key information with current key triggering information
No is key false triggering state;If current state is key false triggering state, main control chip controls built-in timer initiation to send out
Enter forced dormancy state after sending timing signal information;Built-in timer wakes up master control core according to timing signal information with discontinuity
Piece, main control chip judges whether to be still within key false triggering state, if current state remains as key false triggering state, master control
Chip enters forced dormancy state and waits be waken up next time;If it is key false triggering state, main control chip that current state, which is not,
It resets and closes built-in timer.
In the embodiment of the present invention, to whether being that key false triggering state judges, if there is key false triggering state,
It directly controls main control chip and enters forced dormancy state, avoid main control chip in running order always and continue to expend electric energy,
Enable so built-in timer is arranged through built-in timer discontinuity to carry out subsequent judgement to key-press status
Main control chip is waken up, that is, realizes the detection for completing key false triggering state to subsequent keys state, while further decreasing energy consumption.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist
Three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Separately
Outside, character "/" herein typicallys represent the relationship that forward-backward correlation object is a kind of "or" unless otherwise specified.
The embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.
Referring to Figure 1, the embodiment of the present invention provides a kind of key triggering energy-saving control method, the main flow description of method
It is as follows.
Step 100: obtaining the current key triggering information of current key.
Wherein, current key triggering information include current key triggered time information, current key trigger position information with
And with the mutual corresponding current key execution information of current key trigger position information.
Current key triggered time information is the time cycle that key is triggered, and timing is up to pressing since key triggering
Key triggering terminates, if key remains triggering, remains time status.
Current key trigger position information, that is, the location of key being triggered, the acquisition of the position can use more
Kind mode is realized;In one embodiment, can be judged by the low and high level signal exported to current key, if defeated
It is out high level, then explanation is in the state that is triggered, and the position of the output high level signal is the location of triggering key,
Key is in power supply state always at this time;In one embodiment, main control chip is obtained by the way of being scanned to key
Key trigger position, the mode of scanning is by the way of successively detecting, i.e. the mode of cycle detection can further decrease energy
Consumption.
The triggering has been defined after getting corresponding current key trigger position information in current key execution information
Execution order corresponding to position, for example, power-on command, shutdown command etc., therefore current case execution information is as corresponding
Execute order.
Step 200: main control chip is compared according to pre-set preset key information with current key triggering information
To judge whether it is key false triggering state;If current state is key false triggering state, main control chip controls built-in timer
Starting is to enter forced dormancy state after transmission timing signal message.
Wherein, preset key information includes key reference time information, and key reference time information is the benchmark determined,
The as default period in longest triggered time;During judging whether it is key false triggering state, if there is key
Illustrate at this time to be improper triggering beyond the preset time, judges this kind of state for key false triggering state, due to accidentally touching
Generally weight is pushed down key and is caused, therefore only needs the time cycle to key that judgement can be completed to be compared;If working as
Preceding key triggered time information is greater than key reference time information, and main control chip judges state at this time as key false triggering shape
State, main control chip stops sending current key execution information and main control chip enters forced dormancy state;If current key touching
Send out temporal information be less than key reference time information, main control chip judge state at this time as non-key false triggering state, at this time
Main control chip, which works normally, sends corresponding current key execution information.
Built-in timer is preferably the oscillator of power consumption minimum (less than 1 microampere), provides clock signal by the oscillator,
Realize clocking capability.
Step 300: built-in timer wakes up main control chip according to timing signal information with discontinuity, and main control chip judgement is
No to be still within key false triggering state, if current state remains as key false triggering state, main control chip enters forced dormancy
State simultaneously waits be waken up next time;If it is key false triggering state that current state, which is not, main control chip resets and closes built-in meter
When device.
Wherein, timing signal information is the clock signal that oscillator provides, and provides one at interval of the default time
A high level signal or low level signal are to wake up main control chip.
Step 400: current key triggers information after the update of key after acquisition wake-up main control chip;Current key after update
Trigger information include after updating after current key triggered time information, update current key trigger position information and after updating when
Preceding key execution information.
Wherein, there are two kinds of situations for current key triggering information after update, and current key triggers information after respectively updating
Current key triggers information and works as after belonging to information corresponding to the same key and update with current key triggering information
Preceding key triggering information belongs to information corresponding to different key.
Information corresponding to the same key is belonged to, current key triggering information is different time nodes shape after update
The state of corresponding key under state, current key triggering information is corresponded to each other with key triggering information current after update, i.e., identical
The state of key in different time points, therefore current key triggering information is not repeating after corresponding update.
Belong to information corresponding to different key, current key triggering information is to touch with current key before after update
Photos and sending messages do not have any association, and current key triggers information after updating caused by the key as newly triggered.
Current key triggered time information is the time cycle that new key is triggered after update, since the triggering of new key
Timing terminates up to key triggering, if the key remains triggering, remains time status.
Current key trigger position information after update, that is, the acquisition of the location of new key being triggered, the position can
To be realized using various ways;In one embodiment, can be sentenced by the low and high level signal exported to new key
It is disconnected, if output is high level, illustrate in the state that is triggered, and the position of the output high level signal is the new key institute of triggering
The position at place, this stylish key are in power supply state always;In one embodiment, main control chip is used and is swept to new key
The mode retouched obtains new key trigger position, and the mode of scanning is by the way of successively detecting, i.e. the mode of cycle detection can
Further decrease energy consumption.
This has been defined after getting corresponding new key trigger position information in current key execution information after update
Execution order corresponding to trigger position, for example, power-on command, shutdown command etc., therefore current case execution information is pair
The execution order answered.
Step 411: main control chip to key trigger position information current after update and current key trigger position information it
Between be compared, if after updating current key trigger position information it is identical with current key trigger position information and after updating currently
Key triggered time information is greater than key reference time information, determines that current state remains as key false triggering state.
Step 412: if current state remains as key false triggering state, main control chip enters forced dormancy state and waits
Next time is waken up;If it is key false triggering state that current state, which is not, main control chip resets and closes built-in timer.
Wherein, the method for determining key false triggering state is identical as current key triggering information, according to preset key information
Included key reference time information, key reference time information is the benchmark determined, when as default longest triggers
Between the period;During judging whether it is key false triggering state, illustrate this beyond the preset time if there is key
When be improper triggering, judge this kind of state for key false triggering state, since accidentally touching generally weight is pushed down key and led
It causes, therefore only needs the time cycle to key that judgement can be completed to be compared;Current key triggered time letter after update
Breath is greater than key reference time information, that is, is determined as key false triggering state.
Step 421: if current key trigger position information is different from current key trigger position information after updating, determining to work as
Preceding state is not key false triggering state.
Step 422: whether current key triggering information is in key and accidentally touches after the accessed update of main control chip judgement
Hair-like state;If current state is key false triggering state, main control chip controls built-in timer initiation with transmission timing signal letter
Enter forced dormancy state after breath.
Step 423: built-in timer wakes up main control chip according to timing signal information with discontinuity, and main control chip judgement is
No to be still within key false triggering state, if current state remains as key false triggering state, main control chip enters forced dormancy
State simultaneously waits be waken up next time;If it is key false triggering state that current state, which is not, main control chip resets and closes built-in meter
When device.
Wherein, due to the key in decision process, occurring changing triggering, then preliminary judgement be not key false triggering
State, i.e. main control chip are directly restored to normal operating conditions, carry out judging whether it is key false triggering to the key newly triggered
State.
The method for determining key false triggering state is identical as current key triggering information, according to included by preset key information
Key reference time information, key reference time information are the benchmark determined, as default period in longest triggered time;
During judging whether it is key false triggering state, if there is key beyond the preset time i.e. illustrate at this time for it is non-just
Normal triggering judges that this kind of state for key false triggering state, since accidentally touching generally weight is pushed down key and caused, therefore only needs
Time cycle to key judgement can be completed to be compared;If current key triggered time information is greater than key after updating
Reference time information, main control chip judge state at this time as key false triggering state, main control chip stop send update after when
Preceding key execution information and main control chip enters forced dormancy state;It is pressed if current key triggered time information is less than after updating
Key reference time information, main control chip judge state at this time as non-key false triggering state, and main control chip works normally at this time
Send current key execution information after updating accordingly.
The embodiment of the present invention provides a kind of storage medium, and the storage medium is stored with instruction set, which is suitable for one
Processor is loaded and is executed including each step described in Fig. 1 process.
The computer storage medium for example, USB flash disk, mobile hard disk, read-only memory (Read-Only Memory,
ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. are various can store program
The medium of code.
Based on the same inventive concept, the embodiment of the present invention provides a kind of control device, comprising: processor, for loading simultaneously
Execute instruction collection;And above-mentioned storage medium.
Based on the same inventive concept, the embodiment of the present invention provides a kind of terminal, comprising: processor, for loading and executing
Instruction set;And above-mentioned storage medium.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function
The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds
Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of function described above
Energy.The specific work process of the system, apparatus, and unit of foregoing description, can be with reference to corresponding in preceding method embodiment
Journey, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module or
The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units
Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute
Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit
Indirect coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the application
The all or part of the steps of embodiment the method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory,
The various media that can store program code such as random access memory, magnetic or disk.
The above, above embodiments are only described in detail to the technical solution to the application, but the above implementation
The explanation of example is merely used to help understand method and its core concept of the invention, should not be construed as limiting the invention.This
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those skilled in the art, should all cover
Within protection scope of the present invention.
Claims (10)
1. a kind of key triggers energy-saving control method, it is characterized in that:
Obtain the current key triggering information of current key;
Main control chip is compared according to pre-set preset key information with current key triggering information to judge whether it is
Key false triggering state;If current state is key false triggering state, it is fixed to send that main control chip controls built-in timer initiation
When signal message after enter forced dormancy state;
Built-in timer wakes up main control chip according to timing signal information with discontinuity, main control chip judge whether to be still within by
Key false triggering state, if current state remains as key false triggering state, under main control chip enters forced dormancy state and waits
It is secondary to be waken up;If it is key false triggering state that current state, which is not, main control chip resets and closes built-in timer.
2. key according to claim 1 triggers energy-saving control method, it is characterized in that: the preset key information includes pressing
Key reference time information, the current key triggering information includes current key triggered time information;If when current key triggering
Between information be greater than key reference time information, main control chip judges state at this time as key false triggering state.
3. key according to claim 1 or 2 triggers energy-saving control method, it is characterized in that: the current key triggering letter
Breath includes current key trigger position information and executes letter with the mutual corresponding current key of current key trigger position information
Breath, if current state is key false triggering state, main control chip stops sending current key execution information.
4. key according to claim 3 triggers energy-saving control method, it is characterized in that:
Current key triggers information after the update of key after acquisition wake-up main control chip;Current key triggers information after the update
Including current key trigger position information after key triggered time information current after updating and update;
Main control chip is compared between key trigger position information current after update and current key trigger position information, if
Current key trigger position information is identical as current key trigger position information after update and current key triggered time after updating
Information is greater than key reference time information, determines that current state remains as key false triggering state;
If current state remains as key false triggering state, main control chip enters forced dormancy state and waits be waken up next time;
If it is key false triggering state that current state, which is not, main control chip resets and closes built-in timer.
5. key according to claim 4 triggers energy-saving control method, it is characterized in that: if current key trigger bit after updating
Confidence breath is different from current key trigger position information, and determining that current state is not is key false triggering state.
6. key according to claim 5 triggers energy-saving control method, it is characterized in that: if current key trigger bit after updating
Confidence breath is different from current key trigger position information, and current key triggers information after the accessed update of main control chip judgement
Whether key false triggering state is in;If current state is key false triggering state, main control chip controls built-in timer initiation
To enter forced dormancy state after transmission timing signal message;
Built-in timer wakes up main control chip according to timing signal information with discontinuity, main control chip judge whether to be still within by
Key false triggering state, if current state remains as key false triggering state, under main control chip enters forced dormancy state and waits
It is secondary to be waken up;If it is key false triggering state that current state, which is not, main control chip resets and closes built-in timer.
7. key according to claim 6 triggers energy-saving control method, it is characterized in that: main control chip is scanned key
To obtain current key trigger position information after current key trigger position information and update.
8. a kind of storage medium, it is characterized in that: it is stored with instruction set, described instruction collection is suitable for a processor and loads and execute such as
Lower processing, comprising:
Obtain the current key triggering information of current key;
Main control chip is compared according to pre-set preset key information with current key triggering information to judge whether it is
Key false triggering state;If current state is key false triggering state, it is fixed to send that main control chip controls built-in timer initiation
When signal message after enter forced dormancy state;
Built-in timer wakes up main control chip according to timing signal information with discontinuity, main control chip judge whether to be still within by
Key false triggering state, if current state remains as key false triggering state, under main control chip enters forced dormancy state and waits
It is secondary to be waken up;If it is key false triggering state that current state, which is not, main control chip resets and closes built-in timer.
9. a kind of control device, it is characterized in that: including:
Processor, for loading and executing instruction collection;And
Storage medium as claimed in claim 8.
10. a kind of terminal, it is characterized in that: including:
Several keys;
Processor, for loading and executing instruction collection;And
Storage medium as claimed in claim 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811160568.4A CN109388225B (en) | 2018-09-30 | 2018-09-30 | Key triggering energy-saving control method, storage medium, control device and terminal thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811160568.4A CN109388225B (en) | 2018-09-30 | 2018-09-30 | Key triggering energy-saving control method, storage medium, control device and terminal thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109388225A true CN109388225A (en) | 2019-02-26 |
CN109388225B CN109388225B (en) | 2020-05-08 |
Family
ID=65426622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811160568.4A Active CN109388225B (en) | 2018-09-30 | 2018-09-30 | Key triggering energy-saving control method, storage medium, control device and terminal thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109388225B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110308783A (en) * | 2019-07-09 | 2019-10-08 | 京东方科技集团股份有限公司 | A kind of time display method, device and electronic equipment |
CN112183135A (en) * | 2020-09-15 | 2021-01-05 | 珠海格力电器股份有限公司 | Method and device for switching scanner keys, storage medium and scanner |
CN114821861A (en) * | 2022-04-12 | 2022-07-29 | 珠海格力电器股份有限公司 | Intelligent door lock control method and device and intelligent door lock |
CN115022452A (en) * | 2022-06-13 | 2022-09-06 | 浙江地芯引力科技有限公司 | Communication method, device and equipment of audio equipment and storage medium |
CN116320555A (en) * | 2023-03-11 | 2023-06-23 | 无锡威达智能电子股份有限公司 | Intelligent remote control method, system and storage medium for multi-key triggering |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105630132A (en) * | 2015-12-23 | 2016-06-01 | 深圳市万普拉斯科技有限公司 | Power consumption control method and system as well as terminal |
CN106604375A (en) * | 2016-12-14 | 2017-04-26 | 努比亚技术有限公司 | Dormancy device and method |
CN107592419A (en) * | 2015-10-19 | 2018-01-16 | 广东欧珀移动通信有限公司 | Display screen awakening method, device and mobile terminal based on fingerprint sensor |
WO2018171236A1 (en) * | 2017-03-22 | 2018-09-27 | 中兴通讯股份有限公司 | Display method and terminal |
-
2018
- 2018-09-30 CN CN201811160568.4A patent/CN109388225B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107592419A (en) * | 2015-10-19 | 2018-01-16 | 广东欧珀移动通信有限公司 | Display screen awakening method, device and mobile terminal based on fingerprint sensor |
CN105630132A (en) * | 2015-12-23 | 2016-06-01 | 深圳市万普拉斯科技有限公司 | Power consumption control method and system as well as terminal |
CN106604375A (en) * | 2016-12-14 | 2017-04-26 | 努比亚技术有限公司 | Dormancy device and method |
WO2018171236A1 (en) * | 2017-03-22 | 2018-09-27 | 中兴通讯股份有限公司 | Display method and terminal |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110308783A (en) * | 2019-07-09 | 2019-10-08 | 京东方科技集团股份有限公司 | A kind of time display method, device and electronic equipment |
CN110308783B (en) * | 2019-07-09 | 2021-12-21 | 京东方科技集团股份有限公司 | Time display method and device and electronic equipment |
CN112183135A (en) * | 2020-09-15 | 2021-01-05 | 珠海格力电器股份有限公司 | Method and device for switching scanner keys, storage medium and scanner |
CN112183135B (en) * | 2020-09-15 | 2021-11-26 | 珠海格力电器股份有限公司 | Method and device for switching scanner keys, storage medium and scanner |
CN114821861A (en) * | 2022-04-12 | 2022-07-29 | 珠海格力电器股份有限公司 | Intelligent door lock control method and device and intelligent door lock |
CN114821861B (en) * | 2022-04-12 | 2023-08-11 | 珠海格力电器股份有限公司 | Intelligent door lock control method and device and intelligent door lock |
CN115022452A (en) * | 2022-06-13 | 2022-09-06 | 浙江地芯引力科技有限公司 | Communication method, device and equipment of audio equipment and storage medium |
CN115022452B (en) * | 2022-06-13 | 2024-04-02 | 浙江地芯引力科技有限公司 | Communication method, device, equipment and storage medium of audio equipment |
CN116320555A (en) * | 2023-03-11 | 2023-06-23 | 无锡威达智能电子股份有限公司 | Intelligent remote control method, system and storage medium for multi-key triggering |
CN116320555B (en) * | 2023-03-11 | 2024-01-30 | 无锡威达智能电子股份有限公司 | Intelligent remote control method, system and storage medium for multi-key triggering |
Also Published As
Publication number | Publication date |
---|---|
CN109388225B (en) | 2020-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109388225A (en) | Key triggers energy-saving control method, storage medium, control device and its terminal | |
US20190220076A1 (en) | Apparatus and method for waking up a processor | |
US9565293B2 (en) | Method and device for operating mobile terminal based on sensor, and mobile terminal | |
CN107809793B (en) | Awakening control method and device of intelligent terminal | |
CN107466095B (en) | Energy-saving method for acquisition equipment and acquisition equipment | |
CN110310391B (en) | Touch wake-up method and device, electronic equipment and storage medium | |
CN110018901B (en) | Memory recovery method and device, computer equipment and computer readable storage medium | |
CN102981766B (en) | A kind of terminal Activiation method and terminal | |
CN110572868B (en) | Method and device for reducing power consumption of electronic device | |
CN101807106A (en) | Standby circuit of handheld device and awaken method thereof | |
CN102306132A (en) | Mobile terminal and method for waking up mobile terminal | |
TWI508489B (en) | Remote wake system and method | |
CN112637938B (en) | Equipment awakening method, data transmission method and related device | |
CN109356459A (en) | The low-power consumption regulation method, apparatus and intelligent electronic lock of intelligent electronic lock | |
CN111103963A (en) | Fingerprint module starting method and device, storage medium and terminal | |
CN106648021B (en) | The data broadcasting method and low consumption circuit of low consumption circuit | |
CN110543259B (en) | Fingerprint unlocking method of display equipment and display equipment | |
CN110018905A (en) | Information processing method, device, computer equipment and computer readable storage medium | |
CN115220557A (en) | Power-on system, power-on method, readable storage medium and electronic device | |
CN105721671A (en) | Portable terminal sleeping method of mis-awakening and portable terminal | |
CN108646909B (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN106658556B (en) | A kind of method and mobile terminal receiving data | |
CN106332243A (en) | Power consumption saving method and system and mobile terminal | |
CN212694372U (en) | Electronic device | |
CN108650384B (en) | Information processing method, device, mobile terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |