CN106095062A - A kind of electronic equipment and the method switching its duty - Google Patents

A kind of electronic equipment and the method switching its duty Download PDF

Info

Publication number
CN106095062A
CN106095062A CN201610418469.6A CN201610418469A CN106095062A CN 106095062 A CN106095062 A CN 106095062A CN 201610418469 A CN201610418469 A CN 201610418469A CN 106095062 A CN106095062 A CN 106095062A
Authority
CN
China
Prior art keywords
electronic equipment
component
duty
state
detection device
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.)
Pending
Application number
CN201610418469.6A
Other languages
Chinese (zh)
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.)
Hefei Lianbao Information Technology Co Ltd
Original Assignee
Hefei Lianbao Information Technology 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 Hefei Lianbao Information Technology Co Ltd filed Critical Hefei Lianbao Information Technology Co Ltd
Priority to CN201610418469.6A priority Critical patent/CN106095062A/en
Publication of CN106095062A publication Critical patent/CN106095062A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality

Abstract

The invention provides a kind of electronic equipment and the method switching its duty, described electronic equipment includes first component and the second component can relatively opened and close, luminance detection device, it is arranged on the side surface towards second component of described first component or is arranged on the side surface towards first component of second component, and is configured to detect brightness;State switching device, it is configured to the value of described brightness, the duty of described electronic equipment is converted to resting state.The present invention can realize resting state conversion according to the brightness value obtained, and has low cost and saves the effect of electronic device space.

Description

A kind of electronic equipment and the method switching its duty
Technical field
The present invention relates to smart machine neck, particularly to a kind of can be based on the brightness conversion electron equipment detected The method of duty.
Background technology
At present, after the electronic equipment closing lids such as notebook computer, sleep can be made it into by default or stop Sleep mode, can realize saving energy loss, improve the effect of system battery flying power.Existing solution generally uses Hall element and the configuration of Magnet, when closing lid, can trigger Hall element and produce a signal of telecommunication, can based on this signal System is made to enter park mode with triggering EC.
But, this solution possesses following shortcoming, and feature a) needing designer to design according to system ceaselessly adjusts The relative position of Hall element and magnet, relative location comparison is fixed underaction, and is taken relatively great institutions design space;b) Owing to there is the design error of Hall element and magnet, cause sleep or dormancy angle inaccuracy;C) product cost is increased.
Summary of the invention
The invention provides a kind of electronic equipment and switching that can realize resting state conversion according to the brightness value obtained The method of its duty.
In order to solve above-mentioned technical problem, the invention provides following technical scheme:
A kind of electronic equipment, described electronic equipment includes first component and the second component can relatively opened and close, Also include:
Luminance detection device, it is arranged on the side surface towards second component of described first component or is arranged on On a side surface towards first component of second component, and it is configured to detect brightness;
State switching device, it is configured to the value of described brightness, the duty of described electronic equipment is changed For resting state.
As preferably, also including action detection device, it is configured to monitor opening of described first component and second component Action and closed action, and when monitoring described opening action or closed action, described luminance detection device and state switching Device is started working.
As preferably, described state switching device is configured to when the value of described brightness is less than predetermined luminance threshold value, will The duty of described electronic equipment is converted to resting state.
As preferably, when monitoring that described first component is relative with second component to be opened, described state switching device is also It is configured to the value in described brightness in time changing to more than described luminance threshold less than described luminance threshold, described electronics is set Standby duty is converted to normal mode of operation.
As preferably, also include a data processing equipment, its be configured to described brightness value and with storage reflect Firing table, obtains the open angle between described first component and second component, and described state switching device is further configured to When the open angle obtained is less than predetermined angular threshold value, the duty of described subset is converted to resting state.
As preferably, described luminance detection device includes optical sensor.
As preferably, described action detection device includes the gravity sensitive being arranged on first component and/or second component Device or accelerometer.
As preferably, described luminance threshold takes from 4-11.
As preferably, described angle threshold takes from 10-20 degree.
It addition, a kind of method that present invention also offers duty switching electronic equipment, described method be applied to as Upper described electronic equipment, and comprise the following steps:
S1: detected brightness values by described luminance detection device;
S2: by described state switching device based on described brightness values by the duty of described electronic equipment in normal work Make to switch between state and resting state.
Compared with prior art, the beneficial effects of the present invention is.
1, the electronic equipment that the present invention provides is without arranging Hall element and Magnet, it is only necessary on an electronic device The one detection device that can detect brightness is set, i.e. can realize the conversion of resting state based on brightness value, decrease electronics The spatial volume of equipment, the least production cost.
2, simple and convenient by the way of the detection of brightness value, and certainty of measurement is high.
Accompanying drawing explanation
Fig. 1 is the theory structure block diagram of a kind of electronic equipment in the embodiment of the present invention;
Fig. 2 is the theory structure block diagram of a kind of electronic equipment in another embodiment of the present invention;
Fig. 3 is the flow chart of a kind of duty switching electronic equipment in the embodiment of the present invention.
Description of reference numerals
1-luminance detection device 2-state switching device
3-action detection device 4-data processing equipment
Detailed description of the invention
Below, in conjunction with accompanying drawing, embodiments of the invention are described in detail, but not as a limitation of the invention.
The invention provides a kind of electronic equipment, this electronic equipment can detect the brightness values of its outside received, And based on this testing result, perform the conversion of the resting state of electronic equipment.And without by arranging Hall element and magnetic Body device, reduces inner space and the volume of electronic equipment, decreases production cost.
As it is shown in figure 1, be the theory diagram of a kind of electronic equipment in the embodiment of the present invention, wherein, electronic equipment is permissible Including the first component can relatively opened and close and second component, as a example by notebook computer, first in the present embodiment Parts can be display end, and second component can be host side.But the electronic equipment of the embodiment of the present invention is not limited to notebook Computer, arbitrarily can realize relatively opening and closing, and the electronic equipment being able to carry out the duty such as dormancy or sleep all may be used Using as the electronic equipment in the embodiment of the present invention.
Electronic equipment in the embodiment of the present invention can also include luminance detection device 1, state switching device 2 and action Detection device 3.Wherein, luminance detection device 1 can be arranged on first component or second component, as being arranged on first component On a side surface of second component or be arranged on the side surface towards first component of second component, and it is used for examining Survey brightness value information.Preferably, from the point of view of notebook computer, luminance detection device 1 can be arranged on display end, as permissible This luminance detection device 1 is arranged near photographic head or is integrated in photographic head, to reduce the volume of electronic equipment.This brightness Detection device 1 can be ambient light sensor (ALS).
State switching device 2 can realize electronic equipment dormancy based on the brightness value that above-mentioned luminance detection device 1 detects The conversion of state.Further, this state switching device 2 can be arranged on inside first component or second component, and it can be with brightness Detection device connects.Concrete, owing to when first component and second component are relatively closed, luminance detection device 1 detects Brightness value can diminish, and when reaching a predetermined luminance threshold value, then electronic equipment can be carried out sleep operation.I.e. examine in brightness When the brightness value that survey device 1 detects is less than this predetermined luminance threshold value, the duty of electronic equipment is turned by state switching device 2 Change to resting state.
The duty of the electronic equipment in the present embodiment can include resting state and normal operating conditions.And for The conversion of duty can be configured by control power supply option of the prior art, to realize the automatic of above-mentioned duty Switching, does not repeats them here.It addition, above-mentioned luminance threshold can be default value, such as, it can be [4,11] LM (lumen) model Enclose interior arbitrary value.Although it addition, the present embodiment is the duty of electronic equipment is switched to resting state, but not limiting In this, it is also possible to realize the duty of electronic equipment is switched to sleep state.
Preferably, being provided with an action detection device 3 in the electronic device, this action detection device 3 may be used for inspection Survey that first component is relative with second component opens and relatively closed action, by this testing result, shape can be optimized further The configuration of state switching device.It addition, only relatively opening or relatively closed between first component and second component detected Time, just trigger luminance detection device 1 and state switching device 2 starts to perform action.The realization of this part configuration, can pass through Arranging gravity sensor or accelerometer on first component or second component, this gravity sensor or accelerometer can be by inspections The change-detection of measuring acceleration goes out the action relatively opened or close.
It addition, the state switching device 2 in the present embodiment can detect first component and second at action detection device 3 The relatively closed action of parts, and the brightness value that detects of luminance detection device 1 less than luminance threshold time, perform electronic equipment The switching of resting state.On the one hand, brightness detection dress can be controlled when detecting and relatively opening with relatively closed action Put the beginning of action of 1 and state switching device 2, it is not necessary to the moment carries out detecting work, can save electric power;On the other hand, may be used With when closed action being detected, just performed the switching of resting state by the comparison of brightness value with luminance threshold, further Optimize the configuration of the present embodiment.
It addition, the state switching device 2 in the present embodiment may be configured to, detect first at action detection device 3 During the relative opening action of parts and second component, and the brightness value that luminance detection device 1 detects becomes from less than luminance threshold Change to during more than luminance threshold, the duty of electronic equipment is switched to the state normally worked, and without to electronic equipment Further manipulated, the operating system of electronic equipment can be directly initiated and be operated the operation with other.
As in figure 2 it is shown, be the theory structure block diagram of a kind of electronic equipment in another embodiment of the present invention, based on above-mentioned reality Executing the description of example, it is preferred that can also include data processing equipment 4 in the present embodiment, this data processing equipment 4 can receive From the brightness value information of luminance detection device 1, and with reference in it storage about the relation between brightness value and open angle Mapping table, obtains the information of the open angle corresponding to this brightness value, and based on acquired open angle, cuts to described state Changing device 2 sends the control instruction that duty is resting state of regulation electronic equipment.
As shown in the table, demonstrate the mapping relations of the open angle in the present embodiment and brightness value, wherein by repeatedly Test and obtain the data of brightness value corresponding to open angle between first component and second component, can draw from table, though The brightness value that test obtains the most every time is different, but difference is not very big, therefore, can beat based on each in the present embodiment This mapping table of average brightness information architecture that angle of release degree is obtained.
And in the present embodiment, the open angle that DTU 4 can be corresponding in inspection side to brightness value makes a reservation for less than one During angle threshold, regulation electronic equipment is to resting state.This angle threshold can be taken from the value that [10,20] are spent, such as 15 degree.Example When brightness value as detected at luminance detection device 1 is 4, data processing equipment 4 determines that current open angle is 10 degree, by In this open angle less than 15 degree, i.e. can send regulation electronic equipment to state switching device 2 and perform the control of dormancy action Instruction.Electronic equipment is then converted to resting state according to this control instruction by state switching device 2.Preferably, above-mentioned configuration Can when action detection device 3 judges that first component and second component are relatively closed on the premise of perform.
It addition, further, mapping table based on above-mentioned brightness value Yu open angle, can be formed and present brightness value and beat The curvilinear function of the mapping relations between angle of release degree, data processing equipment 4 then can be according to curvilinear function directly by bright The open angle that angle value information acquisition is corresponding, and based on the magnitude relationship between this open angle and angle threshold, perform above-mentioned Dormancy action.
Additionally, it is preferred that, the open angle judged at data processing equipment 4 changes to greatly from the value less than angle threshold When the value of angle threshold, the control instruction being converted to normal operating conditions can be sent to state switching device.
It addition, the embodiment of the present invention additionally provides a kind of method switching electronic device works state, as it is shown on figure 3, it is The flow chart of a kind of method switching electronic device works state in the embodiment of the present invention.Wherein may comprise steps of:
S1: detected brightness values by luminance detection device 1;I.e. by being arranged on the brightness on first component or second component Detection device 1 obtains brightness values information.
S2: by state switching device 2 based on this brightness values by the duty of described electronic equipment at the shape that normally works Switch between state and resting state.Concrete, can comparison based on this brightness value and a luminance threshold (such as 7LM) knot Really, the duty of regulon equipment, it is also possible to regulate the work shape of electronic equipment based on the open angle that this brightness value is corresponding State.
Such as, when the brightness value obtained in judging step S1 is less than predetermined luminance threshold value, by regulation of electronics it is Resting state.Can also be that the open angle corresponding to brightness value obtained in judging step S1 is less than predetermined angular threshold During value (such as 15 degree), then it is resting state by regulation of electronics.
Preferably, step S0 is also included before step S1: judge that first component is relative with second component and open with relative Closure state;When for relatively closed state, perform step S1.
It addition, in step S2, if it is determined that the brightness value obtained transforms to more than brightness from the value less than luminance threshold During the value of threshold value, the duty of regulation electronic equipment be normally to work.
Or, if it is judged that open angle corresponding to the brightness value that obtained changes to greatly from the value less than angle threshold When the value of angle threshold, the duty of regulation electronic equipment is normal work.
By above-mentioned configuration, then can realize the conversion of the duty of correspondence, it is not necessary to use Hall element and magnet The mating reaction of device, not only reduces production cost, also reduces volume and the inner space of electronic equipment.
Above example is only the exemplary embodiment of the present invention, is not used in the restriction present invention, protection scope of the present invention It is defined by the claims.The present invention can be made respectively in the essence of the present invention and protection domain by those skilled in the art Planting amendment or equivalent, this amendment or equivalent also should be regarded as being within the scope of the present invention.

