CN106325719A - Gravity sensing and manual control combined screen rotation control method and system - Google Patents

Gravity sensing and manual control combined screen rotation control method and system Download PDF

Info

Publication number
CN106325719A
CN106325719A CN201610638958.2A CN201610638958A CN106325719A CN 106325719 A CN106325719 A CN 106325719A CN 201610638958 A CN201610638958 A CN 201610638958A CN 106325719 A CN106325719 A CN 106325719A
Authority
CN
China
Prior art keywords
screen
manual
rotation
locking
screen locking
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.)
Granted
Application number
CN201610638958.2A
Other languages
Chinese (zh)
Other versions
CN106325719B (en
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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201610638958.2A priority Critical patent/CN106325719B/en
Publication of CN106325719A publication Critical patent/CN106325719A/en
Application granted granted Critical
Publication of CN106325719B publication Critical patent/CN106325719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a gravity sensing and manual control combined screen rotation control method and a gravity sensing and manual control combined screen rotation control system, and relates to the technical field of screen rotation control. The screen rotation control method comprises the following steps: creating a manual screen locking control button, a forced horizontal screen button and a forced vertical screen button in an APP; when a user rotates equipment and the direction of a screen is required to be rotated, unlocking manually by utilizing the manual screen locking control button, and rotating the screen through the gravity sensing or the created forced horizontal screen button and the forced vertical screen button; when the user rotates the equipment but the direction of the screen is not required to be rotated, locking the screen by utilizing an existing vertical screen locking function of the equipment or the manual screen locking control button to forbid the rotation of the screen. According to the gravity sensing and manual control combined screen rotation control method and the gravity sensing and manual control combined screen rotation control system, the control operation of rotating the screen or forbidding the rotation of the screen is directly realized in the APP according to the requirement of the user, and the user experience is enhanced.

Description

Screen rotation control method that gravity sensing combines with Non-follow control and system
Technical field
The present invention relates to screen rotation and control technical field, be specifically that a kind of gravity sensing combines with Non-follow control Screen rotation control method and system.
Background technology
Along with developing rapidly of Internet technology, increasing user can use the intelligent terminal such as computer, mobile phone to lead to Cross network viewing Online Video live.The Online Video live clothes of the live live video referring to utilize Internet resource to carry out Business, synchronizes to be published on network by on-the-spot video capture, and user can see real-time scene the same time on network Situation.But owing to the screen of intelligent terminal's (such as mobile phone) is generally of certain limitation, therefore, how at limited screen area Show abundant content in territory, become the difficult problem that net cast field needs to solve.
At present, the net cast APP (Application, application program) of main flow is although there being the horizontal, vertical screen page, but has Can only manual rotation, have can only gravity sensing rotate, and has both manual with automatic two ways the most simultaneously.It is to say, When the intelligent terminal of user perpendicular screen lock function is closed (the perpendicular screen of non-locking), it is impossible to manually forbid the rotation of screen, Zhi Neng Controlled by the perpendicular screen locking press button of intelligent terminal outside APP;Equally, (lock when intelligent terminal's perpendicular screen locking of user is opened Fixed perpendicular screen), it is impossible to manual rotation screen, the vertical setting of types lock function of intelligent terminal can only be closed outside APP, then pass through gravity sensing Rotate.Existing this single control mode, although easily realize, but inconvenient to use, particularly enter in APP as user During row real-time operation, it is impossible to control the mode of screen rotation in APP the most as required so that poor user experience.
Summary of the invention
The invention aims to overcome the deficiency of above-mentioned background technology, it is provided that a kind of gravity sensing and Non-follow control phase In conjunction with screen rotation control method and system, directly can realize screen rotation in APP according to user's needs and forbid screen The control operation rotated, strengthens Consumer's Experience.
For reaching object above, the present invention provides the screen rotation controlling party that a kind of gravity sensing combines with Non-follow control Method, comprises the following steps: S1: creates manual screen locking control knob in APP, forces transverse screen button and force perpendicular screen button;S2: When user's rotating machinery and when needing Rotation screen direction, manual screen locking control knob is utilized to realize manual unlocking, and by weight Power sensing or the pressure transverse screen button created, pressure perpendicular screen button, it is achieved the rotation of screen;S3: when user's rotating machinery but During without Rotation screen direction, utilize the existing perpendicular screen lock function of equipment or manual screen locking control knob to realize screen locking, prohibit The only rotation of screen.
On the basis of technique scheme, step S2 specifically includes following operation:
S201: when user's rotating machinery and when needing Rotation screen direction, it is judged that whether current device is opened existing perpendicular Screen lock function, if so, proceeds to S202;Otherwise, S203 is proceeded to;
S202: the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, then first with manual screen locking control The status modifier of manual screen locking for closing, is recycled the pressure transverse screen button created or forces perpendicular screen button by button processed, it is achieved The rotation of screen;If the state of manual screen locking is for closing, then directly utilizes the pressure transverse screen button of establishment or force perpendicular screen button, Realize the rotation of screen, terminate S2;
S203: the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, then first with manual screen locking control Button processed is by the status modifier of manual screen locking for cutting out, and recycling gravity sensing realizes the rotation of screen;If the shape of manual screen locking State for closing, then directly utilizes gravity sensing and realizes the rotation of screen, terminate S2.
On the basis of technique scheme, step S3 specifically includes following operation: S301: when user's rotating machinery but nothing When needing Rotation screen direction, it is judged that whether current device opens existing perpendicular screen lock function, the most then without carrying out any behaviour Make, terminate;Otherwise, S302 is proceeded to;S302: inquiry current manual screen locking state, if the state of manual screen locking for open, then without Any operation need to be carried out, terminate;If the state of manual screen locking is for closing, then need to utilize manual screen locking control knob by manual screen locking Status modifier for open, it is achieved manual screen locking, forbid the rotation of screen.
On the basis of technique scheme, it is judged that when whether current device opens existing perpendicular screen lock function, pass through Whether APP can respond automatic rotary screen function shouldAutorotate judges, if APP can respond, then shows to erect Screen lock function is not opened;If APP can not respond, then show that perpendicular screen lock function is opened.
On the basis of technique scheme, when inquiring about the state of current manual screen locking, by inquiry Boolean type variable The value of isLocked determines the state of manual screen locking, if the value of isLocked is YES, shows that the state of manual screen locking is for opening Open;If the value of isLocked is NO, show that the state of manual screen locking is for closing;On this basis, utilize manual screen locking control by Button by the status modifier of manual screen locking for turning off or on time, be that the value of isLocked is revised as NO or YES accordingly.
The present invention also provides for the screen rotation control system that a kind of gravity sensing combines with Non-follow control simultaneously, including by Rotary module forbidden by button control creation module, screen rotation module and screen.Described button control creation module is used for: at APP Interior establishment manual screen locking control knob, pressure transverse screen button and pressure perpendicular screen button;Described screen rotation module is used for: work as user Rotating machinery and when needing Rotation screen direction, utilizes manual screen locking control knob to realize manual unlocking, and passes through gravity sensing Or screen button is erected in the pressure transverse screen button, the pressure that create, it is achieved the rotation of screen;Described screen forbid rotary module for: During when user's rotating machinery but without Rotation screen direction, the existing perpendicular screen lock function of equipment or manual screen locking is utilized to control Button realizes screen locking, forbids the rotation of screen.
On the basis of technique scheme, described screen rotation module realizes the idiographic flow of screen rotation and is: when with Family rotating machinery and when needing Rotation screen direction, first judges whether current device opens existing perpendicular screen lock function;
If perpendicular screen lock function has turned on, the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, then First with manual screen locking control knob by the status modifier of manual screen locking for closing, the pressure transverse screen button or strong that recycling creates System perpendicular screen button, it is achieved the rotation of screen;If the state of manual screen locking is for closing, then directly utilize the pressure transverse screen button of establishment Or force perpendicular screen button, it is achieved the rotation of screen;
If perpendicular screen lock function is not opened, the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, then First with manual screen locking control knob by the status modifier of manual screen locking for closing, recycling gravity sensing realizes the rotation of screen Turn;If the state of manual screen locking is for closing, then directly utilizes gravity sensing and realize the rotation of screen.
On the basis of technique scheme, described screen forbids that rotary module forbids that the idiographic flow of screen rotation is: During when user's rotating machinery but without Rotation screen direction, first judge whether current device opens existing perpendicular screen lock function, The most then without carrying out any operation;Otherwise, the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, then Without carrying out any operation;If the state of manual screen locking is for closing, then need to utilize manual screen locking control knob by manual screen locking Status modifier is for opening, it is achieved manual screen locking, forbids the rotation of screen.
On the basis of technique scheme, it is current that described screen rotation module or described screen forbid that rotary module judges When whether equipment opens existing perpendicular screen lock function, it is by whether APP can respond automatic rotary screen function ShouldAutorotate judges, if APP can respond, then shows that perpendicular screen lock function is not opened;If APP can not Response, then show that perpendicular screen lock function is opened.
On the basis of technique scheme, described screen rotation module or described screen forbid that rotary module inquiry is current During the state of manual screen locking, it is the state being determined manual screen locking by the value of inquiry Boolean type variable i sLocked, if The value of isLocked is YES, shows that the state of manual screen locking is for opening;If the value of isLocked is NO, show manual screen locking State is for closing;On this basis, described screen rotation module or described screen forbid that rotary module utilizes manual screen locking to control Button by the status modifier of manual screen locking for turning off or on time, be that the value of isLocked is revised as NO or YES accordingly.
The beneficial effects of the present invention is:
The present invention is by creating three button controls in APP: manual screen locking control knob, pressure transverse screen button and pressure Perpendicular screen button, controls the rotation of screen.No matter whether equipment opens perpendicular screen lock function, all can be directly by wound in APP The button built is to reach Rotation screen or to forbid the purpose of Rotation screen.Compared with the single control mode of prior art, this Bright without being switched to outside APP carry out locking and solve latching operation, directly can realize the flexible control whether screen rotates in APP, Can effectively strengthen Consumer's Experience, Consumer's Experience is good.
Accompanying drawing explanation
Fig. 1 is the flow process of the screen rotation control method that in the embodiment of the present invention, gravity sensing combines with Non-follow control Figure;
Fig. 2 is the particular flow sheet of step S2 in the embodiment of the present invention;
Fig. 3 is the particular flow sheet of step S3 in the embodiment of the present invention;
Fig. 4 is the structural frames of the screen rotation control system that in the embodiment of the present invention, gravity sensing combines with Non-follow control Figure.
Detailed description of the invention
Below as a example by application scenarios is for IOS system, in conjunction with the drawings and the specific embodiments the present invention is made the most in detail Thin description.
Shown in Figure 1, the embodiment of the present invention provides the screen rotation control that a kind of gravity sensing combines with Non-follow control Method processed, comprises the following steps:
Step S1: create manual screen locking control knob in APP, force transverse screen button and force perpendicular screen button;Wherein, hands Dynamic screen locking control knob is used for changing the state of manual screen locking, thus realizes manual screen locking or manual unlocking;Force transverse screen button It is used for forcing to rotate to transverse screen direction by erecting screen direction by screen orientation;Perpendicular screen button is forced to be used for screen orientation by transverse screen side Direction is shielded to perpendicular to forcing to rotate.
Step S2: when user's rotating machinery (intelligent terminal) and when needing Rotation screen direction, utilize manual screen locking to control Button realizes manual unlocking, and by gravity sensing or the pressure transverse screen button of establishment, pressure perpendicular screen button, it is achieved screen Rotate.
During practical operation, as in figure 2 it is shown, step S2 specifically includes following operation:
Step S201: when user's rotating machinery and when needing Rotation screen direction, it is judged that whether current device is opened existing Perpendicular screen lock function, if so, proceed to step S202;Otherwise, step S203 is proceeded to;
Step S202: the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, (i.e. current screen is locked Fixed, do not allow to rotate), then first with manual screen locking control knob, the status modifier of manual screen locking (need to i.e. be realized hands for closing Dynamic unblock), then recycle the pressure transverse screen button of establishment or force perpendicular screen button, it is achieved the rotation of screen;If manual screen locking State for close (i.e. current screen is not locked out, it is allowed to rotate), then directly utilize pressure transverse screen button or the pressure of establishment Perpendicular screen button, it is achieved the rotation of screen, end step S2;
Step S203: the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, (i.e. current screen is locked Fixed, do not allow to rotate), then first with manual screen locking control knob, the status modifier of manual screen locking (need to i.e. be realized hands for closing Dynamic unblock), then recycling gravity sensing realizes the rotation of screen;If the state of manual screen locking is for closing, (i.e. current screen is not Locked, it is allowed to rotate), then directly utilize gravity sensing and realize the rotation of screen, end step S2.
It is understood that in the present embodiment, when utilizing the rotation that gravity sensing realizes screen, system can the most first respond Treat rotary heavy duty function willRotateToInterfaceOrientation (showing that screen will rotate);Then, system meeting Automatically call driving rotary heavy duty function willAnimateRotationToInterfaceOrientation, be used for realizing working as When gravity sensing equipment changes, screen will rotate with equipment variations direction.
By aforesaid operations it can be seen that in the present invention, no matter whether equipment opens existing perpendicular screen lock function, Dou Nengli It is controlled with manual screen locking control knob, and finally realizes the rotation of screen.Operation differs only in: when perpendicular screen lock function During unlatching, after utilizing manual screen locking control knob to carry out manual unlocking, only with the pressure transverse screen button created or pressure Perpendicular screen button realizes the rotation of screen;And when perpendicular screen lock function is closed, owing to the gravity sensing function of equipment can use, As long as therefore ensureing that manual screen lock state is closed mode, then may utilize gravity sensing and realize the rotation of screen.
Step S3: during when user's rotating machinery but without Rotation screen direction, utilize the existing perpendicular screen lock function of equipment Or manual screen locking control knob realizes screen locking, forbids the rotation of screen.
During practical operation, as it is shown on figure 3, step S3 specifically includes following operation:
Step S301: during when user's rotating machinery but without Rotation screen direction, it is judged that whether current device is opened existing Perpendicular screen lock function, if so, show current screen be locked, will not rotate, then without carrying out any operation, terminate; Otherwise, step S302 is proceeded to;
Step S302: the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, shows current screen quilt Locking, will not rotate, then without carrying out any operation, terminate;If the state of manual screen locking is for closing, show current screen It is not locked out, it may occur that rotate, then needs to utilize manual screen locking control knob by the status modifier of manual screen locking for opening, it is achieved hands Dynamic screen locking, forbids the rotation of screen.
Further, in the present embodiment, (the step when judging whether current device opens existing perpendicular screen lock function In S201 and step S301), it is whether can to respond automatic rotary screen function shouldAutorotate by APP to judge , if APP can respond, then show that perpendicular screen lock function is not opened;If APP can not respond, then show perpendicular screen lock function Open.
Further, in the present embodiment, inquire about current manual screen locking state time (step S202, step S203 and In step S302), it is the state being determined manual screen locking by the value of inquiry Boolean type variable i sLocked, if The value of isLocked is YES, shows that the state of manual screen locking is for opening;If the value of isLocked is NO, show manual screen locking State is for closing.On this basis, when utilizing manual screen locking control knob by the status modifier of manual screen locking for turning off or on, Actually the value of isLocked is revised as NO or YES accordingly.
Shown in Figure 4, the embodiment of the present invention provides the screen rotation control that a kind of gravity sensing combines with Non-follow control System processed, forbids rotary module including button control creation module, screen rotation module and screen.
Wherein, button control creation module is used for: create in APP manual screen locking control knob, force transverse screen button and Force perpendicular screen button;Manual screen locking control knob is used for changing the state of manual screen locking, thus realizes manual screen locking or manually solve Lock;Force transverse screen button to be used for screen orientation to be forced to rotate to transverse screen direction by erecting screen direction;Forcing perpendicular screen button to be used for will Screen orientation is forced to rotate to perpendicular screen direction by transverse screen direction.
Screen rotation module is used for: when user's rotating machinery and when needing Rotation screen direction, utilize manual screen locking to control Button realizes manual unlocking, and by gravity sensing or the pressure transverse screen button of establishment, pressure perpendicular screen button, it is achieved screen Rotate.Its concrete operations flow process is: when user's rotating machinery and when needing Rotation screen direction, first judge whether current device is opened Open existing perpendicular screen lock function;
If perpendicular screen lock function has turned on, the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, then First with manual screen locking control knob by the status modifier of manual screen locking for closing, the pressure transverse screen button or strong that recycling creates System perpendicular screen button, it is achieved the rotation of screen;If the state of manual screen locking is for closing, then directly utilize the pressure transverse screen button of establishment Or force perpendicular screen button, it is achieved the rotation of screen;It is understood that in the present embodiment, utilize gravity sensing to realize screen During rotation, screen rotation module can the most first respond treats rotary heavy duty function willRotateToInterfaceOrientation (showing that screen will rotate);Then, screen rotation module can call driving rotary heavy duty function automatically WillAnimateRotationToInterfaceOrientation, is used for realizing when gravity sensing equipment changes, screen Curtain will rotate with equipment variations direction.
If perpendicular screen lock function is not opened, the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, then First with manual screen locking control knob by the status modifier of manual screen locking for closing, recycling gravity sensing realizes the rotation of screen Turn;If the state of manual screen locking is for closing, then directly utilizes gravity sensing and realize the rotation of screen.
Screen forbid rotary module for: during when user's rotating machinery but without Rotation screen direction, utilize equipment existing Perpendicular screen lock function or manual screen locking control knob realize screen locking, forbid the rotation of screen.Its concrete operations flow process is: when User's rotating machinery but during without Rotation screen direction, first judge whether current device opens existing perpendicular screen lock function, if It is, then without carrying out any operation;Otherwise, inquiry current manual screen locking state, if the state of manual screen locking for open, then without Any operation need to be carried out;If the state of manual screen locking is for closing, then need to utilize manual screen locking control knob by the shape of manual screen locking State is revised as opening, it is achieved manual screen locking, forbids the rotation of screen.
Further it will be understood that screen rotation module or screen forbid that rotary module is judging whether current device is opened When opening existing perpendicular screen lock function, it is whether can to respond automatic rotary screen function shouldAutorotate by APP to enter Row judges, if APP can respond, then shows that perpendicular screen lock function is not opened;If APP can not respond, then show perpendicular screen lock Determine function to open.
In addition, screen rotation module or screen forbid rotary module inquire about current manual screen locking state time, all It is the state being determined manual screen locking by the value of inquiry Boolean type variable i sLocked, if the value of isLocked is YES, Show that the state of manual screen locking is for opening;If the value of isLocked is NO, show that the state of manual screen locking is for closing;Further, exist On the basis of this, screen rotation module or screen forbid that rotary module is utilizing manual screen locking control knob by the state of manual screen locking When being revised as turning off or on, it is that the value of isLocked is revised as NO or YES accordingly.
It should be understood that the system that above-described embodiment provides is when operating, only drawing with above-mentioned each functional module Divide and be illustrated, in actual application, can as desired above-mentioned functions distribution be completed by different functional modules, i.e. The internal structure of system is divided into different functional modules, to complete all or part of function described above.
The present invention is not limited to above-mentioned embodiment, for those skilled in the art, without departing from On the premise of the principle of the invention, it is also possible to make some improvements and modifications, these improvements and modifications are also considered as the protection of the present invention Within the scope of.
The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.

Claims (10)

1. the screen rotation control method that a gravity sensing combines with Non-follow control, it is characterised in that the method include with Lower step:
S1: create manual screen locking control knob in APP, force transverse screen button and force perpendicular screen button;
S2: when user's rotating machinery and when needing Rotation screen direction, utilize manual screen locking control knob to realize manual unlocking, and By the pressure transverse screen button of gravity sensing or establishment, force perpendicular screen button, it is achieved the rotation of screen;
S3: during when user's rotating machinery but without Rotation screen direction, utilizes the existing perpendicular screen lock function of equipment or manually Screen locking control knob realizes screen locking, forbids the rotation of screen.
2. the screen rotation control method that gravity sensing as claimed in claim 1 combines with Non-follow control, it is characterised in that Step S2 specifically includes following operation:
S201: when user's rotating machinery and when needing Rotation screen direction, it is judged that whether current device opens existing perpendicular screen lock Determine function, if so, proceed to S202;Otherwise, S203 is proceeded to;
S202: the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, then controls to press first with manual screen locking The status modifier of manual screen locking for closing, is recycled the pressure transverse screen button created or forces perpendicular screen button, it is achieved screen by button Rotation;If the state of manual screen locking is for closing, then directly utilizes the pressure transverse screen button of establishment or force perpendicular screen button, it is achieved The rotation of screen, terminates S2;
S203: the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, then controls to press first with manual screen locking Button is by the status modifier of manual screen locking for cutting out, and recycling gravity sensing realizes the rotation of screen;If the state of manual screen locking is Close, then directly utilize gravity sensing and realize the rotation of screen, terminate S2.
3. the screen rotation control method that gravity sensing as claimed in claim 1 combines with Non-follow control, it is characterised in that Step S3 specifically includes following operation:
S301: during when user's rotating machinery but without Rotation screen direction, it is judged that whether current device opens existing perpendicular screen lock Determine function, the most then without carrying out any operation, terminate;Otherwise, S302 is proceeded to;
S302: the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, then without carrying out any operation, knot Bundle;If the state of manual screen locking is for closing, then need to utilize manual screen locking control knob by the status modifier of manual screen locking for opening, Realize manual screen locking, forbid the rotation of screen.
4. the screen rotation control method that gravity sensing combines with Non-follow control as claimed in claim 2 or claim 3, its feature exists In: when judging whether current device opens existing perpendicular screen lock function, whether can respond automatic rotary screen function by APP ShouldAutorotate judges, if APP can respond, then shows that perpendicular screen lock function is not opened;If APP can not Response, then show that perpendicular screen lock function is opened.
5. the screen rotation control method that gravity sensing combines with Non-follow control as claimed in claim 2 or claim 3, its feature exists In: when inquiring about the state of current manual screen locking, determine manual screen locking by the value of inquiry Boolean type variable i sLocked State, if the value of isLocked is YES, shows that the state of manual screen locking is for opening;If the value of isLocked is NO, show manually The state of screen locking is for closing;
On this basis, when utilizing manual screen locking control knob by the status modifier of manual screen locking for turning off or on, be by The value of isLocked is revised as NO or YES accordingly.
6. the screen rotation control system that a gravity sensing combines with Non-follow control, it is characterised in that: this system include by Rotary module forbidden by button control creation module, screen rotation module and screen;
Described button control creation module is used for: creates manual screen locking control knob in APP, forces transverse screen button and force perpendicular Screen button;
Described screen rotation module is used for: when user's rotating machinery and when needing Rotation screen direction, utilize manual screen locking to control Button realizes manual unlocking, and by gravity sensing or the pressure transverse screen button of establishment, pressure perpendicular screen button, it is achieved screen Rotate;
Described screen forbid rotary module for: during when user's rotating machinery but without Rotation screen direction, utilize equipment existing Perpendicular screen lock function or manual screen locking control knob realize screen locking, forbid the rotation of screen.
7. the screen rotation control system that gravity sensing as claimed in claim 6 combines with Non-follow control, it is characterised in that: Described screen rotation module realizes the idiographic flow of screen rotation: when user's rotating machinery and when needing Rotation screen direction, First judge whether current device opens existing perpendicular screen lock function;
If the perpendicular lock function that shields has turned on, the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, then the most sharp It is closedown with manual screen locking control knob by the status modifier of manual screen locking, pressure transverse screen button that recycling creates or force perpendicular Screen button, it is achieved the rotation of screen;If the state of manual screen locking is for closing, then directly utilize the pressure transverse screen button of establishment or strong System perpendicular screen button, it is achieved the rotation of screen;
If the perpendicular lock function that shields is not opened, the state of inquiry current manual screen locking, if the state of manual screen locking is for opening, then the most sharp Being closedown with manual screen locking control knob by the status modifier of manual screen locking, recycling gravity sensing realizes the rotation of screen;If The state of manual screen locking for closing, then directly utilizes gravity sensing and realizes the rotation of screen.
8. the screen rotation control system that gravity sensing as claimed in claim 6 combines with Non-follow control, it is characterised in that: Described screen forbids that rotary module forbids that the idiographic flow of screen rotation is: when user's rotating machinery but without Rotation screen direction Time, first judge whether current device opens existing perpendicular screen lock function, the most then without carrying out any operation;Otherwise, inquiry The state of current manual screen locking, if the state of manual screen locking is for opening, then without carrying out any operation;If the state of manual screen locking For closing, then need to utilize manual screen locking control knob by the status modifier of manual screen locking for opening, it is achieved manual screen locking, forbid screen The rotation of curtain.
9. the screen rotation control system that gravity sensing combines with Non-follow control as claimed in claim 7 or 8, its feature exists In: described screen rotation module or described screen forbid that rotary module judges whether current device opens existing perpendicular screen locking merit During energy, it is whether can to respond automatic rotary screen function shouldAutorotate by APP to judge, if APP can ring Should, then show that perpendicular screen lock function is not opened;If APP can not respond, then show that perpendicular screen lock function is opened.
10. the screen rotation control system that gravity sensing combines with Non-follow control as claimed in claim 7 or 8, its feature It is: when the state of rotary module inquiry current manual screen locking forbidden by described screen rotation module or described screen, be by looking into The value of inquiry Boolean type variable i sLocked determines the state of manual screen locking, if the value of isLocked is YES, shows manually The state of screen locking is for opening;If the value of isLocked is NO, show that the state of manual screen locking is for closing;
On this basis, described screen rotation module or described screen forbid that rotary module utilizes manual screen locking control knob by hands When the status modifier of dynamic screen locking is for turning off or on, it is that the value of isLocked is revised as NO or YES accordingly.
CN201610638958.2A 2016-08-05 2016-08-05 Gravity sensing is the same as manually controlling the screen rotation control method and system combined Active CN106325719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610638958.2A CN106325719B (en) 2016-08-05 2016-08-05 Gravity sensing is the same as manually controlling the screen rotation control method and system combined

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610638958.2A CN106325719B (en) 2016-08-05 2016-08-05 Gravity sensing is the same as manually controlling the screen rotation control method and system combined

Publications (2)

Publication Number Publication Date
CN106325719A true CN106325719A (en) 2017-01-11
CN106325719B CN106325719B (en) 2019-09-10

Family

ID=57739786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610638958.2A Active CN106325719B (en) 2016-08-05 2016-08-05 Gravity sensing is the same as manually controlling the screen rotation control method and system combined

Country Status (1)

Country Link
CN (1) CN106325719B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234763A (en) * 2017-12-29 2018-06-29 广州优视网络科技有限公司 Horizontal/vertical screen switching method, device and terminal
CN109451159A (en) * 2018-11-09 2019-03-08 长沙龙生光启新材料科技有限公司 A kind of Intelligent mobile equipment
CN112948037A (en) * 2021-02-08 2021-06-11 深圳市慧为智能科技股份有限公司 Application display direction control method, system, device and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120229371A1 (en) * 2011-03-08 2012-09-13 Acer Incorporated Screen Rotation Lock Methods and Systems
CN102799370A (en) * 2012-06-29 2012-11-28 珠海金山办公软件有限公司 Method and system for controlling rotation of screen of touch terminal
CN103425401A (en) * 2013-08-21 2013-12-04 乐视网信息技术(北京)股份有限公司 Method for adjusting file playing angle and electronic terminal
CN103677571A (en) * 2013-12-20 2014-03-26 乐视网信息技术(北京)股份有限公司 Method, module and system for locking screen direction and gravity sensing module
CN104391634A (en) * 2014-11-26 2015-03-04 北京京东尚科信息技术有限公司 Method for automatically controlling screen rotating mode of mobile terminal based on user panting
CN104991752A (en) * 2015-07-17 2015-10-21 小米科技有限责任公司 Method and device for controlling screen to rotate
CN105487797A (en) * 2015-11-25 2016-04-13 广东欧珀移动通信有限公司 Screen display mode control method and terminal device
CN105589636A (en) * 2014-10-24 2016-05-18 中国电信股份有限公司 Method and mobile terminal used for realizing virtual pointer control on touch screen
CN105700672A (en) * 2014-11-27 2016-06-22 小米科技有限责任公司 Screen rotation processing method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120229371A1 (en) * 2011-03-08 2012-09-13 Acer Incorporated Screen Rotation Lock Methods and Systems
CN102799370A (en) * 2012-06-29 2012-11-28 珠海金山办公软件有限公司 Method and system for controlling rotation of screen of touch terminal
CN103425401A (en) * 2013-08-21 2013-12-04 乐视网信息技术(北京)股份有限公司 Method for adjusting file playing angle and electronic terminal
CN103677571A (en) * 2013-12-20 2014-03-26 乐视网信息技术(北京)股份有限公司 Method, module and system for locking screen direction and gravity sensing module
CN105589636A (en) * 2014-10-24 2016-05-18 中国电信股份有限公司 Method and mobile terminal used for realizing virtual pointer control on touch screen
CN104391634A (en) * 2014-11-26 2015-03-04 北京京东尚科信息技术有限公司 Method for automatically controlling screen rotating mode of mobile terminal based on user panting
CN105700672A (en) * 2014-11-27 2016-06-22 小米科技有限责任公司 Screen rotation processing method and device
CN104991752A (en) * 2015-07-17 2015-10-21 小米科技有限责任公司 Method and device for controlling screen to rotate
CN105487797A (en) * 2015-11-25 2016-04-13 广东欧珀移动通信有限公司 Screen display mode control method and terminal device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
(美)J.斯特拉斯勒等: "《活动目录网络 智能网络的基础》", 31 July 2000, 北京:北京希望电子出版社 *
刘阳: "《Swift游戏开发实战》", 30 June 2015, 北京:海洋出版社 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234763A (en) * 2017-12-29 2018-06-29 广州优视网络科技有限公司 Horizontal/vertical screen switching method, device and terminal
WO2019127868A1 (en) * 2017-12-29 2019-07-04 广州优视网络科技有限公司 Screen orientation switching method, device, and terminal
CN109451159A (en) * 2018-11-09 2019-03-08 长沙龙生光启新材料科技有限公司 A kind of Intelligent mobile equipment
CN112948037A (en) * 2021-02-08 2021-06-11 深圳市慧为智能科技股份有限公司 Application display direction control method, system, device and readable storage medium
CN112948037B (en) * 2021-02-08 2023-09-26 深圳市慧为智能科技股份有限公司 Application display direction control method, system, equipment and readable storage medium

Also Published As

Publication number Publication date
CN106325719B (en) 2019-09-10

Similar Documents

Publication Publication Date Title
CN106325719A (en) Gravity sensing and manual control combined screen rotation control method and system
CN108416874A (en) A kind of quick authentication access control system based on recognition of face
DE102017106316A1 (en) SAFETY
CN104182704B (en) The method to set up of security strategy, the setting device of security strategy and terminal
CN113386689B (en) Method and device for linkage of in-vehicle equipment conditions based on cloud implementation
CN106709292A (en) Terminal permission control method and system
CN108222752A (en) A kind of electric window interlock method and system based on cloud lock
DE102015220229B4 (en) Method and device for external operation of a device
CN106652145A (en) Access control method, access control system and mobile terminal
DE102015110806A1 (en) Method for automatically closing an application during transport connection decoupling
CN105517286B (en) A kind of intelligence WIFI lamp control system and its control method
CN104967762A (en) Configuration method for wireless Internet camera and configuration system thereof
CN109300212A (en) A kind of automatic door locks
CN108305359A (en) A kind of electric power warehouse electronic access control system and method
CN205644694U (en) Car key system, mobile terminal , server and vehicle
CN104635587A (en) Bluetooth-controlled and Freely-opened/closed door and locking magnetic feedback door system
CN206921167U (en) A kind of bluetooth lock
CN205769644U (en) Self-unloading engineering container back door tumble lock hook device
CN204883878U (en) Cell -phone remote control frame lock burglary -resisting door device
CN106936906A (en) The control method and system of a kind of electric vehicle position lock
CN206451014U (en) Wisdom garden total management system based on mobile Internet and technology of Internet of things
CN107450913B (en) ExtJS-based window component access control method
CN109555404A (en) A kind of real-time authorization unlatching automatic door control system
CN205845135U (en) A kind of intelligent lock being applied to Internet of Things
CN106791167A (en) A kind of latching mode switching system and method based on weather conditions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant