CN106020649B - Picture rotation control method and device - Google Patents
Picture rotation control method and device Download PDFInfo
- Publication number
- CN106020649B CN106020649B CN201610371869.6A CN201610371869A CN106020649B CN 106020649 B CN106020649 B CN 106020649B CN 201610371869 A CN201610371869 A CN 201610371869A CN 106020649 B CN106020649 B CN 106020649B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- screen
- rotation function
- automatic rotation
- state
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 239000003607 modifier Substances 0.000 claims abstract description 68
- 230000001960 triggered effect Effects 0.000 claims abstract description 29
- 230000006870 function Effects 0.000 claims description 174
- 230000005484 gravity Effects 0.000 claims description 50
- 230000004048 modification Effects 0.000 claims description 30
- 238000012986 modification Methods 0.000 claims description 30
- 230000005611 electricity Effects 0.000 claims description 5
- 238000011084 recovery Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 13
- 238000010586 diagram Methods 0.000 description 21
- 230000001133 acceleration Effects 0.000 description 14
- 230000008859 change Effects 0.000 description 12
- 230000001276 controlling effect Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000001747 exhibiting effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000012092 media component Substances 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure is directed to a kind of picture rotation control method and devices, belong to field of computer technology.The picture rotation control method include: in the picture application program for showing picture during front stage operation, obtain the number of revolutions of the electronic equipment;When the number of revolutions reaches pre-determined number threshold value, according to the current state of the screen automatic rotation function of the electronic equipment, status modifier control is shown, the state is to lock or unlock;When the status modifier control is triggered, the state of the screen automatic rotation function is modified;It solves the problems, such as that the state for switching screen automatic rotation function in the related technology is cumbersome, simplifies the operation of the state of switching screen automatic rotation function.
Description
Technical field
This disclosure relates to field of computer technology, in particular to a kind of picture rotation control method and device.
Background technique
The lateral dimension of electronic equipment screen and vertical dimension difference need electronic equipment will in application scenes
The content that needs to show carries out transverse screen displaying, in other application scenarios, need electronic equipment by the content for needing to show into
Row vertical screen is shown.Therefore, in order to enable electronic equipment to adapt to the display direction of scene adjustment screen automatically, user be can be set
The automatic regulating function of electronic equipment screen display direction.
When user needs to open or close the screen automatic rotation function of electronic equipment, need to switch to comprising for opening
The page of the control of screen automatic rotation function is opened and closed, then switches screen automatic rotation function by triggering corresponding control
State, it is this switching screen automatic rotation function state mode it is cumbersome.
Summary of the invention
The embodiment of the present disclosure provides a kind of picture rotation control method and device.The technical solution is as follows: according to this
Open embodiment in a first aspect, providing a kind of picture rotation control method, which comprises for showing picture
Picture application program obtains the number of revolutions of the electronic equipment during front stage operation;When the number of revolutions reaches pre-
When determining frequency threshold value, according to the current state of the screen automatic rotation function of the electronic equipment, status modifier control, institute are shown
Stating state is to lock or unlock;When the status modifier control is triggered, the state of the screen automatic rotation function is modified;
By detecting the number of revolutions of electronic equipment, when detecting that number of revolutions reaches pre-determined number threshold value, it is believed that electronic equipment is current
The state of screen automatic rotation function do not meet user demand, provide a user user at this time and modify screen automatic rotation function
State control, solve the problems, such as in the related technology switch screen automatic rotation function state it is cumbersome, simplify
User switches the state operation of switching screen automatic rotation function.
Optionally, the state current according to the screen automatic rotation function of the electronic equipment shows status modifier
Control, comprising: when the current state of the screen automatic rotation function of the electronic equipment is locking, display is for guiding unlock
The first state of the screen automatic rotation function modifies control;When the screen automatic rotation function of the electronic equipment is current
When state is unlock, second status modifier control of the display for screen automatic rotation function described in guiding locking.
It is optionally, described to modify the state of the screen automatic rotation function when the status modifier control is triggered,
It include: when the status modifier control is that the first state modifies control, and first state modification control is when being triggered,
Unlock the screen automatic rotation function of the electronic equipment;When the status modifier control be the second status modifier control,
And the second status modifier control locks the screen automatic rotation function of the electronic equipment when being triggered.
Optionally, the method also includes: in the picture application program during front stage operation, obtain the picture
The last screen display direction of the electronic equipment before application program is turned on;The electronic equipment is obtained in the picture application
Gravity sensing direction of program during front stage operation;When between the screen display direction and the gravity sensing direction
It is when unlocking, to lock the electronics that angle reaches first angle threshold value and the screen automatic rotation function of the electronic equipment for the first time
The screen automatic rotation function of equipment;Made by the last screen display direction of electronic equipment before being turned on picture application program
For the reference direction for being bonded user's browsing pictures demand, when the angle of gravity sensing direction and the reference direction reaches first for the first time
Lock-screen automatic rotation function when angle threshold has locked screen display direction, so that the display direction of screen is bonded user
Check demand.
Optionally, the method also includes: after obtaining the gravity sensing direction, in the gravity sensing direction and institute
Stating the angle between screen display direction to be less than second angle threshold value and the screen automatic rotation function of the electronic equipment is lock
Periodically, the screen automatic rotation function of the electronic equipment is unlocked;Realize the screen automatic rotation function quilt when electronic equipment
In the case that locking and user are in non-side-lying position browsing pictures, automatic unlocking screen automatic rotation function, so that habit lock
The user of screen automatic rotation function of system is determined in browsing pictures, and the aobvious of photo can be controlled by rotating electronic device
Show direction.
Optionally, the last screen display direction of electronic equipment before the picture application program has not been obtained and is turned on
When, the screen automatic rotation function for controlling the electronic equipment is in the unlocked state.
Optionally, the method also includes: after the screen automatic rotation function for unlocking the electronic equipment, in the figure
During the same picture that piece application program is opened is continuously display on the screen, the variation time of screen display direction is obtained
Number;When the change frequency reaches pre-determined number threshold value, picture rotation control relevant to the picture is shown;According to being touched
The picture rotation control of hair, controls the picture and is rotated;It allows users to by being rotated to picture.
Optionally, the method also includes: when the picture application program exits front stage operation, by the electronic equipment
The open state of screen automatic rotation function restore the state to the picture application program before front stage operation.
According to the second aspect of an embodiment of the present disclosure, a kind of picture rotation control device is provided, described device includes:
One obtains module, is configured as in the picture application program for showing picture during front stage operation, obtains the electronics
The number of revolutions of equipment;Display module is configured to be set when the number of revolutions reaches pre-determined number threshold value according to the electronics
The current state of standby screen automatic rotation function, shows status modifier control, and the state is to lock or unlock;Modify mould
Block modifies the state of the screen automatic rotation function when being configured in the status modifier control and being triggered.
Optionally, the display module includes: the first display sub-module, and the screen for being configured as the electronic equipment is automatic
When the current state of rotation function is locking, display unlocks the first state modification of the screen automatic rotation function for guiding
Control;Second display sub-module is configured as when the current state of the screen automatic rotation function of the electronic equipment being unlock
When, second status modifier control of the display for screen automatic rotation function described in guiding locking.
Optionally, the modified module includes: unlock submodule, is configured as when the status modifier control being described the
One status modifier control, and first state modification control, when being triggered, the screen for unlocking the electronic equipment rotates automatically
Function;Submodule is locked, is configured as working as the status modifier control as the second status modifier control, and second shape
When state modification control is triggered, the screen automatic rotation function of the electronic equipment is locked.
Optionally, described device further include: second obtains module, is configured as transporting in the picture application program on foreground
During row, the screen display direction that the electronic equipment is last before the picture application program is turned on is obtained;Third obtains
Module is configured as obtaining gravity sensing side of the electronic equipment during picture application program is in front stage operation
To;Locking module is configured as reaching for the first time when angle between the screen display direction and the gravity sensing direction
When the screen automatic rotation function of one angle threshold and the electronic equipment is unlock, the screen for locking the electronic equipment is automatic
Rotation function.
Optionally, described device further include: unlocked state is configured as after obtaining the gravity sensing direction, in institute
State the screen that the angle between gravity sensing direction and the screen display direction is less than second angle threshold value and the electronic equipment
When curtain automatic rotation function is locking, the screen automatic rotation function of the electronic equipment is unlocked.
Optionally, described device further include: control module, the picture application program ought be had not been obtained by, which being configured as, is opened
Before opening when the last screen display direction of electronic equipment, the screen automatic rotation function for controlling the electronic equipment is in unlock shape
State.
Optionally, described device further include: recovery module is configured as exiting front stage operation when the picture application program
When, the open state of the screen automatic rotation function of the electronic equipment is restored to the picture application program in front stage operation
Preceding state.
According to the third aspect of an embodiment of the present disclosure, a kind of picture rotation control device is provided, comprising: processor;With
In the memory for the executable instruction for storing the processor;Wherein, the processor is configured to: for showing picture
Picture application program obtains the number of revolutions of the electronic equipment during front stage operation;When the number of revolutions reaches pre-
When determining frequency threshold value, according to the current state of the screen automatic rotation function of the electronic equipment, status modifier control, institute are shown
Stating state is to lock or unlock;When the status modifier control is triggered, the state of the screen automatic rotation function is modified.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of picture rotation control method shown according to an exemplary embodiment;
Fig. 2A is a kind of flow chart of the picture rotation control method shown according to another exemplary embodiment;
Fig. 2 B is a kind of electronic equipment rotation schematic diagram shown according to an exemplary embodiment;
Fig. 2 C is a kind of method stream of locking for realizing screen automatic rotation function shown according to an exemplary embodiment
Cheng Tu;
Fig. 2 D is that a kind of picture application program shown according to an exemplary embodiment is turned on forth screen display direction
Schematic diagram;
Fig. 2 E is a kind of schematic diagram of lock-screen display direction shown according to an exemplary embodiment;
Fig. 2 F is a kind of flow chart for solving lock screen automatic rotation function method shown according to an exemplary embodiment;
Fig. 2 G is a kind of schematic diagram of screen automatic rotation function unlock shown according to an exemplary embodiment;
Fig. 2 H is a kind of control provided a user for controlling photo rotation shown according to an exemplary embodiment
Method flow diagram;
Fig. 2 I is photo rotation schematic diagram shown according to an exemplary embodiment;
Fig. 3 is a kind of block diagram of picture rotation control device shown according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of the picture rotation control device shown according to another exemplary embodiment;
Fig. 5 is a kind of block diagram of device for picture rotation control shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of picture rotation control method shown according to an exemplary embodiment, the picture rotation
Control method may include the following steps.
In a step 101, it obtains the electronics during front stage operation in the picture application program for showing picture and sets
Standby number of revolutions.
In a step 102, it when number of revolutions reaches pre-determined number threshold value, is rotated automatically according to the screen of the electronic equipment
The current state of function, shows status modifier control, and above-mentioned state is to lock or unlock.
In step 103, when status modifier control is triggered, the state of screen automatic rotation function is modified.
In conclusion the picture rotation control method provided in the embodiment of the present disclosure, detects the number of revolutions of electronic equipment,
When detecting that number of revolutions reaches pre-determined number threshold value, it is believed that the state of the current screen automatic rotation function of electronic equipment is not inconsistent
User demand is closed, the control that user modifies the state of screen automatic rotation function is provided a user at this time, solves the relevant technologies
The cumbersome problem of the state of middle switching screen automatic rotation function, simplifies the shape that user switches screen automatic rotation function
State operation.
Fig. 2A is a kind of flow chart of the picture rotation control method shown according to another exemplary embodiment, picture rotation
Turning control method may include the following steps.
In step 201, it obtains the electronics during front stage operation in the picture application program for showing picture and sets
Standby number of revolutions.
It is said here to be used to show that the application program of picture be Photo Viewer, browser etc..
Optionally, in picture application program during front stage operation, the gravity sensing side of electronic equipment is obtained in real time
To determining the posture of electronic equipment according to the gravity sensing direction got.When detecting that the frame in bottom changes
When, it is primary by rotation to be denoted as the electronic equipment.For example, Fig. 2 B is that a kind of electronics shown according to an exemplary embodiment is set
Standby rotation schematic diagram shown in the initial attitude of mobile phone such as Fig. 2 B (1), detects that the Bottom Border of electronic equipment is the bottom of at this time
The frame in portion detects that the left border of electronic equipment is shown in user's rotating electronic device counterclockwise such as Fig. 2 B (2) at this time
Frame in bottom detects that electronic equipment is in the frame of bottom and is changed, it is believed that electronic equipment rotation at this time
It is primary.
In step 202, it when number of revolutions reaches pre-determined number threshold value, is rotated automatically according to the screen of the electronic equipment
The current state of function shows status modifier control.
Pre-determined number threshold value is usually set by system developer, optionally, sets 2 for pre-determined number threshold value.
When the number of revolutions of electronic equipment reaches predetermined threshold, it is believed that the state of current screen automatic rotation function can
The demand of user can not be met, provides a user the status modifier control for modifying screen automatic rotation function state at this time.
Screen automatic rotation function said here is electronic equipment according to the gravity sensing direction controlling electricity obtained in real time
The function that the screen display direction of sub- equipment rotates automatically.The state of screen automatic rotation function includes locking and unlocking, works as screen
When curtain automatic rotation function is unlock, electronic equipment is aobvious according to the screen of the gravity sensing direction controlling electronic equipment obtained in real time
Show that direction rotates automatically;When screen automatic rotation function is locking, the screen display direction of electronic equipment is locked.
Specifically, this step can be realized by the possible embodiment of following two.
In the first possible embodiment, when the current state of the screen automatic rotation function of electronic equipment is locking
When, display is for guiding the first state modification control of solution lock screen automatic rotation function.
In order to avoid first state modification control blocks screen display content.Optionally, it modifies and controls when first state
Part is continuously display when reaching preset duration in display screen, cancels the display to first state modification control.
In second of possible embodiment, when the current state of the screen automatic rotation function of electronic equipment is unlock
When, second status modifier control of the display for screen automatic rotation function described in guiding locking.
In order to avoid the second status modifier control blocks screen display content.Optionally, when the second status modifier control
Part is continuously display when reaching preset duration in display screen, cancels the display to the second status modifier control.
In step 203, when status modifier control is triggered, the state of screen automatic rotation function is modified.
Specifically, this step can be realized by the possible embodiment of following two.
In the first possible embodiment, when status modifier control is that first state modifies control, and first state
When modification control is triggered, the screen automatic rotation function of electronic equipment is unlocked.
In second of possible embodiment, when status modifier control is the second status modifier control, and the second state
When modification control is triggered, the screen automatic rotation function of electronic equipment is locked.
In conclusion the picture rotation control method provided in the embodiment of the present disclosure, detects the number of revolutions of electronic equipment,
When detecting that number of revolutions reaches pre-determined number threshold value, it is believed that the state of the current screen automatic rotation function of electronic equipment is not inconsistent
User demand is closed, the control that user modifies the state of screen automatic rotation function is provided a user at this time, solves the relevant technologies
The cumbersome problem of the state of middle switching screen automatic rotation function, simplifies the shape that user switches screen automatic rotation function
State operation.
In the case where the screen automatic rotation function of electronic equipment is unlock, in order to allow users to lie on one's side in bed
And on an electronic device browsing pictures when, the display direction fitting user of screen checks the demand of picture.Such as Fig. 2 C institute can be passed through
The several steps shown realize the locking of screen automatic rotation function, and Fig. 2 C is a kind of realization shown according to an exemplary embodiment
The method flow diagram of the locking of screen automatic rotation function.
In step 204a, in picture application program during front stage operation, obtains the picture application program and opened
The last screen display direction of electronic equipment before opening.
In the present embodiment, obtains the screen display direction that electronic equipment is last before picture application program is turned on and be used as fitting
User checks the reference direction of picture demand.
Fig. 2 D is the screen that electronic equipment is last before picture application program shown according to an exemplary embodiment is turned on
The schematic diagram of display direction.For example, as shown in Fig. 2 D (1), when user passes through the figure of picture application program on triggering desktop
The last screen of electronic equipment is aobvious before the picture application program for marking when opening the picture application program, then to get is turned on
Show that direction is first direction 21, first direction said here is the direction of top to the electronic equipment bottom end of electronic equipment.
Again for example, user can be preset certain physical button be trigger picture application program front stage operation it is quick by
Key, as shown in Fig. 2 D (2), when user is using transverse screen viewing video, user can trigger above-mentioned physical button and answer to trigger picture
With program front stage operation, then the last screen display direction of electronic equipment is before the picture application program got at this time is turned on
Second direction 22, second direction said here are the left border of electronic equipment to the direction of electronic equipment Right Border.
The icon of picture application program is a kind of method that common picture application program is opened on triggering desktop, works as user
When opening the picture application program by this method, the screen display direction got is first direction.In order to make above-mentioned screen
Display direction can check the demand of picture as reference direction closer to user, optionally, obtain the picture application program quilt
Screen display direction when the application program of last front stage operation exits on electronic equipment before opening.
For example, after user is using transverse screen viewing video, exiting the application program for watching video as shown in Fig. 2 D (2)
To the desktop of electronic equipment.User opens the application program by the icon of the picture application program on triggering desktop, then
When the application program that electronic equipment gets last front stage operation on electronic equipment before the picture application program is turned on exits
Screen display direction is second direction 22, that is to say, that second direction 22 is checked to the reference side of picture demand as fitting user
To.
In step 204b, gravity sensing side of the electronic equipment during picture application program is in front stage operation is obtained
To.
In picture application program during front stage operation, electronic equipment can pass through the gravity sensing built in electronic equipment
Device obtains the gravity sensing direction of the electronic equipment in real time.It should be noted is that electronic equipment obtains gravity sensing direction
It is that those of ordinary skill in the art can be realized, therefore the present embodiment repeats no more this, also weight is not obtained to electronic equipment
The method that power incudes direction makees specific limit.
In step 204c, when the angle between screen display direction and gravity sensing direction reaches first angle threshold for the first time
When the screen automatic rotation function of value and electronic equipment is unlock, the screen automatic rotation function of electronic equipment is locked.
First angle threshold value said here is usually set by system developer, and the present embodiment is to first angle threshold value
Specific data are not especially limited.
The screen display direction fitting user got in step 204a checks picture demand.Electronic equipment screen from
In the case that dynamic rotation function is unlock, when the angle between screen display direction and gravity sensing direction reaches first jiao for the first time
When spending threshold value, in order to make screen display direction can satisfy fitting user demand, the screen for locking electronic equipment at this time revolves automatically
Rotating function, so that screen display direction does not change.
Fig. 2 E is a kind of schematic diagram of lock-screen display direction shown according to an exemplary embodiment.For example,
First angle threshold value is set as 60 degree, when user lies on one's side in bed, as shown in Fig. 2 E (1), by clicking picture application on desktop
The icon of program is come when opening the picture application program, the picture application program that electronic equipment is got is turned on preceding electronic equipment
Last screen display direction is first direction 21.After the picture application program is opened, the application program in front stage operation,
The gravity sensing direction of electronic equipment is third direction 23 at this time.At this point, between screen display direction and gravity sensing direction
Angle is 90 degree, and more than 60 degree of first angle threshold value, control screen automatic rotation function is closed.Correspondingly, the display side of screen
To first direction 21 is remained as, as shown in Fig. 2 E (2), meet the demand that picture is checked when user lies on one's side.
By the last screen display direction of electronic equipment before being turned on picture application program as fitting user's browsing
The reference direction of picture demand reaches first angle threshold value control flow in the angle of gravity sensing direction and the reference direction for the first time
Curtain automatic rotation function locking, has locked screen display direction, the display direction for obtaining screen is more bonded user and checks asking for demand
Topic.
When the screen automatic rotation function of electronic equipment is locking, user can also solve lock screen by rotating mobile
Automatic rotation function specifically can realize that Fig. 2 F is according to an exemplary embodiment by several sub-steps as shown in Figure 2 F
A kind of flow chart of the solution lock screen automatic rotation function method shown.
In step 205a, when the screen automatic rotation function of electronic equipment is locking, the rotation of electronic equipment is obtained
Angular acceleration.
Electronic equipment, which obtains itself angular acceleration method, is that those of ordinary skill in the art can be realized, therefore this reality
It applies example and this is repeated no more, the method for also not obtaining rotation angular acceleration to electronic equipment makees specific limit.For example, electronic equipment
Angular speed can be obtained in real time by gyroscope built-in in electronic equipment, determine that angle of rotation adds according to the angular speed obtained in real time
Speed.
In step 205b, when rotating angular acceleration greater than predetermined acceleration threshold value, then first state modification control is shown
Part.
In general, predetermined acceleration threshold value is set by system developer, and the present embodiment is to predetermined acceleration threshold value
Data are not especially limited, can be determines according to actual conditions.When the rotation angular acceleration of electronic equipment is greater than predetermined acceleration threshold
When value, then it is assumed that may have the needs of transformation screen display direction using the user of the electronic equipment, show first state at this time
Modify control.
In step 205c, when first state modification control is triggered, the automatic rotational work of screen of electronic equipment is unlocked
Energy.
When the screen automatic rotation function of electronic equipment is locking, the rotation angular acceleration of electronic equipment is obtained in real time,
When rotating angular acceleration greater than predetermined acceleration threshold value, then shows that first state modifies control, allow users to pass through rotation
Turn the display of electronic equipment triggering first state modification control, and electricity can be unlocked by triggering first state modification control
The screen automatic rotation function of sub- equipment.
Some user's habits are by lock-screen automatic rotation function, and the screen display direction of electronic equipment is usually locked at this time
It is set to first direction.And user has picture that can carry out in a different direction when entering picture application program browsing pictures
It shows and needs, the needs of picture can be shown in a different direction when checking picture at this time in order to meet user, solution
Lock screen automatic rotation function.
Specifically, the angle between gravity sensing direction and screen display direction is small after obtaining gravity sensing direction
When the screen automatic rotation function of second angle threshold value and electronic equipment is locking, the screen for unlocking electronic equipment rotates automatically
Function.
Second angle threshold value is usually set by system developer, the present embodiment to the specific data of second angle threshold value not
Make specific restriction, it can be determines according to actual conditions.For example, the second angle threshold value can be 30 degree, or 45 degree.
For example, Fig. 2 G is a kind of signal of screen automatic rotation function unlock shown according to an exemplary embodiment
Figure, sets first angle threshold value as 60 degree, as shown in Fig. 2 G (1), user is beaten by the icon of picture application program on desktop
The picture application program is opened, then the last screen of electronic equipment is shown before the picture application program that electronic equipment is got is turned on
Direction is first direction 21.As shown in Fig. 2 G (2), user maintains the constant continuation browse graph of posture after opening the picture application program
Piece, the gravity sensing direction of electronic equipment is 21 at this time and the angle between first direction is 0, unlocks the screen of electronic equipment
Curtain automatic rotation function, then user can control the display direction of photo by rotating electronic device.
By detecting the angle between the gravity sensing direction of electronic equipment and the screen display direction of acquisition less than
When two angle thresholds, the screen automatic rotation function of electronic equipment is unlocked;It realizes when the screen display direction of electronic equipment is logical
It is often locked and in the case that user is in non-side-lying position browsing pictures, the locking to screen display direction is automatically terminated, is made
The user for closing the screen automatic rotation function of system is obtained in browsing pictures, photograph can be controlled by rotating electronic device
The display direction of piece.
Optionally, before picture application program has not been obtained and is turned on when the last screen display direction of electronic equipment, control
The screen automatic rotation function of electronic equipment processed is in the unlocked state.
Electronic equipment can record the footer information of the photo to every photo according to gravity sensing direction when shooting, show
Photo shows the bottom of the photo in the bottom of screen.The bottom of electronic equipment record when the shooting of user's hand-hold electronic equipments
With picture display direction meet user browse bottom corresponding to the picture demand it is inconsistent when, regardless of screen display direction
Change is all not easy to user and checks, can provide a user the control for controlling photo rotation at this time, can specifically pass through
Several sub-steps as illustrated in figure 2h realize that Fig. 2 H is that one kind shown according to an exemplary embodiment is provided a user for controlling
The method flow diagram of the control of photo rotation processed.
In step 207a, when the screen automatic rotation function of electronic equipment is unlock, beaten in picture application program
During the same picture opened is continuously display on the screen, the change frequency of screen display direction is obtained.
In step 207b, when change frequency reaches the first frequency threshold value, picture rotation relevant to the picture is shown
Control controls the picture and is rotated according to the picture rotation control being triggered.
In order to avoid picture rotation control blocks screen display content, optionally, when picture rotation control is being shown
It is continuously display when reaching preset duration in screen, cancel the display to the picture rotation control.
First frequency threshold value can be set by the user, and can also be set by system developer, and the present embodiment is to for the first time
The specific value of number threshold value is not especially limited, can be determines according to actual conditions.
Fig. 2 I is photo rotation schematic diagram shown according to an exemplary embodiment, is illustrated so that the first frequency threshold value is 2
Illustrate, if Fig. 2 I (1) show the schematic diagram of initial presentation picture A, the displaying direction of picture A does not meet user and checks figure at this time
The user demand of piece, user, which understands rotating electronic device and obtains the electronics as shown in Fig. 2 I (2) changing the display direction of screen, to be set
For the schematic diagram of exhibiting pictures A, the displaying direction of picture A shown in Fig. 2 I (2) does not still meet the use that user checks picture
Family demand.User can change the display direction and triggering picture relevant to the picture of screen by rotating electronic device again
Pivot controls show that relevant to picture picture rotation control includes pivot controls 24 counterclockwise and suitable as shown in Fig. 2 I (3)
Hour hands pivot controls 25.After rotating clockwise space 25 and being triggered, electronic equipment shows schematic diagram such as Fig. 2 I (4) of picture A
It is shown.
After screen automatic rotation function by unlocking electronic equipment, in the same picture that picture application program is opened
During continuously display on the screen, the change frequency of screen display direction is obtained, change frequency reaches pre-determined number threshold value
When, it shows picture rotation control relevant to the picture, allows users to by being rotated to picture.
It should be noted is that the unlock and locking of screen automatic rotation function in the disclosure being set to electronics
The modification that the screen automatic rotation function of standby system is arranged.
Optionally, when picture application program exits front stage operation, by opening for the screen automatic rotation function of electronic equipment
The state of opening restores the state to picture application program before front stage operation.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device
Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 3 is a kind of block diagram of picture rotation control device shown according to an exemplary embodiment, the picture rotation control
Device processed may include: the first acquisition module 310, display module 320 and modified module 330.
First obtains module 310, is configured as in the picture application program for showing picture during front stage operation,
Obtain the number of revolutions of electronic equipment.
Display module 320 is configured to reach pre-determined number threshold value when the number of revolutions that the first acquisition module 310 is got
When, according to the current state of the screen automatic rotation function of electronic equipment, show status modifier control, state is locking or solution
Lock.
Modified module 330 is configured in the status modifier control of the display of display module 320 when being triggered, modification screen from
The state of dynamic rotation function.
In conclusion the picture rotation control device provided in the embodiment of the present disclosure, by the rotation for detecting electronic equipment
Number, when detecting that number of revolutions reaches pre-determined number threshold value, it is believed that the shape of the current screen automatic rotation function of electronic equipment
State does not meet user demand, provides a user the control that user modifies the state of screen automatic rotation function at this time, solves phase
Switch the cumbersome problem of the state of screen automatic rotation function in the technology of pass, simplifies user and switch the automatic rotational work of screen
The state operation of energy.
Fig. 4 is a kind of block diagram of the picture rotation control device shown according to another exemplary embodiment, the picture rotation
Control device may include: the first acquisition module 401, display module 402 and modified module 403.
First obtains module 401, is configured as in the picture application program for showing picture during front stage operation,
Obtain the number of revolutions of electronic equipment.
It is said here to be used to show that the application program of picture be Photo Viewer, browser etc..
Optionally, in picture application program during front stage operation, the gravity sensing side of electronic equipment is obtained in real time
To determining the posture of electronic equipment according to the gravity sensing direction got.When detecting that the frame in bottom changes
When, it is primary by rotation to be denoted as the electronic equipment.
Display module 402 is configured to reach pre-determined number threshold value when the number of revolutions that the first acquisition module 401 is got
When, according to the current state of the screen automatic rotation function of electronic equipment, show status modifier control, state is locking or solution
Lock.
Pre-determined number threshold value is usually set by system developer, optionally, sets 2 for pre-determined number threshold value.
When the number of revolutions of electronic equipment reaches predetermined threshold, it is believed that the state of current screen automatic rotation function can
The demand of user can not be met, provides a user the status modifier control for modifying screen automatic rotation function state at this time.
Screen automatic rotation function said here is electronic equipment according to the gravity sensing direction controlling electricity obtained in real time
The function that the screen display direction of sub- equipment rotates automatically.The state of screen automatic rotation function includes locking and unlocking, works as screen
When curtain automatic rotation function is unlock, electronic equipment is aobvious according to the screen of the gravity sensing direction controlling electronic equipment obtained in real time
Show that direction rotates automatically;When screen automatic rotation function is locking, the screen display direction of electronic equipment is locked.
Modified module 403 is configured in the status modifier control of the display of display module 402 when being triggered, modification screen from
The state of dynamic rotation function.
Optionally, display module 402, comprising: the first display sub-module 402a and the second display sub-module 402b.
First display sub-module 402a is configured as the current state of screen automatic rotation function of electronic equipment as locking
When, display unlocks the first state modification control of the screen automatic rotation function for guiding.
In order to which first state modification control blocks screen display content.Optionally, when first state modification control exists
It is continuously display when reaching preset duration in display screen, cancel the display to first state modification control.
Second display sub-module 402b is configured as when the current state of the screen automatic rotation function of electronic equipment being solution
When lock, second status modifier control of the display for screen automatic rotation function described in guiding locking.
In order to which the second status modifier control blocks screen display content.Optionally, when the second status modifier control exists
It is continuously display when reaching preset duration in display screen, cancel the display to the second status modifier control.
Optionally, modified module 403, comprising: unlock submodule 403a and locking submodule 403b.
Submodule 403a is unlocked, the status modifier control for being configured as showing when display module is first state modification control
Part, and first state modification control unlocks the screen automatic rotation function of electronic equipment when being triggered.
Submodule 403b is locked, the status modifier control for being configured as showing when display module is the second status modifier control
Part, and when the second status modifier control is triggered, lock the screen automatic rotation function of electronic equipment.
Optionally, the picture rotation control device, further includes:
Second obtains module 404, is configured as in picture application program during front stage operation, obtains the picture application
The last screen display direction of electronic equipment before program is turned on.
In the present embodiment, obtains the screen display direction that electronic equipment is last before picture application program is turned on and be used as fitting
User checks the reference direction of picture demand.
The icon of picture application program is a kind of method that common picture application program is opened on triggering desktop, works as user
When opening the picture application program by this method, the screen display direction got is first direction.In order to make above-mentioned screen
Display direction can check the demand of picture as reference direction closer to user, optionally, obtain the picture application program quilt
Screen display direction when the application program of last front stage operation exits on electronic equipment before opening.
Third obtains module 405, is configured as obtaining electronic equipment picture application program is in front stage operation during
Gravity sensing direction.
In picture application program during front stage operation, electronic equipment can pass through the gravity sensitive built in electronic equipment
Device obtains the gravity sensing direction of the electronic equipment in real time.It should be noted that it is ability that electronic equipment, which obtains gravity sensing direction,
Domain those of ordinary skill can be realized, therefore the present embodiment repeats no more this, also not obtain gravity sensing to electronic equipment
The method in direction makees specific limit.
Locking module 406 is configured as reaching for the first time when angle between screen display direction and gravity sensing direction
When the screen automatic rotation function of one angle threshold and electronic equipment is unlock, the automatic rotational work of screen of electronic equipment is locked
Energy.
First angle threshold value said here is usually set by system developer, and the present embodiment is to first angle threshold value
Specific data are not especially limited.
The screen display direction fitting user got in step 204a checks picture demand.Electronic equipment screen from
In the case that dynamic rotation function is unlock, when the angle between screen display direction and gravity sensing direction reaches first jiao for the first time
When spending threshold value, in order to make screen display direction can satisfy fitting user demand, the screen of controlling electronic devices revolves automatically at this time
Rotating function is closed, so that screen display direction does not change.
Optionally, picture rotation control device, further includes: unlocked state 407 is configured as obtaining gravity sensing side
Backward, the angle between gravity sensing direction and screen display direction be less than the screen of second angle threshold value and electronic equipment from
When dynamic rotation function is locking, the screen automatic rotation function of electronic equipment is unlocked.
Second angle threshold value is usually set by system developer, the present embodiment to the specific data of second angle threshold value not
Make specific restriction, it can be determines according to actual conditions.
Optionally, picture rotation control device, further includes: control module 408, picture ought be had not been obtained by, which being configured as, answers
When being turned on the last screen display direction of preceding electronic equipment with program, the screen automatic rotation function of controlling electronic devices is in
Unlocked state.
Optionally, picture rotation control device, further includes: recovery module 409 is configured as moving back when picture application program
Out when front stage operation, the open state of the screen automatic rotation function of electronic equipment is restored to transport to picture application program on foreground
State before row.
In conclusion the picture rotation control device provided in the embodiment of the present disclosure, by the rotation for detecting electronic equipment
Number, when detecting that number of revolutions reaches pre-determined number threshold value, it is believed that the shape of the current screen automatic rotation function of electronic equipment
State does not meet user demand, provides a user the control that user modifies the state of screen automatic rotation function at this time, solves phase
Switch the cumbersome problem of the state of screen automatic rotation function in the technology of pass, simplifies user and switch the automatic rotational work of screen
The state operation of energy.
It should be noted is that device provided by the above embodiment is in picture rotation control function, only with above-mentioned each
The division progress of a functional module, can be according to actual needs and by above-mentioned function distribution by not for example, in practical application
Same functional module is completed, i.e., the content structure of equipment is divided into different functional modules, to complete whole described above
Or partial function.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
One exemplary embodiment of the disclosure additionally provides a kind of picture rotation control device, can be realized disclosure offer
Picture rotation control method.The device includes: processor, and the memory of the executable instruction for storage processor.Its
In, processor is configured as:
In the picture application program for showing picture during front stage operation, the number of revolutions of electronic equipment is obtained.
When number of revolutions reaches pre-determined number threshold value, according to the current shape of the screen automatic rotation function of electronic equipment
State, shows status modifier control, and above-mentioned state is to lock or unlock.
When status modifier control is triggered, the state of screen automatic rotation function is modified.
Fig. 5 is a kind of block diagram of device 500 for picture rotation control shown according to an exemplary embodiment.Example
Such as, device 500 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, and plate is set
It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 5, device 500 may include following one or more components: processing component 502, memory 504, power supply
Component 506, multimedia component 508, audio component 510, the interface 512 of input/output (I/O), sensor module 514, and
Communication component 516.
The integrated operation of the usual control device 500 of processing component 502, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing component 502 may include that one or more processors 520 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 502 may include one or more modules, just
Interaction between processing component 502 and other assemblies.For example, processing component 502 may include multi-media module, it is more to facilitate
Interaction between media component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in device 500.These data are shown
Example includes the instruction of any application or method for operating on device 500, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 500.Power supply module 506 may include power management system
System, one or more power supplys and other with for device 500 generate, manage, and distribute the associated component of electric power.
Multimedia component 508 includes the screen of one output interface of offer between described device 500 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 508 includes a front camera and/or rear camera.When device 500 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 510 is configured as output and/or input audio signal.For example, audio component 510 includes a Mike
Wind (MIC), when device 500 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 504 or via communication set
Part 516 is sent.In some embodiments, audio component 510 further includes a loudspeaker, is used for output audio signal.
I/O interface 512 provides interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, control etc..These controls may include but be not limited to: homepage control, volume control, starting control and lock
Determine control.
Sensor module 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented
Estimate.For example, sensor module 514 can detecte the state that opens/closes of device 500, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 500, and sensor module 514 can be with 500 1 components of detection device 500 or device
Position change, the existence or non-existence that user contacts with device 500,500 orientation of device or acceleration/deceleration and device 500
Temperature change.Sensor module 514 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 514 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device
500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation
In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 516 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 504 of instruction, above-metioned instruction can be executed by the processor 520 of device 500 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 500
When device executes, so that device 500 is able to carry out step shown in Fig. 1, Fig. 2A, Fig. 2 C, Fig. 2 F and Fig. 2 H.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (14)
1. a kind of picture rotation control method, which is characterized in that be applied in electronic equipment, which comprises
In the picture application program for showing picture during front stage operation, the number of revolutions of the electronic equipment is obtained,
The number of revolutions is obtained by the frame variation determination in bottom;
When the number of revolutions reaches pre-determined number threshold value, current according to the screen automatic rotation function of the electronic equipment
State shows status modifier control, and the state is to lock or unlock, and the status modifier control revolves automatically for modifying screen
Rotating function state;
When the status modifier control is triggered, the state of the screen automatic rotation function is modified;
In the picture application program during front stage operation, obtains the electronics before the picture application program is turned on and set
Standby last screen display direction;
Obtain gravity sensing direction of the electronic equipment during picture application program is in front stage operation;
When the angle between the screen display direction and the gravity sensing direction reaches first angle threshold value and described for the first time
When the screen automatic rotation function of electronic equipment is unlock, the screen automatic rotation function of the electronic equipment is locked.
2. the method according to claim 1, wherein the automatic rotational work of the screen according to the electronic equipment
The current state of energy, shows status modifier control, comprising:
When the current state of the screen automatic rotation function of the electronic equipment is locking, display unlocks the screen for guiding
The first state of curtain automatic rotation function modifies control;
When the current state of the screen automatic rotation function of the electronic equipment is unlock, display described in guiding locking for shielding
Second status modifier control of curtain automatic rotation function.
3. according to the method described in claim 2, it is characterized in that, described when the status modifier control is triggered, modification
The state of the screen automatic rotation function, comprising:
When the status modifier control is first state modification control, and first state modification control is triggered,
Unlock the screen automatic rotation function of the electronic equipment;
When the status modifier control is the second status modifier control, and the second status modifier control is triggered,
Lock the screen automatic rotation function of the electronic equipment.
4. the method according to claim 1, wherein the method also includes:
After obtaining the gravity sensing direction, the angle between the gravity sensing direction and the screen display direction is small
When the screen automatic rotation function of second angle threshold value and the electronic equipment is locking, the screen of the electronic equipment is unlocked
Automatic rotation function.
5. the method according to claim 1, wherein the method also includes:
Before the picture application program has not been obtained and is turned on when the last screen display direction of electronic equipment, the electricity is controlled
The screen automatic rotation function of sub- equipment is in the unlocked state.
6. according to claim 1 to any method in 5, which is characterized in that the method also includes:
When the picture application program exits front stage operation, by the opening state of the screen automatic rotation function of the electronic equipment
State restores the state to the picture application program before front stage operation.
7. a kind of picture rotation control device, which is characterized in that described device includes:
First obtains module, is configured as in the picture application program for showing picture during front stage operation, obtains electricity
The number of revolutions of sub- equipment, the number of revolutions are obtained by the frame variation determination in bottom;
Display module is configured when the number of revolutions that the first acquisition module is got reaches pre-determined number threshold value, according to
The current state of the screen automatic rotation function of the electronic equipment, shows status modifier control, and the state is locking or solution
Lock, the status modifier control is for modifying screen automatic rotation function state;
It is automatic to modify the screen when being configured in the status modifier control that the display module is shown and being triggered for modified module
The state of rotation function;
Second obtains module, is configured as in the picture application program during front stage operation, obtains the picture application
The last screen display direction of the electronic equipment before program is turned on;
Third obtains module, is configured as obtaining the electronic equipment during picture application program is in front stage operation
Gravity sensing direction;
Locking module is configured as reaching for the first time when angle between the screen display direction and the gravity sensing direction
When the screen automatic rotation function of one angle threshold and the electronic equipment is unlock, the screen for locking the electronic equipment is automatic
Rotation function.
8. device according to claim 7, which is characterized in that the display module includes:
First display sub-module, when being configured as the current state of screen automatic rotation function of the electronic equipment as locking,
Display unlocks the first state modification control of the screen automatic rotation function for guiding;
Second display sub-module is configured as when the current state of the screen automatic rotation function of the electronic equipment being unlock
When, second status modifier control of the display for screen automatic rotation function described in guiding locking.
9. device according to claim 8, which is characterized in that the modified module includes:
Submodule is unlocked, the status modifier control for being configured as showing when the display module is first state modification control
Part, and first state modification control unlocks the screen automatic rotation function of the electronic equipment when being triggered;
Submodule is locked, the status modifier control for being configured as showing when the display module is the second status modifier control
Part, and when the second status modifier control is triggered, lock the screen automatic rotation function of the electronic equipment.
10. device according to claim 7, which is characterized in that described device further include:
Unlocked state is configured as after obtaining the gravity sensing direction, aobvious in the gravity sensing direction and the screen
Showing that the angle between direction is less than second angle threshold value and the screen automatic rotation function of the electronic equipment is unlock when locking
The screen automatic rotation function of the electronic equipment.
11. device according to claim 7, which is characterized in that described device further include:
Control module is configured as the screen that electronic equipment is last before the picture application program has not been obtained and is turned on and shows
When direction, the screen automatic rotation function for controlling the electronic equipment is in the unlocked state.
12. according to the device any in claim 7 to 11, which is characterized in that described device further include:
Recovery module is configured as when the picture application program exits front stage operation, certainly by the screen of the electronic equipment
The open state of dynamic rotation function restores the state to the picture application program before front stage operation.
13. a kind of picture rotation control device characterized by comprising
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
In the picture application program for showing picture during front stage operation, the number of revolutions of electronic equipment is obtained, it is described
Number of revolutions is obtained by the frame variation determination in bottom;
When the number of revolutions reaches pre-determined number threshold value, current according to the screen automatic rotation function of the electronic equipment
State shows status modifier control, and the state is to lock or unlock, and the status modifier control revolves automatically for modifying screen
Rotating function state;
When the status modifier control is triggered, the state of the screen automatic rotation function is modified;
In the picture application program during front stage operation, obtains the electronics before the picture application program is turned on and set
Standby last screen display direction;
Obtain gravity sensing direction of the electronic equipment during picture application program is in front stage operation;
When the angle between the screen display direction and the gravity sensing direction reaches first angle threshold value and described for the first time
When the screen automatic rotation function of electronic equipment is unlock, the screen automatic rotation function of the electronic equipment is locked.
14. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage at least one refers to
It enables, claim 1-6 any picture rotation control method is realized when described instruction is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610371869.6A CN106020649B (en) | 2016-05-30 | 2016-05-30 | Picture rotation control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610371869.6A CN106020649B (en) | 2016-05-30 | 2016-05-30 | Picture rotation control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106020649A CN106020649A (en) | 2016-10-12 |
CN106020649B true CN106020649B (en) | 2019-09-13 |
Family
ID=57091482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610371869.6A Active CN106020649B (en) | 2016-05-30 | 2016-05-30 | Picture rotation control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106020649B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106547456A (en) * | 2016-10-27 | 2017-03-29 | 北京小米移动软件有限公司 | Terminal unit screen rotation method and device |
CN107918517B (en) * | 2017-11-13 | 2020-02-18 | Oppo广东移动通信有限公司 | Response method, device, mobile terminal and storage medium for screen rotation |
CN107765973A (en) * | 2017-11-16 | 2018-03-06 | 珠海市魅族科技有限公司 | Control method and device, computer installation and the storage medium in screen display direction |
CN108196699B (en) * | 2017-12-19 | 2021-02-02 | 维沃移动通信有限公司 | Page switching method and equipment |
CN108958860B (en) * | 2018-06-06 | 2022-03-08 | Oppo(重庆)智能科技有限公司 | Screen display state control method and related product |
CN113970995B (en) * | 2021-10-25 | 2024-12-27 | 超越科技股份有限公司 | A screen flipping method and electronic device based on Linux system |
CN114398134A (en) | 2022-01-14 | 2022-04-26 | 北京字跳网络技术有限公司 | A locking method, device, electronic device and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799370A (en) * | 2012-06-29 | 2012-11-28 | 珠海金山办公软件有限公司 | Method and system for controlling rotation of screen of touch terminal |
CN103176710A (en) * | 2011-09-23 | 2013-06-26 | 三星电子株式会社 | Apparatus and method for locking automatic screen rotation in portable terminal |
CN103793166A (en) * | 2012-11-05 | 2014-05-14 | 阿里巴巴集团控股有限公司 | Method for rotational displaying of content and terminal |
CN103955324A (en) * | 2014-03-28 | 2014-07-30 | 广州华多网络科技有限公司 | Method and method for displaying interfaces |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9292165B2 (en) * | 2013-10-09 | 2016-03-22 | Conduit Ltd | Multiple-mode interface for spatial input devices |
-
2016
- 2016-05-30 CN CN201610371869.6A patent/CN106020649B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103176710A (en) * | 2011-09-23 | 2013-06-26 | 三星电子株式会社 | Apparatus and method for locking automatic screen rotation in portable terminal |
CN102799370A (en) * | 2012-06-29 | 2012-11-28 | 珠海金山办公软件有限公司 | Method and system for controlling rotation of screen of touch terminal |
CN103793166A (en) * | 2012-11-05 | 2014-05-14 | 阿里巴巴集团控股有限公司 | Method for rotational displaying of content and terminal |
CN103955324A (en) * | 2014-03-28 | 2014-07-30 | 广州华多网络科技有限公司 | Method and method for displaying interfaces |
Also Published As
Publication number | Publication date |
---|---|
CN106020649A (en) | 2016-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106020649B (en) | Picture rotation control method and device | |
US11010020B2 (en) | Method, apparatus and storage medium for displaying shortcut operation panel | |
KR101659032B1 (en) | Mobile terminal and control method thereof | |
CN103513763B (en) | Mobile terminal and its control method | |
CN105491289B (en) | Prevent from taking pictures the method and device blocked | |
US9703939B2 (en) | Mobile terminal and control method thereof | |
US9310996B2 (en) | Mobile terminal and method for providing user interface thereof | |
CN105657173B (en) | Volume adjustment method, device and mobile terminal | |
EP2605495B1 (en) | Mobile terminal and control method thereof | |
WO2017177597A1 (en) | Entity button assembly, terminal, touch control response method and apparatus | |
CN105607834B (en) | Screen control method, device and terminal | |
CN105204808B (en) | Projective techniques, device and the terminal device of picture | |
US8818003B2 (en) | Mobile terminal and control method thereof | |
CN107357505A (en) | The method, apparatus and computer-readable recording medium of screenshot capture | |
CN109557999A (en) | Bright screen control method, device and storage medium | |
KR20150131815A (en) | Mobile terminal and controlling method thereof | |
JP2016139947A (en) | Portable terminal | |
CN105426878B (en) | Face cluster method and device | |
CN107102801A (en) | Terminal screen spinning solution and device | |
CN113867550A (en) | Attitude detection method and device for electronic equipment, storage medium | |
CN109992119A (en) | A kind of display methods of interface of input method, device and equipment | |
CN109151296A (en) | Electronic equipment, switching method and device, computer readable storage medium | |
CN107783715A (en) | Using startup method and device | |
CN106534658A (en) | Method and apparatus for controlling shooting of camera and mobile terminal | |
CN106547456A (en) | Terminal unit screen rotation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |