CN105700672A - Screen rotation processing method and device - Google Patents

Screen rotation processing method and device Download PDF

Info

Publication number
CN105700672A
CN105700672A CN201410707025.5A CN201410707025A CN105700672A CN 105700672 A CN105700672 A CN 105700672A CN 201410707025 A CN201410707025 A CN 201410707025A CN 105700672 A CN105700672 A CN 105700672A
Authority
CN
China
Prior art keywords
rotation mode
screen
rotation
triggered
button
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410707025.5A
Other languages
Chinese (zh)
Inventor
赵青晖
王彦腾
解霏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410707025.5A priority Critical patent/CN105700672A/en
Publication of CN105700672A publication Critical patent/CN105700672A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a screen rotation processing method and device, which is used for realizing a purpose that a screen is conveniently rotated to a direction expected by a user. The method comprises the following steps: when the rotation way of the screen is a first rotation way, monitoring whether an instruction for switching the rotation way is received or not; and when the instruction for switching the rotation way is received, switching the rotation way of the screen to a second rotation way, wherein the first rotation way is an automatic rotation way based on gravity induction, and the second rotation way is a manual rotation way, or the first rotation way is the manual rotation way, and the second rotation way is the automatic rotation way based on the gravity induction. In the technical scheme, the user can switch the rotation way of the screen into the own expected rotation way according to own requirements so as to conveniently control the rotation way of the screen according to the own requirements without being confined to a single rotation way, and the screen can be conveniently rotated to the direction expected by the user.

Description

