CN108388413A - The screen control method and device of terminal, readable storage medium storing program for executing, terminal - Google Patents

The screen control method and device of terminal, readable storage medium storing program for executing, terminal Download PDF

Info

Publication number
CN108388413A
CN108388413A CN201810112071.9A CN201810112071A CN108388413A CN 108388413 A CN108388413 A CN 108388413A CN 201810112071 A CN201810112071 A CN 201810112071A CN 108388413 A CN108388413 A CN 108388413A
Authority
CN
China
Prior art keywords
terminal
posture information
axis
screen
acceleration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810112071.9A
Other languages
Chinese (zh)
Inventor
张强
陆智弘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810112071.9A priority Critical patent/CN108388413A/en
Publication of CN108388413A publication Critical patent/CN108388413A/en
Pending legal-status Critical Current

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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors

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

This application involves a kind of screen control methods of terminal and device, computer readable storage medium, terminal.This method includes:Terminal be in go out screen state when, whether detection terminal moves;When terminal occurs mobile, geomagnetic sensor and acceleration transducer based on terminal built-in obtain the posture information of terminal;Posture information includes three axis rotation angles and 3-axis acceleration;When posture information meets default bright set of hanging scrolls part, the bright screen of control terminal;If terminal does not configure gyroscope, the posture information for accurately obtaining terminal can be obtained based on acceleration transducer and geomagnetic sensor, when the posture information of terminal meets preset default bright set of hanging scrolls part, without user's Manual press physical button, the bright screen of realization that can directly accurately and timely operates, and the user experience is improved spends.

Description

