CN109254715A - Screen display direction control method, device, mobile terminal and readable storage medium storing program for executing - Google Patents
Screen display direction control method, device, mobile terminal and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN109254715A CN109254715A CN201811021832.6A CN201811021832A CN109254715A CN 109254715 A CN109254715 A CN 109254715A CN 201811021832 A CN201811021832 A CN 201811021832A CN 109254715 A CN109254715 A CN 109254715A
- Authority
- CN
- China
- Prior art keywords
- screen
- mobile terminal
- display direction
- display
- mode
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of screen display direction control method, device, mobile terminal and readable storage medium storing program for executing, this method comprises: obtaining the application message of the current foreground display application of mobile terminal screen when mobile terminal screen is in bright screen state;According to the application message, it is dynamically determined the current screen locking mode of mobile terminal;According to the athletic posture information of the screen lock mode and mobile terminal, the display direction of mobile terminal screen is adjusted.The technical problem that the adjustment that the present invention solves mobile terminal screen display direction in the prior art is not intelligent, adjustment process is cumbersome.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of screen display direction control method, device, movements eventually
End and readable storage medium storing program for executing.
Background technique
The mobile terminals such as smart phone, tablet computer on the market generally all have automatic rotation function now,
When the automatic rotation function of user's turning-off mobile terminal, mobile terminal can only be with all mobile terminal installation applications of vertical screen display
Interface;When user opens the automatic rotation function of mobile terminal, the interface of all applications of mobile terminal can be according to mobile terminal
Holding mode, carry out the switching of transverse screen display or vertical screen display, especially user's transverse screen display and apply and vertical screen display application
Between when switching, user needs to find the switch key of automatic rotation function, mobile terminal screen display side by multiple steps
To adjustment not intelligence, adjustment process it is cumbersome.
Summary of the invention
The main purpose of the present invention is to provide a kind of screen display direction control method, device, mobile terminals and readable
Storage medium, it is intended to solve the adjustment of mobile terminal screen display direction in the prior art not intelligence, the cumbersome skill of adjustment process
Art problem.
To achieve the above object, the embodiment of the present invention provides a kind of screen display direction control method, and the screen is shown
Direction-controlling method includes:
When mobile terminal screen is in bright screen state, the application of the current foreground display application of mobile terminal screen is obtained
Information;
According to the application message, it is dynamically determined the current screen locking mode of mobile terminal;
According to the athletic posture information of the screen lock mode and mobile terminal, the display side of mobile terminal screen is adjusted
To.
Optionally, the screen lock mode includes vertical screen locking mode and transverse screen locking mode,
The athletic posture information according to the screen lock mode and mobile terminal adjusts the aobvious of mobile terminal screen
The step of showing direction include:
When screen lock mode is vertical screen locking mode, the display direction for locking mobile terminal screen is vertical screen direction;
When screen lock mode is transverse screen locking mode, the display direction for locking mobile terminal screen is transverse screen direction.
Optionally, the screen lock mode includes horizontal/vertical screen switch mode,
The athletic posture information according to the screen lock mode and mobile terminal adjusts the aobvious of mobile terminal screen
The step of showing direction include:
When screen lock mode is horizontal/vertical screen switch mode, according to the athletic posture information of mobile terminal, judge to move
Whether the first angle of terminal length direction and space vertical direction is greater than the first predetermined angle;
If first angle is greater than the first predetermined angle, the display direction for adjusting mobile terminal screen is transverse screen direction;
If first angle is less than or equal to the first predetermined angle, the display direction for adjusting mobile terminal screen is vertical screen
Direction.
Optionally, the athletic posture information according to mobile terminal judges that mobile terminal length direction and space are vertical
Include: before the step of whether first angle in direction is greater than the first predetermined angle
Judge on mobile terminal screen light direction with the presence or absence of face features;
If there are face features on mobile terminal screen light direction, the athletic posture according to mobile terminal is executed
Information judges the step of whether the first angle of mobile terminal length direction and space vertical direction is greater than the first predetermined angle.
Optionally, described according to application message, the step of being dynamically determined the current screen locking mode of mobile terminal, includes:
According to the application message, obtain in the foreground display application interface identification at each interface be associated with the screen used
Relation record between curtain locking mode;
It determines that the foreground is shown to identify using the target interface of current display interface, and by target in the relation record
Interface identification corresponds to the current screen locking mode that screen lock mode is determined as mobile terminal.
Optionally, described according to application message, before the step of being dynamically determined the current screen locking mode of mobile terminal
Include:
At interval of respectively each interface is respectively at different screen in use for application in preset duration statistics mobile terminal
The duration of locking mode;
The interface identification for establishing each application interface corresponds to interface with the interface identification and is in the maximum screen of duration
Relationship between locking mode generates the relation record of each application;Wherein screen lock mode includes at least vertical screen locking mode, cross
Shield locking mode and horizontal/vertical screen switch mode.
Optionally, the athletic posture information according to the screen lock mode and mobile terminal adjusts mobile terminal
Include: after the step of display direction of screen
If receiving adjustment in direction instruction of the user based on the mobile terminal screen input after adjustment display direction, basis
The display direction of mobile terminal screen is corrected in revision directive, and based on the corresponding screen lock mode of display direction and institute after amendment
It states foreground and shows that the target interface for applying current display interface identifies, the relation record of foreground display application is carried out more
Newly.
In addition, to achieve the above object, the present invention also provides a kind of screen display direction control device, the screen is shown
Direction-control apparatus includes:
Module is obtained, for when mobile terminal screen is in bright screen state, obtaining the current foreground of mobile terminal screen
Show the application message of application;
Mode decision module, for being dynamically determined the current screen locking mode of mobile terminal according to the application message;
Direction adjusts module, and for the athletic posture information according to the screen lock mode and mobile terminal, adjustment is moved
The display direction of dynamic terminal screen.
In addition, to achieve the above object, the present invention also provides a kind of screen display directions to control equipment;
Screen display direction control equipment includes: memory, processor and is stored on the memory and can be
The computer program run on the processor, in which:
The computer program realizes screen display direction control method as described above when being executed by the processor
Step.
In addition, to achieve the above object, the present invention also provides computer storage mediums;
Computer program, the realization when computer program is executed by processor are stored in the computer storage medium
Such as the step of above-mentioned screen display direction control method.
A kind of screen display direction control method, device, mobile terminal and the readable storage medium that the embodiment of the present invention proposes
Matter, by the application for when mobile terminal screen is in bright screen state, obtaining the current foreground display application of mobile terminal screen
Information;According to the application message, it is dynamically determined the current screen locking mode of mobile terminal;According to the screen lock mode
With the athletic posture information of mobile terminal, the display direction of mobile terminal screen is adjusted.The present invention is in mobile terminal screen
Bright screen state, the screen lock mode for just constantly detecting and obtaining the current foreground display application of mobile terminal screen and movement are eventually
The athletic posture information at end directly obtains and shows, is not at that the foreground of running background is shown in current mobile terminal screen and answer
Screen lock mode is equipped with dedicated screen lock mode for the display application of each foreground, and immobile terminal is all answers
With a shared screen lock mode, so as to the movement of screen locking and mobile terminal for the display application of real-time foreground
Posture information, dynamic adjust the screen display direction of mobile terminal, are bonded demand of the user to real time screen display direction, are not necessarily to
User is by drop-down notification bar or searches the screen display direction that the troublesome operations such as menu are arranged to manually adjust mobile terminal,
The manual adjusting operation for carrying out frequent screen display direction for different application without user, solves and moves in the prior art
The technical problem that the adjustment of dynamic terminal screen display direction is not intelligent, adjustment process is cumbersome.
Detailed description of the invention
Fig. 1 is the hardware structural diagram of the embodiment of the present invention one optional mobile terminal;
Fig. 2 is the wireless communication device schematic diagram of mobile terminal in Fig. 1;
Fig. 3 is the flow diagram of screen display direction control method first embodiment of the present invention;
Fig. 4 is the flow diagram of screen display direction control method second embodiment of the present invention;
Fig. 5 is the flow diagram of screen display direction control method 3rd embodiment of the present invention;
Fig. 6 is the functional block diagram of one embodiment of screen display direction control device of the present invention;
Fig. 7 is an application scenarios schematic diagram of screen display direction control method of the present invention;
Fig. 8 is the schematic diagram of a scenario of motion of mobile terminals posture of the present invention transformation.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data, and memory 109 can be situated between for a kind of storage of computer
Matter, the memory 109 are stored with prompting message program of the present invention.Memory 109 can mainly include storing program area and storage number
According to area, wherein storing program area can application program needed for storage program area, at least one function (for example sound plays function
Energy, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as audio data,
Phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-volatile memories
Device, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Such as
Processor 110 executes the prompting message program in memory 109, to realize the step of each embodiment of message prompt method of the present invention
Suddenly.
Processor 110 may include one or more processing units;Optionally, processor 110 can integrate application processor and
Modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation
Processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110
In.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, optionally, power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
The present invention provides a kind of screen display direction control method, which is mainly used in shifting
In dynamic terminal, screen display direction control method includes:
When mobile terminal screen is in bright screen state, the application of the current foreground display application of mobile terminal screen is obtained
Information;According to the application message, it is dynamically determined the current screen locking mode of mobile terminal;According to the screen lock mode
With the athletic posture information of mobile terminal, the display direction of mobile terminal screen is adjusted.
Specifically, in screen display direction control method first embodiment of the present invention, referring to Fig. 3, method includes:
Step S10, when mobile terminal screen is in bright screen state, the current foreground of acquisition mobile terminal screen, which is shown, is answered
Application message;
In the terminal, it when finding that mobile terminal is in bright screen state, presets in mobile terminal using in list
Application detected, (applied with judging default using whether the interface applied in list shows in mobile terminal screen
In use state and front stage operation), it presets shown in mobile terminal screen using the interface applied in list if it exists, it will
The interface foreground display application current as mobile terminal screen in the application that screen is shown.Such as mobile terminal screen is current
Show the interface of wechat, then display application in current foreground is wechat.
After determining the current foreground display application of mobile terminal screen, the application letter of timely foreground display application is needed
Breath, application message may include Apply Names mark, interface identification at each interface etc. in, and application message is for illustrating that foreground is aobvious
Title, the demand with which interface and interface to screen display direction for showing application, such as the login of a game application
Main interface is vertical screen display direction demand, and is transverse screen display direction demand after entrance interface.Referring to Fig. 7, it is on the left of Fig. 7
Foreground shows the interface schematic diagram that login interface is in using XX game, and login interface at this time, which is evident as vertical screen display direction, to be needed
It asks;It is that foreground is shown using XX game after login interface logins successfully on the right side of Fig. 7, the interface schematic diagram of operation interface, at this time
Operation interface be evident as transverse screen display direction demand.
Step S20 is dynamically determined the current screen locking mode of mobile terminal according to the application message;
After the application message for determining foreground display application, the application name based on the display application of application message analysis foreground
Claim mark, so that being identified the screen display direction at the interface and each interface that obtain foreground display application based on Apply Names is needed
Ask, further according to foreground show application each interface screen display direction demand, dynamically determine foreground show apply different time,
It shows screen lock mode when different interfaces, that is, dynamically determines that the current foreground real-time current screen of display application locks
Mode.
Screen lock mode includes at least vertical screen locking mode, transverse screen locking mode and horizontal/vertical screen switch mode, wherein moving
When dynamic terminal is in vertical screen locking mode, screen display direction is only vertical screen direction;Mobile terminal is in transverse screen locking mode
When, screen display direction is only transverse screen direction;When mobile terminal is in horizontal/vertical screen switch mode, screen display direction can be with answering
With the difference of information and athletic posture information, and switch between vertical screen direction and transverse screen direction.Certain screen lock mode
It may include the screen display direction locking that mobile terminal screen is under split screen state, such as mobile terminal screen is divided into two sons
Region carries out split screen display available, and can two sub-regions be carried out with independent screen lock mode determination and screen display direction tune
Whole, i.e. a sub-regions can be vertical screen locking mode, and a sub-regions can be transverse screen locking mode or horizontal/vertical screen switch mode.This
Outside, mobile terminal screen is divided into the equally applicable the application screen display direction control method of multiple subregions, and principle is essentially identical,
Tired state is not done herein.
Step S30 adjusts mobile terminal screen according to the athletic posture information of the screen lock mode and mobile terminal
Display direction.
It, can be based on the motion-sensing being arranged in mobile terminal after determining the current screen locking mode of mobile terminal
Device acquires the athletic posture information of mobile terminal this moment, and movement state information may include the inclination in mobile terminal opposed vertical direction
Angle, the flip angle of screen, the direction of screen, motion profile etc., athletic posture information can be at interval of default detection duration (examples
Such as 1s) it is detected and is updated, in a default detection duration, in conjunction with the screen lock mode and movement of foreground display application
The current display direction of screen is adjusted to the screen display direction of user's demand this moment, screen lock by terminal athletic posture information
Mould-fixed and motion of mobile terminals posture information combine determined by screen display direction be user's demand this moment screen it is aobvious
Show direction, reached optimal display result, to meet the needs of users.
For example, can be when mobile terminal is when current time is in horizontal positioned state and lie in mobile terminal
It on desk, or is when lying in mobile terminal in the hand of user, user wants to pick up this mobile terminal in use, then can
This mobile terminal is allowed to generate an athletic posture information, it is, moving when mobile terminal is become picking up state from laid-flat status
Dynamic terminal can generate acceleration, therefore, can be moved by the detection of the built-in sensors such as acceleration transducer built in mobile terminal
Whether dynamic terminal is become picking up state from laid-flat status, when detecting that motion of mobile terminals posture becomes picking up shape from laid-flat status
When state, the current foreground display application of mobile terminal screen can be dynamically adjusted by the screen lock mode got in advance
Display interface direction, to reach optimal display effect.
For example, as shown in figure 8, needing to obtain when mobile terminal is transformed into another athletic posture from an athletic posture
The athletic posture information that this mobile terminal is final is taken, and the athletic posture information based on this mobile terminal, and get in advance
The screen lock mode of foreground display application, to adjust the display direction of mobile terminal screen.
In the present embodiment, by when mobile terminal screen is in bright screen state, it is current to obtain mobile terminal screen
The application message of foreground display application;According to the application message, it is dynamically determined the current screen locking mode of mobile terminal;Root
According to the athletic posture information of the screen lock mode and mobile terminal, the display direction of mobile terminal screen is adjusted.The present invention
It is in bright screen state in mobile terminal screen, just constantly detects and obtain the screen of the current foreground display application of mobile terminal screen
The athletic posture information of curtain locking mode and mobile terminal, that is, directly obtain after showing, being not in current mobile terminal screen
The screen lock mode of the foreground display application of platform operation, is equipped with dedicated screen lock mode for the display application of each foreground,
And all applications of immobile terminal share a screen lock mode, so as to the screen lock for the display application of real-time foreground
Fixed and mobile terminal athletic posture information, dynamic adjust the screen display direction of mobile terminal, are bonded user to real time screen
The demand of display direction manually adjusts movement by the troublesome operations such as drop-down notification bar or lookup setting menu without user
The screen display direction of terminal manually adjusts behaviour for what different application carried out frequent screen display direction without user
Make, solves the adjustment of the mobile terminal screen display direction in the prior art not cumbersome technical problem of intelligence, adjustment process.
Further, on the basis of first embodiment of the invention, screen display direction control method of the present invention is proposed
Second embodiment, the present embodiment is the refinement of the step S30 of first embodiment of the invention, referring to Fig. 4, the screen display side
Include: to control method
Step S31, when screen lock mode is vertical screen locking mode, it is perpendicular for locking the display direction of mobile terminal screen
Shield direction;
It should be noted that in the present embodiment, screen lock mode includes vertical screen locking mode and transverse screen locking mode.
In the terminal, when the screen lock mode for getting the current foreground display application of mobile terminal screen is perpendicular
When shielding locking mode, needing will be in current time, and the application interface direction-locking shown in mobile terminal screen is vertical screen
The display direction in direction, i.e. locking mobile terminal screen is vertical screen direction, no matter using showing on the display interface of the mobile terminal
The direction shown is vertical screen direction either transverse screen direction, is all applied in the direction-locking shown on the display interface of mobile terminal
For vertical screen direction, and in subsequent operation, regardless of mobile terminal changes the athletic posture information of itself, will all move
The screen display direction of terminal is locked as vertical screen direction.For example, mobile terminal it is current foreground display application be desktop application, this
When screen lock mode be vertical screen locking mode, as long as screen continue show desktop application, no matter motion of mobile terminals posture such as
What changes, and screen display direction is vertical screen direction.
Step S32 locks the display direction of mobile terminal screen when screen lock mode is transverse screen locking mode as cross
Shield direction.
In the terminal, when the screen lock mode for getting the current foreground display application of mobile terminal screen is cross
When shielding locking mode, needing will be in current time, and the application interface direction-locking shown in mobile terminal screen is transverse screen
The display direction in direction, i.e. locking mobile terminal screen is transverse screen direction, no matter using showing on the display interface of the mobile terminal
The direction shown is vertical screen direction either transverse screen direction, is all applied in the direction-locking shown on the display interface of mobile terminal
For transverse screen direction, and in subsequent operation, regardless of mobile terminal changes the athletic posture information of itself, will all move
The screen display direction of terminal is locked as transverse screen direction.For example, mobile terminal it is current foreground display application answered for video playing
With screen lock mode is transverse screen locking mode at this time, as long as screen continues to show video playing application, no matter mobile terminal is transported
How dynamic posture changes, and screen display direction is transverse screen direction.
Further, step S30 further include:
Step S33, when screen lock mode is horizontal/vertical screen switch mode, according to the athletic posture information of mobile terminal,
Judge whether mobile terminal length direction and the first angle of space vertical direction are greater than the first predetermined angle;
It should be noted that in the present embodiment, screen lock mode further includes horizontal/vertical screen switch mode.
In the terminal, when the screen lock mode for getting the current foreground display application of mobile terminal screen is cross
When screen screen switch mode, it is also necessary to obtain the athletic posture information of mobile terminal, that is to say, that need to judge current mobile terminal
Whether athletic posture can convert, if athletic posture transformation will not occur by judgement discovery current mobile terminal, no
Change foreground in the mobile terminal at current time and show the display direction of application interface, if it is current mobile whole to pass through judgement discovery
Athletic posture transformation may occur for end, then needs to obtain the athletic posture information in mobile terminal, further according to the shifting got
The athletic posture information of dynamic terminal, to judge whether the first angle of mobile terminal length direction and space vertical direction is greater than the
One predetermined angle with the display direction for determining mobile terminal screen is for transverse screen direction or perpendicular further according to obtained judging result
Shield direction, the first predetermined angle can use screen inclination when mobile terminal by user setting or according to user's transverse screen and vertical screen
Angle case is determined, and wherein mobile terminal length direction is the extending direction on screen longer sides edge, such as user will move
Dynamic terminal uses and watches mobile terminal screen after 60 degree of the overturning of parallel vertical direction to carry out transverse screen, then the first predetermined angle
It can be 60 degree.
Step S34 adjusts the display direction of mobile terminal screen if first angle is greater than the first predetermined angle as cross
Shield direction;
When the first angle for judging mobile terminal length direction and space vertical direction is greater than the first predetermined angle,
Then the display direction of the screen of mobile terminal transverse screen direction can be automatically regulated to be automatically, i.e., judgement ought be passed through in the terminal
It was found that when the first angle of mobile terminal length direction and space vertical direction is greater than the first predetermined angle, no matter move this moment
Screen display direction in terminal is transverse screen direction or vertical screen direction, all can be automatically by the display side of the screen of mobile terminal
To being automatically regulated to be transverse screen direction.
Step S35 adjusts the display side of mobile terminal screen if first angle is less than or equal to the first predetermined angle
To for vertical screen direction.
It is preset when the first angle for judging mobile terminal length direction and space vertical direction is less than or equal to first
When angle, then the display direction of the screen of mobile terminal can be automatically regulated to be vertical screen direction automatically, i.e., it ought be in the terminal
The first predetermined angle is less than or equal to by the first angle of judgement discovery mobile terminal length direction and space vertical direction
When, it, all can be automatically by mobile terminal no matter the screen display direction this moment in mobile terminal is transverse screen direction or vertical screen direction
The display direction of screen be automatically regulated to be vertical screen direction.
That is, when the first angle is greater than the first predetermined angle, the opposite overturning of mobile terminal deviate vertical direction compared with
Greatly, show that user thinks transverse screen using mobile terminal, the display direction so as to adjust mobile terminal screen is transverse screen direction;Similarly,
When the first angle is less than or equal to the first predetermined angle, mobile terminal is substantially parallel with vertical direction, shows that user thinks vertical screen
Using mobile terminal, the display direction so as to adjust mobile terminal screen is vertical screen screen direction.
In the present embodiment, by combining the first angle in screen lock mode and athletic posture information, thus it is speculated that user
To the use demand of mobile terminal transverse screen or vertical screen, creative proposes transverse screen locking mode, rather than only has in the prior art
The opening and closing of automatic rotation function enrich the scene demand that user uses mobile terminal.
Specifically, the athletic posture information according to mobile terminal judges that mobile terminal length direction and space are vertical
Include: before the step of whether first angle in direction is greater than the first predetermined angle
Step S36 judges on mobile terminal screen light direction with the presence or absence of face features;
Step S37 is executed if there are face features on mobile terminal screen light direction according to mobile terminal
Athletic posture information, judges whether mobile terminal length direction and the first angle of space vertical direction are greater than the first predetermined angle
The step of.
When getting the athletic posture information of mobile terminal, and judge mobile terminal length direction and space vertical direction
Before the step of whether the first angle is greater than the first predetermined angle, it is also necessary to first judge on mobile terminal screen light direction whether
There are face features, that is, need by judging to come on mobile terminal screen light direction with the presence or absence of face features
Determine whether that this mobile terminal is used in user, thus when user being avoided not to be used and watch mobile terminal screen,
Mobile terminal screen display direction is adjusted, the accuracy of mobile terminal screen display direction adjustment is improved.
The light direction of mobile terminal screen refers to the optical propagation direction that screen emits beam outside first mobile terminal, face
The detection of facial characteristics can be judged based on the front camera of mobile terminal screen side, as front camera acquires out light side
To image, if the image of acquisition has face features, or further, to the image of acquisition carry out recognition of face with
It is determined as mobile terminal user, then carries out the judgment step of subsequent first angle and the first predetermined angle, provides mobile whole
The accuracy for holding screen display direction adjustment opportunity to determine.
In the present embodiment, by judging that mobile terminal current screen locking mode is vertical screen locking mode either transverse screen
Locking mode, or be any one in these three modes of horizontal/vertical screen switch mode to determine application in the terminal
The screen locking mode of display interface, and when mobile terminal current screen locking mode is horizontal/vertical screen switch mode, moreover it is possible to
Judge whether user is used this mobile terminal according to whether there are face features on screen light direction, so as to
It allows mobile terminal to need to carry out screen display direction control according to the use of user, improves convenience when user uses, mention
The high experience sense of user.
Further, the present invention first to second embodiment any one on the basis of, it is clear to propose information of the present invention
The 3rd embodiment of reason method, the present embodiment are the refinements of the step S20 of first embodiment of the invention, referring to Fig. 5, the information
Method for cleaning includes:
Step S21, according to the application message, obtain in the foreground display application interface identification at each interface be associated with
The relation record between screen lock mode used;
When getting the application message of the current foreground display application of mobile terminal screen, can be got according to it
Application message obtains the interface identification at each interface and the pass that is associated between the screen lock mode used in the display application of foreground
System's record gets the interface identification of each display interface in the display application of foreground with before that is, in the application message got
The screen lock mode that each display interface of platform display application is shown on mobile terminals, that is to say, that in the terminal
A relation record table is established, by the boundary of each display interface in the display application of each foreground (the i.e. default application using in list)
Face mark and corresponding screen lock mode are placed in this relation record.
Step S22 determines that the foreground is shown and identifies using the target interface of current display interface, and the relationship is remembered
Target interface identifies the current screen locking mode that corresponding screen lock mode is determined as mobile terminal in record.
After having had built up relation record table in the terminal, it is also necessary to obtain current time mobile terminal screen
The interface identification of foreground display interface, when the interface identification for the foreground display interface for getting current time mobile terminal screen,
Determining show with foreground is needed in relation record table to apply the corresponding target interface mark of current display interface, before having determined that
After platform shows the target interface mark using current display interface, it is also necessary to obtain in relation record table and be identified with target interface
Corresponding screen lock mode, after getting with target interface mark corresponding screen lock mode, it is also necessary to obtain current
Moment, the display direction of mobile terminal screen, and will screen lock mode corresponding with target interface mark and current time shifting
The display direction of dynamic terminal screen is compared judgement, it is determined whether it is consistent, if not it is consistent, then by relation record table
Middle target interface identifies the current screen locking mode that corresponding screen lock mode is determined as mobile terminal.
It is [using A, interface A 1-transverse screen locking mode, interface respectively for example, including two groups of data in relation record
A2-vertical screen locking mode], [applying B, interface B1-horizontal/vertical screen switch mode, interface B2-vertical screen locking mode], if currently
Premise display application application message be using A and interface A 1, then obtain relation record [using A, 1-transverse screen of interface A lock
Mode, 2-vertical screen of interface A locking mode], it is identified as interface A 1 from target interface, target interface interface identification A1 corresponds to screen
Locking mode is transverse screen locking mode, so that transverse screen locking mode to be determined as to the current screen locking mode of mobile terminal.From
And through this embodiment, be arranged relation record with facilitate be based on application message obtain current foreground show apply current display interface
Current screen locking mode, realization set with the screen lock mode special project for distinguishing different application difference interface (i.e. interface level)
It sets, user demand is more accurately bonded for the control of screen direction.
Further, described according to application message, the step of being dynamically determined the current screen locking mode of mobile terminal it
Before include:
Step S23, at interval of respectively each interface is respectively in use for application in preset duration statistics mobile terminal
The duration of different screen locking mode;
Before the step of according to application message, being dynamically determined the current screen locking mode of mobile terminal, it is also necessary to
The default list of application of one similar white list is first set in mobile terminal, applications all in mobile terminal, system default are answered
With or user select application enter into white list, and be arranged a preset duration, this preset duration can be according to the hobby of user
Demand carrys out self-setting, after setting preset duration, after a preset duration, needs to count default list of application
In respectively each interface is respectively at the duration of different screen locking mode in use for application.
Step S24, the interface identification for establishing each application interface correspond to interface with the interface identification and are in duration most
Relationship between big screen lock mode generates the relation record of each application;Wherein screen lock mode is locked including at least vertical screen
Mould-fixed, transverse screen locking mode and horizontal/vertical screen switch mode.
Need to establish the interface identification at each interface in respectively applying in default list of application in the terminal, and should
Interface identification corresponds to the relationship that interface is between duration maximum screen locking mode, and in each default list of application
Using the different relation record of each correspondence is generated, i.e., each applying in default list of application has corresponding relationship to remember
Record, and the interface identification of different each display interfaces and corresponding screen lock mode are added to respective relationship and remembered
Screen lock mode at least vertical screen locking mode, transverse screen locking mode and horizontal/vertical screen in record, and in relation record are cut
Mold changing formula.Through this embodiment, the screen lock mode for presetting each interface in respectively applying in list of application is made based on user
It is determined with liking, so that the real time screen locking mode of foreground display application is more bonded user demand, thus screen
The control in direction is more accurately bonded user demand.
Specifically, the athletic posture information according to the screen lock mode and mobile terminal adjusts mobile terminal
Include: after the step of display direction of screen
Step S25 is referred to if receiving user based on the adjustment in direction of the mobile terminal screen input after adjustment display direction
It enables, then corrects the display direction of mobile terminal screen according to revision directive, and based on the corresponding screen lock of display direction after amendment
Mould-fixed and the foreground are shown to be identified using the target interface of current display interface, is remembered to the relationship of foreground display application
Record is updated.
Side of the user based on the mobile terminal screen input after adjustment display direction is received if had in the terminal
It is not that user wants to revision directive, that is, in the display direction of mobile terminal screen, user can voluntarily modify, and pass through
The screen display interface of mobile terminal is to mobile terminal input direction revision directive, when mobile terminal receives the side of user's sending
To after revision directive, mobile terminal needs to correct the display direction of mobile terminal screen according to the revision directive received, and
And the target for applying current display interface can be also shown based on the corresponding screen lock mode of revised display direction and foreground
Interface identification is updated the relation record table of foreground display application, by the corresponding screen locking of revised display direction
Mode and foreground are shown to be put into relation record table using the target interface mark of current display interface, and will be original current aobvious
The target interface mark and original corresponding screen lock mode for showing interface are deleted, to guarantee that next time shows this interface
When, it is able to satisfy the demand of user.
In the present embodiment, by establishing the relation record table of each application in the terminal, and by each application
The mark at different interfaces and corresponding screen lock mode are added in respective relation record table, so as to automatic
The display interface of each application is automatically showed on the screen when users use, and when user is to this interface display
When direction is unsatisfied with, can voluntarily it be corrected according to the revision directive that user inputs, and keep this amendment record, to meet user's
Demand does not need constantly open and close lock-screen key, or ceaselessly carry out to allow user when using mobile terminal
Gravity sensing switches screen, enormously simplifies the use of user, improves the experience of user.
In addition, the embodiment of the present invention also proposes that a kind of screen display direction control device, the screen are shown referring to Fig. 6
Direction-control apparatus includes:
Module is obtained, for when mobile terminal screen is in bright screen state, obtaining the current foreground of mobile terminal screen
Show the application message of application;
Mode decision module, for being dynamically determined the current screen locking mode of mobile terminal according to the application message;
Direction adjusts module, and for the athletic posture information according to the screen lock mode and mobile terminal, adjustment is moved
The display direction of dynamic terminal screen.
The screen lock mode includes vertical screen locking mode and transverse screen locking mode,
Optionally, direction adjusts module, comprising:
Vertical screen adjustment unit locks the display side of mobile terminal screen when screen lock mode is vertical screen locking mode
To for vertical screen direction;
Transverse screen adjustment unit locks the display side of mobile terminal screen when screen lock mode is transverse screen locking mode
To for transverse screen direction.
The screen lock mode includes horizontal/vertical screen switch mode,
Optionally, direction adjusts module, further includes:
Horizontal/vertical screen switches adjustment unit, when screen lock mode is horizontal/vertical screen switch mode, according to the fortune of mobile terminal
Dynamic posture information, judges whether mobile terminal length direction and the first angle of space vertical direction are greater than the first predetermined angle;
Transverse screen unit, if first angle is greater than the first predetermined angle, the display direction for adjusting mobile terminal screen is
Transverse screen direction;
Vertical screen unit adjusts the display of mobile terminal screen if first angle is less than or equal to the first predetermined angle
Direction is vertical screen direction.
Optionally, before horizontal/vertical screen switching adjustment unit, comprising:
Face characteristic judging unit judges on mobile terminal screen light direction with the presence or absence of face features;
Face characteristic determination unit executes basis if there are face features on mobile terminal screen light direction
The athletic posture information of mobile terminal, judges whether the first angle of mobile terminal length direction and space vertical direction is greater than the
The step of one predetermined angle.
Optionally, mode decision module, comprising:
Relation record unit obtains the interface identification at each interface in the foreground display application according to the application message
With the relation record being associated between the screen lock mode used;
Determination unit determines that the foreground is shown and identifies using the target interface of current display interface, and by the relationship
Target interface identifies the current screen locking mode that corresponding screen lock mode is determined as mobile terminal in record.
Optionally it is determined that before unit, comprising:
Default unit, at interval of respectively each interface is respectively in use for application in preset duration statistics mobile terminal
The duration of different screen locking mode;
Generation unit, the interface identification for establishing each application interface correspond to interface with the interface identification and are in duration most
Relationship between big screen lock mode generates the relation record of each application;Wherein screen lock mode is locked including at least vertical screen
Mould-fixed, transverse screen locking mode and horizontal/vertical screen switch mode.
Optionally, direction adjusts module, comprising:
Adjustment in direction unit is repaired if receiving user based on the direction of the mobile terminal screen input after adjustment display direction
Positive order then corrects the display direction of mobile terminal screen according to revision directive, and based on the corresponding screen of display direction after amendment
Curtain locking mode and the foreground are shown to be identified using the target interface of current display interface, to the pass of foreground display application
System's record is updated.
Wherein, the step of each Implement of Function Module of screen display direction control device can refer to screen of the present invention and show
Each embodiment of direction-controlling method, details are not described herein again.
The present invention also provides a kind of terminal, the terminal includes: memory, processor, communication bus and is stored in institute
State the screen display direction control program on memory:
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing the screen display direction control program, to realize above-mentioned screen display direction control
The step of each embodiment of method.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage has one
Perhaps more than one program the one or more programs can also be executed by one or more than one processor with
The step of embodiment each for realizing above-mentioned screen display direction control method.
Computer readable storage medium specific embodiment of the present invention is respectively implemented with above-mentioned screen display direction control method
Example is essentially identical, and details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of screen display direction control method, which is characterized in that the screen display direction control method includes:
When mobile terminal screen is in bright screen state, the application letter of the current foreground display application of mobile terminal screen is obtained
Breath;
According to the application message, it is dynamically determined the current screen locking mode of mobile terminal;
According to the athletic posture information of the screen lock mode and mobile terminal, the display direction of mobile terminal screen is adjusted.
2. screen display direction control method as described in claim 1, which is characterized in that the screen lock mode includes perpendicular
Shield locking mode and transverse screen locking mode,
The athletic posture information according to the screen lock mode and mobile terminal, adjusts the display side of mobile terminal screen
To the step of include:
When screen lock mode is vertical screen locking mode, the display direction for locking mobile terminal screen is vertical screen direction;
When screen lock mode is transverse screen locking mode, the display direction for locking mobile terminal screen is transverse screen direction.
3. screen display direction control method as claimed in claim 2, which is characterized in that the screen lock mode includes cross
Vertical screen switch mode,
The athletic posture information according to the screen lock mode and mobile terminal, adjusts the display side of mobile terminal screen
To the step of include:
When screen lock mode is horizontal/vertical screen switch mode, according to the athletic posture information of mobile terminal, mobile terminal is judged
Whether the first angle of length direction and space vertical direction is greater than the first predetermined angle;
If first angle is greater than the first predetermined angle, the display direction for adjusting mobile terminal screen is transverse screen direction;
If first angle is less than or equal to the first predetermined angle, the display direction for adjusting mobile terminal screen is vertical screen side
To.
4. screen display direction control method as claimed in claim 3, which is characterized in that the movement according to mobile terminal
Posture information, judges whether the first angle of mobile terminal length direction and space vertical direction is greater than the step of the first predetermined angle
Include: before rapid
Judge on mobile terminal screen light direction with the presence or absence of face features;
If there are face features on mobile terminal screen light direction, executes and believed according to the athletic posture of mobile terminal
Breath judges the step of whether the first angle of mobile terminal length direction and space vertical direction is greater than the first predetermined angle.
5. screen display direction control method as described in claim 1, which is characterized in that described according to application message, dynamic
The step of determining the current screen locking mode of mobile terminal include:
According to the application message, obtain in the foreground display application interface identification at each interface be associated with the screen lock used
Relation record between mould-fixed;
It determines that the foreground is shown to identify using the target interface of current display interface, and by target interface in the relation record
Identify the current screen locking mode that corresponding screen lock mode is determined as mobile terminal.
6. screen display direction control method as claimed in claim 5, which is characterized in that described according to application message, dynamic
Include: before the step of determining the current screen locking mode of mobile terminal
At interval of respectively each interface is respectively at different screen locking in use for application in preset duration statistics mobile terminal
The duration of mode;
The interface identification for establishing each application interface corresponds to interface with the interface identification and is in the maximum screen locking of duration
Relationship between mode generates the relation record of each application;Wherein screen lock mode includes at least vertical screen locking mode, transverse screen is locked
Mould-fixed and horizontal/vertical screen switch mode.
7. screen display direction control method as claimed in claim 5, which is characterized in that described according to the screen lock cover half
The athletic posture information of formula and mobile terminal includes: after the step of adjusting the display direction of mobile terminal screen
If adjustment in direction instruction of the user based on the mobile terminal screen input after adjustment display direction is received, according to amendment
Instruction amendment mobile terminal screen display direction, and based on amendment after the corresponding screen lock mode of display direction and it is described before
Platform is shown to be identified using the target interface of current display interface, is updated to the relation record of foreground display application.
8. a kind of screen display direction control device, which is characterized in that the screen display direction control device includes:
Module is obtained, is shown for when mobile terminal screen is in bright screen state, obtaining the current foreground of mobile terminal screen
The application message of application;
Mode decision module, for being dynamically determined the current screen locking mode of mobile terminal according to the application message;
Direction adjusts module, for the athletic posture information according to the screen lock mode and mobile terminal, adjusts mobile whole
Hold the display direction of screen.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes: memory, processor and is stored in the storage
On device and the screen display direction control program that can run on the processor, screen display direction control program is by institute
State the step of realizing the screen display direction control method as described in any one of claims 1 to 7 when processor executes.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with screen display direction control journey on the readable storage medium storing program for executing
Sequence, the screen display direction control program realize the screen as described in any one of claims 1 to 7 when being executed by processor
The step of display direction control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811021832.6A CN109254715A (en) | 2018-08-31 | 2018-08-31 | Screen display direction control method, device, mobile terminal and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811021832.6A CN109254715A (en) | 2018-08-31 | 2018-08-31 | Screen display direction control method, device, mobile terminal and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109254715A true CN109254715A (en) | 2019-01-22 |
Family
ID=65047151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811021832.6A Pending CN109254715A (en) | 2018-08-31 | 2018-08-31 | Screen display direction control method, device, mobile terminal and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109254715A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109814789A (en) * | 2019-02-25 | 2019-05-28 | 努比亚技术有限公司 | Power button processing method, wearable device and computer readable storage medium |
CN110058686A (en) * | 2019-03-27 | 2019-07-26 | 南京维沃软件技术有限公司 | A kind of control method and terminal device |
CN110072012A (en) * | 2019-04-28 | 2019-07-30 | 维沃移动通信有限公司 | A kind of based reminding method and mobile terminal for screen state switching |
CN110557503A (en) * | 2019-08-14 | 2019-12-10 | 海信电子科技(武汉)有限公司 | screen display direction switching processing method and device and terminal equipment |
CN110960854A (en) * | 2019-11-21 | 2020-04-07 | 北京金山安全软件有限公司 | Image mobile display method and device, electronic equipment and storage medium |
CN111306352A (en) * | 2020-03-16 | 2020-06-19 | 深圳市合信达控制***有限公司 | Method and device for adjusting display direction of temperature control valve screen, temperature control valve and storage device |
CN111638847A (en) * | 2020-05-27 | 2020-09-08 | 维沃移动通信有限公司 | Split screen display method and device and electronic equipment |
CN112395019A (en) * | 2019-08-02 | 2021-02-23 | 深圳Tcl数字技术有限公司 | Method for automatically adjusting screen display direction, display terminal and storage medium |
CN112416491A (en) * | 2020-11-12 | 2021-02-26 | 联想(北京)有限公司 | Display state adjusting method, device, equipment and storage medium |
CN112711390A (en) * | 2020-12-31 | 2021-04-27 | 联想(北京)有限公司 | Continuous multi-frame image display output control method and electronic equipment |
CN112948037A (en) * | 2021-02-08 | 2021-06-11 | 深圳市慧为智能科技股份有限公司 | Application display direction control method, system, device and readable storage medium |
CN113535044A (en) * | 2021-07-05 | 2021-10-22 | 深圳康佳电子科技有限公司 | Screen rotation display method and device, terminal equipment and storage medium |
CN113965645A (en) * | 2021-09-17 | 2022-01-21 | 山东浪潮通软信息科技有限公司 | Mobile terminal-based horizontal and vertical screen switching method, equipment and medium |
CN114327724A (en) * | 2021-12-28 | 2022-04-12 | 广东艾檬电子科技有限公司 | Window interface correction method and device, terminal equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060238496A1 (en) * | 2005-04-22 | 2006-10-26 | Samsung Electronics Co.,Ltd. | Apparatus and method for displaying user interface for telecommunication terminal |
CN103677589A (en) * | 2013-12-30 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Terminal screen picture rotation control method and device |
CN103929541A (en) * | 2014-04-28 | 2014-07-16 | 深圳市中兴移动通信有限公司 | Method and device for controlling acceleration sensor and mobile terminal |
CN106527880A (en) * | 2016-09-22 | 2017-03-22 | 福建天泉教育科技有限公司 | iOS-based page rotation control method and system |
CN106791149A (en) * | 2016-12-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of method of mobile terminal and control screen |
-
2018
- 2018-08-31 CN CN201811021832.6A patent/CN109254715A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060238496A1 (en) * | 2005-04-22 | 2006-10-26 | Samsung Electronics Co.,Ltd. | Apparatus and method for displaying user interface for telecommunication terminal |
CN103677589A (en) * | 2013-12-30 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Terminal screen picture rotation control method and device |
CN103929541A (en) * | 2014-04-28 | 2014-07-16 | 深圳市中兴移动通信有限公司 | Method and device for controlling acceleration sensor and mobile terminal |
CN106527880A (en) * | 2016-09-22 | 2017-03-22 | 福建天泉教育科技有限公司 | iOS-based page rotation control method and system |
CN106791149A (en) * | 2016-12-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of method of mobile terminal and control screen |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109814789A (en) * | 2019-02-25 | 2019-05-28 | 努比亚技术有限公司 | Power button processing method, wearable device and computer readable storage medium |
CN110058686A (en) * | 2019-03-27 | 2019-07-26 | 南京维沃软件技术有限公司 | A kind of control method and terminal device |
CN110058686B (en) * | 2019-03-27 | 2023-01-24 | 南京维沃软件技术有限公司 | Control method and terminal equipment |
CN110072012A (en) * | 2019-04-28 | 2019-07-30 | 维沃移动通信有限公司 | A kind of based reminding method and mobile terminal for screen state switching |
CN112395019A (en) * | 2019-08-02 | 2021-02-23 | 深圳Tcl数字技术有限公司 | Method for automatically adjusting screen display direction, display terminal and storage medium |
CN110557503A (en) * | 2019-08-14 | 2019-12-10 | 海信电子科技(武汉)有限公司 | screen display direction switching processing method and device and terminal equipment |
CN110960854B (en) * | 2019-11-21 | 2023-07-25 | 北京金山安全软件有限公司 | Image mobile display method and device, electronic equipment and storage medium |
CN110960854A (en) * | 2019-11-21 | 2020-04-07 | 北京金山安全软件有限公司 | Image mobile display method and device, electronic equipment and storage medium |
CN111306352A (en) * | 2020-03-16 | 2020-06-19 | 深圳市合信达控制***有限公司 | Method and device for adjusting display direction of temperature control valve screen, temperature control valve and storage device |
CN111638847A (en) * | 2020-05-27 | 2020-09-08 | 维沃移动通信有限公司 | Split screen display method and device and electronic equipment |
CN111638847B (en) * | 2020-05-27 | 2022-01-28 | 维沃移动通信有限公司 | Split screen display method and device and electronic equipment |
CN112416491A (en) * | 2020-11-12 | 2021-02-26 | 联想(北京)有限公司 | Display state adjusting method, device, equipment and storage medium |
CN112416491B (en) * | 2020-11-12 | 2022-11-22 | 联想(北京)有限公司 | Display state adjusting method, device, equipment and storage medium |
CN112711390B (en) * | 2020-12-31 | 2022-07-26 | 联想(北京)有限公司 | Continuous multi-frame image display output control method and electronic equipment |
CN112711390A (en) * | 2020-12-31 | 2021-04-27 | 联想(北京)有限公司 | Continuous multi-frame image display output control method and electronic 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 |
CN113535044A (en) * | 2021-07-05 | 2021-10-22 | 深圳康佳电子科技有限公司 | Screen rotation display method and device, terminal equipment and storage medium |
CN113965645A (en) * | 2021-09-17 | 2022-01-21 | 山东浪潮通软信息科技有限公司 | Mobile terminal-based horizontal and vertical screen switching method, equipment and medium |
CN113965645B (en) * | 2021-09-17 | 2023-05-30 | 浪潮通用软件有限公司 | Transverse and vertical screen switching method, equipment and medium based on mobile terminal |
CN114327724A (en) * | 2021-12-28 | 2022-04-12 | 广东艾檬电子科技有限公司 | Window interface correction method and device, terminal equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109254715A (en) | Screen display direction control method, device, mobile terminal and readable storage medium storing program for executing | |
CN108881635A (en) | Screen luminance adjustment method, mobile terminal and computer readable storage medium | |
CN107315515A (en) | Color change method, terminal and the computer-readable recording medium of status bar icon | |
CN108172161A (en) | Display methods, mobile terminal and computer readable storage medium based on flexible screen | |
CN109672822A (en) | A kind of method for processing video frequency of mobile terminal, mobile terminal and storage medium | |
CN110086993A (en) | Image processing method, device, mobile terminal and computer readable storage medium | |
CN107705247A (en) | A kind of method of adjustment of image saturation, terminal and storage medium | |
CN108958936A (en) | Application programe switch-over method, mobile terminal and computer readable storage medium | |
CN109062465A (en) | A kind of application program launching method, mobile terminal and storage medium | |
CN107678625A (en) | Information Sharing menu display method, mobile terminal and computer-readable recording medium | |
CN108833690A (en) | authority control method, terminal and computer readable storage medium | |
CN110187808A (en) | Dynamic wallpaper setting method, device and computer readable storage medium | |
CN109842725A (en) | A kind of method for controlling volume of mobile terminal, mobile terminal and storage medium | |
CN109618049A (en) | Terminal screen method for handover control, terminal and computer readable storage medium | |
CN108810264A (en) | A kind of brightness adjusting method and terminal, computer readable storage medium | |
CN108829302A (en) | A kind of interaction regulation method, equipment and computer readable storage medium | |
CN107911422A (en) | A kind of switching handling method, terminal and computer-readable recording medium | |
CN109890072A (en) | Saving power for terminal control method, device, mobile terminal and readable storage medium storing program for executing | |
CN109977040A (en) | File read-write authority control method, device, terminal and storage medium | |
CN110064196A (en) | Method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN109445660A (en) | A kind of wearable device control method, mobile terminal and wearable device | |
CN110052024A (en) | Method of adjustment, adjustment device, mobile terminal and the storage medium of game vibration | |
CN109558009A (en) | Video broadcasting method, mobile terminal and computer readable storage medium | |
CN108881542A (en) | Mobile terminal call method, mobile terminal and computer readable storage medium | |
CN108762709A (en) | A kind of terminal control method, terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for 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: 20190122 |