Summary of the invention
In view of the above problems, the embodiment of the invention provides a kind of screen display method, mobile device, calculating equipment and meters
Calculation machine storage medium overcomes the above problem or at least has been partially solved the above problem.
According to an aspect of an embodiment of the present invention, a kind of screen display method is provided, which comprises according to fortune
Dynamic sensor determines the rotary movement of mobile device;The first screen and the second screen for determining the mobile device switch;
If the rotary movement is to turn counterclockwise, executed on first screen or second screen as operating surface
First operation;If the rotary movement is to turn clockwise, in first screen or second screen of operating surface
It is upper to execute the second operation for being different from first operation.
In a kind of optional mode, the mobile device is two-sided screen equipment, first screen and second screen
Curtain is disposed opposite to each other;Or the mobile device is the folding screen equipment of export-oriented display, first screen and second screen
It is folded with.
In a kind of optional mode, the rotary movement that mobile device is determined according to motion sensor, comprising: if
The motion sensor senses to the mobile device along the direction parallel with the frame of the mobile device clockwise or the inverse time
Needle rotates predetermined angle, it is determined that rotary movement has occurred in the mobile device, wherein the predetermined angle is the positive and negative of 180 degree
In preset range.
In a kind of optional mode, first screen of the determination mobile device and second screen hair
Raw switching, comprising: before the mobile device overturning, determine first screen or second screen is gripping surface, Ling Yiping
Curtain is operating surface;It is another if first screen or second screens switch are operating surface after the mobile device overturning
Screens switch is gripping surface, it is determined that first screen and second screen of the mobile device switch.
In a kind of optional mode, executed on first screen or second screen as operating surface
First operation, comprising: first screen or the second screen bright screen of the control as operating surface, display current operation face
Operating system;It controls and puts out screen as another screen of gripping surface.
It is described to execute difference on first screen or second screen of operating surface in a kind of optional mode
In the second operation of first operation, comprising: first screen or the second screen bright screen of the control as operating surface,
Start the camera function of the operating system run before the mobile device overturning;It controls and puts out screen as another screen of gripping surface.
In a kind of optional mode, the camera function of the operating system run before the starting mobile device overturning
It can, comprising: start the camera function of the main camera of the operating system run before the mobile device overturning.
In a kind of optional mode, the main camera of the operating system run before the starting mobile device overturning
Camera function, comprising: if main camera is located at current operation face, start self-timer mode;If main camera is located at and works as
Preceding gripping surface, then start normal picture taking mode.
According to another aspect of an embodiment of the present invention, a kind of mobile device is provided, the mobile device includes: that overturning is true
Order member, for determining the rotary movement of mobile device according to motion sensor;Switch determination unit, for determining the movement
First screen and second screen of equipment switch;First execution unit, if being for the rotary movement
It turns counterclockwise, then executes the first operation on first screen or second screen as operating surface;Second executes
Unit, if being to turn clockwise for the rotary movement, in first screen or second screen of operating surface
It is upper to execute the second operation for being different from first operation.
According to another aspect of an embodiment of the present invention, a kind of calculating equipment is provided, comprising: processor, memory, communication
Interface and communication bus, the processor, the memory and the communication interface are completed mutual by the communication bus
Communication;
For the memory for storing an at least executable instruction, it is above-mentioned that the executable instruction executes the processor
The step of screen display method.
Another aspect according to an embodiment of the present invention provides a kind of computer storage medium, deposits in the storage medium
Contain an at least executable instruction, the step of executable instruction makes the processor execute above-mentioned screen display method.
The screen display method of the embodiment of the present invention includes;The rotary movement of mobile device is determined according to motion sensor;
First screen and second screen for determining the mobile device switch;If the rotary movement is counterclockwise
Overturning then executes the first operation on first screen or second screen as operating surface;If the overturning is dynamic
As turning clockwise, is then executed on first screen of operating surface or second screen and be different from first operation
The second operation, different trigger events can be set according to equipment reverses direction, make the operating habit for being more in line with user, be promoted
User experience.
Above description is only the general introduction of technical solution of the embodiment of the present invention, in order to better understand the embodiment of the present invention
Technological means, and can be implemented in accordance with the contents of the specification, and in order to allow above and other mesh of the embodiment of the present invention
, feature and advantage can be more clearly understood, the followings are specific embodiments of the present invention.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention
It is fully disclosed to those skilled in the art.
Fig. 1 shows the flow diagram of screen display method provided in an embodiment of the present invention, the screen of the embodiment of the present invention
Curtain display methods is applied to mobile device.Mobile device may include such as mobile phone, tablet computer, laptop, palm electricity
Brain, personal digital assistant (Personal Digital Assistant, PDA), portable media player (Portable
Media Player, PMP), navigation device, wearable device, Intelligent bracelet, the mobile terminals such as pedometer.As shown in Figure 1, screen
Curtain display methods include:
Step S11: the rotary movement of mobile device is determined according to motion sensor.
In embodiments of the present invention, mobile device can be double-sided screen equipment, and the first screen and the second screen are disposed opposite to each other;
Mobile device may be the folding screen equipment of export-oriented display, and the first screen and the second screen are folded with.
Before step S11, user opens or wakes up mobile device.Optionally, pass through finger in certain position of mobile device
Line or face or any other mode carry out authentication unlock, open or wake up mobile device.Then as shown in Fig. 2, by two-sided
The analysis of touch screen contact area determines the gripping surface and operating surface of active user, and the automatic corresponding display in start-up operation face.It is right
In double-sided screen or Folding screen, and have the mobile device of dual system, the fixed corresponding operating system in a face can be used, certainly
The same operating system is applied in the face that can also be different, and this is not restricted.It is such as analyzed, is sentenced by two-sided touch screen contact area
The first screen for determining mobile device is gripping surface, puts out screen;Second screen is operating surface, shows the interface of the second operating system.
In step s 11, if motion sensor senses to mobile device along the direction parallel with the frame of mobile device
Predetermined angle clockwise or counterclockwise, it is determined that rotary movement has occurred in mobile device, and wherein predetermined angle is 180 degree
In positive and negative preset range.It in embodiments of the present invention, specifically can be mobile using the motion sensor real-time judgment of mobile device
The rotation of equipment.Motion sensor includes acceleration transducer, gyroscope, geomagnetic sensor etc., herein without limitation.Such as figure
Shown in 3, it is assumed that the longitudinal direction of mobile device is X-axis.If detecting that mobile device prolongs X-axis or and X-axis in a preset time
Parallel axis, such as X ' axis, predetermined angle α clockwise or counterclockwise, in the range of angle [alpha] is positive and negative 10 degree of 180 degree,
Such as have rotated 170-190 °, it is determined that rotary movement has occurred in mobile device.Wherein, preset time is preferably 1 second, certainly may be used
To be other shorter times, this is not restricted.
Step S12: determine that first screen of the mobile device and second screen switch.
Specifically, it before the mobile device overturning, determines first screen or second screen is gripping surface, it is another
Screen is operating surface;After the mobile device overturning, if first screen or second screens switch are operating surface, separately
One screens switch is gripping surface, it is determined that first screen and second screen of the mobile device switch.
In embodiments of the present invention, after determining that rotary movement has occurred in mobile device, two-sided touch screen is continued through
Contact area analysis determines mobile device current gripping surface and operating surface, and then determines and the gripping before mobile device overturning
Whether face and operating surface are on the contrary, if so, the first screen of explanation and the second screen are switched, otherwise the first screen and described
There is no switchings for second screen.For example, the second screen is operation if the first screen is gripping surface before mobile device overturning
Face;And after mobile device overturning, the first screens switch is operating surface, and the second screens switch is gripping surface, then illustrates the first screen
Switched with the second screen.If the first screen is still gripping surface, and the second screen is still operation after mobile device overturning
Face, although illustrating that rotary movement has occurred in mobile device, user is also rotated simultaneously, is such as sitting on swivel chair and holds equipment,
Entire people has rotated 180 °, and mutually there is no overturnings for users for mobile device at this time, i.e., user's holding mobile devices is dynamic
Do not change.
Step S13: if the rotary movement is to turn counterclockwise, as first screen of operating surface or institute
It states and executes the first operation on the second screen.
Specifically, first screen or the second screen bright screen of the control as operating surface shows current operation face
Operating system;It controls and puts out screen as another screen of gripping surface.For example, the first screen is gripping surface before mobile device overturning,
Corresponding first operating system, puts out screen;Second screen is operating surface, and bright screen shows the interface of corresponding second operating system.It is mobile
After equipment overturning, the first screens switch is operating surface, and bright screen shows the interface of the first operating system, can specifically show the first behaviour
Make the interface of the main interface of system or a certain application program of preset first operating system, this is not restricted;Second screen
It is then switched to gripping surface, corresponding second operating system puts out screen.So operating system can be carried out by overturning mobile device
Switching, the first screen and the second screen of mobile device respectively correspond different operating system.
Step S14: if the rotary movement is to turn clockwise, in first screen of operating surface or described the
The second operation for being different from first operation is executed on two screens.
In step S14, first screen or the bright screen of the second screen as operating surface are controlled, the shifting is started
The camera function of the operating system run before dynamic equipment overturning;It controls and puts out screen as another screen of gripping surface.Specifically, as
The master that first screen or second screen of operating surface start the operating system run before the mobile device overturning takes the photograph
As the camera function of head.If main camera is located at current operation face, start self-timer mode;If main camera is located at current
Gripping surface then starts normal picture taking mode.For example, the first screen is gripping surface before mobile device overturning, corresponding first operation system
System, puts out screen;Second screen is operating surface, and bright screen shows the interface of corresponding second operating system.After mobile device overturning, first
Screens switch is operating surface, and bright screen shows the camera function of the main camera of the second operating system.
In embodiments of the present invention, it should be noted that conduct can also be controlled when rotary movement is to turn counterclockwise
First screen of operating surface or the bright screen of the second screen start the operating system run before the mobile device overturning
Camera function.When rotary movement is to turn clockwise, first screen or second screen as operating surface are controlled
Bright screen shows the operating system in current operation face.It can also be when rotary movement be to turn counterclockwise or turn counterclockwise, specifically
Trigger other different events.
In embodiments of the present invention, if the operation of mobile device response user is then tied when being in standby or closed state
Beam is not responding to the rotary movement of mobile device.
The screen display method of the embodiment of the present invention includes;The rotary movement of mobile device is determined according to motion sensor;
First screen and second screen for determining the mobile device switch;If the rotary movement is counterclockwise
Overturning then executes the first operation on first screen or second screen as operating surface;If the overturning is dynamic
As turning clockwise, is then executed on first screen of operating surface or second screen and be different from first operation
The second operation, different trigger events can be set according to equipment reverses direction, make the operating habit for being more in line with user, be promoted
User experience.
Fig. 4 shows the structural schematic diagram of the mobile device of the embodiment of the present invention, as shown in figure 4, the mobile device includes:
Overturn determination unit 41, switching determination unit 42, the first execution unit 43 and the second execution unit 44.
Overturning determination unit 41 is used to determine the rotary movement of mobile device according to motion sensor;Switch determination unit 42
First screen and second screen for determining the mobile device switch;First execution unit 43 is for such as
Rotary movement described in fruit is to turn counterclockwise, then the is executed on first screen or second screen as operating surface
One operation;If the second execution unit 44 is to turn clockwise for the rotary movement, in first screen of operating surface
The second operation for being different from first operation is executed on curtain or second screen.
In a kind of optional mode, the mobile device is two-sided screen equipment, first screen and second screen
Curtain is disposed opposite to each other;Or the mobile device is the folding screen equipment of export-oriented display, first screen and second screen
It is folded with.
In a kind of optional mode, if overturning determination unit 41 is for the motion sensor senses to the movement
Equipment is along the direction parallel with the frame of mobile device predetermined angle clockwise or counterclockwise, it is determined that the movement
Rotary movement has occurred in equipment, wherein the predetermined angle is in the positive and negative preset range of 180 degree.
In a kind of optional mode, switching determination unit 42 is used for: before the mobile device overturning, determining described first
Screen or second screen are gripping surface, and another screen is operating surface;After the mobile device overturning, if first screen
Curtain or second screens switch are operating surface, and another screens switch is gripping surface, it is determined that described the of the mobile device
One screen and second screen switch.
In a kind of optional mode, the first execution unit 43 is for controlling as first screen of operating surface or institute
The bright screen of the second screen is stated, shows the operating system in current operation face;It controls and puts out screen as another screen of gripping surface.
In a kind of optional mode, the second execution unit 44 is for controlling as first screen of operating surface or institute
The bright screen of the second screen is stated, the camera function of the operating system run before the mobile device overturning is started;Control is used as gripping surface
Another screen put out screen.
In a kind of optional mode, the second execution unit 44 is used to start the operation run before the mobile device overturning
The camera function of the main camera of system.
In a kind of optional mode, the second execution unit 44 is used for: if main camera is located at current operation face, being opened
Dynamic self-timer mode;If main camera is located at current gripping surface, start normal picture taking mode.
The screen display method of the embodiment of the present invention includes;The rotary movement of mobile device is determined according to motion sensor;
First screen and second screen for determining the mobile device switch;If the rotary movement is counterclockwise
Overturning then executes the first operation on first screen or second screen as operating surface;If the overturning is dynamic
As turning clockwise, is then executed on first screen of operating surface or second screen and be different from first operation
The second operation, different trigger events can be set according to equipment reverses direction, make the operating habit for being more in line with user, be promoted
User experience.
The embodiment of the invention provides a kind of nonvolatile computer storage media, the computer storage medium is stored with
The screen display method in above-mentioned any means embodiment can be performed in an at least executable instruction, the computer executable instructions.
Executable instruction specifically can be used for so that processor executes following operation:
The rotary movement of mobile device is determined according to motion sensor;
The first screen and the second screen for determining the mobile device switch;
If the rotary movement is to turn counterclockwise, in first screen or second screen as operating surface
The first operation is executed on curtain;
If the rotary movement is to turn clockwise, on first screen or second screen of operating surface
Execute the second operation for being different from first operation.
In a kind of optional mode, the mobile device is two-sided screen equipment, first screen and second screen
Curtain is disposed opposite to each other;Or the mobile device is the folding screen equipment of export-oriented display, first screen and second screen
It is folded with.
In a kind of optional mode, the executable instruction makes the processor execute following operation:
If the motion sensor senses are to the mobile device along the direction parallel with the frame of the mobile device
Predetermined angle clockwise or counterclockwise, it is determined that rotary movement has occurred in the mobile device, wherein the predetermined angle
For in the positive and negative preset range of 180 degree.
In a kind of optional mode, the executable instruction makes the processor execute following operation:
Before the mobile device overturning, determine that first screen or second screen are gripping surface, another screen is
Operating surface;
After the mobile device overturning, if first screen or second screens switch are operating surface, Ling Yiping
Curtain is switched to gripping surface, it is determined that first screen and second screen of the mobile device switch.
In a kind of optional mode, the executable instruction makes the processor execute following operation:
First screen or the bright screen of the second screen as operating surface are controlled, shows the operation system in current operation face
System;
It controls and puts out screen as another screen of gripping surface.
In a kind of optional mode, the executable instruction makes the processor execute following operation:
First screen or the bright screen of the second screen as operating surface are controlled, before starting the mobile device overturning
The camera function of the operating system of operation;
It controls and puts out screen as another screen of gripping surface.
In a kind of optional mode, the executable instruction makes the processor execute following operation:
Start the camera function of the main camera of the operating system run before the mobile device overturning.
In a kind of optional mode, the executable instruction makes the processor execute following operation:
If main camera is located at current operation face, start self-timer mode;
If main camera is located at current gripping surface, start normal picture taking mode.
The screen display method of the embodiment of the present invention includes;The rotary movement of mobile device is determined according to motion sensor;
First screen and second screen for determining the mobile device switch;If the rotary movement is counterclockwise
Overturning then executes the first operation on first screen or second screen as operating surface;If the overturning is dynamic
As turning clockwise, is then executed on first screen of operating surface or second screen and be different from first operation
The second operation, different trigger events can be set according to equipment reverses direction, make the operating habit for being more in line with user, be promoted
User experience.
Fig. 5 shows the structural schematic diagram of present device embodiment, and the specific embodiment of the invention is not to the tool of equipment
Body realization limits.
As shown in figure 5, the equipment may include: processor (processor) 502, communication interface (Communications
Interface) 504, memory (memory) 506 and communication bus 508.
Wherein: processor 502, communication interface 504 and memory 506 complete mutual lead to by communication bus 508
Letter.Communication interface 504, for being communicated with the network element of other equipment such as client or other servers etc..Processor 502 is used
In executing program 510, the correlation step in above-mentioned screen display method embodiment can be specifically executed.
Specifically, program 510 may include program code, which includes computer operation instruction.
Processor 502 may be central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.The one or more processors that equipment includes can be same type of processor, such as one or more CPU;It is also possible to
Different types of processor, such as one or more CPU and one or more ASIC.
Memory 506, for storing program 510.Memory 506 may include high speed RAM memory, it is also possible to further include
Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 510 specifically can be used for so that processor 502 executes following operation:
The rotary movement of mobile device is determined according to motion sensor;
The first screen and the second screen for determining the mobile device switch;
If the rotary movement is to turn counterclockwise, in first screen or second screen as operating surface
The first operation is executed on curtain;
If the rotary movement is to turn clockwise, on first screen or second screen of operating surface
Execute the second operation for being different from first operation.
In a kind of optional mode, the mobile device is two-sided screen equipment, first screen and second screen
Curtain is disposed opposite to each other;Or the mobile device is the folding screen equipment of export-oriented display, first screen and second screen
It is folded with.
In a kind of optional mode, described program 510 makes the processor execute following operation:
If the motion sensor senses are to the mobile device along the direction parallel with the frame of the mobile device
Predetermined angle clockwise or counterclockwise, it is determined that rotary movement has occurred in the mobile device, wherein the predetermined angle
For in the positive and negative preset range of 180 degree.
In a kind of optional mode, described program 510 makes the processor execute following operation:
Before the mobile device overturning, determine that first screen or second screen are gripping surface, another screen is
Operating surface;
After the mobile device overturning, if first screen or second screens switch are operating surface, Ling Yiping
Curtain is switched to gripping surface, it is determined that first screen and second screen of the mobile device switch.
In a kind of optional mode, described program 510 makes the processor execute following operation:
First screen or the bright screen of the second screen as operating surface are controlled, shows the operation system in current operation face
System;
It controls and puts out screen as another screen of gripping surface.
In a kind of optional mode, described program 510 makes the processor execute following operation:
First screen or the bright screen of the second screen as operating surface are controlled, before starting the mobile device overturning
The camera function of the operating system of operation;
It controls and puts out screen as another screen of gripping surface.
In a kind of optional mode, described program 510 makes the processor execute following operation:
Start the camera function of the main camera of the operating system run before the mobile device overturning.
In a kind of optional mode, described program 510 makes the processor execute following operation:
If main camera is located at current operation face, start self-timer mode;
If main camera is located at current gripping surface, start normal picture taking mode.
The screen display method of the embodiment of the present invention includes;The rotary movement of mobile device is determined according to motion sensor;
First screen and second screen for determining the mobile device switch;If the rotary movement is counterclockwise
Overturning then executes the first operation on first screen or second screen as operating surface;If the overturning is dynamic
As turning clockwise, is then executed on first screen of operating surface or second screen and be different from first operation
The second operation, different trigger events can be set according to equipment reverses direction, make the operating habit for being more in line with user, be promoted
User experience.
Algorithm or display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the embodiment of the present invention is also not for any particular programming language.It should be understood that can benefit
Summary of the invention described herein is realized with various programming languages, and the description done above to language-specific is to drape over one's shoulders
Reveal preferred forms of the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the present invention and help to understand one or more of the various inventive aspects, In
Above in the description of exemplary embodiment of the present invention, each feature of the embodiment of the present invention is grouped together into individually sometimes
In embodiment, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: being wanted
Ask protection the present invention claims features more more than feature expressly recited in each claim.More precisely, such as
As following claims reflect, inventive aspect is all features less than single embodiment disclosed above.
Therefore, it then follows thus claims of specific embodiment are expressly incorporated in the specific embodiment, wherein each right is wanted
Ask itself all as a separate embodiment of the present invention.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments
Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention
Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it
One can in any combination mode come using.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.Step in above-described embodiment should not be construed as the restriction to execution sequence in addition to having specified otherwise.