The screen control method and device of terminal, readable storage medium storing program for executing, terminal
Technical field
This application involves field of terminal technology, screen control method and device, computer more particularly to a kind of terminal Readable storage medium storing program for executing, terminal.
Background technology
As terminal device enters the intelligent epoch, have become essential communication work in people's live and work Tool, requirement of the user to the usage experience of terminal are also higher and higher.Generally, terminal needs bright screen to usually require manually by physics Key frequently clicks secondary or physical bond and will also result in secondary or physical bond loss, also not convenient enough for users, is unfavorable for protecting mobile terminal, Do not have flexibility.In order to alleviate the loss of physical button, can be controlled based on the angular velocity data of the gyroscope of terminal built-in The light on and off screen of terminal processed, but some terminals are not provided with gyroscope, cannot achieve the bright screen control of terminal.
Invention content
The embodiment of the present application provides a kind of screen control method and device, computer readable storage medium, terminal of terminal, User's body can be improved based on the bright screen operation of the realization of the data that geomagnetic sensor and acceleration transducer acquire promptly and accurately Degree of testing.
A kind of screen control method of terminal, including:
Terminal be in go out screen state when, whether detection terminal moves;
When the terminal occurs mobile, geomagnetic sensor and acceleration transducer based on terminal built-in obtain the end The posture information at end;The posture information includes three axis rotation angles and 3-axis acceleration;
When the posture information meets default bright set of hanging scrolls part, the bright screen of the terminal is controlled.
A kind of screen control device of terminal, described device include:
Detection module, for terminal be in go out screen state when, whether detection terminal moves;
Acquisition module, for when the terminal occurs mobile, geomagnetic sensor and acceleration based on terminal built-in to pass Sensor obtains the posture information of the terminal;The posture information includes three axis rotation angles and 3-axis acceleration;And
Control module, for when the posture information meets default bright set of hanging scrolls part, controlling the bright screen of the terminal.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of screen control method of the terminal in each embodiment of the application is realized when row.
A kind of terminal, including memory, processor and storage are on a memory and the computer that can run on a processor Program, the processor realize the screen control method of the terminal in each embodiment of the application when executing the computer program The step of.
The screen control method and device of terminal provided by the embodiments of the present application, computer readable storage medium, terminal.When Terminal be in go out screen state when, whether detection terminal moves;When the terminal occurs mobile, the ground based on terminal built-in Magnetic Sensor and acceleration transducer obtain the posture information of the terminal;The posture information includes three axis rotation angles and three Axle acceleration;When the posture information meets default bright set of hanging scrolls part, the bright screen of the terminal is controlled;If terminal does not configure gyro When instrument, the posture information for accurately obtaining terminal can be obtained based on acceleration transducer and geomagnetic sensor, when the appearance of terminal State information meets preset when presetting bright set of hanging scrolls part, is not necessarily to user Manual press physical button, so that it may with directly accurately and timely Realize bright screen operation, the user experience is improved spends.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is the driver framework schematic diagram of sensor in one embodiment;
Fig. 2 is the internal structure schematic diagram of terminal in one embodiment;
Fig. 3 is the flow chart of the screen control method of terminal in one embodiment;
Fig. 4 is the coordinate system of acceleration transducer and geomagnetic sensor in terminal in one embodiment;
Fig. 5 is that whether detection terminal occurs mobile flow chart in one embodiment;
Fig. 6 is that geomagnetic sensor based on terminal built-in and acceleration transducer obtain the terminal in one embodiment The flow chart of posture information;
Fig. 7 is the flow chart of the screen control method of terminal in another embodiment;
Fig. 8 is the flow chart of the screen control method of terminal in another embodiment;
Fig. 9 is the structure diagram of the screen control device of terminal in one embodiment;
Figure 10 is the block diagram with the part-structure of the relevant mobile phone of terminal provided by the embodiments of the present application.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
It is appreciated that term " first " used in the present invention, " second " etc. can be used to describe herein various elements, But these elements should not be limited by these terms.These terms are only used to distinguish first element and another element.Citing comes It says, without departing from the scope of the invention, the first predetermined angle can be known as the second predetermined angle, and similarly, Second predetermined angle can be known as the first predetermined angle.First predetermined angle and the second predetermined angle both predetermined angle, But it is not same predetermined angle.
In one embodiment, as shown in Figure 1, providing a kind of driver framework schematic diagram of sensor.Wherein, the sensing The driver framework of device includes user's space layer 110, kernel spacing layer 120 and hardware layer 130.It may include on user's space layer 110 Application program 112, sensor can realize the detection to motion state of terminal by the application program 112, when the position of terminal When information and/or rotational angle reach default bright set of hanging scrolls part, terminal screen is lighted.Kernel spacing layer 120 includes I2C (Inter-Integrated Circuit, I2C bus) device drives 122, I2C cores 124 and I2C adapters 126.It is logical Driving of the realization of I2C device drives 122 to equipment end in I2C hardware architectures is crossed, equipment is generally articulated in by master chip (CPU) on the I2C adapters 126 controlled, data are exchanged with master chip by I2C adapters 126.I2C cores 124 provide The registration of I2C bus drivers and device drives, cancellation method.It is realized to the I2C adapters in hardware layer by I2C bus drivers 132 control, I2C bus drivers mainly contain the data structure of I2C adapters 132 and control I2C adapters 132 generate and lead to Believe the function of signal, control I2C adapters and I2C devices exchange datas.By the driver framework of above-mentioned sensor, it can be achieved that The screen control method of terminal in each embodiment of the application.
In one embodiment, as shown in Fig. 2, providing a kind of internal structure schematic diagram of terminal.The terminal includes logical Cross processor, memory and the display screen of system bus connection.Wherein, the processor is for providing calculating and control ability, branch Support the operation of entire terminal.Memory for storing data, program, and/or instruction code etc., stored on memory at least one Computer program, the computer program can be executed by processor, to realize that is provided in the embodiment of the present application is suitable for terminal The screen control method of terminal.Memory may include magnetic disc, CD, read-only memory (Read-Only Memory, ROM) Equal non-volatile memory mediums or random access memory (Random-Access-Memory, RAM) etc..For example, in a reality It applies in example, memory includes non-volatile memory medium and built-in storage.Non-volatile memory medium is stored with operating system, number According to library and computer program.A kind of screen of the terminal provided for realizing above each embodiment is provided in the database The relevant data of control method, for example the predeterminated position data for waking up terminal or angle-data can be stored with etc..The computer journey Sequence can be performed by processor, for realizing a kind of screen control method of terminal that each embodiment of the application is provided. Built-in storage provides the operation ring of cache for operating system, database and the computer program in non-volatile memory medium Border.Display screen can be touch screen, for example be capacitance plate or electrical screen, be used for the interface information of display terminal, display screen includes Bright screen state and screen state of going out, when terminal is in suspend mode, display screen is screen state of going out, when the screen of terminal is waken up Display screen is bright screen state.The terminal can be mobile phone, tablet computer or personal digital assistant or Wearable etc..
It will be understood by those skilled in the art that structure shown in Fig. 1, is only tied with the relevant part of application scheme The block diagram of structure, does not constitute the restriction for the terminal being applied thereon to application scheme, and specific terminal may include than figure Shown in more or fewer components, either combine certain components or arranged with different components.Such as the terminal further includes The sensor connected by system bus, sensor can be acceleration transducer, gyroscope, infrared sensor, earth magnetism biography One kind in sensor or more is detected for the status information to terminal, for example, can be used for detection terminal position data, Rotational angle, at a distance from external contact object etc..
Fig. 3 is the flow chart of the screen control method of terminal in one embodiment.The present embodiment is applied to such as in this way It is illustrated for terminal shown in Fig. 2.The screen control method of terminal in the present embodiment, for running in terminal into Row description.As shown in figure 3, the screen control method of terminal includes step 302 to step 308.
Step 302:Terminal be in go out screen state when, whether detection terminal moves.
Screen state includes screen state and the bright screen state of going out.Specifically, it can be examined by Power Manager Service The mode whether screen is lit is surveyed, determines that terminal is in bright screen state or puts out screen state.It is called when power receives light on and off screen Afterwards, mobile phone wakefullness states can be first configured, light on and off screen broadcast notice other application mobile phone is sent later and is in bright Shield screen state of still going out.
When terminal, which is in, goes out screen state, can be accelerated based on three axis of the acceleration transducer detection terminal of terminal built-in Degrees of data, when 3-axis acceleration data change, it may be considered that movement has occurred in terminal.It is, of course, also possible to based on eventually The sensor that end built-in other sensors, such as range sensor, proximity sensor etc. are capable of detection terminal location information comes Whether detection terminal moves.
It should be noted that it is above-mentioned enumerate be determine terminal screen state it is for example and not limitation, can also pass through Other modes are detected the screen state of terminal.
Step 304:When the terminal occurs mobile, geomagnetic sensor and acceleration transducer based on terminal built-in obtain Take the posture information of the terminal;The posture information includes three axis rotation angles and 3-axis acceleration.
It can be based on the ground of terminal built-in when terminal occurs mobile according to the data that the sensor of terminal built-in acquires Magnetic Sensor and acceleration transducer obtain the posture information of terminal, wherein the posture information of terminal includes that tri- axis of X, Y, Z adds Tri- axis rotation angle of speed and X, Y, Z.
Acceleration transducer can in real time detection terminal X, Y, Z 3-axis acceleration component.Acceleration transducer is in this reality It can be gravity accelerometer (Gravity Sensor, G-sensor) to apply in example, and being can sense accelerations size MEMS sensor can obtain adding on three axially different components (tri- axis component of X, Y, Z) respectively by acceleration Speed, to notify upper layer application to make respective handling.According to acceleration transducer obtain X, Y, Z 3-axis acceleration data, The pitch angle (roll) and roll angle (pitch) of present terminal can be obtained according to acceleration value and the transformational relation of angle, In, pitch angle is the rotation angle in Y direction, and practical is exactly X-axis and the angle of horizontal plane;Roll angle is in X-direction Rotational angle is exactly the elevation angle of Y-axis and horizontal plane in fact.
Geomagnetic sensor (Magnetic Field Sensors) can be used for detecting magnetic field size, unit uT (microteslas), geomagnetic sensor is also referred to as compass (compass).Geomagnetic sensor can identify terminal and the earth The angle of the arctic, that is, the azimuth (azimuth) of terminal can be obtained by geomagnetic sensor, as shown in figure 4, here Azimuth refers to angle of the terminal along screen long axis direction and due north, and the azimuth is it is also assumed that be acceleration transducer Rotation angle in coordinate system about the z axis.
That is, if the configuration of terminal is relatively low, when not configuring this kind of high end sensor of gyroscope, based on terminal in the application Built-in acceleration transducer and geomagnetic sensor can also accurately obtain the posture information at any one time of terminal, then It lays a good foundation to judge whether to meet default bright set of hanging scrolls part.Alternatively, in order to reduce the volume of cost and terminal, it is convenient to omit top This hardware of spiral shell instrument.
Step 306:When the posture information meets default bright set of hanging scrolls part, the bright screen of the terminal is controlled.
Default bright set of hanging scrolls part is prestored in terminal, it is to lift bright screen, dig out the bright screen of pocket, turn over that this, which presets bright set of hanging scrolls part, Turn bright screen etc..Since posture information includes posture, the terminal of 3-axis acceleration and three axis rotation angles namely user's handheld terminal Placement posture etc. can be characterized with posture information.
Lift bright screen, pocket digs out bright screen, the condition of the bright screen of overturning can use 3-axis acceleration and three axis rotation angles To characterize.For example, terminal occur it is mobile before and it is mobile after terminal display screen towards human face region, and Y-axis acceleration becomes Change amount just meets lift hand bright set of hanging scrolls part when being more than preset value, wherein the display screen of terminal can use three axis towards human face region Acceleration information characterizes.After terminal moves, Y-axis rotation angle is more than the display screen of preset value and present terminal Lift hand bright set of hanging scrolls part is also complied with when towards human face region, wherein the display screen of terminal can be added towards human face region with three axis Speed data characterizes.Correspondingly, after terminal moves, 3-axis acceleration and three axis rotation angles reach certain numerical value When can meet pocket and dig out bright screen, the bright set of hanging scrolls part of overturning.
When the posture information of terminal meets default bright set of hanging scrolls part, so that it may with the bright screen of control terminal.
The screen control method of above-mentioned terminal can be based on terminal built-in when the terminal in screen state of going out moves Geomagnetic sensor and acceleration transducer obtain terminal posture information;The posture information includes three axis rotation angles and three Axle acceleration;When the posture information meets default bright set of hanging scrolls part, the bright screen of the terminal is controlled;If terminal does not configure gyro When instrument, the posture information for accurately obtaining terminal can be obtained based on acceleration transducer and geomagnetic sensor, when the appearance of terminal State information meets preset when presetting bright set of hanging scrolls part, is not necessarily to user Manual press physical button, so that it may with directly accurately and timely Realize bright screen operation, the user experience is improved spends.
Fig. 5 is that whether detection terminal occurs mobile flow chart in one embodiment.Whether detection terminal moves, packet It includes:
Step 502:Obtain the 3-axis acceleration of the acceleration transducer acquisition.
Terminal, which is equipped with, lifts bright screen functional switch, such as switch names are " lifting bright screen ", are lifted for being turned on and off Bright screen function.Optionally, terminal can receive the operational order that user inputs at setting interface and lift bright screen to be turned on and off Function, operational order can be at least one of touch control operation, voice operating, button operation;Terminal can also be according to difference Switch to scene intelligent this and lift bright screen switch, such as 24:00~8:Close in 00 period and lift bright screen function, other when Between section unlatching lift bright screen function.
The accelerated motion that bright screen function is opened and terminal is carried in screen state of going out, acceleration transducer is lifted when terminal It detects (Accel Motion Detect, AMD) function to start to work, the current 3-axis acceleration of detection terminal.
Step 506:When the acceleration at least one reference axis changes, then the terminal moves.
When terminal is kept flat on the table, three axis component of acceleration (X, Y, Z) is (0,0,9.81);Terminal is placed on desktop downward When upper, three axis component of acceleration (X, Y, Z) is (0,0, -9.81);When terminal is tilted to the left, acceleration X-axis is positive value;Terminal to When right bank, acceleration X-axis is negative value;When terminal tilts upwards, acceleration Y-axis is negative value;When terminal tilts down, acceleration Y-axis is positive value.When rotating terminal, the value of X, Y, Z axis will constantly change.Namely, it can be understood as terminal is in In one coordinate system, it can judge whether terminal moves by judging the variable quantity of tri- axis component of current X, Y, Z, that is, working as X, when the acceleration in tri- axis of Y, Z at least one reference axis changes, then the terminal moves.
Fig. 6 is that geomagnetic sensor based on terminal built-in and acceleration transducer obtain the terminal in one embodiment The flow chart of posture information.
When the terminal occurs mobile, geomagnetic sensor and acceleration transducer based on terminal built-in obtain the end The posture information at end, including:
Step 602:When the terminal occurs mobile, starts the geomagnetic sensor and obtain the terminal and earth north The angle of pole.
When terminal occurs mobile, acceleration transducer can send interrupt requests to master chip, and master chip receives interruption After request, master chip wakes up geomagnetic sensor in a dormant state, keeps geomagnetic sensor in running order, and open main core The data transmission channel of piece and geomagnetic sensor carries out data exchange with geomagnetic sensor.Wherein, interrupt requests are indicated to main core Piece is filed an application (such as sending an electric impulse signal), it is desirable that master chip interrupts work at present, and processing surrounding hardware proposes Demand.
Acceleration transducer and geomagnetic sensor are not to open simultaneously, when acceleration transducer detects three axis of terminal When acceleration changes, so that the gyroscope in low power consumpting state is restored to working condition, power consumption can be saved.
Further, it after terminal moves, and remains static, is passed with earth magnetism at this point it is possible to close master chip The data transmission channel of sensor makes geomagnetic sensor restore again to dormant state, to save power consumption, improve continuation of the journey duration.
When geomagnetic sensor is started to work, geomagnetic sensor can obtain the angle of present terminal and the earth arctic, That is azimuth, the azimuth is it is also assumed that be the rotation angle in acceleration transducer coordinate system about the z axis.
Step 604:In preset time, Z axis rotation angle is obtained according to the variable quantity of the angle.
The initial time of preset time is that mobile moment occurs for terminal, and terminal is occurred mobile at the time of defines First moment, any moment in the preset time can persistently obtain terminal and the earth arctic by geomagnetic sensor Angle, and any moment (removing for the first moment) in preset time was defined as the second moment.That is, in preset time, it can To obtain the first moment and the second moment terminal and the variable quantity with the angle of the earth arctic, and using the variable quantity as this first The Z axis rotation angle at moment to the second moment.That is, can continue to obtain Z axis rotation angle in preset time.
Optionally, Z axis rotation angle can also be according to the acceleration transducer X-axis and angle of horizontal plane, Y-axis and horizontal plane The elevation angle and the geomagnetic sensor magnetic induction intensity component of three axis that measures obtain.
Step 606:In the preset time, X, Y, Z 3-axis acceleration based on acceleration transducer acquisition obtain Take X-axis rotation angle and Y-axis rotation angle.
Acceleration transducer can obtain X, Y, Z 3-axis acceleration of terminal at any time.Wherein, under body coordinate system 3-axis acceleration can be expressed as (ax, ay, az).When terminal is static to be placed on desktop (display screen is upward), sat in geography The lower acceleration of gravity of mark system is (0,0, g).Since pitch angle roll is the rotation angle in Y direction, it can be understood as X-axis and The angle of horizontal plane;Roll angle pitch is the rotational angle in X-direction, it can be understood as the elevation angle of Y-axis and horizontal plane.This When, according to following equation, the pitch angle roll and roll angle pitch of present terminal can be obtained:
Roll=arctan (ay/az);
Pitch=-arctan (ax/az)
In formula, the sign of pitch angle roll and roll angle pitch self-defined can be arranged, ax, ay, azIt indicates to work as respectively X, Y, Z 3-axis acceleration under preceding body coordinate system.
The elevation angle of the X-axis of present terminal and the angle of horizontal plane and Y-axis and horizontal plane can be obtained according to above-mentioned formula. In preset time, the rotation angle at the first moment and the second moment terminal X-axis and the angle of horizontal plane can be obtained, and by the rotation Gyration is defined as X-axis rotation angle.In preset time, the first moment and the second moment terminal Y-axis and level can be obtained The rotation angle of the angle in face, and the rotation angle is defined as Y-axis rotation angle.That is, can continue in preset time Obtain X-axis rotation angle and Y-axis rotation angle.
Step 608:It is obtained according to X, Y, Z 3-axis acceleration, X-axis rotation angle, Y rotation angles and Z axis rotation angle Take the posture information of the terminal.
Acceleration transducer based on terminal built-in can obtain X, Y, Z 3-axis acceleration of any moment, and according to obtaining X, Y, Z 3-axis acceleration taken can obtain X-axis rotation angle and Y-axis rotation angle in preset time.Meanwhile being based on earth magnetism Sensor can obtain the Z axis rotation angle in preset time, and then obtain the posture information of terminal.The posture information includes The information of 3-axis acceleration and three two dimensions of axis rotation angle, can accurately obtain the posture information of terminal, and then can be with Accurately and timely judge whether posture information of the terminal in the preset time meets default bright set of hanging scrolls part.
Fig. 7 is the flow chart of the screen control method of terminal in another embodiment.
In one embodiment, the screen control method of terminal further includes before posture information meets default bright set of hanging scrolls part:
Step 702:Obtain the first posture information that mobile eve occurs for the terminal.
Terminal occurs mobile eve and remains static, and when terminal remains static, can be based on acceleration Sensor obtains the 3-axis acceleration of stationary state.Meanwhile three axis can be obtained based on acceleration transducer and geomagnetic sensor Rotation angle, at this point, three axis rotation angles are 0 degree.
Step 704:In the preset time, the second posture information of the terminal is persistently obtained;Wherein, described default Start recording when time occurs mobile from the terminal.
Start recording when preset time occurs mobile from the terminal, the i.e. initial time of preset time are that terminal is moved That dynamic moment, and terminal is occurred mobile at the time of defined for the first moment.Any moment in preset time (is removed first Moment) it was defined as the second moment.At the second moment, tri- axis of X, Y, Z that terminal this moment can be obtained according to acceleration transducer adds Speed can be obtained based on acceleration sensor and geomagnetic sensor out of the first moment to the second moment the period certainly X, tri- axis rotation angle of Y, Z, that is, can obtain terminal the second moment the second posture information.Correspondingly, can obtain pre- If the posture information of any moment in the time.
Step 706:Judged whether to meet default bright set of hanging scrolls part according to first posture information and the second posture information.
According to the first posture information of acquisition and the second posture information it may determine that present terminal whether meet it is default bright Set of hanging scrolls part.
Further, the default bright set of hanging scrolls part includes at least one of following five kinds of conditions:
First, the 3-axis acceleration in the first posture information is in the first preset range, and in second posture information 3-axis acceleration in the second preset range.
Specifically, the first preset range is -4.5<ax<4.5;-5<ay<5, -9.8<az<When -5, show the aobvious of present terminal Display screen curtain is downward (towards the earth's core).Second preset range is -5<ax<5, -2<ay<9.8,0.5<az<When 9.8, present terminal is shown Human face region of the display screen curtain towards user.When meeting the preset condition in preset time, just meet the bright set of hanging scrolls part of the first overturning. That is, the stationary state of terminal be terminal display screen downward (towards the earth's core), in preset time, if the display screen of terminal The human face region of curtain towards user then meet the bright set of hanging scrolls part of the first overturning.
Second, the 3-axis acceleration of the first posture information and second posture information is in third preset range, and The variable quantity of Y-axis acceleration is more than predetermined threshold value in the preset time.
Specifically, third preset range is -4<ax<4;2<ay<9.8,3.5<az<When 9.5, show the display of present terminal Human face region of the screen towards user, wherein predetermined threshold value 3m/s2.When meeting the preset condition in preset time, just accord with It has closed first and has lifted bright set of hanging scrolls part.That is, the stationary state of terminal is display human face region of the screen towards user of terminal, In preset time, if the display screen of terminal is towards the human face region of user and the variable quantity of Y-axis acceleration is more than predetermined threshold value Shi Ze meets the bright set of hanging scrolls part of the first overturning.
Third, in the preset time, Y-axis rotation angle is more than the first predetermined angle, and Z axis rotation angle is more than second Predetermined angle, and the 3-axis acceleration in second posture information is in the 4th preset range.
Specifically, the first predetermined angle is 40 degree, and the second predetermined angle is 15 degree.When the 4th preset range is -5<ax<5; 2<ay<9.8;0.5<az<When 9.8, show display human face region of the screen towards user of present terminal.It is accorded in preset time When closing the preset condition, pocket is just met and has dug out bright set of hanging scrolls part.
Fourth, in the preset time, Y-axis rotation angle is more than third predetermined angle, and second posture information In 3-axis acceleration in the 5th preset range.
Specifically, third predetermined angle is 70 degree.When the 5th preset range is -5<ax<5;-2<ay<9.8;0.5<az<9.8 When, show display human face region of the screen towards user of present terminal.When meeting the preset condition in preset time, just accord with The second bright set of hanging scrolls part of overturning is closed.
Fifth, in the preset time, X-axis rotation angle is more than the 4th predetermined angle, and second posture information In 3-axis acceleration in the 6th preset range.
Specifically, the 4th predetermined angle is 25 degree.When the 5th preset range is -4<ax<4;2<ay<9.8;3.5<az<9.8 When, show display human face region of the screen towards user of present terminal.When meeting the preset condition in preset time, just accord with It has closed second and has lifted bright set of hanging scrolls part.
In preset time, when the posture information of terminal meet above-mentioned five kinds preset bright set of hanging scrolls parts in it is any when, Without user's Manual press physical button, so that it may it is operated with the bright screen of realization directly accurately and timely, meanwhile, it is a variety of to preset bright set of hanging scrolls Part corresponds to plurality of application scenes, that is, in different application scenarios, can realize automatic bright screen, the user experience is improved Degree.
In one embodiment, described when the posture information meets default bright set of hanging scrolls part, the bright screen of the terminal is controlled, It specifically includes:When the posture information meets default bright set of hanging scrolls part, the bright screen of the terminal is controlled, and in bright screen preset duration Delete the rotation angle of gyroscope acquisition.
Specifically, when the posture information obtained in preset time meets default bright set of hanging scrolls part, the bright screen of control terminal.Meanwhile At the time of terminal bright screen, the bright screen duration of start recording is deleted when the bright screen duration reaches bright screen preset duration in the bright screen The 3-axis acceleration data of acceleration acquisition in preset duration.
Further, which could be provided as 0.2s-0.6s, that is, after terminal bright screen, master chip mistake Filter the 3-axis acceleration data of 0.2s-0.6s in bright screen time started section.If in the bright screen preset duration, posture information is just not The default set of hanging scrolls part that goes out can be met, it in this way can be to avoid user from the posture dug out in pocket or knapsack during terminal after bright screen Information meets the default set of hanging scrolls part that goes out, and in a short time, user also has not enough time to check the information of display interface, and terminal is in again goes out The generation of screen state such case can occur to avoid the malfunction for the screen that goes out, improve the Experience Degree of user.
Fig. 8 is the flow chart of the screen control method of terminal in another embodiment.
In one embodiment, the screen control method of terminal, including:
Step 802:Terminal be in go out screen state when, whether detection terminal moves;
Step 804:When the terminal occurs mobile, geomagnetic sensor and acceleration transducer based on terminal built-in obtain Take the posture information of the terminal;The posture information includes three axis rotation angles and 3-axis acceleration;
Step 806:When the posture information meets default bright set of hanging scrolls part, the bright screen of the terminal is controlled;
Step 802- steps 806 are corresponded with the step 302- steps 308 in previous embodiment, here, not repeating.
The method further includes:
Step 808:Detect the bright screen duration of the terminal.
When the posture information of acquisition meets default bright set of hanging scrolls part, the bright screen of the terminal is controlled, terminal is then obtained and is in The bright screen duration of bright screen state.Wherein, when the bright screen of bright screen duration control terminal since step 806 count, current time knot Beam.
Step 810:When the bright screen duration, which is more than, presets bright screen duration, when the posture information meets the default set of hanging scrolls that goes out Triggering, which is gone out, when part shields control instruction;Wherein, the screen control instruction of going out is gone out screen for controlling the terminal.
When bright screen duration, which is more than, presets bright screen duration, start the posture information for obtaining terminal, is obtained when bright screen state Posture information meet it is default go out set of hanging scrolls part when, triggering is gone out screen control instruction, wherein the screen control instruction of going out is described for controlling Terminal is gone out screen.
Specifically, presetting bright screen duration could be provided as 3s, i.e., within the beginning 3s times that terminal is in bright screen state, no The posture information of tube terminal is how, go out screen processing to terminal, can be to avoid the bright screen of terminal after, user also has not enough time to It checks that the information of display interface, terminal are quickly gone out the case where shielding again, improves the Experience Degree of user.
Wherein, it presets the rotation angle that the set of hanging scrolls part that goes out can be X-axis component and is more than or equal to 20 degree, and Y-axis acceleration is less than 0.05m/s2.When posture information meet this it is default go out set of hanging scrolls part when, show the terminal by lifting status (initial position:Terminal Display interface is towards face) it is changed into down state (user's handheld terminal arm naturally droops state), the default set of hanging scrolls part that goes out is Put down the set of hanging scrolls part that goes out.
Optionally, presetting the set of hanging scrolls part that goes out can also be all higher than for the rotation angle of Y-axis component, z-component equal to 30 degree and Y Axle acceleration is less than 1m/s2.Wherein, the rotation angle of Y-axis component is more than or equal to 30 degree, the rotation angle of z-component more than etc. It is less than 1m/s in 40 degree and Y-axis acceleration2.When posture information meet this it is default go out set of hanging scrolls part when, show the terminal by lifting shape State (initial position:The display interface of terminal is towards face) it is changed into down state (terminal places pocket state), the default screen that goes out Condition is to put back to pocket to go out set of hanging scrolls part.
Optionally, the default set of hanging scrolls part that goes out can also be that the rotation angle of X-axis component can be more than or equal to 30 degree and Z axis adds Speed is less than -9.81m/s2, or, the default set of hanging scrolls part that goes out can be able to be more than or equal to 30 degree and Z with the rotation angle of Y-axis component Axle acceleration is less than -9.81m/s2The default set of hanging scrolls part that goes out is to overturn the set of hanging scrolls part that goes out.
The screen control method of terminal in the present embodiment goes out when bright screen duration, which is more than, presets bright screen duration in conjunction with default Set of hanging scrolls part, so that it may accurately, timely to carry out screen control of going out to terminal, power button is used without user, it is convenient to use, Power consumption is saved, at the same time it can also avoid carrying out screen processing of going out to terminal in the short time, improves the Experience Degree of user.
It should be understood that although each step in the flow chart of Fig. 3-8 is shown successively according to the instruction of arrow, These steps are not that the inevitable sequence indicated according to arrow executes successively.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 3-8 Part steps may include that either these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can either the sub-step of other steps or at least part in stage be in turn or alternately with other steps It executes.
Fig. 9 is the structure diagram of the screen control device of the terminal of one embodiment.The screen control device of terminal, it is described Device includes:
Detection module 910, for terminal be in go out screen state when, whether detection terminal moves;
Acquisition module 920 is used for when the terminal occurs mobile, the geomagnetic sensor based on terminal built-in and acceleration Sensor obtains the posture information of the terminal;The posture information includes three axis rotation angles and 3-axis acceleration;And
Control module 930, for when the posture information meets default bright set of hanging scrolls part, controlling the bright screen of the terminal.
The screen control device of above-mentioned terminal can be based on terminal built-in when the terminal in screen state of going out moves Geomagnetic sensor and acceleration transducer obtain terminal posture information;The posture information includes three axis rotation angles and three Axle acceleration;When the posture information meets default bright set of hanging scrolls part, the bright screen of the terminal is controlled;If terminal does not configure gyro When instrument, the posture information for accurately obtaining terminal can be obtained based on acceleration transducer and geomagnetic sensor, when the appearance of terminal State information meets preset when presetting bright set of hanging scrolls part, is not necessarily to user Manual press physical button, so that it may with directly accurately and timely Realize bright screen operation, the user experience is improved spends.
In one embodiment, acquisition module, including:
Start unit starts the geomagnetic sensor and obtains the terminal and the earth when the terminal occurs mobile The angle of the arctic;
First acquisition unit, in preset time, Z axis rotation angle to be obtained according to the variable quantity of the angle;
Second acquisition unit, tri- axis of X, Y, Z in the preset time, being acquired based on the acceleration transducer Acceleration obtains X rotation angles and Y-axis rotation angle;
Third acquiring unit, for being revolved according to X, Y, Z 3-axis acceleration, Z axis rotation angle, X rotation angles and Y-axis Gyration obtains the posture information of the terminal.
In one embodiment, described device further includes:
First posture information of mobile eve occurs for obtaining the terminal for judgment module;In the preset time It is interior, persistently obtain the second posture information of the terminal;Wherein, the preset time is remembered since when the terminal occurs mobile Record;Judged whether to meet default bright set of hanging scrolls part according to first posture information and the second posture information.
In one embodiment, detection module is additionally operable to obtain the 3-axis acceleration of the acceleration transducer acquisition;When When acceleration at least one reference axis changes, then the terminal moves.
In one embodiment, control module is additionally operable to when the posture information meets default bright set of hanging scrolls part, controls institute The bright screen of terminal is stated, and deletes the 3-axis acceleration of acceleration acquisition in bright screen preset duration.
In one embodiment, described device further includes:
Detection module, the bright screen duration for detecting the terminal;
Control module, be additionally operable to when the bright screen duration be more than preset bright screen duration when, when the posture information meet it is pre- If go out set of hanging scrolls part when triggering go out screen control instruction;Wherein, the screen control instruction of going out is gone out screen for controlling the terminal.
Device in the present embodiment, when bright screen duration, which is more than, presets bright screen duration, in conjunction with the default set of hanging scrolls part that goes out, so that it may with Accurately, screen control of going out timely is carried out to terminal, power button is used without user, it is convenient to use, power consumption is saved, together When, it can also avoid carrying out screen processing of going out to terminal in the short time, improve the Experience Degree of user.
The division of modules is only used for for example, in other embodiments in the screen control device of above-mentioned terminal, The screen control device of terminal can be divided into different modules, to complete the screen control device of above-mentioned terminal as required All or part of function.
The specific of screen control device about terminal limits the screen control method that may refer to above for terminal Restriction, details are not described herein.Modules in the screen control device of above-mentioned terminal can be fully or partially through software, hard Part and combinations thereof is realized.Above-mentioned each module can be embedded in or in the form of hardware independently of in the processor in computer equipment, It can also in a software form be stored in the memory in computer equipment, the above modules are executed in order to which processor calls Corresponding operation.
The realization of modules in the screen control device of the terminal provided in the embodiment of the present application can be computer journey The form of sequence.The computer program can be run in terminal or server.The program module that the computer program is constituted can store On the memory of terminal or server.When the computer program is executed by processor, realize described in the embodiment of the present application The step of method.
The embodiment of the present application also provides a kind of computer readable storage mediums.One or more is executable comprising computer The non-volatile computer readable storage medium storing program for executing of instruction, when the computer executable instructions are executed by one or more processors When so that the processor executes the step of screen control method of terminal.
A kind of computer program product including instruction, when run on a computer so that computer executes terminal Screen control method.
The embodiment of the present application also provides a kind of terminals.As shown in Figure 10, for convenience of description, it illustrates only and the application The relevant part of embodiment, particular technique details do not disclose, please refer to the embodiment of the present application method part.The terminal can be Including mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer, the arbitrary terminal device such as Wearable, by taking terminal is mobile phone as an example:
Figure 10 is the block diagram with the part-structure of the relevant mobile phone of terminal provided by the embodiments of the present application.With reference to figure 10, hand Machine includes:Radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, input unit 1030, display unit 1040, Sensor 1050, voicefrequency circuit 1060, Wireless Fidelity (wireless fidelity, WiFi) module 1070, processor 1080, And the equal components of power supply 1090.It will be understood by those skilled in the art that handset structure shown in Fig. 10 is not constituted to mobile phone It limits, may include either combining certain components or different components arrangement than illustrating more or fewer components.
Wherein, RF circuits 1010 can be used for receiving and sending messages or communication process in, signal sends and receivees, can be by base station After downlink information receives, handled to processor 1080;The data of uplink can also be sent to base station.In general, RF circuits include But be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 1010 can also be communicated with network and other equipment by radio communication.It is above-mentioned wireless Communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE)), Email, Short message service (Short Messaging Service, SMS) etc..
Memory 1020 can be used for storing software program and module, and processor 1080 is stored in memory by operation 1020 software program and module, to execute various function application and the data processing of mobile phone.Memory 1020 can be led To include program storage area and data storage area, wherein program storage area can storage program area, needed at least one function Application program (such as the application program of sound-playing function, application program of image player function etc.) etc.;It data storage area can Storage uses created data (such as audio data, address list etc.) etc. according to mobile phone.In addition, memory 1020 can wrap High-speed random access memory is included, can also include nonvolatile memory, for example, at least disk memory, a flash memories Part or other volatile solid-state parts.
Input unit 1030 can be used for receiving the number or character information of input, and generates and set with the user of mobile phone 1000 It sets and the related key signals of function control inputs.Specifically, input unit 1030 may include operation panel 1031 and other Input equipment 1032.Operation panel 1031, alternatively referred to as touch screen collect user on it or neighbouring touch operation (are compared Such as user is using finger, stylus any suitable object or attachment on operation panel 1031 or near operation panel 1031 Operation), and corresponding attachment device is driven according to preset formula.In one embodiment, operation panel 1031 can Including both touch detecting apparatus and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and examine The signal that touch operation is brought is surveyed, touch controller is transmitted a signal to;Touch controller is received from touch detecting apparatus to be touched Information is touched, and is converted into contact coordinate, then gives processor 1080, and order that processor 1080 is sent can be received and added To execute.Furthermore, it is possible to realize operation panel using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves 1031.In addition to operation panel 1031, input unit 1030 can also include other input equipments 1032.Specifically, other are inputted Equipment 1032 can include but is not limited to one in physical keyboard, function key (such as volume control button, switch key etc.) etc. Kind is a variety of.
Display unit 1040 can be used for showing information input by user or be supplied to user information and mobile phone it is each Kind menu.Display unit 1040 may include display panel 1041.In one embodiment, liquid crystal display may be used (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, ) etc. OLED forms configure display panel 1041.In one embodiment, operation panel 1031 can cover display panel 1041, When operation panel 1031 detects on it or after neighbouring touch operation, processor 1080 is sent to determine touch event Type is followed by subsequent processing device 1080 and provides corresponding visual output on display panel 1041 according to the type of touch event.Although In Fig. 10, operation panel 1031 and display panel 1041 are to realize the input and input of mobile phone as two independent components Function, but in some embodiments it is possible to operation panel 1031 and display panel 1041 are integrated and are realized the input of mobile phone And output function.
Mobile phone 1000 may also include at least one sensor 1050, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor may include ambient light sensor and range sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 1041, and range sensor can close display when mobile phone is moved in one's ear Panel 1041 and/or backlight.Motion sensor may include acceleration transducer, can detect all directions by acceleration transducer The size of upper acceleration can detect that size and the direction of gravity when static, the application that can be used to identify mobile phone posture is (such as horizontal Vertical screen switches), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, Other sensors such as hygrometer, thermometer, infrared sensor etc..
Voicefrequency circuit 1060, loud speaker 1061 and microphone 1062 can provide the audio interface between user and mobile phone.Sound The transformed electric signal of the audio data received can be transferred to loud speaker 1061 by frequency circuit 1060, by 1061 turns of loud speaker It is changed to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1062, by voicefrequency circuit Audio data is converted to after 1060 receptions, then by after the processing of audio data output processor 1080, can be sent out through RF circuits 1010 Another mobile phone is given, or audio data is exported to memory 1020 so as to subsequent processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1070 Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Figure 10 is shown WiFi module 1070, but it is understood that, and it is not belonging to must be configured into for mobile phone 1000, it can save as needed Slightly.
Processor 1080 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, By running or execute the software program and/or module that are stored in memory 1020, and calls and be stored in memory 1020 Interior data execute the various functions and processing data of mobile phone, to carry out whole monitoring to mobile phone.In one embodiment, Processor 1080 may include one or more processing units.In one embodiment, processor 1080 can integrate application processor And modem, wherein the main processing operation system of application processor, user interface and application program etc.;Modem Main processing wireless communication.It is understood that above-mentioned modem can not also be integrated into processor 1080.For example, The processor 1080 can integrate application processor and baseband processor, baseband processor with and the composable tune such as other peripheral chips Modulator-demodulator.Mobile phone 1000 further includes the power supply 1090 (such as battery) powered to all parts, it is preferred that power supply can pass through Power-supply management system and processor 1080 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system The functions such as consumption management.
In one embodiment, mobile phone 1000 can also include camera, bluetooth module etc..
In the embodiment of the present application, when the processor included by the mobile phone executes the computer program of storage on a memory Realize the screen control method of above-mentioned described terminal.
Used in this application may include to any reference of memory, storage, database or other media is non-volatile And/or volatile memory.Suitable nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include arbitrary access Memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as It is static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
Above example only expresses the several embodiments of the application, the description thereof is more specific and detailed, but can not Therefore it is interpreted as the limitation to the application the scope of the claims.It should be pointed out that for those of ordinary skill in the art, Under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection model of the application It encloses.Therefore, the protection domain of the application patent should be determined by the appended claims.

