The content of the invention
This application provides a kind of method of control electronics and electronic equipment, releasing process in the prior art is solvedComplexity, the technical problem of unlocked time length has reached the technique effect fast and effeciently unlocked.
The embodiment of the present application provides a kind of method of control electronics, and applied in electronic equipment, the electronics is setInclude temperature sensing unit less to the utmost, the temperature sensing unit is arranged on the first button of the electronic equipment, describedMethod includes:Detect whether that operating body has carried out the first operation to first button of the electronic equipment;If detectionTo the described first operation, then the temperature of the operating body is detected using the temperature sensing unit, the first testing result is obtained;WhenWhen first testing result shows that the temperature of the operating body meets predetermined condition, the first control instruction is generated;Perform describedFirst control instruction.
Further, it is described to have detected whether that operating body is set to the electronics when first button is physical buttonStandby first button has carried out the first operation, is specially:Detect whether operating body to the entity of the electronic equipment byKey has carried out pressing operation;Or when the virtual key on the touch control unit that first button is the electronic equipment, it is describedDetect whether that operating body has carried out the first operation to first button of the electronic equipment, be specially:Detect whetherOperating body has carried out touch control operation to the virtual key on the touch control unit.
Further, it is described when first testing result shows that the temperature of the operating body meets preparatory condition, it is rawInto the first control instruction, it is specially:When first testing result shows that the temperature of the operating body meets preparatory condition, sentenceThe electronic equipment that breaks is to be in screen lock state or released state;It is raw when the electronic equipment is in the screen lock stateInto the first unblock control instruction.
Further, the electronic equipment is judged whether after screen lock state described, methods described also includes:When the electronic equipment is in the released state, the first screen locking control instruction is generated.
Further, it is described using temperature sensing unit detection if described detecting first operationThe temperature of operating body, obtains the first testing result, specifically includes:When detecting first operation, one triggering of generation refers toOrder;The triggering command is passed into the temperature sensing unit;The temperature sensing unit is based on the triggering command to instituteThe temperature for stating operating body is detected, obtains the first testing result.
Further, it is described when first testing result shows that the temperature of the operating body meets predetermined condition, it is rawInto the first control instruction, it is specially:When first testing result shows that the temperature of the operating body is more than or equal to a default temperatureDuring angle value, the first control instruction is generated.
Further, it is described when first testing result shows that the temperature of the operating body meets predetermined condition, it is rawInto the first control instruction, specifically include:When first testing result shows that the temperature of the operating body is more than or equal to one and presetDuring temperature value, the duration of first operation is obtained;Judge whether the duration is more than or equal to a preset time;When the duration is more than or equal to the preset time, the first control instruction is generated.
Another embodiment of the application provides following technical scheme:
A kind of electronic equipment, the electronic equipment at least includes temperature sensing unit, and the temperature sensing unit is setOn the first button of the electronic equipment, the electronic equipment also includes:Detection unit, for detecting whether there is operating body pairFirst button of the electronic equipment has carried out the first operation;Obtaining unit, if for detecting first operation,The temperature of the operating body is then detected using the temperature sensing unit, the first testing result is obtained;Generation unit, for working asWhen stating the first testing result and showing that the temperature of the operating body meets predetermined condition, the first control instruction is generated;Execution unit, is usedIn execution first control instruction.
Further, the detection unit, is specifically included:First detection sub-unit, for being real when first buttonDuring body button, detect whether that operating body has carried out pressing operation to the physical button of the electronic equipment;Second detection is singleMember, for when first button for the electronic equipment touch control unit on virtual key when, detected whether operating bodyTouch control operation has been carried out to the virtual key on the touch control unit.
Further, the generation unit, is specifically included:First judging unit, for when the first testing result tableWhen the temperature of the bright operating body meets preparatory condition, it is to be in screen lock state or released state to judge the electronic equipment;First generation subelement, for when the electronic equipment is in the screen lock state, generation first to unlock control instruction.
Further, the generation unit also includes:Second generation subelement, it is described for being in the electronic equipmentDuring released state, the first screen locking control instruction is generated.
Further, the obtaining unit, is specifically included:3rd generation subelement, first behaviour is detected for working asWhen making, a triggering command is generated;Transfer unit, for the triggering command to be passed into the temperature sensing unit;Wherein,The temperature sensing unit is detected based on the triggering command to the temperature of the operating body, obtains the first testing result.
Further, the generation unit, is specifically included:First obtains unit, for when the first testing result tableWhen the temperature of the bright operating body is more than or equal to a preset temperature value, the duration of first operation is obtained;Second judgesUnit, for judging whether the duration is more than or equal to a preset time;3rd generation subelement, for described lastingWhen time is more than or equal to the preset time, the first control instruction is generated.
The one or more technical schemes provided in the embodiment of the present application, have at least the following technical effects or advantages:
1st, combined due to using based on temperature sensing unit with the first button, so, when the temperature of detection meets predetermined barDuring part, with regard to the first control instruction can be performed, to be operated to electronic equipment, such as:Operation is unlocked, so, effectively solveElectronic equipment is in unblock in the prior art, and the technical problem of response time length realizes and be fast and effectively unlocked behaviourThe technique effect of work.
2nd, due to using when the temperature for detecting operating body meets preparatory condition, can first judge first operate it is lasting whenBetween whether meet preset time, then, just generate the technical scheme of control instruction according to judging to solve, so, realizedEffect prevents the technique effect of maloperation.
3rd, just can be according to first operation to recognize due to only needing to receive first operation of the operating body to the first buttonThe instruction to be performed, it is various to efficiently solve the operating procedure that electronic equipment present in prior art receives, operation elementThe big technical problem of amount, realizes the technique effect of easy operation, is user-friendly.
Embodiment
The embodiment of the present application is solved in the prior art by providing the method and electronic equipment of a kind of control electronicsReleasing process is complicated, and the technical problem of unlocked time length has reached the technique effect fast and effeciently unlocked.
Technical scheme in the embodiment of the present application is in order to solve the above technical problems, general thought is as follows:
First, when user takes electronic equipment, and when needing unblock, the electronic equipment will go to detect whether that the user hasThe unblock operation carried out to one of button of the electronic equipment, when this unblock operation has been detected,A temperature sensing unit on first button will detect the body temperature of the user during operation is unlocked, then the electricitySub- equipment generates a unblock control instruction according to the body temperature of the detection, and is realized by performing the unblock control instruction pairThe unblock of electronic equipment.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to upperTechnical scheme is stated to be described in detail.
The embodiment of the present application provides a kind of method of control electronics, and this method is applied in electronic equipment, the electronicsEquipment at least includes temperature sensing unit, and the temperature sensing unit is arranged on the first button of the electronic equipment, such as electricityOn the key of source.
Wherein, the electronic equipment can be tablet personal computer, mobile phone, common computer etc., be which kind of electricity for the electronic equipmentSub- equipment, the application is not construed as limiting.
As shown in figure 1, the method for the control electronics comprises the following steps:
S10:Detect whether that operating body has carried out the first operation to the first button of the electronic equipment;
Wherein, in the embodiment of the present application, the first button can be physical button, and such as power key or home keys now, are walkedRapid S10:Detect whether that operating body has carried out the first operation to the first button of the electronic equipment, the process of implementing is:
Detect whether that operating body has carried out pressing operation to the physical button of the electronic equipment;Such as, the hand of userRefer to the pressing operation on power key.
For example, in common computer in use, the physical button can be the power switch key of the computer, or setSome other button for being used to control the computer on the computer.Detect whether that operating body is carried out to the physical button of computerPressing operation;Or be the physical button of the power key or navigation key of mobile phone etc. etc..
Certainly, the first button can also for the electronic equipment touch control unit on virtual key, such as home keys, now,Step S10:Detect whether that operating body has carried out the first operation to first button of the electronic equipment, implementedCheng Wei:
Detect whether that operating body has carried out touch control operation to the virtual key on the touch control unit, such as:It is to detect whetherThere are finger or stylus to carry out touch control operation to the virtual home keys on touch control unit, the touch control operation can be click on behaviourMake, can also slide.
E.g. mobile phone when, the virtual key can be arranged on a FX on the mobile phone screen, or at thisWhen mobile phone is in illuminating state, an icon on the first interface.
In specific implementation process, it is not limited in key mode mentioned above.
In the embodiment of the present application, after step S10 is performed, step S20 is carried out, i.e.,:If detecting described firstOperation, then detected the temperature of the operating body using temperature sensing unit, obtain the first testing result.
Wherein, during implementing, the step is specifically included:
When detecting the first operation, a triggering command is generated;
The triggering command is passed into temperature sensing unit;
The temperature sensing unit is detected based on the triggering command to the temperature of the operating body, obtains the first detection knotReally.
With reference to specific example application, the step S20 process that implements is:In mobile phone in use, when the one of userWhen finger has carried out pressing operation or the touch operation of above-mentioned situation to the physical button or virtual key on mobile phone, handMachine will respond pressing operation or touch operation generation triggering command, then, the triggering command is passed to and is arranged on mobile phone realityTemperature sensor under body button or under virtual key, wherein, the temperature sensor is connected with physical button, then, temperatureTemperature detection will be carried out based on the triggering command by spending sensor, and the temperature for obtaining user's finger is the first temperature, such as:30 is CelsiusSpend or 33 degrees Celsius.
In practice, the temperature sensor can be arranged on physical button, and the inner surface of such as power key can also be arranged onOuter surface, when being arranged on inner surface, when user presses the power key, the temperature sensor can also detect the body of the userTemperature, only because the temperature sensor is provided in the inner surface of the power key, so, can be than temperature when detecting human body temperatureIt is low that degree sensor is arranged on the temperature detected when the outer surface of power key, such as:When being arranged on outer surface, the temperature detectedSpend for 33 degrees Celsius when, then when being arranged on inner surface, the temperature detected may just be 31 degrees Celsius, i.e., it is low 2 degrees Celsius;And when the first button is virtual key, temperature sensor can be arranged on to a certain FX of mobile phone display screen, both may be usedTo be arranged on the outer surface of the area screen, the inner surface of the area screen can also be arranged on, the mode of detection can with it is upperState mode identical.If the temperature sensor is disposed on a certain icon when screen is lighted, because icon is in display screenOn curtain can with shift position, so, the temperature sensor can be moved with the movement of icon.When user clicks on display screenThe region of a certain fixation or during a significant icon on curtain, the temperature sensor just detects the body temperature of the user.Wherein,When clicking on the significant icon, by the operation of slip, can drag the position of the significant icon from a position toUp to another position, the body temperature that temperature sensor accurately detects user is so more beneficial for.
Certainly, in embodiments herein, facilities mentioned above are not limited only to, under different facilities,The body temperature of detection operation user also can be different, and the situation of also some other setting does not make specific limit in this application.
After the first testing result is obtained by step S20, step S30 is then performed:When the described first detection knotWhen fruit shows that the temperature of the operating body meets predetermined condition, the first control instruction is generated.
Wherein, when first testing result shows that the temperature of the operating body is more than or equal to a preset temperature value, generationFirst control instruction is specially:When first testing result shows that the temperature of the operating body is more than or equal to a preset temperature value,Obtain the duration of the first operation;Judge whether the duration is more than or equal to a preset time;It is more than in the durationDuring equal to the preset time, the first control instruction is generated.
Moreover, the first control instruction of generation is specially:When first testing result shows that the temperature of the operating body is metDuring preparatory condition, it is to be in screen lock state or released state to judge the electronic equipment;Screen lock state is in the electronic equipmentWhen, generation first unlocks control instruction;When the electronic equipment is in released state, the first screen locking control instruction is generated.
In specific implementation process, for example, user by finger to mobile phone operation when, by be arranged on the first button orTemperature sensor on virtual key detects the body temperature of the user, when the body temperature detected is taken the photograph more than or equal to mobile phone default 36When family name spends, meet after the first preparatory condition, mobile phone will also detect that the user is being performed to the pressing operation of the first buttonDuration, such as, when the preset time of the setting is lasting 2 seconds, if user to the pressing operation of the button it is lasting whenBetween be more than or equal to 2 seconds when, meet the second preparatory condition, the mobile phone can just generate a control instruction.The control instruction is basisThe state that mobile phone is presently in determines, so, mobile phone needs to judge itself current state in which, such as, current phoneWhen state in which is screen lock state, after the pressing operation to mobile phone key, the control instruction of the unblock of generation one;And work asWhen preceding mobile phone state in which is released state, after the operation to mobile phone key, the control instruction of a screen locking is just generated.Certainly, mobile phone not only only has the two states, can also be holding state either other be currently running the state of application program,When in the present embodiment, to key press, the state residing for mobile phone does not do specific restriction, and to pressing after, at mobile phoneIn another state do not do specific restriction yet.
Certainly, to the preset temperature of mobile phone, it can be set according to different situations, such as, among one day, from morning 0-When 4, body temperature is relatively low, at this moment, and the preset temperature of mobile phone can be more slightly lower than 36 degrees Celsius;In the 7-9 in the morning body temperature of people drastically onRise, at this moment, the preset temperature of mobile phone is in 36 degrees Celsius;During to 17-19, the body temperature of people reaches highest, at this moment, the default temperature of mobile phoneDegree is more slightly higher than 36 degrees Celsius.This is the setting of the mobile phone preset temperature for most of crowds, and night is chronically at for someThe crowd of overtime work, their body temperature typically can be higher when night, so preset temperature threshold value compares 36 when nightIt is degree Celsius high, can be relatively low when daytime, so preset temperature threshold value is more relatively low than 36 degrees Celsius when daytime.At this moment,Mobile phone can be configured according to the cycle events situation of user to preset temperature threshold value.Certainly, in the present embodiment, not only limitIn the setting means mentioned above for temperature, specific restriction is not done in the embodiment of the present application.
After the first control instruction is generated by step S30, step S40 is then performed, first control is performed and refers toOrder.
In the classification of the control instruction of generation mentioned above, the state being presently in based on mobile phone, and generate notWith control instruction, for example, when mobile phone is currently at screen lock state, user mobile phone operation is met default condition itAfterwards, the instruction of generation can be the instruction of unblock, so as to perform the operation of unblock;When mobile phone is currently at released state, useFamily is met to mobile phone operation after default condition, and the instruction of generation can be screen locking instruction, so as to perform the operation of screen locking;Or be that user meets default to the button operation of mobile phone when mobile phone is in the operating state of some application programCondition after, the instruction of generation is the instruction for closing the application program, so as to perform the instruction of the closing application program.WhenSo, in a particular embodiment, the instruction to be performed mentioned above is not limited only to, unlatching application program is can also be, orPerson is to release setting of some password etc., does not do specific restriction in the embodiment of the present application.
So, after the preparatory condition met according to user to the operation of the first button, respond the technical side of the operationCase, the influence that can not only prevent some other maloperation from bringing, moreover, also can fast and effectively realize the purpose of operation.
Another embodiment of the present invention provides a kind of electronic equipment, and the electronic equipment at least includes temperature sensing unit,The temperature sensing unit is arranged on the first button of the electronic equipment, as shown in Fig. 2 the electronic equipment is specifically included:InspectionUnit 10 is surveyed, for detecting whether there is operating body to carry out the first operation to first button of the electronic equipment;ObtainUnit 20, if for detecting first operation, the temperature of the operating body is detected using the temperature sensing unit,Obtain the first testing result;Generation unit 30, for showing that the temperature of the operating body meets pre- when first testing resultDuring fixed condition, the first control instruction is generated;Execution unit 40, for performing first control instruction.
Wherein, the detection unit 10, is specifically included:First detection sub-unit, for being physical button when first buttonWhen, detect whether that operating body has carried out pressing operation to the physical button of the electronic equipment;Second detection sub-unit, for working asWhen first button is the virtual key on the touch control unit of the electronic equipment, detect whether operating body on the touch control unitVirtual key has carried out touch control operation.
The generation unit 30 is specifically included:First judging unit, for showing the operating body when the first testing resultWhen temperature meets preparatory condition, it is to be in screen lock state or released state to judge the electronic equipment;First generation subelement, is usedIn when the electronic equipment is in screen lock state, generation first unlocks control instruction.
The generation unit 30 also includes:Second generation subelement, for when the electronic equipment is in released state, generatingFirst screen locking control instruction.
The obtaining unit 20 is specifically included:3rd generation subelement, is touched for when detecting the first operation, generating oneSend instructions;Transfer unit, for triggering command to be passed into the temperature sensing unit;Wherein, the temperature sensing unit is based onTriggering command is detected to the temperature of the operating body, obtains the first testing result.
The generation unit 30 specifically also includes:First obtains unit, for showing the behaviour when first testing resultWhen the temperature for making body is more than or equal to a preset temperature value, the duration of first operation is obtained;Second judging unit, is used forJudge whether the duration is more than or equal to a preset time;3rd generation subelement, for being more than in the durationDuring equal to the preset time, the first control instruction is generated.
The one or more technical schemes provided in the embodiment of the present application, have at least the following technical effects or advantages:
1st, combined due to using based on temperature sensing unit with the first button, so, when the temperature of detection meets predetermined barDuring part, with regard to the first control instruction can be performed, to be operated to electronic equipment, such as:Operation is unlocked, so, effectively solveElectronic equipment is in unblock in the prior art, and the technical problem of response time length realizes and be fast and effectively unlocked behaviourThe technique effect of work.
2nd, because using when the temperature for detecting the operating body meets preparatory condition, meeting first judge holding for the first operationWhether the continuous time meets preset time, then, just generates the technical scheme of control instruction according to judging to solve, so, realizeEffectively prevent the technique effect of maloperation.
3rd, just can be according to first operation to recognize due to only needing to receive first operation of the operating body to the first buttonThe instruction to be performed, it is various to efficiently solve the operating procedure that electronic equipment present in prior art receives, operation elementThe big technical problem of amount, realizes the technique effect of easy operation, is user-friendly.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer programProduct.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardwareApply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program codeUsable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program production of upper implementationThe form of product.
The present invention is with reference to method according to embodiments of the present invention, equipment(System)And the flow of computer program productFigure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagramJourney and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be providedThe processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produceA raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for realThe device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spyDetermine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring toMake the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram orThe function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meterSeries of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer orThe instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram oneThe step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been describedProperty concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellentSelect embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present inventionGod and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologiesWithin, then the present invention is also intended to comprising including these changes and modification.