Screen rotation processing method and device
Technical field
It relates to screen rotation technical field, particularly relate to screen rotation processing method and device。
Background technology
Along with the development in epoch, increasing people starts to break away from TV, computer, and selects smart mobile phone as amusement and recreation mode。Due to use habit or the difference using posture, roller blind operation is had certain demand by user。
For the roller blind operational requirements of user, at present, the system-level menu of smart mobile phone all provides the screen rotation function based on gravity sensing sensor。User point opens menu interface, chooses rotation, then is hung down along gravity direction by the screen orientation wanted, and screen orientation shifts to the direction that user needs。It is convenient that this method is that user brings, very hommization。But be because its signal provided based on gravity sensing sensor and carry out Rotation screen, thus the sensitivity of its rotation and after rotating the direction matching of screen orientation and user demand be not especially desirable。Can there is following defect: such as, only at user, the screen orientation wanted be can be only achieved, with gravity direction, the effect wanted time consistent;Once mobile phone is tilted by user, when certain oblique angle is along gravity direction, the direction of rotation of screen will make a mistake or do not rotate;For another example, when user recumbency sees the mobile phone, owing to wanting the direction seen just vertical with gravity direction, so the direction of rotation now provided based on gravity sensing cannot meet the demand of user。
Summary of the invention
For overcoming Problems existing in correlation technique, disclosure embodiment provides screen rotation processing method and device, in order to realize easily by desired for screen rotation to user direction。
First aspect according to disclosure embodiment, it is provided that a kind of screen rotation processing method, including:
When the rotation mode of screen is the first rotation mode, monitor whether to receive the instruction of switching rotation mode;
When receiving the instruction of described switching rotation mode, the rotation mode of described screen is switched to the second rotation mode;
Wherein, described first rotation mode is the automatic rotation mode based on gravity sensing, and described second rotation mode is manual rotation mode;Or, described first rotation mode is manual rotation mode, and described second rotation mode is the automatic rotation mode based on gravity sensing。
In one embodiment, described in monitor whether to receive switching rotation mode instruction before, described method may also include that
Monitor the screen rotation function in system-level menu and open whether button is triggered;
When described screen rotation function unlatching button is triggered, the rotation mode of described screen is set to described first rotation mode;
When the described rotation mode when screen is the first rotation mode, monitor whether to receive the instruction of switching rotation mode, including:
When the rotation mode of screen is the first rotation mode, whether the rotation mode switching key monitored in described system-level menu is triggered;
When described rotation mode switching key is triggered, it is determined that receive the instruction of switching rotation mode。
In one embodiment, after the described rotation mode by described screen is set to described first rotation mode, described method may also include that
Described screen rotation function is opened button and changes to described rotation mode switching key;
After the described rotation mode by described screen switches to the second rotation mode, described method also includes:
Described rotation mode switching key is changed to screen rotation function and closes button;
Monitor described screen rotation function and close whether button is triggered;
When described screen rotation function closedown button is triggered, close screen rotation function;
Described screen rotation function is closed button and changes to described screen rotation function unlatching button。
In one embodiment, described method may also include that
When the rotation mode of described screen is manual rotation mode, the default slide that monitoring performs on the screen;
Described screen is rotated according to the direction of rotation that described default slide is corresponding。
In one embodiment, described method may also include that
When the rotation mode of described screen is manual rotation mode, show virtual rotating key on the screen;
When described virtual rotating key is triggered, rotate described screen according to default pivot rule。
In one embodiment, described when described virtual rotating key is triggered, rotate described screen according to default pivot rule, it may include:
Monitoring is within the described continuously display preset duration of virtual rotating key, and whether described virtual rotating key is triggered;
Within the described continuously display preset duration of virtual rotating key, described virtual rotating key is triggered, then rotate described screen according to default pivot rule;
Described method also includes:
Within the described continuously display preset duration of virtual rotating key, described virtual rotating key is not triggered, then hide described virtual rotating key;
Whether the direction monitoring described screen place terminal changes;
When the direction of described screen place terminal changes, show virtual rotating key on the screen;
When the direction of described screen place terminal does not change, continue to hide described virtual rotating key。
Second aspect according to disclosure embodiment, it is provided that a kind of screen rotation processes device, including:
First monitoring modular, for when the rotation mode of screen is the first rotation mode, monitoring whether to receive the instruction of switching rotation mode;
Handover module, for when receiving the instruction of described switching rotation mode, switching to the second rotation mode by the rotation mode of described screen;Wherein, described first rotation mode is the automatic rotation mode based on gravity sensing, and described second rotation mode is manual rotation mode;Or, described first rotation mode is manual rotation mode, and described second rotation mode is the automatic rotation mode based on gravity sensing。
In one embodiment, described device may also include that
Second monitoring modular, for whether receive the instruction switching rotation mode in described first monitoring module monitors before, monitors the screen rotation function in system-level menu and opens whether button is triggered;
Module is set, for when described screen rotation function unlatching button is triggered, the rotation mode of described screen being set to described first rotation mode;
Described first monitoring modular, including:
Button monitoring submodule, for when the rotation mode of screen is the first rotation mode, whether the rotation mode switching key monitored in described system-level menu is triggered;
Determine submodule, for when described rotation mode switching key is triggered, it is determined that receive the instruction of switching rotation mode。
In one embodiment, described device may also include that
First change module, for arranging after the rotation mode of described screen is set to described first rotation mode by module described, opens button by described screen rotation function and changes to described rotation mode switching key;
Second change module, for, after the rotation mode of described screen is switched to the second rotation mode by described handover module, changing to screen rotation function and close button by described rotation mode switching key;
3rd monitoring modular, is used for monitoring described screen rotation function and closes whether button is triggered;
Close module, for when described screen rotation function closedown button is triggered, closing screen rotation function;
3rd change module, changes to described screen rotation function unlatching button for described screen rotation function is closed button。
In one embodiment, described device may also include that
4th monitoring modular, for when the rotation mode of described screen is manual rotation mode, monitoring the default slide performed on the screen;
First rotary module, rotates described screen for the direction of rotation corresponding according to described default slide。
In one embodiment, described device may also include that
First display module, for when the rotation mode of described screen is manual rotation mode, showing virtual rotating key on the screen;
Second rotary module, for when described virtual rotating key is triggered, rotating described screen according to default pivot rule。
In one embodiment, described second rotary module comprises the steps that
Triggering monitoring submodule, for monitoring within the described continuously display preset duration of virtual rotating key, whether described virtual rotating key is triggered;
Gyrator module, is triggered for described virtual rotating key within the described continuously display preset duration of virtual rotating key, then rotate described screen according to default pivot rule;
Described device also includes:
First hides module, is not triggered for described virtual rotating key within the described continuously display preset duration of virtual rotating key, then hide described virtual rotating key;
5th monitoring modular, whether the direction for monitoring described screen place terminal changes;
Second display module, for when the direction of described screen place terminal changes, showing virtual rotating key on the screen;
Second hides module, for when the direction of described screen place terminal does not change, continuing to hide described virtual rotating key。
The third aspect according to disclosure embodiment, it is provided that a kind of screen rotation processes device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
When the rotation mode of screen is the first rotation mode, monitor whether to receive the instruction of switching rotation mode;
When receiving the instruction of described switching rotation mode, the rotation mode of described screen is switched to the second rotation mode;
Wherein, described first rotation mode is the automatic rotation mode based on gravity sensing, and described second rotation mode is manual rotation mode;Or, described first rotation mode is manual rotation mode, and described second rotation mode is the automatic rotation mode based on gravity sensing。
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
Technique scheme, the rotation mode of screen can be switched to oneself desired rotation mode according to oneself demand by user, it is thus possible to control the rotation mode of screen easily according to oneself demand, without being limited to single a kind of rotation mode, it is achieved that easily by desired for screen rotation to user direction。
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, the disclosure can not be limited。
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meets and embodiment of the disclosure, and for explaining the principle of the disclosure together with description。
Fig. 1 is the flow chart of a kind of screen rotation processing method according to an exemplary embodiment。
Fig. 2 is the flow chart of the another kind of screen rotation processing method according to an exemplary embodiment。
Fig. 3 is the design sketch of virtual rotating key in the screen rotation processing method according to an exemplary embodiment。
Fig. 4 is the block diagram that the first screen rotation according to an exemplary embodiment processes device。
Fig. 5 is the block diagram that the second screen rotation according to an exemplary embodiment processes device。
Fig. 6 is the block diagram that the third screen rotation according to an exemplary embodiment processes device。
Fig. 7 is the block diagram that the 4th kind of screen rotation according to an exemplary embodiment processes device。
Fig. 8 is the block diagram that the 5th kind of screen rotation according to an exemplary embodiment processes device。
Fig. 9 is the block diagram that the 6th kind of screen rotation according to an exemplary embodiment processes device。
The screen rotation that is applicable to that Figure 10 is according to an exemplary embodiment controls the block diagram of device。
The screen rotation that is applicable to that Figure 11 is according to an exemplary embodiment controls the block diagram of device。
Detailed description of the invention
Here in detail exemplary embodiment being illustrated, its example representation is in the accompanying drawings。When as explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element。Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure。On the contrary, they only with in appended claims describe in detail, the disclosure some in the example of consistent apparatus and method。
Disclosure embodiment provides a kind of screen rotation processing method, and the method is applicable to intelligent terminal such as mobile phone, panel computer etc., as it is shown in figure 1, the method comprising the steps of S101-S102:
In step S101, when the rotation mode of screen is the first rotation mode, monitor whether to receive the instruction of switching rotation mode。
In step s 102, when receiving the instruction of switching rotation mode, the rotation mode of screen is switched to the second rotation mode。
Wherein, the first rotation mode may be based on the automatic rotation mode of gravity sensing, and now, the second rotation mode can be manual rotation mode;Or, the first rotation mode can be manual rotation mode, and now, the second rotation mode may be based on the automatic rotation mode of gravity sensing。
In the said method that disclosure embodiment provides, the rotation mode of screen can be switched to oneself desired rotation mode according to oneself demand by user, it is thus possible to control the rotation mode of screen easily according to oneself demand, without being limited to single a kind of rotation mode, it is achieved that easily by desired for screen rotation to user direction。
In one embodiment, screen rotation function can be set in system-level menu and open button, rotation mode switching key, as in figure 2 it is shown, performing before step S101, can also carry out step A0-A1: step A0, monitor above-mentioned screen rotation function and open whether button is triggered;Step A1, when screen rotation function open button be triggered time, the rotation mode of screen is set to the first rotation mode。Now, step S101 can be embodied as step A3: when the rotation mode of screen is the first rotation mode, and whether the rotation mode switching key monitored in system-level menu is triggered;When rotation mode switching key is triggered, it is determined that receive the instruction of switching rotation mode。Furthermore it is also possible to arrange screen rotation function in system-level menu to close button, when user wishes that screen no longer rotates, trigger screen rotation function and close button, thus closing screen rotation function。Wherein, in order to more user-friendly, can be set to by the first rotation mode based on the automatic rotation mode of gravity sensing, the second rotation mode is manual rotation mode, namely acquiescence rotation mode is above-mentioned automatic rotation mode, only when user needs manual rotation screen, just to the instruction of system input switching rotation mode。Such as, user's hand-held intelligent hands machine, recumbency browses webpage, in order to conveniently browse, user wishes screen rotation to suitable direction, now, user the screen rotation function in triggering system level menu can open button, open screen rotation function, screen begins with automatic rotation mode direction of rotation, when user feel automatic rotation mode cannot by screen rotation to oneself desired direction time, rotation mode switching key in triggering system level menu, the rotation mode of screen is switched to manual rotation mode, afterwards, screen is with manual rotation mode direction of rotation;When the direction of screen is the desired direction of user, user the screen rotation function in triggering system level menu can close button, closes screen rotation function, makes the direction of screen remain unchanged, it is simple to user uses。
In another embodiment, in order to facilitate the rotary course of user control screen, save the quantity of button in system-level menu, can only arrange a position for placing the button controlling screen rotary course in system-level menu, the button placed on this position is constantly converted according to rotary course, such as, again as shown in Figure 2, after performing above-mentioned steps A1, after being set to the first rotation mode by the rotation mode of screen, perform following steps A2: screen rotation function is opened button and changes to rotation mode switching key;Now, performing after step S102, after switching to the second rotation mode by the rotation mode of screen, perform following steps A4-A7: step A4, rotation mode switching key is changed to screen rotation function close button;Step A5, monitoring screen rotation function close whether button is triggered;Step A6, when screen rotation function close button be triggered time, close screen rotation function;Step A7, by screen rotation function close button change to screen rotation function open button。Afterwards, step A1 is returned to。
Additionally, one can also be only arranged for placing the button controlling screen rotary course in system-level menu, and no longer convert this button, such as, system-level menu is only provided with screen rotation function and opens button, user can constantly trigger this button, and number of times that system is triggered according to button and the current rotation mode of screen determine what operation this button to perform after time being triggered。Such as, " rotation " button is added under system-level menu " rotation " function, when the spinfunction that user clicks once " rotation " button and current screen is in closed mode, the rotation mode of screen is set to the automatic rotation mode based on gravity sensing by system default;When user clicks once " rotation " button again, system default user selects manual rotation screen mode, and the rotation mode of screen is set to manual rotation mode by system;When user's third time clicks " rotation " button, system closes screen rotation function。The mode of this set button, it is not necessary to system frequent changes button, it is only necessary to the number of times that record button is triggered, the current rotation mode of the number of times being triggered according to button and screen controls the spinfunction of screen。
In one embodiment, when the rotation mode of screen is manual rotation mode, manual rotation screen process can be carried out according to following several ways。
Mode one
The prespecified multiple default slide performed on screen, every kind of default slide correspondence one direction of rotation。Such as when default slide is to draw a circle clockwise, the direction of rotation of its correspondence is for turning clockwise;When default slide is to draw a circle counterclockwise, the direction of rotation of its correspondence is rotate counterclockwise。
Now, manual rotation screen process can be embodied as step B1-B2:
Step B1, when the rotation mode of screen is manual rotation mode, monitoring on screen perform default slide;
Step B2, according to direction of rotation Rotation screen corresponding to predetermined registration operation。
This kind of mode, it is not necessary to arrange any operation button about manual rotation on screen, saves screen display space。
Mode two
When the rotation mode of screen is manual rotation mode, manual rotation screen process also can be embodied as step C1-C2, and effect is as shown in Figure 3, label 30 indication is screen, label 31 indication is virtual rotating key, has clockwise arrow in this button, and expression turns clockwise screen:
Step C1, on screen, show virtual rotating key;
Step C2, when virtual rotating key is triggered, according to default pivot rule Rotation screen。
Wherein, default pivot rule can be pre-set, such as triggers once virtual rotating key, just screen dextrorotation is turn 90 degrees or 90-degree rotation counterclockwise。
This kind of mode, user can control screen rotation by triggering virtual rotating key, it is not necessary to user's memory operation method, it is simple to operation。
In one embodiment, consider that virtual rotating key can take screen display space, it is likely to affect user use, therefore, in order to reduce the impact on causing in user's use of the virtual rotating key, as shown in Figure 4, step C2 can be embodied as step C20-C21: step C20, monitor within the continuously display preset duration of virtual rotating key, whether virtual rotating key is triggered, and if it is performs step C21, otherwise performs step C3;Step C21, within the continuously display preset duration of virtual rotating key, virtual rotating key is triggered, then according to default pivot rule Rotation screen;Step C3, within the continuously display preset duration of virtual rotating key, virtual rotating key is not triggered, then hide virtual rotating key;Step C4, monitoring screen place terminal direction whether change, such as whether the direction of available gravity sensor monitoring screen place terminal rotates, return execution step C1 when changing on screen, show virtual rotating key, when not changing, continue executing with step C3 and hide virtual rotating key。Above-mentioned preset duration can be arranged by user or system, such as 10 seconds。That is, when virtual rotating key is not triggered for a long time, illustrate that user is likely to temporarily be not required to continue Rotation screen, then virtual rotating key is stashed, do not appear on screen, it is to avoid virtual rotating key affects user and checks the content of display on screen;And when the direction monitoring screen place terminal changes, illustrating that user is still rotating terminal, it is possible to the direction of screen is still unsatisfactory for user's request, now, is again shown on screen by virtual rotating key, facilitates the further manual rotation screen of user。Manual rotation function can be combined by said method with gravity sensor Intelligent Measurement, has provided the user convenient effective manual rotation mode。
The above-mentioned screen rotation processing method that corresponding disclosure embodiment provides, disclosure embodiment also provides for a kind of screen rotation and processes device, as it is shown in figure 5, include:
First monitoring modular 51 is configured as the rotation mode of screen when being the first rotation mode, monitors whether to receive the instruction of switching rotation mode;
When handover module 52 is configured as the instruction receiving switching rotation mode, the rotation mode of screen is switched to the second rotation mode;Wherein, the first rotation mode is the automatic rotation mode based on gravity sensing, and the second rotation mode is manual rotation mode;Or, the first rotation mode is manual rotation mode, and the second rotation mode is the automatic rotation mode based on gravity sensing。
In one embodiment, as shown in Figure 6, said apparatus may also include that
Second monitoring modular 61 is configured to, before the first monitoring modular 51 monitors whether to receive the instruction of switching rotation mode, monitor the screen rotation function in system-level menu and open whether button is triggered;
Arrange module 62 to be configured as screen rotation function and open button when being triggered, the rotation mode of screen is set to the first rotation mode;
Now, above-mentioned first monitoring modular 51 comprises the steps that
Button monitoring submodule 63 is configured as the rotation mode of screen when being the first rotation mode, and whether the rotation mode switching key monitored in system-level menu is triggered;
Determine that submodule 64 is configured as rotation mode switching key when being triggered, it is determined that receive the instruction of switching rotation mode。
In one embodiment, as it is shown in fig. 7, said apparatus may also include that
First change module 71 is configured to after arranging module 62 and the rotation mode of screen is set to the first rotation mode, screen rotation function is opened button and changes to rotation mode switching key;
Second change module 72 is configured to after the rotation mode of screen is switched to the second rotation mode by handover module 52, rotation mode switching key changes to screen rotation function and closes button;
3rd monitoring modular 73 is configured to monitoring screen rotation function and closes whether button is triggered;
Close module 74 to be configured as screen rotation function and close button when being triggered, close screen rotation function;
3rd change module 75 is configured to that screen rotation function is closed button and changes to screen rotation function unlatching button。
In one embodiment, as shown in Figure 8, said apparatus may also include that
4th monitoring modular 81 is configured as the rotation mode of screen when being manual rotation mode, the default slide that monitoring performs on screen;
First rotary module 82 is configured to the direction of rotation Rotation screen corresponding according to presetting slide。
In one embodiment, as it is shown in figure 9, said apparatus may also include that
First display module 91 is configured as the rotation mode of screen when being manual rotation mode, shows virtual rotating key on screen;
Second rotary module 92 is configured as virtual rotating key when being triggered, according to default pivot rule Rotation screen。
In one embodiment, as shown in Figure 10, the second rotary module 92 comprises the steps that
Triggering monitoring submodule 1001 and be configured to monitoring within the described continuously display preset duration of virtual rotating key, whether described virtual rotating key is triggered;
Gyrator module 1002 is configured to described virtual rotating key within the described continuously display preset duration of virtual rotating key and is triggered, then rotate described screen according to default pivot rule;
Now, said apparatus may also include that
First hiding module 1003 is configured to described virtual rotating key within the described continuously display preset duration of virtual rotating key and is not triggered, then hide described virtual rotating key;
5th monitoring modular 1004 is configured to whether the direction of monitoring screen place terminal changes;
Second display module 1005 is configured as the direction of screen place terminal when changing, and shows virtual rotating key on screen;
When the direction that second hiding module 1006 is configured as described screen place terminal does not change, continue to hide described virtual rotating key。
Disclosure embodiment also provides for a kind of screen rotation and processes device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
When the rotation mode of screen is the first rotation mode, monitor whether to receive the instruction of switching rotation mode;
When receiving the instruction of switching rotation mode, the rotation mode of screen is switched to the second rotation mode;
Wherein, the first rotation mode is the automatic rotation mode based on gravity sensing, and the second rotation mode is manual rotation mode;Or, the first rotation mode is manual rotation mode, and the second rotation mode is the automatic rotation mode based on gravity sensing。
Above-mentioned processor is also configured to:
Before monitoring whether to receive the instruction switching rotation mode, method may also include that
Monitor the screen rotation function in system-level menu and open whether button is triggered;
When screen rotation function unlatching button is triggered, the rotation mode of screen is set to the first rotation mode;
When the rotation mode of screen is the first rotation mode, monitor whether to receive the instruction of switching rotation mode, including:
When the rotation mode of screen is the first rotation mode, whether the rotation mode switching key monitored in system-level menu is triggered;
When rotation mode switching key is triggered, it is determined that receive the instruction of switching rotation mode。
Above-mentioned processor is also configured to:
After the rotation mode of screen is set to the first rotation mode, method may also include that
Screen rotation function is opened button and changes to rotation mode switching key;
After the rotation mode of screen is switched to the second rotation mode, method also includes:
Rotation mode switching key is changed to screen rotation function and closes button;
Monitoring screen rotation function closes whether button is triggered;
When screen rotation function closedown button is triggered, close screen rotation function;
Screen rotation function is closed button and changes to screen rotation function unlatching button。
Above-mentioned processor is also configured to:
When the rotation mode of screen is manual rotation mode, the default slide that monitoring performs on screen;
According to the direction of rotation Rotation screen that default slide is corresponding。
Above-mentioned processor is also configured to:
When the rotation mode of screen is manual rotation mode, screen shows virtual rotating key;
When virtual rotating key is triggered, according to default pivot rule Rotation screen。
Above-mentioned processor is also configured to:
When virtual rotating key is triggered, according to default pivot rule Rotation screen, it may include:
Monitoring is within the described continuously display preset duration of virtual rotating key, and whether described virtual rotating key is triggered;
Within the described continuously display preset duration of virtual rotating key, described virtual rotating key is triggered, then rotate described screen according to default pivot rule;
Described method also includes:
Within the described continuously display preset duration of virtual rotating key, described virtual rotating key is not triggered, then hide described virtual rotating key;
Whether the direction monitoring described screen place terminal changes;
When the direction of described screen place terminal changes, show virtual rotating key on the screen;
When the direction of described screen place terminal does not change, continue to hide described virtual rotating key。
A kind of non-transitory computer-readable recording medium, when the instruction in storage medium is performed by the processor of mobile terminal so that mobile terminal is able to carry out a kind of screen rotation processing method, and method includes:
When the rotation mode of screen is the first rotation mode, monitor whether to receive the instruction of switching rotation mode;
When receiving the instruction of switching rotation mode, the rotation mode of screen is switched to the second rotation mode;
Wherein, the first rotation mode is the automatic rotation mode based on gravity sensing, and the second rotation mode is manual rotation mode;Or, the first rotation mode is manual rotation mode, and the second rotation mode is the automatic rotation mode based on gravity sensing。
In one embodiment, before monitoring whether to receive the instruction switching rotation mode, method may also include that
Monitor the screen rotation function in system-level menu and open whether button is triggered;
When screen rotation function unlatching button is triggered, the rotation mode of screen is set to the first rotation mode;
When the rotation mode of screen is the first rotation mode, monitor whether to receive the instruction of switching rotation mode, including:
When the rotation mode of screen is the first rotation mode, whether the rotation mode switching key monitored in system-level menu is triggered;
When rotation mode switching key is triggered, it is determined that receive the instruction of switching rotation mode。
In one embodiment, after the rotation mode of screen is set to the first rotation mode, method may also include that
Screen rotation function is opened button and changes to rotation mode switching key;
After the rotation mode of screen is switched to the second rotation mode, method also includes:
Rotation mode switching key is changed to screen rotation function and closes button;
Monitoring screen rotation function closes whether button is triggered;
When screen rotation function closedown button is triggered, close screen rotation function;
Screen rotation function is closed button and changes to screen rotation function unlatching button。
In one embodiment, method may also include that
When the rotation mode of screen is manual rotation mode, the default slide that monitoring performs on screen;
According to the direction of rotation Rotation screen that default slide is corresponding。
In one embodiment, method may also include that
When the rotation mode of screen is manual rotation mode, screen shows virtual rotating key;
When virtual rotating key is triggered, according to default pivot rule Rotation screen。
In one embodiment, when virtual rotating key is triggered, according to default pivot rule Rotation screen, it may include:
Monitoring is within the described continuously display preset duration of virtual rotating key, and whether described virtual rotating key is triggered;
Within the described continuously display preset duration of virtual rotating key, described virtual rotating key is triggered, then rotate described screen according to default pivot rule;
Described method also includes:
Within the described continuously display preset duration of virtual rotating key, described virtual rotating key is not triggered, then hide described virtual rotating key;
Whether the direction monitoring described screen place terminal changes;
When the direction of described screen place terminal changes, show virtual rotating key on the screen;
When the direction of described screen place terminal does not change, continue to hide described virtual rotating key。
Figure 11 is the block diagram that a kind of screen rotation according to an exemplary embodiment processes device 1200, and this device is applicable to terminal unit。Such as, device 1200 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium, body-building equipment, personal digital assistant etc.。
With reference to Figure 11, device 1200 can include following one or more assembly: processes assembly 1202, memorizer 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of input/output (I/O), sensor cluster 1214, and communications component 1216。
Process assembly 1202 and generally control the integrated operation of device 1200, such as with display, call, data communication, the operation that camera operation and record operation are associated。Treatment element 1202 can include one or more processor 1220 to perform instruction, to complete all or part of step of above-mentioned method。Additionally, process assembly 1202 can include one or more module, it is simple to what process between assembly 1202 and other assemblies is mutual。Such as, processing component 1202 can include multi-media module, with facilitate multimedia groupware 1208 and process between assembly 1202 mutual。
Memorizer 1204 is configured to store various types of data to support the operation at equipment 1200。The example of these data includes any application program for operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.。Memorizer 1204 can be realized by any kind of volatibility or non-volatile memory device or their combination, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or CD。
The various assemblies that electric power assembly 1206 is device 1200 provide electric power。Electric power assembly 1206 can include power-supply management system, one or more power supplys, and other generate, manage and distribute, with for device 1200, the assembly that electric power is associated。
Multimedia groupware 1208 includes the screen providing an output interface between described device 1200 and user。In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP)。If screen includes touch panel, screen may be implemented as touch screen, to receive the input signal from user。Touch panel includes one or more touch sensor to sense the gesture on touch, slip and touch panel。Described touch sensor can not only sense the border of touch or sliding action, but also detects the persistent period relevant to described touch or slide and pressure。In certain embodiments, multimedia groupware 1208 includes a front-facing camera and/or post-positioned pick-up head。When equipment 1200 is in operator scheme, during such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside。Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability。
Audio-frequency assembly 1210 is configured to output and/or input audio signal。Such as, audio-frequency assembly 1210 includes a mike (MIC), and when device 1200 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is configured to receive external audio signal。The audio signal received can be further stored at memorizer 1204 or send via communications component 1216。In certain embodiments, audio-frequency assembly 1210 also includes a speaker, is used for exporting audio signal。
I/O interface 1212 provides interface for processing between assembly 1202 and peripheral interface module, above-mentioned peripheral interface module can be keyboard, puts striking wheel, button etc.。These buttons may include but be not limited to: home button, volume button, startup button and locking press button。
Sensor cluster 1214 includes one or more sensor, for providing the state estimation of various aspects for device 1200。Such as, what sensor cluster 1214 can detect equipment 1200 opens/closed mode, the relative localization of assembly, such as described assembly is display and the keypad of device 1200, the position change of all right detecting device 1200 of sensor cluster 1214 or 1,200 1 assemblies of device, the presence or absence that user contacts with device 1200, the variations in temperature of device 1200 orientation or acceleration/deceleration and device 1200。Sensor cluster 1214 can include proximity transducer, is configured to when not having any physical contact object near detection。Sensor cluster 1214 can also include optical sensor, such as CMOS or ccd image sensor, for using in imaging applications。In certain embodiments, this sensor cluster 1214 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor。
Communications component 1216 is configured to facilitate between device 1200 and other equipment the communication of wired or wireless mode。Device 1200 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or their combination。In one exemplary embodiment, communication component 1216 receives the broadcast singal or the broadcast related information that manage system from external broadcasting via broadcast channel。In one exemplary embodiment, described communication component 1216 also includes near-field communication (NFC) module, to promote junction service。Such as, can based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize。
In the exemplary embodiment, device 1200 can be realized by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, is used for performing said method。
In the exemplary embodiment, additionally providing a kind of non-transitory computer-readable recording medium including instruction, for instance include the memorizer 1204 of instruction, above-mentioned instruction can have been performed said method by the processor 820 of device 1200。Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.。
Those skilled in the art, after considering description and putting into practice disclosed herein disclosing, will readily occur to other embodiment of the disclosure。The application is intended to any modification of the disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed the general principle of the disclosure and include the undocumented known general knowledge in the art of the disclosure or conventional techniques means。Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are pointed out by claim below。
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope。The scope of the present disclosure is only limited by appended claim。

Claims (13)

1. a screen rotation processing method, it is characterised in that including:
When the rotation mode of screen is the first rotation mode, monitor whether to receive the instruction of switching rotation mode;
When receiving the instruction of described switching rotation mode, the rotation mode of described screen is switched to the second rotation mode;
Wherein, described first rotation mode is the automatic rotation mode based on gravity sensing, and described second rotation mode is manual rotation mode;Or, described first rotation mode is manual rotation mode, and described second rotation mode is the automatic rotation mode based on gravity sensing。
2. the method for claim 1, it is characterised in that
Before the described instruction monitoring whether to receive switching rotation mode, described method also includes:
Monitor the screen rotation function in system-level menu and open whether button is triggered;
When described screen rotation function unlatching button is triggered, the rotation mode of described screen is set to described first rotation mode;
When the described rotation mode when screen is the first rotation mode, monitor whether to receive the instruction of switching rotation mode, including:
When the rotation mode of screen is the first rotation mode, whether the rotation mode switching key monitored in described system-level menu is triggered;
When described rotation mode switching key is triggered, it is determined that receive the instruction of switching rotation mode。
3. method as claimed in claim 2, it is characterised in that
After the described rotation mode by described screen is set to described first rotation mode, described method also includes:
Described screen rotation function is opened button and changes to described rotation mode switching key;
After the described rotation mode by described screen switches to the second rotation mode, described method also includes:
Described rotation mode switching key is changed to screen rotation function and closes button;
Monitor described screen rotation function and close whether button is triggered;
When described screen rotation function closedown button is triggered, close screen rotation function;
Described screen rotation function is closed button and changes to described screen rotation function unlatching button。
4. the method as described in arbitrary in claims 1 to 3, it is characterised in that described method also includes:
When the rotation mode of described screen is manual rotation mode, the default slide that monitoring performs on the screen;
Described screen is rotated according to the direction of rotation that described default slide is corresponding。
5. the method as described in arbitrary in claims 1 to 3, it is characterised in that described method also includes:
When the rotation mode of described screen is manual rotation mode, show virtual rotating key on the screen;
When described virtual rotating key is triggered, rotate described screen according to default pivot rule。
6. method as claimed in claim 5, it is characterised in that described when described virtual rotating key is triggered, rotates described screen according to default pivot rule, including:
Monitoring is within the described continuously display preset duration of virtual rotating key, and whether described virtual rotating key is triggered;
Within the described continuously display preset duration of virtual rotating key, described virtual rotating key is triggered, then rotate described screen according to default pivot rule;
Described method also includes:
Within the described continuously display preset duration of virtual rotating key, described virtual rotating key is not triggered, then hide described virtual rotating key;
Whether the direction monitoring described screen place terminal changes;
When the direction of described screen place terminal changes, show virtual rotating key on the screen;
When the direction of described screen place terminal does not change, continue to hide described virtual rotating key。
7. a screen rotation processes device, it is characterised in that including:
First monitoring modular, for when the rotation mode of screen is the first rotation mode, monitoring whether to receive the instruction of switching rotation mode;
Handover module, for when receiving the instruction of described switching rotation mode, switching to the second rotation mode by the rotation mode of described screen;Wherein, described first rotation mode is the automatic rotation mode based on gravity sensing, and described second rotation mode is manual rotation mode;Or, described first rotation mode is manual rotation mode, and described second rotation mode is the automatic rotation mode based on gravity sensing。
8. device as claimed in claim 7, it is characterised in that described device also includes:
Second monitoring modular, for whether receive the instruction switching rotation mode in described first monitoring module monitors before, monitors the screen rotation function in system-level menu and opens whether button is triggered;
Module is set, for when described screen rotation function unlatching button is triggered, the rotation mode of described screen being set to described first rotation mode;
Described first monitoring modular, including:
Button monitoring submodule, for when the rotation mode of screen is the first rotation mode, whether the rotation mode switching key monitored in described system-level menu is triggered;
Determine submodule, for when described rotation mode switching key is triggered, it is determined that receive the instruction of switching rotation mode。
9. device as claimed in claim 8, it is characterised in that described device also includes:
First change module, for arranging after the rotation mode of described screen is set to described first rotation mode by module described, opens button by described screen rotation function and changes to described rotation mode switching key;
Second change module, for, after the rotation mode of described screen is switched to the second rotation mode by described handover module, changing to screen rotation function and close button by described rotation mode switching key;
3rd monitoring modular, is used for monitoring described screen rotation function and closes whether button is triggered;
Close module, for when described screen rotation function closedown button is triggered, closing screen rotation function;
3rd change module, changes to described screen rotation function unlatching button for described screen rotation function is closed button。
10. such as the device as described in arbitrary in claim 7 to 9, it is characterised in that described device also includes:
4th monitoring modular, for when the rotation mode of described screen is manual rotation mode, monitoring the default slide performed on the screen;
First rotary module, rotates described screen for the direction of rotation corresponding according to described default slide。
11. such as the device as described in arbitrary in claim 7 to 9, it is characterised in that described device also includes:
First display module, for when the rotation mode of described screen is manual rotation mode, showing virtual rotating key on the screen;
Second rotary module, for when described virtual rotating key is triggered, rotating described screen according to default pivot rule。
12. device as claimed in claim 11, it is characterised in that
Described second rotary module includes:
Triggering monitoring submodule, for monitoring within the described continuously display preset duration of virtual rotating key, whether described virtual rotating key is triggered;
Gyrator module, is triggered for described virtual rotating key within the described continuously display preset duration of virtual rotating key, then rotate described screen according to default pivot rule;
Described device also includes:
First hides module, is not triggered for described virtual rotating key within the described continuously display preset duration of virtual rotating key, then hide described virtual rotating key;
5th monitoring modular, whether the direction for monitoring described screen place terminal changes;
Second display module, for when the direction of described screen place terminal changes, showing virtual rotating key on the screen;
Second hides module, for when the direction of described screen place terminal does not change, continuing to hide described virtual rotating key。
13. a screen rotation processes device, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
When the rotation mode of screen is the first rotation mode, monitor whether to receive the instruction of switching rotation mode;
When receiving the instruction of described switching rotation mode, the rotation mode of described screen is switched to the second rotation mode;
Wherein, described first rotation mode is the automatic rotation mode based on gravity sensing, and described second rotation mode is manual rotation mode;Or, described first rotation mode is manual rotation mode, and described second rotation mode is the automatic rotation mode based on gravity sensing。
CN201410707025.5A 2014-11-27 2014-11-27 Screen rotation processing method and device Pending CN105700672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410707025.5A CN105700672A (en) 2014-11-27 2014-11-27 Screen rotation processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410707025.5A CN105700672A (en) 2014-11-27 2014-11-27 Screen rotation processing method and device