Claims (10)

1. an electronic equipment, described electronic equipment includes first component and the second component can relatively opened and close, its It is characterised by, also includes:
Luminance detection device, it is arranged on the side surface towards second component of described first component or is arranged on second On a side surface towards first component of parts, and it is configured to detect brightness;
State switching device, it is configured to the value of described brightness, the duty of described electronic equipment is converted to not Dormancy state.
Electronic equipment the most according to claim 1, it is characterised in that also include action detection device, it is configured to monitoring Described first component and the opening action of second component and closing motion, and monitoring described opening action or closed action Time, trigger described luminance detection device and state switching device is started working.
Electronic equipment the most according to claim 1, it is characterised in that described state switching device is configured at described light When the value of degree is less than predetermined luminance threshold value, the duty of described electronic equipment is converted to resting state.
Electronic equipment the most according to claim 3, it is characterised in that monitoring described first component and second component phase To when opening, described state switching device is additionally configured to change to be more than from less than described luminance threshold in the value of described brightness During described luminance threshold, the duty of described electronic equipment is converted to normal mode of operation.
Electronic equipment the most according to claim 1, it is characterised in that also include data processing equipment, it is configured to The value of described brightness and the mapping table of pre-stored, obtain the open angle between described first component and second component, described State switching device is further configured to when the open angle obtained is less than predetermined angular threshold value, by the work of described subset State Transferring is resting state.
Electronic equipment the most according to claim 1, it is characterised in that described luminance detection device includes optical sensor.
Electronic equipment the most according to claim 2, it is characterised in that described action detection device includes being arranged on first Gravity sensor on part and/or second component or accelerometer.
Electronic equipment the most according to claim 3, it is characterised in that described luminance threshold takes from 4-11.
Electronic equipment the most according to claim 5, it is characterised in that described angle threshold takes from 10-20 degree.
10. the method for the duty switching electronic equipment, it is characterised in that described method is applied to such as claim 1- Electronic equipment described in any one in 9, and comprise the following steps:
S1: detected brightness values by described luminance detection device;
S2: by described state switching device based on described brightness values by the duty of described electronic equipment at the shape that normally works Switch between state and resting state.
CN201610418469.6A 2016-06-13 2016-06-13 A kind of electronic equipment and the method switching its duty Pending CN106095062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610418469.6A CN106095062A (en) 2016-06-13 2016-06-13 A kind of electronic equipment and the method switching its duty

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610418469.6A CN106095062A (en) 2016-06-13 2016-06-13 A kind of electronic equipment and the method switching its duty