Claims (10)

1. a kind of screen control method of terminal, which is characterized in that including:
Terminal be in go out screen state when, whether detection terminal moves;
When the terminal occurs mobile, geomagnetic sensor and acceleration transducer based on terminal built-in obtain the terminal Posture information;The posture information includes three axis rotation angles and 3-axis acceleration;
When the posture information meets default bright set of hanging scrolls part, the bright screen of the terminal is controlled.
2. according to the method described in claim 1, it is characterized in that, described when the terminal occurs mobile, based in terminal The geomagnetic sensor and acceleration transducer set obtain the posture information of the terminal, including:
When the terminal occurs mobile, starts the geomagnetic sensor and obtain the angle of the terminal and the earth arctic;
In preset time, Z axis rotation angle is obtained according to the variable quantity of the angle;
In the preset time, based on the acceleration transducer acquisition X, Y, Z 3-axis acceleration obtain X rotation angles and Y-axis rotation angle;
The terminal is obtained according to X, Y, Z 3-axis acceleration, Z axis rotation angle, X rotation angles and Y-axis rotation angle Posture information.
3. according to the method described in claim 2, it is characterized in that, before the posture information meets default bright set of hanging scrolls part, also wrap It includes:
Obtain the first posture information that mobile eve occurs for the terminal;
In the preset time, the second posture information of the terminal is persistently obtained;Wherein, the preset time is from the end Start recording when end occurs mobile;
Judged whether to meet default bright set of hanging scrolls part according to first posture information and the second posture information.
4. according to the method described in claim 3, it is characterized in that, the default bright set of hanging scrolls part includes in following five kinds of conditions It is at least one:
3-axis acceleration in first posture information is in the first preset range, and three axis in second posture information Acceleration is in the second preset range;
The 3-axis acceleration of first posture information and second posture information is in third preset range, and described The variable quantity of Y-axis acceleration is more than predetermined threshold value in preset time;
In the preset time, Y-axis rotation angle is more than the first predetermined angle, and Z axis rotation angle is more than the second predetermined angle, And the 3-axis acceleration in second posture information is in the 4th preset range;
In the preset time, Y-axis rotation angle is more than third predetermined angle, and three axis in second posture information add Speed is in the 5th preset range;
In the preset time, X-axis rotation angle is more than the 4th predetermined angle, and three axis in second posture information add Speed is in the 6th preset range.
5. according to the method described in claim 1, it is characterized in that, whether detection terminal moves, including:
Obtain the 3-axis acceleration of the acceleration transducer acquisition;
When the acceleration at least one reference axis changes, then the terminal moves.
6. according to the method described in claim 1, it is characterized in that, described when the posture information meets default bright set of hanging scrolls part When, the bright screen of the terminal is controlled, including:
When the posture information meets default bright set of hanging scrolls part, the bright screen of the terminal is controlled, and deleted in bright screen preset duration The 3-axis acceleration of acceleration acquisition.
7. according to claim 1-6 any one of them methods, which is characterized in that the method further includes:
Detect the bright screen duration of the terminal;
When the bright screen duration, which is more than, presets bright screen duration, when the posture information meet it is default go out set of hanging scrolls part when triggering go out screen Control instruction;Wherein, the screen control instruction of going out is gone out screen for controlling the terminal.
8. a kind of screen control device of terminal, which is characterized in that described device includes:
Detection module, for terminal be in go out screen state when, whether detection terminal moves;
Acquisition module is used for when the terminal occurs mobile, the geomagnetic sensor based on terminal built-in and acceleration transducer Obtain the posture information of the terminal;The posture information includes three axis rotation angles and 3-axis acceleration;And
Control module, for when the posture information meets default bright set of hanging scrolls part, controlling the bright screen of the terminal.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The step of any one of claim 1 to 7 the method is realized when processor executes.
10. a kind of terminal, including memory, processor and storage are on a memory and the computer journey that can run on a processor Sequence, which is characterized in that the processor realizes any one of claim 1 to 7 the method when executing the computer program The step of.
CN201810112071.9A 2018-02-05 2018-02-05 The screen control method and device of terminal, readable storage medium storing program for executing, terminal Pending CN108388413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810112071.9A CN108388413A (en) 2018-02-05 2018-02-05 The screen control method and device of terminal, readable storage medium storing program for executing, terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810112071.9A CN108388413A (en) 2018-02-05 2018-02-05 The screen control method and device of terminal, readable storage medium storing program for executing, terminal

