CN107577275A - A kind of data processing method and electronic equipment - Google Patents
A kind of data processing method and electronic equipment Download PDFInfo
- Publication number
- CN107577275A CN107577275A CN201710792342.5A CN201710792342A CN107577275A CN 107577275 A CN107577275 A CN 107577275A CN 201710792342 A CN201710792342 A CN 201710792342A CN 107577275 A CN107577275 A CN 107577275A
- Authority
- CN
- China
- Prior art keywords
- display screen
- electronic equipment
- hardware
- screen plane
- location status
- 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
Links
Abstract
The invention discloses a kind of data processing method and electronic equipment, by detecting the location status between the display screen plane of electronic equipment and keyboard plan, when it is buckling state to detect the location status between display screen plane and keyboard plan, control is first hardware-initiated positioned at bottom, otherwise, the second of the opening position that is blocked when control is located at fastening is hardware-initiated.This programme sets the first hardware and the second hardware respectively by the opening position that is blocked in electronic equipment bottom and fastening, in order to when fastening or non-buckling state, it can ensure that at least one hardware is in running order, avoid and only have the hardware positioned at the opening position that is blocked when fastening in the prior art, when buckling state, due to the problem of the leading to not normal work that be blocked, Consumer's Experience is improved.
Description
Technical field
The present invention relates to control field, more particularly to a kind of data processing method and electronic equipment.
Background technology
At present, for electronic equipment, such as:Notebook computer, there is display screen plane and keyboard plan, when display screen is put down
When face and keyboard plan fasten, i.e., when notebook computer closing lid enters park mode, for it is sightless after closing lid, positioned at display
Function between screen plane and keyboard plan can not then use, such as:The microphone being arranged on above display screen, or it is arranged on display
It is first-class to shield the shooting of top, reduces Consumer's Experience.
The content of the invention
In view of this, the present invention provides a kind of data processing method and electronic equipment, to solve to work as electronics in the prior art
When equipment closing lid enters park mode, the function between display screen plane and keyboard plan can not use, and reduce user
The problem of experience, its concrete scheme are as follows:
A kind of data processing method, applied to electronic equipment, including:
Detect the location status between the display screen plane of the electronic equipment and keyboard plan;
When it is buckling state to detect the location status between the display screen plane and keyboard plan, control is located at institute
State electronic equipment bottom first is hardware-initiated;
When it is non-buckling state to detect the location status between the display screen plane and keyboard plan, control is located at
The second of the opening position that is blocked during fastening is hardware-initiated.
Further, the location status between the display screen plane of the detection electronic equipment and keyboard plan, bag
Include:
Detect the angle between the keyboard plan of electronic equipment and display screen plane;
When the angle is in default first threshold scope, determine between keyboard plan and the display screen plane
Location status is buckling state, is non-buckling state otherwise.
Further, the location status between the display screen plane of the detection electronic equipment and keyboard plan, bag
Include:
The distance between the first preset and the second preset are detected, first preset is the aobvious of the electronic equipment
Point in display screen plane, second preset are the point on the keyboard plan of the electronic equipment;
When the distance between first preset and the second preset are in Second Threshold scope, the keyboard is determined
Location status between plane and display screen plane is buckling state, is non-buckling state otherwise.
Further, the location status between the display screen plane of the detection electronic equipment and keyboard plan, bag
Include:
Detect the running status of the electronic equipment;
When the running status of the electronic equipment is normal operating condition, the keyboard plan and display screen plane are determined
Between location status be non-buckling state;
When the running status of the electronic equipment is non-normal use state, detects the display screen plane and put down with keyboard
Position relationship between face;
Determine whether the location status between keyboard plan and the display screen plane is fastening according to the position relationship
State.
Further, in addition to:
When it is buckling state to detect the location status between the display screen plane and keyboard plan, control is positioned at button
Second hardware of the opening position that is blocked during conjunction is closed;
When it is non-buckling state to detect the location status between the display screen plane and keyboard plan, control is located at
First hardware of the electronic equipment bottom is closed, and first hardware and the second hardware are identical hardware.
Further, in addition to:
When detecting that the location status between the display screen plane and keyboard plan is changed into non-fastening shape from buckling state
During state, the running status for adjusting the electronic equipment is normal operating condition.
Further, in addition to:
When detect the location status between the display screen plane and keyboard plan from non-buckling state be changed into fasten shape
During state, the running status for adjusting the electronic equipment is non-normal use state, and the non-normal use state includes:Dormancy shape
State.
A kind of electronic equipment, including:First hardware, the second hardware and processor, wherein:
The processor is used to detect the location status between the display screen plane of electronic equipment and keyboard plan, works as detection
When to the location status between the display screen plane and keyboard plan being buckling state, control is located at the electronic equipment bottom
It is first hardware-initiated, when it is non-buckling state to detect the location status between the display screen plane and keyboard plan,
The second of the opening position that is blocked when control is positioned at fastening is hardware-initiated.
Further, the location status between the display screen plane of the processor detection electronic equipment and keyboard plan,
Including:
The processor is used to detect the angle between the keyboard plan of the electronic equipment and display screen plane, when described
When angle is in default first threshold scope, the location status between keyboard plan and the display screen plane is determined to fasten
State, it is non-buckling state otherwise.
Further, the location status between the display screen plane of the processor detection electronic equipment and keyboard plan,
Including:
The processor detects the distance between the first preset and the second preset, and first preset is the electricity
Point in the display screen plane of sub- equipment, second preset is the point on the keyboard plan of the electronic equipment, when described
When the distance between first preset and the second preset are in Second Threshold scope, determine that the keyboard plan is put down with display screen
Location status between face is buckling state, is non-buckling state otherwise.
Further, the location status between the display screen plane of the processor detection electronic equipment and keyboard plan,
Including:
The processor detects the running status of the electronic equipment, when the running status of the electronic equipment is normally to make
During with state, it is non-buckling state to determine the location status between keyboard plan and the display screen plane, when the electronics is set
When standby running status is non-normal use state, the position relationship between the display screen plane and keyboard plan, root are detected
Determine whether the location status between keyboard plan and the display screen plane is buckling state according to the position relationship.
Further, the processor is additionally operable to:
When it is buckling state to detect the location status between the display screen plane and keyboard plan, control is positioned at button
Second hardware of the opening position that is blocked during conjunction is closed, when detecting the location status between the display screen plane and keyboard plan
For non-buckling state when, control positioned at the electronic equipment bottom the first hardware close, first hardware and the second hardware
For identical hardware.
Further, the processor is additionally operable to:
When detecting that the location status between the display screen plane and keyboard plan is changed into non-fastening shape from buckling state
During state, the running status for adjusting the electronic equipment is normal operating condition.
Further, the processor is additionally operable to:
When detect the location status between the display screen plane and keyboard plan from non-buckling state be changed into fasten shape
During state, the running status for adjusting the electronic equipment is non-normal use state, and the non-normal use state includes:Dormancy shape
State.
It can be seen from the above technical proposal that data processing method disclosed in the present application and electronic equipment, by detecting electricity
Location status between the display screen plane and keyboard plan of sub- equipment, when detecting between display screen plane and keyboard plan
When location status is buckling state, control is first hardware-initiated positioned at bottom, and otherwise, control is positioned at the position that is blocked when fastening
The second of place is hardware-initiated.This programme sets the first hardware respectively by the opening position that is blocked in electronic equipment bottom and fastening
And second hardware, in order to when fastening or non-buckling state, ensure that at least one hardware is in running order, avoid
Only have the hardware positioned at the opening position that is blocked when fastening in the prior art, when buckling state, cause due to being blocked
Can not normal work the problem of, improve Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of data processing method disclosed in the embodiment of the present invention;
Fig. 2 is a kind of flow chart of data processing method disclosed in the embodiment of the present invention;
Fig. 3 is a kind of flow chart of data processing method disclosed in the embodiment of the present invention;
Fig. 4 is a kind of flow chart of data processing method disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of a kind of electronic equipment disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
The invention discloses a kind of data processing method, applied to electronic equipment, its flow chart as shown in figure 1, including:
Step S11, the location status between the display screen plane of electronic equipment and keyboard plan is detected;
Face where face where electronic equipment comprises at least display screen and keyboard, such as:Notebook computer, notebook computer show
The one end in face is connected with the one end in face where keyboard where display screen.
Location status between display screen plane and keyboard plan comprises at least:Buckling state and non-buckling state, wherein,
Buckling state is that the one end in face where display screen is connected with the one end in face where keyboard, the other end in face where display screen and
The other end in face is in contact where keyboard;Non- buckling state is:One end of the one end in face and face where keyboard where display screen
It is connected, the other end in face does not contact with the other end in face where keyboard where display screen, and face where display screen and keyboard institute
Rotated in face using the one end being connected as axle, certain angle is may make up between two faces.
Step S12, when it is buckling state to detect the location status between display screen plane and keyboard plan, control bit
First in electronic equipment bottom is hardware-initiated;
When the location status between display screen plane and keyboard plan is buckling state, display screen plane is arranged at originally
The upper, camera positioned at display screen top and microphone can be overshadowed between display screen plane and keyboard plan, make shooting
Invisible, microphone is unavailable or influences using effect.
Therefore, in order to solve this problem, the first hardware is set in electronic equipment bottom, wherein, the first hardware can be:
Microphone, or camera, can also be the hardware that other influence to use under buckling state.
When the first hardware is microphone, directly by the first hardware setting in electronic equipment bottom, such as:Face where keyboard
Optional position, can be specially:Below keyboard, or:The side in face, can also exist the first hardware setting where keyboard
The visible face in face where display screen under the back side of display screen, i.e. buckling state.
, can be by the first hardware setting in electronic equipment bottom, such as when the first hardware is camera:Face where keyboard
Side, or, the back side of display screen, i.e., the visible face in face where display screen under buckling state, rather than be snapped with where keyboard
The face of face contact.
The first hardware is set in electronic equipment bottom, and starts first hardware under buckling state, so as to avoid button
It is blocked under conjunction state and influences the use of hardware.
Step S13, when it is non-buckling state to detect the location status between display screen plane and keyboard plan, control
Second positioned at the opening position that is blocked when fastening is hardware-initiated.
When the location status between display screen plane and keyboard plan is non-buckling state, face where display screen is arranged at
Hardware be not blocked, do not influence to use, therefore, when for non-buckling state when, start to be located under buckling state and be blocked position
Second hardware at place, wherein, the second hardware can be camera, or microphone.
First hardware and the second hardware are same hardware.
When the first hardware and the second hardware are microphone, when for buckling state when, start the first hardware, at this point it is possible to
Control the second hardware to close, to avoid influenceing the using effect of the first hardware, the second hardware can not also be controlled, only needed
Ensure first it is hardware-initiated can normal use;When for non-buckling state when, start the second hardware, at this point it is possible to control the
One hardware is closed, to avoid influenceing the using effect of the second hardware, or the first hardware is not controlled, only needs to ensure
Second it is hardware-initiated can normal use.
When the first hardware and the second hardware are camera, when for buckling state when, start the first hardware, control is second hard
Part is closed;When for non-buckling state when, start the second hardware, control the first hardware close.
Data processing method disclosed in the present embodiment, by detecting between the display screen plane of electronic equipment and keyboard plan
Location status, when it is buckling state to detect the location status between display screen plane and keyboard plan, control be located at bottom
The first of layer is hardware-initiated, and otherwise, the second of the opening position that is blocked when control is positioned at fastening is hardware-initiated.This programme passes through in electricity
The opening position that is blocked when sub- equipment bottom and fastening sets the first hardware and the second hardware respectively, in order in fastening or non-fastening
It during state, can ensure that at least one hardware is in running order, avoid in the prior art and only have one positioned at when fastening
The hardware for the opening position that is blocked, when buckling state, due to the problem of the leading to not normal work that be blocked, improve user's body
Test.
Present embodiment discloses a kind of data processing method, applied to electronic equipment, its flow chart as shown in Fig. 2 including:
Step S21, the angle between the keyboard plan of electronic equipment and display screen plane is detected;
The side of the keyboard plan of electronic equipment is connected with the side of display screen plane, is fixed by a rotatable axle,
By pulling the opposite side of display screen plane or the opposite side of keyboard plan, axle can be rotated, so that keyboard plan is with showing
Angle is formed between display screen plane.
Step S22, when angle is in default first threshold scope, determine between keyboard plan and display screen plane
Location status is buckling state, and control is first hardware-initiated positioned at electronic equipment bottom;
When the angle between keyboard plan and display screen plane is in default first threshold scope, by keyboard plan with
Location status between display screen plane is defined as buckling state.
Specifically, the determination of first threshold scope can be:When the keyboard plan of electronic equipment is located at desktop, positioned at aobvious
The second hardware in display screen plane is invisible or when the using effect of the second hardware is less than a certain predeterminable level, now keyboard will put down
Angle between face and display screen plane is defined as the maximum in first threshold scope, and minimum value is keyboard plan and display
Screen plane fastens completely, i.e., angle is 0.
Alternatively, it is also possible to for:The directly default a certain scope for influenceing the second hardware using effect is first threshold scope.
Now, start the first hardware, close the second hardware.
Step S23, when outside angle is in default first threshold scope, determine keyboard plan and display screen plane it
Between location status be non-buckling state, control is positioned at the second hardware-initiated of opening position that be blocked when fastening.
When outside the angle between keyboard plan and display screen plane is in first threshold scope, show position now
State does not influence the use of the second hardware, then only starts the second hardware, hardware-initiated without first.
Data processing method disclosed in the present embodiment, by detecting between the display screen plane of electronic equipment and keyboard plan
Location status, when it is buckling state to detect the location status between display screen plane and keyboard plan, control be located at bottom
The first of layer is hardware-initiated, and otherwise, the second of the opening position that is blocked when control is positioned at fastening is hardware-initiated.This programme passes through in electricity
The opening position that is blocked when sub- equipment bottom and fastening sets the first hardware and the second hardware respectively, in order in fastening or non-fastening
It during state, can ensure that at least one hardware is in running order, avoid in the prior art and only have one positioned at when fastening
The hardware for the opening position that is blocked, when buckling state, due to the problem of the leading to not normal work that be blocked, improve user's body
Test.
Present embodiment discloses a kind of data processing method, applied to electronic equipment, its flow chart as shown in figure 3, including:
Step S31, the distance between the first preset and the second preset are detected, the first preset is the aobvious of electronic equipment
Point in display screen plane, the second preset are the point on the keyboard plan of electronic equipment;
First preset is determined in the display screen plane of electronic equipment, is determined on the keyboard plan of electronic equipment
One the second preset, can be without any dependency relation between the first preset and the second preset.
The side of display screen plane of electronic equipment is connected with the side of keyboard plan by a rotatable axle, is pulled
The opposite side of display screen plane or the opposite side of keyboard plan, it can to form one between display screen plane and keyboard plan
Angle, during pulling, the distance between the first preset and second preset change, and angle is smaller, apart from smaller,
Angle is bigger, and distance is bigger.
When the distance between the first preset and the second preset are less than to a certain degree, the use of the second hardware is influenceed,
At this point it is possible to determine that the display screen plane of electronic equipment and keyboard plan are in buckling state, start the first hardware;When first pre-
The distance between second preset set up an office when being more than the first degree, the second hardware can normal use, at this point it is possible to determine electronics
The display screen plane of equipment is in non-buckling state with keyboard plan, starts the second hardware.
Step S32, when the distance between the first preset and the second preset are in Second Threshold scope, keyboard is determined
Location status between plane and display screen plane is buckling state, and control is first hardware-initiated positioned at electronic equipment bottom;
Step S33, when outside the distance between the first preset and the second preset are in Second Threshold scope, it is determined that
Location status between keyboard plan and display screen plane is non-buckling state, second hardware of the control positioned at electronic equipment bottom
Start.
Data processing method disclosed in the present embodiment, by detecting between the display screen plane of electronic equipment and keyboard plan
Location status, when it is buckling state to detect the location status between display screen plane and keyboard plan, control be located at bottom
The first of layer is hardware-initiated, and otherwise, the second of the opening position that is blocked when control is positioned at fastening is hardware-initiated.This programme passes through in electricity
The opening position that is blocked when sub- equipment bottom and fastening sets the first hardware and the second hardware respectively, in order in fastening or non-fastening
It during state, can ensure that at least one hardware is in running order, avoid in the prior art and only have one positioned at when fastening
The hardware for the opening position that is blocked, when buckling state, due to the problem of the leading to not normal work that be blocked, improve user's body
Test.
Present embodiment discloses a kind of data processing method, applied to electronic equipment, its flow chart as shown in figure 4, including:
Step S41, the running status of electronic equipment is detected;
The running status of electronic equipment includes:Normal operating condition, non-normal use state, wherein, non-normal use shape
State includes:Resting state, sleep state and off-mode;Normal operating condition is:Electronic equipment is in running status, and keyboard
Angle between plane and display screen plane is to reach certain angular range.
Step S42, when the running status of electronic equipment is normal operating condition, keyboard plan and display screen plane are determined
Between location status be non-buckling state, control is positioned at the second hardware-initiated of opening position that be blocked when fastening;
When electronic equipment is normal operating condition, the second hardware can normal use, then start the second hardware, without start
First hardware.
Step S43, when the running status of electronic equipment is non-normal use state, detection display screen plane is put down with keyboard
Position relationship between face;
When electronic equipment is non-normal use state, i.e., electronic equipment is resting state, sleep state or off-mode
When, it is necessary to determine the position relationship between display screen plane and keyboard plan first, specifically, can by display screen plane with
Angle between keyboard plan determines position relationship, can also be by the first preset in display screen plane and keyboard plan
The distance between the second preset determine position relationship, so that it is determined that it is also non-buckling state that location status, which is buckling state,.
Buckling state then starts the first hardware, closes the second hardware, and non-buckling state then starts the second hardware, closes the first hardware.
Further, can also be:
When detecting that the location status between display screen plane and keyboard plan is changed into non-buckling state from buckling state,
The running status for adjusting electronic equipment is normal operating condition.I.e. no matter buckling state when, the running status of electronic equipment is sleeps
Dormancy state, resting state or off-mode, when being changed into non-buckling state from buckling state, that is, adjust the operation of electronic equipment
State is normal operating condition, i.e. running status;
When detecting that the location status between display screen plane and keyboard plan is changed into buckling state from non-buckling state,
The running status for adjusting electronic equipment is non-normal use state.I.e. no matter non-buckling state when electronic equipment running status be
Running status or non-operating state, when being changed into buckling state from non-buckling state, the running status of electronic equipment is respectively provided with
For non-normal use state.
Step S44, determine whether the location status between keyboard plan and display screen plane is fastening according to position relationship
State;
Step S45, if so, control is positioned at the first hardware-initiated of electronic equipment bottom;
Step S46, otherwise, the second of the opening position that is blocked when control is located at fastening is hardware-initiated.
Data processing method disclosed in the present embodiment, by detecting between the display screen plane of electronic equipment and keyboard plan
Location status, when it is buckling state to detect the location status between display screen plane and keyboard plan, control be located at bottom
The first of layer is hardware-initiated, and otherwise, the second of the opening position that is blocked when control is positioned at fastening is hardware-initiated.This programme passes through in electricity
The opening position that is blocked when sub- equipment bottom and fastening sets the first hardware and the second hardware respectively, in order in fastening or non-fastening
It during state, can ensure that at least one hardware is in running order, avoid in the prior art and only have one positioned at when fastening
The hardware for the opening position that is blocked, when buckling state, due to the problem of the leading to not normal work that be blocked, improve user's body
Test.
Present embodiment discloses a kind of electronic equipment, its structural representation as shown in figure 5, including:
First hardware 51, the second hardware 52 and processor 53.
Wherein, processor 53 is used to detect the location status between the display screen plane of electronic equipment and keyboard plan, when
When the location status for detecting between display screen plane and keyboard plan is buckling state, control positioned at electronic equipment bottom the
One hardware 51 starts, when it is non-buckling state to detect the location status between display screen plane and keyboard plan, control bit
The second of the opening position that is blocked when fastening is hardware-initiated.
Face where face where electronic equipment comprises at least display screen and keyboard, such as:Notebook computer, notebook computer show
The one end in face is connected with the one end in face where keyboard where display screen.
Location status between display screen plane and keyboard plan comprises at least:Buckling state and non-buckling state, wherein,
Buckling state is that the one end in face where display screen is connected with the one end in face where keyboard, the other end in face where display screen and
The other end in face is in contact where keyboard;Non- buckling state is:One end of the one end in face and face where keyboard where display screen
It is connected, the other end in face does not contact with the other end in face where keyboard where display screen, and face where display screen and keyboard institute
Rotated in face using the one end being connected as axle, certain angle is may make up between two faces.
When the location status between display screen plane and keyboard plan is buckling state, display screen plane is arranged at originally
The upper, camera positioned at display screen top and microphone can be overshadowed between display screen plane and keyboard plan, make shooting
Invisible, microphone is unavailable or influences using effect.
Therefore, in order to solve this problem, the first hardware is set in electronic equipment bottom, wherein, the first hardware can be:
Microphone, or camera, can also be the hardware that other influence to use under buckling state.
When the first hardware is microphone, directly by the first hardware setting in electronic equipment bottom, such as:Face where keyboard
Optional position, can be specially:Below keyboard, or:The side in face, can also exist the first hardware setting where keyboard
The visible face in face where display screen under the back side of display screen, i.e. buckling state.
, can be by the first hardware setting in electronic equipment bottom, such as when the first hardware is camera:Face where keyboard
Side, or, the back side of display screen, i.e., the visible face in face where display screen under buckling state, rather than be snapped with where keyboard
The face of face contact.
The first hardware is set in electronic equipment bottom, and starts first hardware under buckling state, so as to avoid button
It is blocked under conjunction state and influences the use of hardware.
When the location status between display screen plane and keyboard plan is non-buckling state, face where display screen is arranged at
Hardware be not blocked, do not influence to use, therefore, when for non-buckling state when, start to be located under buckling state and be blocked position
Second hardware at place, wherein, the second hardware can be camera, or microphone.
First hardware and the second hardware are same hardware.
When the first hardware and the second hardware are microphone, when for buckling state when, start the first hardware, at this point it is possible to
Control the second hardware to close, to avoid influenceing the using effect of the first hardware, the second hardware can not also be controlled, only needed
Ensure first it is hardware-initiated can normal use;When for non-buckling state when, start the second hardware, at this point it is possible to control the
One hardware is closed, to avoid influenceing the using effect of the second hardware, or the first hardware is not controlled, only needs to ensure
Second it is hardware-initiated can normal use.
When the first hardware and the second hardware are camera, when for buckling state when, start the first hardware, control is second hard
Part is closed;When for non-buckling state when, start the second hardware, control the first hardware close.
Processor 53 detects the location status between the display screen plane of electronic equipment and keyboard plan, Ke Yiwei:
Processor 53 detects the angle between the keyboard plan of electronic equipment and display screen plane, when angle is in default
During first threshold scope, it is buckling state to determine the location status between keyboard plan and display screen plane, is non-fastening otherwise
State.
The side of the keyboard plan of electronic equipment is connected with the side of display screen plane, is fixed by a rotatable axle,
By pulling the opposite side of display screen plane or the opposite side of keyboard plan, axle can be rotated, so that keyboard plan is with showing
Angle is formed between display screen plane.
When the angle between keyboard plan and display screen plane is in default first threshold scope, by keyboard plan with
Location status between display screen plane is defined as buckling state.
Specifically, the determination of first threshold scope can be:When the keyboard plan of electronic equipment is located at desktop, positioned at aobvious
The second hardware in display screen plane is invisible or when the using effect of the second hardware is less than a certain predeterminable level, now keyboard will put down
Angle between face and display screen plane is defined as the maximum in first threshold scope, and minimum value is keyboard plan and display
Screen plane fastens completely, i.e., angle is 0.
Alternatively, it is also possible to for:The directly default a certain scope for influenceing the second hardware using effect is first threshold scope.
Now, start the first hardware, close the second hardware.
When outside the angle between keyboard plan and display screen plane is in first threshold scope, show position now
State does not influence the use of the second hardware, then only starts the second hardware, hardware-initiated without first.
Processor 53 detects the location status between the display screen plane of electronic equipment and keyboard plan, Ke Yiwei:
Processor 53 detects the distance between the first preset and the second preset, and the first preset is in display screen plane
Point, the second preset be keyboard plan on point, when the distance between the first preset and the second preset are in the second threshold
When being worth scope, it is buckling state to determine the location status between keyboard plan and display screen plane, is non-buckling state otherwise.
First preset is determined in the display screen plane of electronic equipment, is determined on the keyboard plan of electronic equipment
One the second preset, can be without any dependency relation between the first preset and the second preset.
The side of display screen plane of electronic equipment is connected with the side of keyboard plan by a rotatable axle, is pulled
The opposite side of display screen plane or the opposite side of keyboard plan, it can to form one between display screen plane and keyboard plan
Angle, during pulling, the distance between the first preset and second preset change, and angle is smaller, apart from smaller,
Angle is bigger, and distance is bigger.
When the distance between the first preset and the second preset are less than to a certain degree, the use of the second hardware is influenceed,
At this point it is possible to determine that the display screen plane of electronic equipment and keyboard plan are in buckling state, start the first hardware;When first pre-
The distance between second preset set up an office when being more than the first degree, the second hardware can normal use, at this point it is possible to determine electronics
The display screen plane of equipment is in non-buckling state with keyboard plan, starts the second hardware.
Processor 53 detects the location status between the display screen plane of electronic equipment and keyboard plan, Ke Yiwei:
Processor 53 detects the running status of electronic equipment, when the running status of electronic equipment is normal operating condition,
It is non-buckling state to determine the location status between keyboard plan and display screen plane, when the running status of electronic equipment is anon-normal
During normal use state, the position relationship between display screen plane and keyboard plan is detected, keyboard plan is determined according to position relationship
Whether the location status between display screen plane is buckling state.
The running status of electronic equipment includes:Normal operating condition, non-normal use state, wherein, non-normal use shape
State includes:Resting state, sleep state and off-mode;Normal operating condition is:Electronic equipment is in running status, and keyboard
Angle between plane and display screen plane is to reach certain angular range.
When electronic equipment is normal operating condition, the second hardware can normal use, then start the second hardware, without start
First hardware.
When electronic equipment is non-normal use state, i.e., electronic equipment is resting state, sleep state or off-mode
When, it is necessary to determine the position relationship between display screen plane and keyboard plan first, specifically, can by display screen plane with
Angle between keyboard plan determines position relationship, can also be by the first preset in display screen plane and keyboard plan
The distance between the second preset determine position relationship, so that it is determined that it is also non-buckling state that location status, which is buckling state,.
Buckling state then starts the first hardware, closes the second hardware, and non-buckling state then starts the second hardware, closes the first hardware.
Further, can also be:
When detecting that the location status between display screen plane and keyboard plan is changed into non-buckling state from buckling state,
The running status for adjusting electronic equipment is normal operating condition.I.e. no matter buckling state when, the running status of electronic equipment is sleeps
Dormancy state, resting state or off-mode, when being changed into non-buckling state from buckling state, that is, adjust the operation of electronic equipment
State is normal operating condition, i.e. running status;
When detecting that the location status between display screen plane and keyboard plan is changed into buckling state from non-buckling state,
The running status for adjusting electronic equipment is non-normal use state.I.e. no matter non-buckling state when electronic equipment running status be
Running status or non-operating state, when being changed into buckling state from non-buckling state, the running status of electronic equipment is respectively provided with
For non-normal use state.
Electronic equipment disclosed in the present embodiment, by detecting the position between the display screen plane of electronic equipment and keyboard plan
Configuration state, when it is buckling state to detect the location status between display screen plane and keyboard plan, control is positioned at bottom
First is hardware-initiated, and otherwise, the second of the opening position that is blocked when control is positioned at fastening is hardware-initiated.This programme in electronics by setting
The opening position that is blocked when standby bottom and fastening sets the first hardware and the second hardware respectively, in order in fastening or non-buckling state
When, it can ensure that at least one hardware is in running order, avoid in the prior art and hidden when only having one positioned at fastening
The hardware of opening position is kept off, when buckling state, due to the problem of the leading to not normal work that be blocked, improves Consumer's Experience.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other
The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment
For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part
It is bright.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description
And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software, the composition and step of each example are generally described according to function in the above description.These
Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty
Technical staff can realize described function using distinct methods to each specific application, but this realization should not
Think beyond the scope of this invention.
Directly it can be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor
Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The most wide scope caused.
Claims (10)
- A kind of 1. data processing method, applied to electronic equipment, it is characterised in that including:Detect the location status between the display screen plane of the electronic equipment and keyboard plan;When it is buckling state to detect the location status between the display screen plane and keyboard plan, control is located at the electricity The first of sub- equipment bottom is hardware-initiated;When it is non-buckling state to detect the location status between the display screen plane and keyboard plan, control is positioned at fastening When be blocked the second hardware-initiated of opening position.
- 2. according to the method for claim 1, it is characterised in that the display screen plane and key of the detection electronic equipment Location status between disk plane, including:Detect the angle between the keyboard plan of electronic equipment and display screen plane;When the angle is in default first threshold scope, the position between keyboard plan and the display screen plane is determined State is buckling state, is non-buckling state otherwise.
- 3. according to the method for claim 1, it is characterised in that the display screen plane and key of the detection electronic equipment Location status between disk plane, including:The distance between the first preset and the second preset are detected, first preset is the display screen of the electronic equipment Point in plane, second preset are the point on the keyboard plan of the electronic equipment;When the distance between first preset and the second preset are in Second Threshold scope, the keyboard plan is determined Location status between display screen plane is buckling state, is non-buckling state otherwise.
- 4. according to the method for claim 1, it is characterised in that the display screen plane and key of the detection electronic equipment Location status between disk plane, including:Detect the running status of the electronic equipment;When the running status of the electronic equipment is normal operating condition, determine between keyboard plan and the display screen plane Location status be non-buckling state;When the running status of the electronic equipment is non-normal use state, detect the display screen plane and keyboard plan it Between position relationship;Determine whether the location status between keyboard plan and the display screen plane is buckling state according to the position relationship.
- 5. according to the method for claim 1, it is characterised in that also include:When it is buckling state to detect the location status between the display screen plane and keyboard plan, control is positioned at when fastening Second hardware of the opening position that is blocked is closed;When it is non-buckling state to detect the location status between the display screen plane and keyboard plan, control is positioned at described First hardware of electronic equipment bottom is closed, and first hardware and the second hardware are identical hardware.
- 6. a kind of electronic equipment, it is characterised in that including:First hardware, the second hardware and processor, wherein:The processor is used to detect the location status between the display screen plane of electronic equipment and keyboard plan, when detecting When the location status stated between display screen plane and keyboard plan is buckling state, control positioned at the electronic equipment bottom the One is hardware-initiated, when it is non-buckling state to detect the location status between the display screen plane and keyboard plan, control Second positioned at the opening position that is blocked when fastening is hardware-initiated.
- 7. electronic equipment according to claim 6, it is characterised in that the display screen of the processor detection electronic equipment is put down Location status between face and keyboard plan, including:The processor is used to detect the angle between the keyboard plan of the electronic equipment and display screen plane, when the angle During in default first threshold scope, the location status between keyboard plan and the display screen plane is determined to fasten shape State, it is non-buckling state otherwise.
- 8. electronic equipment according to claim 6, it is characterised in that the display screen of the processor detection electronic equipment is put down Location status between face and keyboard plan, including:The processor detects the distance between the first preset and the second preset, and first preset is that the electronics is set Point in standby display screen plane, second preset is the point on the keyboard plan of the electronic equipment, when described first When the distance between preset and the second preset are in Second Threshold scope, determine the keyboard plan and display screen plane it Between location status be buckling state, be non-buckling state otherwise.
- 9. electronic equipment according to claim 6, it is characterised in that the display screen of the processor detection electronic equipment is put down Location status between face and keyboard plan, including:The processor detects the running status of the electronic equipment, when the running status of the electronic equipment is normal use shape During state, determine that the location status between keyboard plan and the display screen plane is non-buckling state, when the electronic equipment When running status is non-normal use state, the position relationship between the display screen plane and keyboard plan is detected, according to institute State position relationship and determine whether the location status between keyboard plan and the display screen plane is buckling state.
- 10. electronic equipment according to claim 6, it is characterised in that the processor is additionally operable to:When it is buckling state to detect the location status between the display screen plane and keyboard plan, control is positioned at when fastening Second hardware of the opening position that is blocked is closed, when detecting the location status between the display screen plane and keyboard plan to be non- During buckling state, control is closed positioned at the first hardware of the electronic equipment bottom, and first hardware is phase with the second hardware Same hardware.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710792342.5A CN107577275A (en) | 2017-09-05 | 2017-09-05 | A kind of data processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710792342.5A CN107577275A (en) | 2017-09-05 | 2017-09-05 | A kind of data processing method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107577275A true CN107577275A (en) | 2018-01-12 |
Family
ID=61031308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710792342.5A Pending CN107577275A (en) | 2017-09-05 | 2017-09-05 | A kind of data processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107577275A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070236464A1 (en) * | 2002-11-06 | 2007-10-11 | Kabushiki Kaisha Toshiba | Information processing device and key button function allocating method used therefor |
CN103150008A (en) * | 2012-06-18 | 2013-06-12 | 联想(北京)有限公司 | Input state switching method and device |
CN104346119A (en) * | 2013-08-09 | 2015-02-11 | 联想(北京)有限公司 | Method for displaying and electronic equipment |
CN104699391A (en) * | 2015-04-07 | 2015-06-10 | 联想(北京)有限公司 | Electronic equipment and control method for cameras thereof |
CN105022188A (en) * | 2014-04-17 | 2015-11-04 | 纬创资通股份有限公司 | Display module and electronic device |
CN106292878A (en) * | 2016-08-08 | 2017-01-04 | 联想(北京)有限公司 | A kind of electronic equipment and information processing method |
-
2017
- 2017-09-05 CN CN201710792342.5A patent/CN107577275A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070236464A1 (en) * | 2002-11-06 | 2007-10-11 | Kabushiki Kaisha Toshiba | Information processing device and key button function allocating method used therefor |
CN103150008A (en) * | 2012-06-18 | 2013-06-12 | 联想(北京)有限公司 | Input state switching method and device |
CN104346119A (en) * | 2013-08-09 | 2015-02-11 | 联想(北京)有限公司 | Method for displaying and electronic equipment |
CN105022188A (en) * | 2014-04-17 | 2015-11-04 | 纬创资通股份有限公司 | Display module and electronic device |
CN104699391A (en) * | 2015-04-07 | 2015-06-10 | 联想(北京)有限公司 | Electronic equipment and control method for cameras thereof |
CN106292878A (en) * | 2016-08-08 | 2017-01-04 | 联想(北京)有限公司 | A kind of electronic equipment and information processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8149000B2 (en) | Detecting closure of an electronic device using capacitive sensors | |
US8412158B2 (en) | Mobile device having increased security that is less obtrusive | |
US6389556B1 (en) | Mechanism to prevent data loss in case of a power failure while a PC is in suspend to RAM state | |
KR101442936B1 (en) | User interface methods and systems for providing force-sensitive input | |
US20140121855A1 (en) | Sensor fusion | |
US7558013B2 (en) | Programming a sensitivity level into an inertial sensor based on a proxy of whether a system is in transit | |
CN106095188B (en) | Control method and electronic equipment | |
CN107357411A (en) | Electronic installation | |
WO2008085741A3 (en) | Override of automatic portrait-landscape rotation for a portable multifunction device with accelerometers | |
WO2008075361A3 (en) | Apparatus, method and computer readable medium for disambiguating commands with respect to logical protocols | |
US10156985B2 (en) | Pressure-sensitive touch screen display and method | |
WO2008117467A1 (en) | Secret information storage device, secret information erasing method, and secret information erasing program | |
CN107608615A (en) | Fingerprint identification function open method, device, terminal and storage medium | |
CN103869926B (en) | A kind of method of power saving and electronic equipment | |
CN108196722A (en) | A kind of electronic equipment and its touch control method, computer readable storage medium | |
CN104657080B (en) | A kind of method and its mobile terminal that calendar event is obtained on locking screen interface | |
CN109597599A (en) | A kind of control method of display screen, device, equipment and storage medium | |
CN108563966A (en) | Sectional drawing display methods, mobile terminal and storage medium | |
CN104583903B (en) | A kind of method, system and terminal for preventing from touching maloperation | |
CN106502467A (en) | A kind of screen awakening method of user terminal and device, user terminal | |
CN106793040A (en) | Terminal control method and device | |
US20210191491A1 (en) | Awakening electronic devices in selected modes of operation | |
CN109144391A (en) | The control method and electronic equipment of electronic equipment | |
CN107577275A (en) | A kind of data processing method and electronic equipment | |
CN107608719A (en) | A kind of interface operation method, terminal and computer-readable recording 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 |