Publications (1)

Publication Number Publication Date
CN105700672A true CN105700672A (en) 2016-06-22

Family

ID=56230667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410707025.5A Pending CN105700672A (en) 2014-11-27 2014-11-27 Screen rotation processing method and device

Country Status (1)

Country Link
CN (1) CN105700672A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325719A (en) * 2016-08-05 2017-01-11 武汉斗鱼网络科技有限公司 Gravity sensing and manual control combined screen rotation control method and system
CN106648393A (en) * 2016-12-30 2017-05-10 中广热点云科技有限公司 Tablet personal computer and method for controlling tablet personal computer screen to rotate

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984396A (en) * 2010-10-19 2011-03-09 中兴通讯股份有限公司 Method for automatically identifying rotation gesture and mobile terminal thereof
US20110221667A1 (en) * 2010-03-09 2011-09-15 Samsung Electronics Co. Ltd. Apparatus and method for switching screen in mobile terminal
CN103186318A (en) * 2011-12-29 2013-07-03 苹果公司 Devices, methods, and graphical user interfaces for providing multitouch inputs and hardware-based features using a single touch input
EP2637079A1 (en) * 2012-03-08 2013-09-11 Samsung Electronics Co., Ltd Electronic device for measuring angle of face and rotating screen content thereof and method thereof
CN103677571A (en) * 2013-12-20 2014-03-26 乐视网信息技术(北京)股份有限公司 Method, module and system for locking screen direction and gravity sensing module

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110221667A1 (en) * 2010-03-09 2011-09-15 Samsung Electronics Co. Ltd. Apparatus and method for switching screen in mobile terminal
CN101984396A (en) * 2010-10-19 2011-03-09 中兴通讯股份有限公司 Method for automatically identifying rotation gesture and mobile terminal thereof
CN103186318A (en) * 2011-12-29 2013-07-03 苹果公司 Devices, methods, and graphical user interfaces for providing multitouch inputs and hardware-based features using a single touch input
EP2637079A1 (en) * 2012-03-08 2013-09-11 Samsung Electronics Co., Ltd Electronic device for measuring angle of face and rotating screen content thereof and method thereof
CN103677571A (en) * 2013-12-20 2014-03-26 乐视网信息技术(北京)股份有限公司 Method, module and system for locking screen direction and gravity sensing module

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李峰: "优化注册表让Diamond操作更便捷", 《电脑报2009合订本上》 *
热小米粥: "建议miui加入双指手动旋转屏幕方向的功能", 《建议MIUI加入双指手动旋转屏幕方向的功能》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325719A (en) * 2016-08-05 2017-01-11 武汉斗鱼网络科技有限公司 Gravity sensing and manual control combined screen rotation control method and system
CN106325719B (en) * 2016-08-05 2019-09-10 武汉斗鱼网络科技有限公司 Gravity sensing is the same as manually controlling the screen rotation control method and system combined
CN106648393A (en) * 2016-12-30 2017-05-10 中广热点云科技有限公司 Tablet personal computer and method for controlling tablet personal computer screen to rotate
CN106648393B (en) * 2016-12-30 2019-05-28 中广热点云科技有限公司 A kind of tablet computer and the method for controlling tablet computer screen rotation