Publications (1)

Publication Number Publication Date
CN108388413A true CN108388413A (en) 2018-08-10

Family

ID=63075045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810112071.9A Pending CN108388413A (en) 2018-02-05 2018-02-05 The screen control method and device of terminal, readable storage medium storing program for executing, terminal

Country Status (1)

Country Link
CN (1) CN108388413A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109282775A (en) * 2018-09-19 2019-01-29 青萍科技(北京)有限公司 A kind of article space displacement monitoring method and its device
CN109714471A (en) * 2018-11-27 2019-05-03 维沃移动通信有限公司 A kind of start-up control method and device
CN111405110A (en) * 2020-03-11 2020-07-10 Tcl移动通信科技(宁波)有限公司 Screen control method and device, storage medium and mobile terminal
CN112863022A (en) * 2021-02-18 2021-05-28 支付宝(杭州)信息技术有限公司 Bright code identification method and device and access control system
CN112866479A (en) * 2020-12-30 2021-05-28 惠州Tcl移动通信有限公司 Screen-off state time display processing method, device and equipment based on mobile terminal
CN113760079A (en) * 2020-06-02 2021-12-07 Oppo广东移动通信有限公司 Screen control method and device, mobile terminal and storage medium
CN109282775B (en) * 2018-09-19 2024-06-04 青萍科技(北京)有限公司 Method and device for monitoring spatial displacement of article

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183292A (en) * 2006-11-16 2008-05-21 Lg电子株式会社 Mobile terminal and screen display method thereof
CN102377871A (en) * 2010-08-24 2012-03-14 联想(北京)有限公司 Information processing equipment and control method thereof
CN103500007A (en) * 2013-09-27 2014-01-08 深圳市金立通信设备有限公司 Method for determining rotation angle of rotating member of terminal and terminal
CN103618832A (en) * 2013-11-29 2014-03-05 广东欧珀移动通信有限公司 Information prompt method and terminal for mobile terminal
CN105827792A (en) * 2015-05-20 2016-08-03 维沃移动通信有限公司 Screen unlock method of electronic device and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183292A (en) * 2006-11-16 2008-05-21 Lg电子株式会社 Mobile terminal and screen display method thereof
CN102377871A (en) * 2010-08-24 2012-03-14 联想(北京)有限公司 Information processing equipment and control method thereof
CN103500007A (en) * 2013-09-27 2014-01-08 深圳市金立通信设备有限公司 Method for determining rotation angle of rotating member of terminal and terminal
CN103618832A (en) * 2013-11-29 2014-03-05 广东欧珀移动通信有限公司 Information prompt method and terminal for mobile terminal
CN105827792A (en) * 2015-05-20 2016-08-03 维沃移动通信有限公司 Screen unlock method of electronic device and electronic device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109282775A (en) * 2018-09-19 2019-01-29 青萍科技(北京)有限公司 A kind of article space displacement monitoring method and its device
CN109282775B (en) * 2018-09-19 2024-06-04 青萍科技(北京)有限公司 Method and device for monitoring spatial displacement of article
CN109714471A (en) * 2018-11-27 2019-05-03 维沃移动通信有限公司 A kind of start-up control method and device
CN109714471B (en) * 2018-11-27 2021-03-26 维沃移动通信有限公司 Startup control method and device, mobile terminal and storage medium
CN111405110A (en) * 2020-03-11 2020-07-10 Tcl移动通信科技(宁波)有限公司 Screen control method and device, storage medium and mobile terminal
CN111405110B (en) * 2020-03-11 2021-08-03 Tcl移动通信科技(宁波)有限公司 Screen control method and device, storage medium and mobile terminal
CN113760079A (en) * 2020-06-02 2021-12-07 Oppo广东移动通信有限公司 Screen control method and device, mobile terminal and storage medium
CN112866479A (en) * 2020-12-30 2021-05-28 惠州Tcl移动通信有限公司 Screen-off state time display processing method, device and equipment based on mobile terminal
CN112863022A (en) * 2021-02-18 2021-05-28 支付宝(杭州)信息技术有限公司 Bright code identification method and device and access control system
CN112863022B (en) * 2021-02-18 2023-03-24 支付宝(杭州)信息技术有限公司 Bright code identification method and device and access control system