Publications (1)

Publication Number Publication Date
CN106095062A true CN106095062A (en) 2016-11-09

Family

ID=57846148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610418469.6A Pending CN106095062A (en) 2016-06-13 2016-06-13 A kind of electronic equipment and the method switching its duty

Country Status (1)

Country Link
CN (1) CN106095062A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109215616A (en) * 2018-10-11 2019-01-15 合肥联宝信息技术有限公司 A kind of control method and electronic equipment
CN112422742A (en) * 2020-11-20 2021-02-26 Oppo广东移动通信有限公司 NFC antenna control method and device, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853571A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Switching method for working states and electronic equipment
CN103885588A (en) * 2014-03-05 2014-06-25 小米科技有限责任公司 Automatic switchover method and device
US20160071488A1 (en) * 2014-09-05 2016-03-10 Shuttle Inc. Method for controlling display screen of electronic apparatus and application program of using the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853571A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Switching method for working states and electronic equipment
CN103885588A (en) * 2014-03-05 2014-06-25 小米科技有限责任公司 Automatic switchover method and device
US20160071488A1 (en) * 2014-09-05 2016-03-10 Shuttle Inc. Method for controlling display screen of electronic apparatus and application program of using the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109215616A (en) * 2018-10-11 2019-01-15 合肥联宝信息技术有限公司 A kind of control method and electronic equipment
CN112422742A (en) * 2020-11-20 2021-02-26 Oppo广东移动通信有限公司 NFC antenna control method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN106505695B (en) A kind of charge control method, device and terminal
US10862595B2 (en) Method for processing radio frequency interference, and electronic device
US8464085B2 (en) Method and device for controlling operation of a portable electronic device
CN103024197B (en) Touch screen cellphone capable of preventing misoperations during calls and using method for touch screen cellphone
EP2469965A1 (en) Method, device and mobile terminal for locking/unlocking control
TWI493334B (en) Poewr saving method and sensor management system implementing the same
US10908923B2 (en) Application starting method and terminal device
CN106357922A (en) State monitoring method and device for terminal equipment and terminal equipment
CN104902186A (en) Method for fast starting camera program and mobile terminal using the method
CN107210027A (en) It is determined that there is screen light to the reflection of display screen to carry out screen light brightness regulation
CN106095062A (en) A kind of electronic equipment and the method switching its duty
CN106383644A (en) Voice recognition enabling method and apparatus for electronic device
CN105700666A (en) Terminal device and electricity saving method and device thereof
CN106980527A (en) Start method, device and the intelligent terminal of fingerprint recognition
CN107104478A (en) A kind of information processing method and electronic equipment
CN103902396B (en) A kind of information processing method and electronic equipment
CN106816139A (en) The control method of backlight, control device and the terminal with backlight
CN106033253A (en) A terminal control method and device
CN201345668Y (en) Mobile terminal and slip-cover opening/closing detection device thereof
CN109521875A (en) A kind of screen control method, electronic equipment and computer readable storage medium
CN109405867A (en) The sensor detection control method and system of mobile robot
CN110049537A (en) A kind of electricity saving method of intelligent wearable device, device, equipment and storage medium
CN105141836B (en) A kind of method and device for reducing terminal rotating camera false triggering
CN106849780B (en) The control method and motor status of gauge valve control motor control machine
CN107809525A (en) Mobile terminal and its control method, storage device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161109

RJ01 Rejection of invention patent application after publication