Similar Documents

Publication Publication Date Title
KR101802403B1 (en) Control method, device, apparatus, program and recording medium for adjusting shooting function
CN104866199B (en) Button operation processing method and processing device under singlehanded mode, electronic equipment
CN106028143A (en) Video live broadcasting method and device
CN104182173A (en) Camera switching method and device
CN105159640A (en) Display interface rotation method and device, and mobile terminal
CN105094577A (en) Method and apparatus for application switching
CN105138123A (en) Device control method and device
CN104598111A (en) Display mode switching method and display mode switching device
CN105242870A (en) False touch method and device of terminal with touch screen
CN105117033A (en) Connection method and device of external equipment
CN104991752A (en) Method and device for controlling screen to rotate
CN105426084A (en) Interface switching method and device and terminal
CN105549960B (en) Control the method and device of camera
CN104484111A (en) Content display method and device for touch screen
CN104486451A (en) Application program recommendation method and device
CN104065883B (en) Image pickup method and device
CN103995666A (en) Method and device for setting work mode
CN106375479A (en) Data sharing method and device
CN106201310A (en) The display packing of notification message, device and terminal
CN105487805A (en) Object operating method and device
CN105516587A (en) Method for switching cameras and mobile terminal
CN105487786A (en) Application icon management method and device
CN107992257A (en) Split screen method and device
CN104049864A (en) Object control method and device
CN105872360A (en) Camera control method, camera control device and mobile equipment

Legal Events

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

Application publication date: 20160622