Similar Documents

Publication Publication Date Title
CN108307074A (en) Display control method and device, terminal, computer readable storage medium
CN104780164B (en) A kind of method and apparatus of running game client
CN108391001A (en) The screen control method and device of terminal, readable storage medium storing program for executing, terminal
CN108388413A (en) The screen control method and device of terminal, readable storage medium storing program for executing, terminal
CN103455256B (en) The method and terminal of Rotation screen display picture
CN108376086A (en) Display control method and device, terminal, computer readable storage medium
CN108430100A (en) The screen control method and device of terminal, readable storage medium storing program for executing, terminal
CN108462986A (en) The screen control method and device of terminal, readable storage medium storing program for executing, terminal
CN103389863B (en) A kind of display control method and device
CN108418953A (en) The screen control method and device of terminal, readable storage medium storing program for executing, terminal
CN103472993A (en) Rotation displaying method, device and terminal equipment
CN108563387A (en) Display control method and device, terminal, computer readable storage medium
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
CN106020987A (en) Method and device for determining kernel running configurations in processor
CN103473092B (en) A kind of download the processing method of application, device and terminal unit
CN108391002A (en) Display control method and device, terminal, computer readable storage medium
CN108388414A (en) Go out screen control method and device, computer readable storage medium, the terminal of terminal
CN103473051A (en) Method and device for saving terminal power consumption
CN108347758A (en) screen awakening method and device, terminal, computer readable storage medium
CN108536377A (en) Display control method and device, terminal, computer readable storage medium
CN106528282A (en) Method, device and terminal for closing process
CN106775267A (en) A kind of method and apparatus of the function menu for showing game plug-in unit
CN108566490A (en) The screen control method and device of terminal, readable storage medium storing program for executing, terminal
CN106371749A (en) Method and device for terminal control
CN108366170A (en) Display control method and device, terminal, 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: 20180810