Summary of the invention
The embodiment of the present application provides the screen display method and electronic equipment of a kind of electronic equipment, sets to improve electronics
Accuracy when standby progress screens switch.
The embodiment of the present application provides the screen display method of a kind of electronic equipment, and the electronic equipment includes at least two
Display screen, first sensor and the second sensor being disposed opposite to each other, comprising:
The electronic equipment determines whether user is used by the information that the first sensor detects;
The electronic equipment then determines institute according to the second sensor if it is determined that the electronic equipment is used in user
State the current posture of electronic equipment;
The electronic equipment posture current according to the electronic equipment determines the display screen of display.
A kind of possible implementation, the first sensor are face identification sensor, any in infrared sensor
?;
The electronic equipment determines whether user is used by the information that the first sensor detects, comprising:
When the electronic equipment detects recognizable user by the first sensor, the electronic equipment is determined to use
Family is used.
A kind of possible implementation, the second sensor are gravity sensor;
The posture current according to the electronic equipment determines the display screen of display, comprising:
Gravity sensor in the electronic equipment determines the first display screen of the electronic equipment with respect to the horizontal plane
Tilt angle is greater than the first preset value, and the electronic equipment is using first display screen as the display screen of display.
A kind of possible implementation, the second sensor are gyroscope;
The posture current according to the electronic equipment determines the display screen of display, comprising:
Gyroscope in the electronic equipment indicates that the rotational angular velocity of the electronic equipment is greater than default angular speed, or
It indicates that the rotational angle of the electronic equipment is greater than the second preset value, and determines that screen that the electronic equipment is currently shown is the
One display screen, then using the second display screen of the electronic equipment as the display screen of display.
A kind of possible implementation, the second sensor include gravity sensor and gyroscope;
The posture current according to the electronic equipment determines the display screen of display, comprising:
The gravity sensor is if it is determined that the acceleration of gravity vector within the first period is a stationary value;
When the gravity sensor determines that the variable quantity of the acceleration of gravity vector is greater than the first preset value, and the top
Spiral shell instrument determines the changing value of the rotating vector of the gyroscope beyond the second preset value, it is determined that the posture of the electronic equipment is sent out
Changing;
If it is determined that the electronic equipment posture changes, the screen shown before is the first display screen to the electronic equipment,
Then using the second display screen of the electronic equipment as the display screen shown after attitudes vibration.
A kind of possible implementation, the method also includes:
The electronic equipment is if it is determined that need to switch screen, then transmission prompts on the display screen shown to the determination
Information, the prompt information are used to be confirmed whether to user to carry out screens switch.
The embodiment of the present application provide a kind of electronic equipment, the electronic equipment include at least two be disposed opposite to each other display screen,
First sensor and second sensor, processor;
The processor, the information for being detected by the first sensor determine whether user is used;If really
Determine user and the electronic equipment is used, then the current posture of the electronic equipment is determined according to the second sensor;Root
According to the current posture of the electronic equipment, the display screen of display is determined.
A kind of possible implementation, the first sensor are face identification sensor, any in infrared sensor
?;The processor, is specifically used for: when detecting recognizable user by the first sensor, determining the electronic equipment
It is used for user.
A kind of possible implementation, the second sensor are gravity sensor;The gravity sensor, for determining
The tilt angle of first display screen of the electronic equipment with respect to the horizontal plane is greater than the first preset value;
The processor, specifically for using first display screen as the display screen of display.
A kind of possible implementation, the second sensor are gyroscope;The processor, is specifically used for:
Gyroscope in the electronic equipment indicates that the rotational angular velocity of the electronic equipment is greater than default angular speed, or
It indicates that the rotational angle of the electronic equipment is greater than the second preset value, and determines that screen that the electronic equipment is currently shown is the
One display screen, then using the second display screen of the electronic equipment as the display screen of display.
A kind of possible implementation, the second sensor include gravity sensor and gyroscope;The processor, tool
Body is used for:
The gravity sensor is if it is determined that the acceleration of gravity vector within the first period is a stationary value;
When the gravity sensor determines that the variable quantity of the acceleration of gravity vector is greater than the first preset value, and the top
Spiral shell instrument determines the changing value of the rotating vector of the gyroscope beyond the second preset value, it is determined that the posture of the electronic equipment is sent out
Changing;
If it is determined that the electronic equipment posture changes, the screen shown before is the first display screen to the electronic equipment,
Then using the second display screen of the electronic equipment as the display screen shown after attitudes vibration.
A kind of possible implementation, the processor are also used to:
If it is determined that needing to switch screen, then prompt information is sent on the display screen shown to the determination, it is described to mention
Show that information carries out screens switch for being confirmed whether to user.
The embodiment of the present application provides a kind of computer readable storage medium, and calculating is stored in computer readable storage medium
Machine executes instruction, and when at least one processor of calculate node executes the computer executed instructions, calculate node executes above-mentioned
The method provided in the various possible designs of embodiment.
The embodiment of the present application provides a kind of computer program product, which includes that computer execution refers to
It enables, which stores in a computer-readable storage medium.At least one processor of calculate node can be from
Computer readable storage medium reads the computer executed instructions, at least one processor executes the computer executed instructions and makes
Calculate node implements the method provided in the various possible designs of above-described embodiment.
In the embodiment of the present application, judges whether user is used by first sensor, it is simple to avoid electronic equipment
By sensor determine whether display display screen, caused by screen accidentally show the problem of, do not need user actively click carry out
The switching and display confirmation of screen, improve user experience.
Specific embodiment
With the development of electronic device technology, shuangping san is increasingly being applied to each class of electronic devices, such as mobile phone,
Tablet computer, personal digital assistant (Personal Digital Assistant, PDA) etc..As shown in Figure 1, electronic equipment
Two screens are located at the obverse and reverse sides of electronic equipment, and two screens can carry out independent display.That is, working as electronic equipment
Screen A when being shown, the screen B of electronic equipment is closed;When the screen B of electronic equipment is shown, screen A is closed.
Electronic equipment can meet the different use demands of user, bring preferable user experience.In the prior art, need user's pressing double
Side fingerprint, and then the mode at Touch Screen edge realize the display switching of double screen picture.Which easily causes mobile phone edge accidentally to touch
Hair;And it is extremely inconvenient to overturn mobile phone, influences user experience.
How accurately to be switched between the two of electronic equipment screens according to user demand is a urgent need to resolve
The problem of.How to judge whether to need to carry out screens switch this application involves electronic equipment.Shielded to improve electronic equipment
Accuracy when curtain switching.The screen display method and electronic equipment of the application offer a kind of electronic equipment.Wherein, method and electricity
Sub- equipment be based on the same inventive concept, since the principle that method and electronic equipment solve the problems, such as is similar, electronic equipment
Implementation with method can be with cross-reference, and overlaps will not be repeated.
It should be noted that in the application, it is multiple to refer to two or more;In the description of the present application, " first ",
Vocabulary such as " second " are only used for distinguishing the purpose of description, are not understood to indicate or imply relative importance, can not understand
For indication or suggestion sequence.
The invention relates to electronic equipment, may include mobile phone, tablet computer, personal digital assistant etc..
Fig. 2 shows the internal structures of a kind of electronic equipment 200 (hereinafter referred to as electronic equipment 200) provided by the present application.
As shown in Fig. 2, inside electronic equipment 200 can include: memory 201, processor 202, display screen 203, sensor
204 and other input equipments 205.Wherein, display screen 203 may include the first display screen and second display screen.
Memory 201 can be used for storing software program and module, and processor 202 is stored in memory 201 by operation
Software program and module, thereby executing the various function application and data processing of electronic equipment 200.Memory 201 can
It mainly include storing program area and storage data area, wherein storing program area can be needed for storage program area, at least one function
Application program (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored according to electronic equipment 200
Use created data (such as audio data, phone directory etc.) etc..In addition, memory 201 may include that high speed is deposited at random
Access to memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other easily
The property lost solid-state memory.
Processor 202 is the control centre of electronic equipment 200, utilizes each of various interfaces and connection electronic equipment
Part by running or execute the software program and/or module that are stored in memory 201, and calls and is stored in memory
Data in 201 execute the various functions and processing data of electronic equipment 200, to carry out whole prison to electronic equipment 200
Control.Optionally, processor 202 may include one or more processing units;Optionally, processor 202 can integrate application processor
And modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulatedemodulate
Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor
In 202.
The first display screen and second display screen in display screen 203 can be respectively used to show information input by user or mention
The information of user and the various menus of electronic equipment 200 are supplied, user's input can also be received.Specific first display screen can
Including the first display panel and the first touch panel.Wherein the first display panel can use LCD (Liquid Crystal
Display, liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) come
Configure the first display panel.First touch panel, also referred to as touch screen, touch-sensitive screen etc. collect user on it or nearby
Contact or Touchless manipulation (such as user using any suitable object or attachment such as finger, stylus in the first touch panel
The upper or operation near the first touch panel, also may include somatosensory operation;The operation includes single-point control operation, multiple spot control
The action types such as system operation), and corresponding attachment device is driven according to preset formula.Optionally, the first touch panel
It may include both touch detecting apparatus and touch controller.Wherein, touch orientation, the appearance of touch detecting apparatus detection user
Gesture, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch detecting apparatus
Touch information is received, and is converted into the information that processor is capable of handling, then give processor 202, and processor can be received
202 orders sent simultaneously are executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Type realizes the first touch panel, can also realize the first touch panel using any technology of future development.Further, first
Touch panel can cover the first display panel, and (the display content includes for content that user can show according to the first display panel
But be not limited to soft keyboard, virtual mouse, virtual key, icon etc.), the first touch panel covered on the first display panel
It above or is nearby operated, after the first touch panel detects operation on it or nearby, which is sent to
Processor 202 is followed by subsequent processing device 202 according to user's input and provides corresponding view on the first display panel to determine that user inputs
Feel output.Except the first touch panel and the first display panel as introduced above realize electronic equipment as two independent components
Outside 200 input and the mode of input function, in some embodiments it is possible to by the first touch panel and the first display panel collection
At and that realizes electronic equipment 200 output and input function.Second display screen and the first display screen are independent from each other screen, the
Connection, function of two display screens etc. are similar with the first display screen, and details are not described herein again.
Sensor 204 may include motion sensor, optical sensor, proximity sensor and other sensors.Wherein, light
Sensor may include ambient light sensor and proximity sensor, and ambient light sensor can adjust aobvious according to the light and shade of ambient light
Show the brightness of unit, proximity sensor can close display unit and/or backlight when electronic equipment is moved in one's ear.Movement passes
Sensor may include acceierometer sensor, gravity sensor, gyroscope etc..Accelerometer sensor can detect (one in all directions
As be three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify electronic equipment posture
Using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating, electronic equipment screens switch), Vibration identification it is related
Function (such as pedometer, percussion) etc..Gravity sensor can be used for detecting the size of the acceleration of vertical direction.Gyroscope can be examined
The size for surveying (generally three axis) rotational angular velocity in all directions, can be used for the application of electronic equipment posture, (such as horizontal/vertical screen
Switch, the screens switch of electronic equipment).In addition, sensor 204 also may include barometer, hygrometer, thermometer, infrared ray biography
The other sensors such as sensor, details are not described herein.
Other input equipments 205 can be used for receiving the number or character information of input, and generate and electronic equipment 200
User setting and the related key signals input of function control.Specifically, other input equipments 205 may include but be not limited to image
One of head, physical keyboard, function key (such as volume control button, switch key etc.), operating stick etc. are a variety of.
In addition, may also include radio frequency (Radio when electronic equipment 200 is using wireless mode communication with the outside world
Frequency, RF) circuit and connection antenna, the day of Wireless Fidelity (Wireless Fidelity, WiFi) module and connection
Line etc..RF circuit can be used for receiving and sending messages or in communication process, complete sending and receiving for signal, particularly, by As-received
After the downlink information sent of standing receives, gives downlink information to processor 202 and handle;In addition, the data of uplink are sent to base
It stands.In general, RF circuit includes but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier
(Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit can also by wireless communication with network and other
Equipment communication.Any communication standard or agreement can be used in the wireless communication, including but not limited to: global system for mobile communications
(Global System of Mobile communication, GSM), general packet radio service (General Packet
Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access
(Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution,
LTE), Email, short message service (Short Messaging Service, SMS) etc..
In Fig. 2, voicefrequency circuit, loudspeaker, microphone can provide the audio interface between user and electronic equipment 200.Sound
Electric signal after the audio data received conversion can be transferred to loudspeaker, be converted to voice signal by loudspeaker by frequency circuit
Output;On the other hand, the voice signal of collection is converted to electric signal by microphone, and audio number is converted to after being received by voicefrequency circuit
According to, then audio data exported to RF circuit to be sent to other electronic equipments, such as: mobile phone, or audio data is exported
To memory 201 to be further processed.
Electronic equipment 200 further includes the power supply (such as battery) powered to all parts, and optionally, power supply can pass through electricity
Management system and processor 202 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
Etc. functions.
It will be understood by those skilled in the art that structure paired electrons is not set the internal structure of electronic equipment shown in Figure 2
Standby restriction may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
The embodiment of the present application is described in further detail below in conjunction with attached drawing.
It is the screen display method of a kind of electronic equipment provided by the present application referring to Fig. 3.
The embodiment of the present application provides the screen display method of a kind of electronic equipment, and the electronic equipment includes at least two
Display screen, first sensor and the second sensor being disposed opposite to each other, in conjunction with the embodiment in Fig. 2, display screen can be aobvious for first
Display screen and second display screen;The described method includes:
Step 301: electronic equipment passes through: the information of first sensor detection determines whether user is used;
Step 302: if it is determined that electronic equipment is used in user, then determining that electronic equipment is current according to second sensor
Posture;
Step 303: according to the current posture of electronic equipment, determining the display screen of display.
In the embodiment of the present application, judges whether user is used by first sensor, it is simple to avoid electronic equipment
By sensor determine whether display display screen, caused by screen accidentally show the problem of, do not need user actively click carry out
The switching and display confirmation of screen, improve user experience.
For example, when user is shown using the screen A of electronic equipment, if user is needed for some reason by screen
A is overturn downward, other people is avoided to see the content on screen A.At this point, voltage of the electronic equipment by analysis gravity sensor output
Signal would know that and itself with respect to the horizontal plane overturn 180 °, and then determines and need to carry out screens switch to itself.In this feelings
Under condition, the judging result for carrying out screens switch is different from the original intention of user, and the mistake that will lead to screen is shown.For another example, work as user
Temporarily when screen A from electronic equipment, due to various reasons, for example, video playing, electronic equipment still in working condition, at this point,
Electronic equipment is determined by working condition still needs to display screen A, as shown in Figure 1.In this case, what progress screen was shown sentences
Disconnected result is different from the original intention of user, and the mistake that will lead to screen is shown.
Based on the above issues, a kind of possible implementation, first sensor are face identification sensor, infrared sensor
Any one of;In step 301, when electronic equipment can detect recognizable user by first sensor, described in determination
Electronic equipment is used for user.
Certainly, the embodiment of the present application is not limited to first sensor as face identification sensor, infrared sensor, as long as
It is that can identify which screen user is used, for example, fingerprint Identification sensor etc..Known by the fingerprint on display screen
Individual sensor can be with, effectively identifies whether user is state using the first display screen;For example, playing game state, pay status
Deng, can effectively improve display electronic curtain accuracy.
For example, if user needs to overturn screen A downward, other people is avoided to see on screen when user is when using screen A
Content, due to user make overturning mobile phone movement after, due to be located at the first display screen first sensor detect and can know
Other user, at this point it is possible to determine that user uses the first display screen, therefore, using the above method, will not as the prior art that
The movement that user overturns mobile phone is mistaken for the movement of switching screen by sample, but can be accurately judged to electronic equipment and be not required to be shielded
Curtain switching.
For another example, when user is when using screen A, if user shown in browsing screen A content when adjust itself
Posture, such as the stance adjustment by standing are the posture to lie low.At this point, electricity of the dual-screen electronic device by analysis gyroscope output
The variable quantity of appearance would know that the rotational angular velocity of itself is greater than preset value, due to electronic equipment at this time determine that user uses the
One sensor is located at the first display screen, then method shown in Fig. 3 is used, it will not be as the prior art, certainly by user's adjustment
The movement of figure gesture is mistaken for the movement of switching screen, but can be accurately judged to electronic equipment and be not required to carry out screens switch.
In step 302, the specific implementation of electronic equipment includes but is not limited to three kinds following:
The first, the second sensor is gravity sensor, comprising:
Gravity sensor in electronic equipment determines the inclination of the first display screen of the electronic equipment with respect to the horizontal plane
Angle is greater than the first preset value, and the electronic equipment is using the first display screen as the display screen of display.
In general, electronic equipment can perceive the move mode of itself by gravity sensor or by gyroscope, and then sentence
Break and itself whether needs to carry out screens switch.
Electronic equipment can perceive the move mode of itself by gravity sensor, and then tentatively judge whether to be shielded
Curtain switching: gravity sensor is internally provided with crystal, when the acceleration of gravity of electronic equipment changes, the crystal can be made to send out
Raw deformation.The deformation of the crystal is converted into voltage signal by gravity sensor, which can reflect the deformation of crystal
Situation, and then reflect the variation of the acceleration of gravity of electronic equipment.Electronic equipment, can by the variation of analysis acceleration of gravity
Know the move mode (such as the tilt angle etc. of electronic equipment with respect to the horizontal plane) of itself, and then the shifting by analyzing itself
Flowing mode determines the need for carrying out screens switch.For example, when gravity sensor instruction electronic equipment is with respect to the horizontal plane overturn
Angle be greater than 90 ° of the first preset value when, then electronic equipment can tentatively judge to be shielded by the instruction of gravity sensor
Curtain switching.For example, when the angle that electronic equipment is with respect to the horizontal plane overturn be 180 ° when, then electronic equipment determine itself need into
Row screens switch.
Therefore, when the tilt angle of gravity sensor instruction electronic equipment with respect to the horizontal plane is greater than the first preset value,
Electronic equipment can determine the attitudes vibration of electronic equipment by the instruction of gravity sensor.Therefore, using the first implementation,
It can first pass through whether determining user uses in electronic equipment, then determine that is shown shows by the instruction of gravity sensor
The accuracy of the screen display method can be improved in display screen.
Second, the second sensor is gyroscope;Include:
Gyroscope in the electronic equipment indicates that the rotational angular velocity of the electronic equipment is greater than default angular speed, or
It indicates that the rotational angle of the electronic equipment is greater than the second preset value, and determines that screen that the electronic equipment is currently shown is the
One display screen, then using the second display screen of the electronic equipment as the display screen of display.
In normal work, if electronic equipment rotates, which moves gyroscope (such as micro-silicon gyroscope)
Make that displacement can be generated in that orthogonal direction, the displacement is directly proportional to the rotational angular velocity of dual-screen electronic device or rotational angle.Top
The displacement is converted to the variable quantity of capacitor by spiral shell instrument.By analyzing the variable quantity of capacitor, the rotation of dual-screen electronic device would know that
Angular speed or rotational angle.For example, when the rotational angular velocity of dual-screen electronic device is greater than preset value, or when double-screen electronic is set
When standby rotational angle is greater than preset value, then dual-screen electronic device, which determines, itself needs to carry out screens switch.Therefore, when electronics is set
The rotational angular velocity of gyroscope instruction electronic equipment in standby is greater than default angular speed, or the rotational angle of instruction electronic equipment
When greater than the second preset value, electronic equipment can determine the attitudes vibration of electronic equipment by the instruction of gyroscope.Therefore using the
Two kinds of implementations can determine the attitudes vibration of electronic equipment in electronic equipment by the instruction of gyroscope.It is passed when by first
Sensor determines user in use and attitudes vibration, determines the display screen of electronic equipment, and the standard of the screen display method can be improved
True property.
The third, the second sensor includes gravity sensor and gyroscope;Include:
The gravity sensor is if it is determined that the acceleration of gravity vector within the first period is a stationary value;
When the gravity sensor determines that the variable quantity of the acceleration of gravity vector is greater than the first preset value, and the top
Spiral shell instrument determines the changing value of the rotating vector of the gyroscope beyond the second preset value, it is determined that the posture of the electronic equipment is sent out
Changing;
If it is determined that the electronic equipment posture changes, the screen shown before is the first display screen to the electronic equipment,
Then using the second display screen of the electronic equipment as the display screen shown after attitudes vibration.
By the comprehensive descision of gravity sensor and gyroscope, the accuracy of electronic equipment posture judgement can be increased, mentioned
The accuracy of the high screen display method.
It should be noted that the first preset value in the application can be the same or different with the second preset value,
The application to the specific value of the first preset value and the second preset value without limitation.
To sum up, using the screen display method of electronic equipment provided by the present application, electronic equipment can be improved and carry out screen
Accuracy when switching.
To further increase user experience, a kind of optional implementation, the method also includes:
Electronic equipment is if it is determined that need to switch screen, then transmission prompt is believed on the display screen shown to the determination
Breath, the prompt information are used to be confirmed whether to user to carry out screens switch.
Certainly, the implementation can be selected to open, to realize the personalized customization of user by user.
In addition, the application also provides the screen display method of a kind of electronic equipment, which can be considered Fig. 3 institute
One specific example of the screen display method shown.This method comprises the following steps:
Step 1: whether the user of electronic equipment detection first sensor is use state;If so, step 2 is executed,
If it is not, thening follow the steps four.
Wherein, first sensor can be set in the first display screen, also can be set in second display screen, can also distinguish
Setting and the first display screen and second display screen.
Step 2: gravity sensor is if it is determined that the acceleration of gravity vector within the first period is a stationary value;
When the gravity sensor determines that the variable quantity of the acceleration of gravity vector is greater than the first preset value, and the top
Spiral shell instrument determines the changing value of the rotating vector of the gyroscope beyond the second preset value, it is determined that the posture of the electronic equipment is sent out
Changing.
Wherein, the first preset value can be preset, for example the first preset value is 90 °.
Step 3: the posture that electronic equipment is current according to electronic equipment, determines the display screen of display.
Wherein, electronic equipment is if it is determined that the screen that the electronic equipment posture is shown before changing is the first display
Screen, then using the second display screen of the electronic equipment as the display screen shown after attitudes vibration.
Step 4: electronic equipment does not show the display screen of electronic equipment.
Based on the screen display method of the above electronic equipment, the embodiment of the present application also provides a kind of electronic equipment, the electronics
Equipment can be used for executing the screen display method of electronic equipment shown in Fig. 3.As shown in figure 4, the electronic equipment 400 includes first
Display screen 401, second display screen 402 and processor 403.
Processor 403 provides a kind of electronic equipment for the embodiment of the present application, and the electronic equipment includes at least two phase
Carry on the back display screen, first sensor and the second sensor of setting, processor;
Processor 403, the information for being detected by the first sensor determine whether user is used;If it is determined that
The electronic equipment is used in user, then determines the current posture of the electronic equipment according to the second sensor;According to
The current posture of the electronic equipment determines the display screen of display.
A kind of possible implementation, first sensor are any one of face identification sensor, infrared sensor;Institute
Processor is stated, is specifically used for: when detecting recognizable user by the first sensor, determining that the electronic equipment is user
It is used.
A kind of possible implementation, second sensor are gravity sensor;The gravity sensor, described in determining
The tilt angle of first display screen of electronic equipment with respect to the horizontal plane is greater than the first preset value;
Processor 403, specifically for using first display screen as the display screen of display.
A kind of possible implementation, the second sensor are gyroscope;Processor 403, is specifically used for:
Gyroscope in the electronic equipment indicates that the rotational angular velocity of the electronic equipment is greater than default angular speed, or
It indicates that the rotational angle of the electronic equipment is greater than the second preset value, and determines that screen that the electronic equipment is currently shown is the
One display screen, then using the second display screen of the electronic equipment as the display screen of display.
A kind of possible implementation, the second sensor include gravity sensor and gyroscope;Processor 403, tool
Body is used for:
The gravity sensor is if it is determined that the acceleration of gravity vector within the first period is a stationary value;
When the gravity sensor determines that the variable quantity of the acceleration of gravity vector is greater than the first preset value, and the top
Spiral shell instrument determines the changing value of the rotating vector of the gyroscope beyond the second preset value, it is determined that the posture of the electronic equipment is sent out
Changing;
If it is determined that the electronic equipment posture changes, the screen shown before is the first display screen to the electronic equipment,
Then using the second display screen of the electronic equipment as the display screen shown after attitudes vibration.
A kind of possible implementation, processor 403 are also used to:
If it is determined that needing to switch screen, then prompt information is sent on the display screen shown to the determination, it is described to mention
Show that information carries out screens switch for being confirmed whether to user.
It should be noted that Fig. 4 illustrate only in electronic equipment with realize prerequisite composition portion, application scheme institute
Point, i.e., electronic equipment 400 is the most simple configuration for realizing application scheme.The other components of electronic equipment 400 can refer to Fig. 2
In associated description.
In electronic equipment 400 shown in Fig. 4, processor 403 by first sensor first determine user whether be using
State, so that user can determine that user is no matter under adjustment posture, overturning mobile phone or the various operations such as switch screen
The objectives of the no display screen used using display screen and determining user.Therefore, in electronic equipment 400 shown in Fig. 4, processor
403 by determine user whether using the posture for determining electronic equipment again scheme, and only pass through gravity sensitive in the prior art
Device or gyroscope to determine whether carry out screens switch scheme or by user actively click scheme compare, be in user
In the case where various postures and various scenes, electronic equipment progress screen can be shown and make accurate judgement.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, those skilled in the art can carry out various modification and variations without departing from this Shen to the embodiment of the present application
Please embodiment spirit and scope.In this way, if these modifications and variations of the embodiment of the present application belong to the claim of this application
And its within the scope of equivalent technologies, then the application is also intended to include these modifications and variations.