CN108205360A - Method, apparatus, terminal and the storage medium of control terminal screen - Google Patents

Method, apparatus, terminal and the storage medium of control terminal screen Download PDF

Info

Publication number
CN108205360A
CN108205360A CN201711363869.2A CN201711363869A CN108205360A CN 108205360 A CN108205360 A CN 108205360A CN 201711363869 A CN201711363869 A CN 201711363869A CN 108205360 A CN108205360 A CN 108205360A
Authority
CN
China
Prior art keywords
screen
terminal
relative position
position information
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711363869.2A
Other languages
Chinese (zh)
Other versions
CN108205360B (en
Inventor
王剑平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201711363869.2A priority Critical patent/CN108205360B/en
Priority to CN202311018490.3A priority patent/CN116880667A/en
Publication of CN108205360A publication Critical patent/CN108205360A/en
Priority to PCT/CN2018/114707 priority patent/WO2019120003A1/en
Application granted granted Critical
Publication of CN108205360B publication Critical patent/CN108205360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1641Details related to the display arrangement, including those related to the mounting of the display in the housing the display being formed by a plurality of foldable display components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1675Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
    • G06F1/1677Miscellaneous details related to the relative movement between the different enclosures or enclosure parts for detecting open or closed state or particular intermediate positions assumed by movable parts of the enclosure, e.g. detection of display lid position with respect to main body in a laptop, detection of opening of the cover of battery compartment
    • 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/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a kind of method, apparatus, terminal and the computer readable storage mediums of control terminal screen, the present invention is after detecting that the state between the first screen and the second screen changes, the relative position information of first screen and second screen is obtained, first screen and second screen are controlled according to the relative position information.I.e., the present invention further judges the current state of terminal by obtaining the relative position information of terminal, so as to improve the control accuracy of terminal breath screen and bright screen, avoids existing terminal because by interference such as electromagnetism, caused by terminal screen frequently cease screen and bright screen, increase power consumption of terminal the problem of.

Description

Method, apparatus, terminal and the storage medium of control terminal screen
Technical field
The present invention relates to field of communication technology, more particularly to a kind of method, apparatus, terminal and the meter of control terminal screen Calculation machine readable storage medium storing program for executing.
Background technology
As various terminals are more and more universal, requirement of the people to the various functions of terminal is also higher and higher.Existing end End usually ceases screen and bright screen by being arranged on the screen of the Hall sensor control terminal in terminal, that is, when Hall sensor is examined When the screen for surveying terminal is 0 °, then judges that terminal is in and fold single screen state;When Hall sensor detects that the screen of terminal is big During in 0 ° and less than 180 °, then judge that terminal is in and double screen state is non-fully unfolded, when Hall sensor detects the screen of terminal When curtain is 180 °, then judges that terminal is in and be fully deployed double screen state.For it is standby when, not press power key situation Under, user pick up terminal from single screen be switched to double screen expansion when, terminal screen is lighted automatically.But when outside, there are electromagnetism etc. During interference, the detection of Hall sensor is inaccurate, and then the control of terminal-pair screen is caused to be inaccurate.
Invention content
The present invention provides a kind of method, apparatus, terminal and the computer storage medias of control terminal screen, existing to solve Have in technology under the disturbed conditions such as electromagnetism, the problem of control of terminal-pair screen is inaccurate.
One aspect of the present invention provides a kind of method of control terminal screen, and this method includes:When detecting the first screen And after the second state between screen changes, the relative position information of first screen and second screen is obtained; First screen and second screen are controlled according to the relative position information;Wherein, first screen with Second screen is rotatablely connected by shaft.
Further, after detecting that the state between the first screen and the second screen changes, described first is obtained The relative position information of screen and second screen, specifically includes:By the first detection device detect first screen and Whether the state between second screen changes, when detecting the shape between first screen and second screen After state changes, the relative position information of first screen and second screen is obtained.
Further, the relative position information for obtaining first screen and second screen, specifically includes:It is logical Cross the relative position information that second detection device obtains first screen and second screen.
Further, the relative position that first screen and second screen are obtained by second detection device Information specifically includes:Pass through gyro sensor, light sensor, proximity sensor, the second Hall sensor and/or acceleration Spend the relative position information that sensor obtains first screen and second screen.
Further, the relative position information for obtaining first screen and second screen, specifically includes:It is logical Cross the relative position variation magnitude that second detection device obtains first screen and second screen;
First screen and second screen are controlled according to the relative position information, specifically included:Root Change the magnitude relationship between magnitude and preset variable quantity threshold value according to the relative position, to first screen and described the Two screens carry out the state switching of breath screen and bright screen.
Further, the relative position variation magnitude includes magnitude of angular velocity, brightness variation magnitude, voltage variety It is one or more in value, potential change magnitude and acceleration change magnitude.
Further, the size changed between magnitude and preset variable quantity threshold value according to the relative position is closed System carries out first screen and second screen state switching of breath screen and bright screen, specifically includes:When the opposite position When putting variation magnitude and being more than preset variable quantity threshold value, breath screen and bright screen are carried out to first screen and second screen State switches.
On the other hand, the present invention also provides a kind of device of control terminal screen, which includes:Acquiring unit works as inspection It measures after the state between the first screen and the second screen changes, obtains the phase of first screen and second screen To location information;Control unit, for being carried out according to the relative position information to first screen and second screen Control;Wherein, first screen is rotatablely connected with second screen by shaft.
Further, the acquiring unit is additionally operable to, and first screen and described the are detected by the first detection device Whether the state between two screens changes, when the state between first screen and second screen that detects occurs After variation, the relative position information of first screen and second screen is obtained.
Further, the acquiring unit is additionally operable to, and first screen and described are obtained by second detection device The relative position information of two screens.
Further, the acquiring unit is additionally operable to, and passes through gyro sensor, light sensor, proximity sensor, Two Hall sensors and/or acceleration transducer obtain the relative position information of first screen and second screen.
Further, the gyro sensor is arranged in the shaft of the terminal;
The light sensor is arranged on terminal close to the position of shaft or is arranged in the shaft of the terminal;
Second Hall sensor is arranged on, with the perpendicular direction of shaft, one end far from shaft;
The proximity sensor is arranged on, and the perpendicular direction of shaft, at two endpoints of the terminal far from shaft.
Further, the acquiring unit is additionally operable to, and first screen and described are obtained by second detection device The relative position variation magnitude of two screens;
Described control unit is additionally operable to, according to the relative position change between magnitude and preset variable quantity threshold value greatly Small relationship carries out first screen and second screen state switching of breath screen and bright screen.
Further, the relative position variation magnitude includes magnitude of angular velocity, brightness variation magnitude, voltage variety It is one or more in value, potential change magnitude and acceleration change magnitude.
Further, described control unit is additionally operable to, when relative position variation magnitude is more than preset variable quantity threshold During value, the state switching of breath screen and bright screen is carried out to first screen and second screen.
In another aspect, the present invention also provides a kind of terminal, the terminal is double screen terminal, and the terminal includes:
Whether the first detection device, the state for detecting between the first screen of the terminal and the second screen change Become;
Second detection device, for detecting the relative position information of first screen and second screen;
Processor, for working as the state between the first detection device detection first screen and second screen During change, the relative position information of the second detection device detection is obtained, and according to the relative position information to institute It states the first screen and second screen is controlled;
Wherein, institute's detection device is stated the first screen and is rotatablely connected with second screen by shaft.
Again in another aspect, the present invention also provides a kind of computer readable storage medium, the computer readable storage medium Be stored with the computer program of control terminal screen, when the computer program is performed by least one processor, with realize with Lower step:After detecting that the state between the first screen and the second screen changes, first screen and described is obtained The relative position information of second screen;First screen and second screen are controlled according to the relative position information System.
The present invention has the beneficial effect that:
The present invention obtains first screen after detecting that the state between the first screen and the second screen changes With the relative position information of second screen, according to the relative position information to first screen and second screen It is controlled.That is, the present invention further judges the current shape of terminal by the relative position information for two screens for obtaining terminal State so as to improve the control accuracy of terminal-pair breath screen and bright screen, avoids existing terminal because by interference such as electromagnetism, caused by The screen of terminal frequently cease screen and bright screen, increase power consumption of terminal the problem of.
Description of the drawings
Fig. 1 is a kind of flow diagram of the method for control terminal screen of the end side of the embodiment of the present invention;
Fig. 2 is a kind of installation position of the proximity sensor of the embodiment of the present invention;
Fig. 3 is a kind of structure diagram of terminal of the embodiment of the present invention;
Fig. 4 is the coordinate system schematic diagram of the terminal of the embodiment of the present invention;
Fig. 5 is a kind of structure diagram of the device of control terminal screen of the embodiment of the present invention;
Fig. 6 is another structure diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
In order to solve in the prior art since Hall sensor is by interference such as electromagnetism, and the screen of terminal is caused frequently to cease screen With bright screen, increase power consumption of terminal, reduce the problem of user experience, the present invention is passed by gyro sensor, the light in terminal The detection devices such as sensor, proximity sensor or the second Hall sensor, further to obtain the relative position between terminal screen Information so as to more accurately determine the current state of terminal, to improve the control accuracy of terminal-pair breath screen and bright screen, avoids Hall sensor because by interference such as electromagnetism, caused by the screen of terminal frequently cease screen and bright screen, increase power consumption of terminal, reduce and use The problem of family is experienced.Detailed explanation and illustration will be carried out to method of the present invention by several specific examples below:
An embodiment of the present invention provides a kind of methods of control terminal screen, and referring to Fig. 1, this method includes:
S11, after detecting that the state between the first screen and the second screen changes, obtain first screen and The relative position information of second screen;
S12, first screen and second screen are controlled according to the relative position information.
That is, the present invention after detecting that the state between the first screen and the second screen changes, obtains institute The relative position information of the first screen and second screen is stated, according to the relative position information to first screen and institute The second screen is stated to be controlled.That is, the present invention further judges end by the relative position information for two screens for obtaining terminal Current state is held, so as to improve the control accuracy of terminal-pair breath screen and bright screen, is avoided because by interference such as electromagnetism, and is caused The screen of terminal frequently cease screen and the problem of bright screen.
Terminal described in the embodiment of the present invention is double screen terminal, and the terminal includes the first screen and the second screen, wherein, institute The first screen is stated to be rotatablely connected by shaft with second screen.
It should be noted that the first screen described in the embodiment of the present invention is main screen, second screen shields to be secondary, the present invention Embodiment is substantially mainly according to the relative position information between the main screen detected and secondary screen, to control the breath of main screen and secondary screen Screen and bright screen, so as to avoid since the Hall sensor in terminal is by electromagnetic interference, caused by the screen of terminal frequently cease screen With bright screen, increase power consumption of terminal, reduce the problem of user experience.
When it is implemented, step S11 is specifically included described in the embodiment of the present invention:Described the is detected by the first detection device Whether the state between one screen and second screen changes, when detecting first screen and second screen Between state change after, obtain the relative position information of first screen and second screen.
Wherein, the relative position information of first screen and second screen, tool are obtained described in the embodiment of the present invention Body includes:The relative position information of first screen and second screen is obtained by second detection device.
Specifically, the first detection device described in the embodiment of the present invention is Hall sensor, that is to say, that the present invention is implemented Example is to detect whether the state between first screen and second screen changes by Hall sensor, and examining It measures after the state between first screen and second screen changes, obtains first screen and described second The relative position information of screen.
The problem of embodiment of the present invention is the pattern switching for double screen terminal specifically, list is folded when terminal is in Screen state, for example inside packet, when Hall sensor reaches 180 ° of conditions just at external magnetic field interference, two screens can be located In illuminating state, time-out go out screen after can the bright screen of retriggered, and if interference always exist, the light on and off screen that terminal will be repeatedly, So as to seriously affect the power consumption of terminal, and then reduce user experience.
For the problem, the embodiment of the present invention is by the Hall sensor that is mounted in shaft and is arranged in terminal Second detection device carry out co- controlling screen state, with improve terminal-pair screen breath screen and bright screen control accuracy, avoid Since Hall sensor is by electromagnetic interference, caused by the screen of terminal the problem of frequently ceasing screen and bright screen, increasing power consumption of terminal.
When the angle (that is, angle between the first screen and the second screen) between Hall sensor detects screen is the During one threshold value, then judge that terminal is in the single screen state that folds, angle between Hall sensor detects terminal screen is the During two threshold values, then judge that terminal is in and double screen state is non-fully unfolded, the angle between Hall sensor detects screen is the During three threshold values, then judge that terminal is in and be fully deployed double screen state, for example, when terminal standby, in the feelings for not pressing power key Under condition, when user, which picks up terminal, is switched to double screen expansion from single screen, terminal automatically turns on the screen.
During specific setting, it is 0 ° that can set the first threshold values, and second threshold is to be less than 180 ° more than 0 °, and third threshold value is 180 °, certainly, when it is implemented, those skilled in the art can set Hall sensor detected value and end according to actual conditions Hold the correspondence between screen state.
For example, for example, when the first screen of terminal and the second screen are folded, i.e. the first screen and the second screen it Between be 0 ° when, when the first Hall sensor in terminal detects that the state between the first screen of terminal and the second screen changes Become, for example, being changed into 90 ° by 0 ° between the first screen and the second screen, at this point, terminal needs to obtain second detection device detection Relative position information between first screen and second screen that arrive, if second detection device detect it is described Relative position between first screen and second screen also produce it is corresponding with above-mentioned angle change change, then terminal control It makes the first screen and the second screen carries out bright screen, specifically, when initial fold, when terminal is in standby mode, at this point, terminal It triggers the first screen and the second screen carries out bright screen, and when initial fold, during the bright screen state of the first screen of terminal, this When, terminal the second screen of triggering also carries out bright screen and shows;
During by being fully unfolded position between the first screen and the second screen of terminal, i.e. at the beginning of the first screen and the second screen Begin when being 180 °, when the first Hall sensor in terminal detects that the state between the first screen of terminal and the second screen changes Become, for example, being changed into 0 ° by 180 ° between the first screen and the second screen, detected at this time, it may be necessary to obtain second detection device First screen and second screen between relative position information, if second detection device detect described Relative position between one screen and second screen also produce it is corresponding with above-mentioned angle change change, then terminal control Second screen carries out breath screen.
The terminal pattern switching of the embodiment of the present invention includes:
1) when being switched to double screen expansion from single screen, pair screen is lighted, and when being switched to single screen folding from double screen, pair screen extinguishes;
2) during terminal standby, not press power key in the case of, user pick up terminal from single screen be switched to double screen expansion when, Screen is lighted automatically.
When it is implemented, the pattern switching of terminal of the embodiment of the present invention be by the Hall sensor being mounted in shaft into Row judges, and the second detection device for passing through terminal is further judged, to improve the control accuracy to terminal screen.
When it is implemented, second detection device described in the embodiment of the present invention include it is following in it is one or more:Gyroscope Sensor, light sensor, proximity sensor and the second Hall sensor.
That is, the embodiment of the present invention is that the first screen and the second screen of terminal are detected in the first Hall sensor Between state change after, further pass through gyro sensor, light sensor, proximity sensor and the second hall sensing Device carrys out the further state obtained between the first screen and the second screen, to determine whether terminal occurs screen state switching, So as to effectively increase the control to terminal screen.
Specifically, the embodiment of the present invention is by gyro sensor, light sensor, proximity sensor, the second Hall Sensor and/or acceleration transducer obtain the relative position information of first screen and second screen.
Specifically, the specific installation position of second detection device described in the embodiment of the present invention is:
When second detection device is gyro sensor, gyro sensor can be arranged on to the shaft of the terminal On, that is, gyro sensor and the first Hall sensor are arranged in the shaft of terminal simultaneously, when it is implemented, of the invention Embodiment can detect the functional characteristic of angular speed according to gyro sensor, as the case may be, can be by gyro sensor Any position of shaft is arranged on, as long as ensureing the angle that gyro sensor is able to detect that between the first screen and the second screen Speed, when the relative position between the screen of terminal changes, i.e., when screen occurs to fold or expansion acts, eventually First screen and the second screen at end will generate angular speed, and gyro sensor is detected by angular velocity value, and will Magnitude of angular velocity gives processor, by processor according to magnitude of angular velocity, is preset particular by judging that the magnitude of angular velocity is more than Angular speed change threshold, come the first screen and the second screen are carried out the state of breath screen and bright screen switching.
That is, the embodiment of the present invention can set gyro sensor and the first Hall sensor simultaneously in shaft, And after the first Hall sensor detects that state between the first screen of terminal and the second screen changes, then obtain gyroscope Magnitude of angular velocity between the first screen and the second screen that sensor detects, and terminal screen is determined according to the magnitude of angular velocity Whether position changes, and then completes the control to terminal screen.That is, the output electricity that the present invention passes through the first Hall sensor Gesture value, the gesture when folding or expansion that detect with reference to gyro sensor, just carries out the switching of screen state, so as to improve The accuracy of screen and the control of bright screen is put out, promotes user experience.
When second detection device is light sensor, proximity sensor and the second Hall sensor, the embodiment of the present invention It is the corresponding position that the light sensor, the proximity sensor and second Hall sensor are arranged on to the terminal Place, specifically during setting, the present invention can carry out specific position setting according to the function of each sensor, for example, by light level Device is arranged on terminal, close to the position of shaft or is set up directly in shaft.And by the second Hall sensor and approach sensing Device is arranged on terminal, position far from shaft, etc..
When it is implemented, sensitization function of the embodiment of the present invention according to light sensor, by the way that light sensor is set In terminal, close to shaft side, when the relative position between the screen of terminal changes, i.e., when screen generation folding or it is unfolded During action, the brightness in terminal screen will change, and light sensor is detected by changing magnitude to brightness, and Brightness variation magnitude is given to processor, by processor according to brightness variation magnitude, particular by judging the light Brightness change magnitude is more than preset brightness change threshold, to carry out the shape of breath screen and bright screen to the first screen and the second screen State switches.
When it is implemented, the embodiment of the present invention is set accordingly according to the operation principle of proximity sensor in terminal It puts, for example, in order to reduce the influence to the Hall sensor in terminal, proximity sensor is separately positioned on by the embodiment of the present invention Terminal, far from shaft position, e.g., be arranged on the perpendicular direction of shaft, far from shaft terminal two endpoints at, That is, the terminal of setting after deployment, with the perpendicular direction of shaft, at the two-end-point far from shaft, specific installation position such as Fig. 2 At the first shown screen and two endpoints of the second screen dotted line, the embodiment of the present invention is completed by proximity sensor to first The detection of relative position information between screen and the second screen;
When it is implemented, the proximity sensor of the embodiment of the present invention includes:Capacitive proximity sensor, inductance type are close to be passed Sensor and photo-electric proximity sensor will be said the setting of proximity sensor by taking capacitive proximity sensor as an example below Bright, the embodiment of the present invention by the detecting electrode of capacitive proximity sensor and detected metal device by being separately positioned on end End with shaft at the two-end-point of perpendicular terminal, and passes through the detecting electrode of capacitive proximity sensor to detected gold Belong to device to be detected, when two screens fold, metal device proximity test electrode is detected, since detecting electrode is added with electricity Pressure, detecting electrode will be generated polarization phenomena by electrostatic induction, be tested metal device closer to detecting electrode, detecting electrode On charge inducing it is more.Since the electrostatic capacitance on detecting electrode isSo increasing with the quantity of electric charge, makes inspection Electrode capacitance C is surveyed therewith to increase.Due to the frequency of oscillation of oscillating circuitIt is inversely proportional with capacitance, so as capacitance C It the oscillations of oscillating circuit or even stops oscillation during increase.
The embodiment of the present invention establishes the voltage variety by the way that the oscillation of oscillating circuit is converted to voltage change magnitude The correspondence of value and the relative position of terminal screen is so as to fulfill the position for determining terminal screen according to voltage change magnitude It is no to change, and then complete the control to terminal screen.
The set-up mode and operation principle of other two kinds of proximity sensors are similar to capacitive proximity sensor, this field Technical staff can be configured according to the above description, be not described in detail herein.
When it is implemented, the embodiment of the present invention is by the second Hall sensor by being arranged on terminal, with the perpendicular side of shaft To, at any one endpoint of the terminal far from shaft, that is to say, that the embodiment of the present invention is by by the first Hall sensor Be separately positioned on terminal with the second Hall sensor, far as possible from two positions, with reduce due to outer bound pair hall sensing The interference of device and caused by terminal screen the influence frequently opened.That is, the present invention is by setting two Hall sensors with more The good screen to terminal is detected, and preferably to avoid since Hall sensor is by electromagnetic interference, and leads to terminal Screen frequently ceases screen and bright screen, the problem of so as to increase power consumption of terminal.
It should be noted that when it is implemented, the embodiment of the present invention can set gyro sensor, light sensor, connect It is one or more in nearly sensor and the second Hall sensor, for example, on the basis of existing first Hall sensor of terminal On, then gyro sensor is set, it can be detected by the output potential value of the first Hall sensor with reference to gyro sensor The gesture when folding or expansion arrived just carries out the switching of screen state, alternatively, in existing first Hall sensor of terminal On the basis of, then gyro sensor, light sensor etc. are set, by the output potential value of the first Hall sensor, and combine Gesture when folding or expansion that gyro sensor and light sensor detect just carries out the switching of screen state, from And the accuracy of screen and the control of bright screen is put out with further improving.
Certainly, those skilled in the art can also be set other second detection devices, e.g., add according to actual conditions Velocity sensor etc. further to judge the screen state of terminal, so as to improve the accuracy for putting out screen and the control of bright screen, carries Rise user experience.
When it is implemented, the relative position letter of first screen and second screen is obtained described in the embodiment of the present invention Breath, specifically includes:The relative position that first screen and second screen are obtained by second detection device changes magnitude;
Specifically, relative position variation magnitude described in the embodiment of the present invention includes magnitude of angular velocity, brightness variation magnitude, electricity It is one or more in buckling magnitude, potential change magnitude and acceleration change magnitude.
When it is implemented, of the present invention obtain first screen and second screen by second detection device Relative position changes magnitude, specifically includes:The magnitude of angular velocity of the gyro sensor in predetermined amount of time is obtained, alternatively, obtaining The brightness variation magnitude of light sensor in predetermined amount of time, alternatively, obtaining the proximity sensor in predetermined amount of time Output valve changes magnitude, alternatively, the potential change magnitude of the second Hall sensor in predetermined amount of time is obtained, alternatively, obtaining The acceleration transducer acceleration change magnitude in predetermined amount of time.
That is, the present invention is by obtaining the magnitude of angular velocity of gyro sensor, the brightness of light sensor changes magnitude, connects The output valve variation magnitude and the potential change magnitude of the second Hall sensor and acceleration transducer acceleration of nearly sensor Change magnitude, the state of terminal is determined according to the numerical value got.
When it is implemented, according to the relative position information to first screen and described described in the embodiment of the present invention Two screens are controlled, and are specifically included:Size between magnitude and preset variable quantity threshold value is changed according to the relative position Relationship carries out first screen and second screen state switching of breath screen and bright screen.
Specifically, the relative position information of the terminal detected described in the embodiment of the present invention according to the second detection device The screen is controlled, is specifically included:When one or more of condition meets, to first screen and the second screen Curtain carries out the state switching of breath screen and bright screen:When the magnitude of angular velocity of the gyro sensor in predetermined amount of time is more than preset angle Threshold speed;When the brightness variation magnitude of the light sensor in predetermined amount of time is more than preset brightness change threshold; When the voltage value variation magnitude of the proximity sensor in predetermined amount of time is more than preset voltage change threshold value;Work as predetermined amount of time The potential change magnitude of the second interior Hall sensor is more than preset potential change threshold value;When the acceleration in predetermined amount of time The acceleration change magnitude of sensor is more than preset acceleration change threshold value.
That is, the embodiment of the present invention is when relative position variation magnitude is more than preset variable quantity threshold value, The state switching of breath screen and bright screen is carried out to first screen and second screen.
That is, the embodiment of the present invention is by setting the threshold value of the variable quantity of each second detection device, according to the threshold decision The state of terminal, and then the screen of terminal is controlled.
When it is implemented, when terminal is equipped with gyro sensor, then terminal is according to gyro in the predetermined amount of time got Whether the magnitude of angular velocity of instrument sensor is more than preset angular speed threshold value, to judge whether the state of terminal screen changes, if It is the state switching that screen is then controlled to carry out breath screen and bright screen.Other detection devices are controlled in that this is similar to screen, This, is not described in detail.
The embodiment of the present invention can set gyro sensor, light sensor, proximity sensor and the second Hall sensor, To obtain better detection result, so as to improve the control accuracy to screen breath screen and bright screen, and then user experience is promoted.
It should be noted that angular speed threshold value, brightness change threshold, proximity sensor described in the embodiment of the present invention Output valve change threshold, potential change threshold value, the value of acceleration change threshold value and predetermined amount of time, can be according to reality Situation is configured.
For example, when it is implemented, it is 1.5rad/s that the embodiment of the present invention, which sets the angular speed threshold value,.The brightness becomes Change threshold value is 60lux.
Fig. 3 is the terminal structure schematic diagram of the embodiment of the present invention, as shown in figure 3, the terminal of the embodiment of the present invention includes the One Hall sensor, gyro sensor, two screens and memory etc..
Below in conjunction with Fig. 3, by taking gyro sensor as an example, detailed explanation is carried out to method of the present invention and is said It is bright:Obtain the potential value of the first Hall sensor output, when the potential value meets preset threshold condition, the top of 5s before acquisition The angular speed variable quantity of spiral shell instrument sensor meets preset angular speed variation in the angular speed variable quantity of the gyro sensor During threshold value, the state of the screen of the terminal is determined, wherein, the angular speed variable quantity of the gyro sensor is divided into suitable It hour hands spinning movement, spinning movement counterclockwise and static does not move.
Fig. 4 is the coordinate system figure of the terminal of the embodiment of the present invention, is passed as shown in figure 4, the embodiment of the present invention obtains gyroscope Value of the angular speed variable quantity of sensor in preset time range for the Y-axis component of terminal each output valve.
When it is implemented, the embodiment of the present invention is it needs to be determined that the changing rule of the output valve of the Y-axis component, in the Y The changing rule of the output valve of axis component is to be incremented more than in the second preset range from the arbitrary value in the first preset range, and from When second preset range drops to the arbitrary value in first preset range, the output valve action shape of the gyro sensor State amount is rotates clockwise state;
It is to successively decrease from the arbitrary value in the first preset range more than third in the changing rule of the output valve of the Y-axis component In preset range, and from third preset range drop to the arbitrary value in first preset range when, the gyro sensors The output valve action state amount of device is rotation status counterclockwise.
That is, when being folded or being unfolded, there are one the action hands of angular speed along gyro sensor Y-axis for terminal screen Gesture, by this action gesture with reference to the potential value condition of the first Hall sensor jointly come judge mobile phone whether have it is " real " folding Folded or expansion action.
Specifically, it is [0~s] rad/s that the embodiment of the present invention, which sets the first preset range of the gyro sensor,;It is false Initial value is determined for s0rad/s, then the second preset range of the gyro sensor is (s0+ Δs) rad/s;The gyroscope passes The third preset range of sensor is (s0- Δs) rad/s;Δ passes through adjustment value 1.5rad/s.
Screen state switching is divided into two scenes:
(1) when standby, not press power key in the case of, pick up mobile phone from single screen be switched to double screen expansion when, point Bright screen.
At this point, whether the potential value of detection the first Hall sensor output meets preset 180 ° of states;
Whether the output valve action state amount for being detected simultaneously by gyro sensor is to rotate clockwise action;
Meet preset 180 ° of states in the potential value for determining the output of the first Hall sensor, while gyro sensor Output valve action state amount triggers screen state being set as illuminating state to rotate clockwise action.
(2) when being switched to single screen folding from double screen, pair screen extinguishes;
At this point, whether the potential value of detection the first Hall sensor output meets preset 0 ° of state, gyro sensor Output valve action state amount whether be spinning movement counterclockwise;When the potential value for determining the output of the first Hall sensor meets in advance If 0 ° of state, while the output valve action state amount of gyro sensor is spinning movement counterclockwise, then triggering is by screen shape State is set as OFF state.
Compared with prior art, the embodiment of the present invention increases gyroscope during control screen is lighted and is extinguished and passes Sensor carrys out the motion state of detection terminal, and terminal obtains the potential value of the first Hall sensor output in real time;In the potential value When meeting predetermined threshold value, the output valve of gyroscope sensor is obtained;According to the output valve action state amount of the gyro sensor Determine the state of terminal screen;So as to solve protection fitting on the screen when due to magnet is subjected to displacement or external magnetic field and lead The first Hall sensor caused judges the problem of error, improves the accuracy that terminal control screen is lighted and extinguished, avoids Mistake bright screen of the terminal inside pocket or inside packet.
When setting the light sensor in terminal, that is, fill a light sensor at the terminal back side, folding when It waits, light sensor is blocked, and light sensation value is essentially 0lux, and during expansion, the light that light sensor receives external environment is strong Degree, light sensation value are the value more than 0lux, in order to avoid the judgment threshold of light sensor when being unfolded can be set as big by interference In 60lux.
Wherein, determine that the rotation to determine terminal is moved according to the variable quantity output valve of the lumen value (lux) of light sensor Make quantity of state, be divided into expansion action, jackknife action and static do not move.
When it is implemented, the embodiment of the present invention by the lumen value variable quantity of light sensor, i.e. brightness variable quantity exists 0lux->More than 60lux is that the expansion of screen acts, then screen is set as illuminating state, and brightness variable quantity is in 60lux-> More than 0lux is the jackknife action of screen, then screen is set as breath screen state, and 0lux is maintained not become folding, i.e., screen state is not Become.
For example, when the potential value of the first Hall sensor output meets preset 180 ° of states, and detect gyro sensors Device is rotation counterclockwise, and the magnitude of angular velocity in gyro sensor predetermined amount of time is more than preset angular speed threshold value, then will The screen of terminal is set as breath screen state, correspondingly, when the potential value of the first Hall sensor output meets preset 0 ° of state, And detection gyro sensor is to rotate clockwise, and the magnitude of angular velocity in gyro sensor predetermined amount of time is more than preset The screen of terminal is then set as illuminating state by angular speed threshold value.
When the potential value of the first Hall sensor output meets preset 180 ° of states, and detect light sensor light brightness Change variable quantity 0lux->The screen of terminal is then set as illuminating state by more than 60lux, correspondingly, when the first hall sensing The potential value of device output meets preset 0 ° of state, and detects light sensor light brightness change variable quantity 60lux->0lux with On, then the screen of terminal is set as breath screen state.
When the potential value of the first Hall sensor output meets preset 180 ° of states, and detect proximity sensor output valve Variable quantity is far from state, then the screen of terminal is set as illuminating state, correspondingly, when the electricity of the first Hall sensor output Gesture value meets preset 0 ° of state, and it is proximity state to detect proximity sensor output valve variation variable quantity, then by the screen of terminal Curtain is set as breath screen state.
When the potential value of the first Hall sensor output meets preset 180 ° of states, and it is defeated to detect the second Hall sensor It is far from state to go out to be worth variable quantity, then the screen of terminal is set as illuminating state, correspondingly, when the first Hall sensor exports Potential value meet preset 0 ° of state, and it is proximity state to detect the second Hall sensor output valve variable quantity, then by terminal Screen be set as breath screen state.
When the potential value of the first Hall sensor output meets preset 180 ° of states, and detects acceleration transducer and make a reservation for Velocity amplitude in period is more than preset acceleration rate threshold, then the screen of terminal is set as breath screen state, correspondingly, when the The potential value of one Hall sensor output meets preset 0 ° of state, and detects the acceleration in acceleration transducer predetermined amount of time Angle value is more than preset acceleration rate threshold, then the screen of terminal is set as illuminating state.
When it is implemented, controlling screen state switching described in the embodiment of the present invention, specifically include:
The screen is controlled to carry out the state switching of breath screen and bright screen.
Correspondingly, as shown in figure 5, the embodiment of the present invention also provides a kind of device of control terminal screen, the device packet It includes:Acquiring unit, after detecting that the state between the first screen and the second screen changes, obtain first screen and The relative position information of second screen;Control unit, for according to the relative position information to first screen and Second screen is controlled;Wherein, first screen is rotatablely connected with second screen by shaft.
That is, the present invention detects that the state between the first screen and the second screen changes in acquiring unit Afterwards, the relative position information of first screen and second screen is obtained, control unit is according to the relative position information First screen and second screen are controlled.That is, the present invention passes through the opposite position for two screens for obtaining terminal Confidence breath further judges the current state of terminal, so as to improve the control accuracy of terminal-pair breath screen and bright screen, avoids existing Have terminal because by interference such as electromagnetism, caused by the screen of terminal the problem of frequently ceasing screen and bright screen, increasing power consumption of terminal.
When it is implemented, acquisition module described in the embodiment of the present invention is to detect first screen by the first detection device Whether the state between second screen changes, when detecting between first screen and second screen After state changes, the relative position information of first screen and second screen is obtained.Also, the embodiment of the present invention The acquisition module is the relative position information that first screen and second screen are obtained by second detection device.
Wherein, the first detection device described in the embodiment of the present invention is Hall sensor etc., in order to be detected with follow-up second Hall sensor in device is distinguished, and the Hall sensor set by the first detection device is defined as by the embodiment of the present invention First Hall sensor, and drop the Hall sensor set by second detection device and be defined as the second Hall sensor.
Terminal described in the embodiment of the present invention is double screen terminal, and the terminal includes the first screen and the second screen, wherein, institute The first screen is stated to be rotatablely connected by shaft with second screen.
It should be noted that the first screen described in the embodiment of the present invention is main screen, second screen shields to be secondary, the present invention Relative position information between main screen that essence is mainly detected according to second detection device and secondary screen, to control main screen and pair The breath screen and bright screen of screen, so as to avoid since the first Hall sensor is by electromagnetic interference, caused by the screen of terminal frequently cease Screen and bright screen increase power consumption of terminal, reduce the problem of user experience.
That is, the problem of embodiment of the present invention is the pattern switching for double screen terminal, specifically, at terminal In folding single screen state, such as inside packet, when Hall sensor reaches 180 ° of conditions just at external magnetic field interference, two Screen can be in illuminating state, time-out go out screen after can the bright screen of retriggered, and if interference always exist, what terminal will be repeatedly Light on and off screen so as to seriously affect the power consumption of terminal, and then reduces user experience.
For the problem, the embodiment of the present invention is by the first Hall sensor for being mounted in shaft and is arranged on end Second detection device on end carrys out co- controlling screen state, to improve the control accuracy of terminal-pair screen breath screen and bright screen, keeps away Exempted from since Hall sensor is by electromagnetic interference, caused by the screen of terminal frequently cease screen and bright screen, increase power consumption of terminal Problem.
When it is implemented, acquiring unit is additionally operable to described in the embodiment of the present invention, pass through gyro sensor, light level Device, proximity sensor, the second Hall sensor and/or acceleration transducer obtain first screen and second screen Relative position information.
That is, the acquiring unit described in the embodiment of the present invention is by gyro sensor, light sensor, approaches Between first screen and second screen that sensor, the second Hall sensor and/or acceleration transducer detect Relative position information.
When it is implemented, gyro sensor described in the embodiment of the present invention is arranged in the shaft of the terminal;The light Line sensor is arranged on terminal close to the position of shaft or is arranged in the shaft of the terminal;Second Hall sensor It is arranged on, with the perpendicular direction of shaft, one end far from shaft;The proximity sensor is arranged on, with the perpendicular side of shaft To, at two endpoints of the terminal far from shaft.
That is, the embodiment of the present invention is that the first screen and the second screen of terminal are detected in the first Hall sensor Between state change after, further pass through gyro sensor, light sensor, proximity sensor and the second hall sensing Device carrys out the further state obtained between the first screen and the second screen, to determine whether terminal occurs screen state switching, So as to effectively improve the control to terminal screen.
Further, the embodiment of the present invention obtains first screen and second screen by second detection device Relative position changes magnitude;
Described control unit is additionally operable to, according to the relative position change between magnitude and preset variable quantity threshold value greatly Small relationship carries out first screen and second screen state switching of breath screen and bright screen.
When it is implemented, acquiring unit is additionally operable to described in the embodiment of the present invention, by one or more of mode, obtain First screen and the relative position information of second screen that second detection device detects:It obtains in predetermined amount of time The gyro sensor detection first screen and second screen between magnitude of angular velocity;Obtain the predetermined time Brightness variation magnitude between first screen and second screen of light sensor detection in section;It obtains Output valve variation between first screen and second screen of proximity sensor detection in predetermined amount of time Magnitude;Between first screen and second screen that obtain second Hall sensor detection in predetermined amount of time Potential change magnitude;Obtain first screen and described second of the acceleration transducer detection in predetermined amount of time Acceleration change magnitude between screen.
Described control unit of the embodiment of the present invention is when relative position variation magnitude is more than preset variable quantity threshold During value, the state switching of breath screen and bright screen is carried out to first screen and second screen.
Specifically, described control unit of the embodiment of the present invention is additionally operable to, when meeting one or more of condition, to institute It states the first screen and second screen carries out the state switching of breath screen and bright screen:When the gyro sensor in predetermined amount of time Magnitude of angular velocity be more than preset angular speed threshold value, when the light sensor in predetermined amount of time brightness variation magnitude be more than Preset brightness change threshold, when the voltage change magnitude of the proximity sensor in predetermined amount of time becomes more than preset voltage Change threshold value, when the second Hall sensor in predetermined amount of time potential change magnitude be more than preset potential change threshold value, when The acceleration change magnitude of acceleration transducer in predetermined amount of time is more than preset acceleration change threshold value.
That is, the embodiment of the present invention is that the first screen and the second screen of terminal are detected in the first Hall sensor Between state change after, further pass through gyro sensor, light sensor, proximity sensor and the second hall sensing Device carrys out the further state obtained between the first screen and the second screen, to determine whether terminal occurs screen state switching, So as to effectively increase the control to terminal screen.
The relevant portion of the embodiment of the present invention can refer to embodiment of the method part and be understood that in this not go into detail.
The embodiment of the present invention also provides a kind of terminal, as shown in fig. 6, the terminal is double screen terminal, specifically includes:It is described Terminal is double screen terminal, and the terminal includes:
Whether the first detection device, the state for detecting between the first screen of the terminal and the second screen change Become;
Second detection device, for detecting the relative position information of first screen and second screen;
Processor, for working as the state between the first detection device detection first screen and second screen During change, the relative position information of the second detection device detection is obtained, and according to the relative position information to institute It states the first screen and second screen is controlled;Wherein, institute's detection device is stated the first screen and is passed through with second screen Shaft is rotatablely connected.
That is, the embodiment of the present invention is after detecting that the state between the first screen and the second screen changes, The relative position information of first screen and second screen is obtained, according to the relative position information to first screen Curtain and second screen are controlled.That is, the embodiment of the present invention is by obtaining the relative position informations of two screens of terminal Further judge the current state of terminal, so as to improve the control accuracy of terminal-pair breath screen and bright screen, avoid existing terminal Because by interference such as electromagnetism, caused by the screen of terminal the problem of frequently ceasing screen and bright screen, increasing power consumption of terminal.
When it is implemented, the embodiment of the present invention is to detect first screen and second screen in the first detection device After state between curtain changes, the relative position of first screen and second screen is obtained by second detection device Information.
Wherein, what second detection device described in the embodiment of the present invention obtained is first screen and second screen Relative position information.
It should be noted that terminal described in the embodiment of the present invention is double screen terminal, the terminal includes the first screen and the Two screens, wherein, first screen is rotatablely connected with second screen by shaft.
It should be noted that the first screen described in the embodiment of the present invention is main screen, second screen shields to be secondary, the present invention Embodiment is substantially mainly according to the relative position information between the main screen detected and secondary screen, to control the breath of main screen and secondary screen Screen and bright screen, so as to avoid since the Hall sensor in terminal is by electromagnetic interference, caused by the screen of terminal frequently cease screen With bright screen, increase power consumption of terminal, reduce the problem of user experience.
Also, the first detection device described in the embodiment of the present invention be the first Hall sensor, the second detection device Including one or more in following:Gyro sensor, light sensor, proximity sensor, the second Hall sensor and Acceleration transducer.
When it is implemented, the embodiment of the present invention is by gyro sensor, light sensor, proximity sensor, second Hall sensor and/or acceleration transducer obtain the relative position information of first screen and second screen.
Also, the second detection device described in the embodiment of the present invention is to obtain first screen and second screen Relative position changes magnitude, then processor according to the relative position change between magnitude and preset variable quantity threshold value greatly Small relationship carries out first screen and second screen state switching of breath screen and bright screen.
It should be noted that relative position variation magnitude includes magnitude of angular velocity described in the embodiment of the present invention, brightness changes It is one or more in magnitude, voltage change magnitude, potential change magnitude and acceleration change magnitude.
When it is implemented, processor described in the embodiment of the present invention is to be more than preset change in relative position variation magnitude During change amount threshold value, the state switching of breath screen and bright screen is carried out to first screen and second screen.
Variable quantity threshold value described in the embodiment of the present invention can carry out arbitrary setting according to actual needs.
The relevant portion of the embodiment of the present invention can refer to embodiment of the method part and be understood that in this not go into detail.
Correspondingly, the embodiment of the present invention also provides a kind of computer readable storage medium, the computer-readable storage Media storage has the computer program of control terminal screen, when the computer program is performed by least one processor, with reality Existing following steps:After detecting that the state between the first screen and the second screen changes, obtain first screen and The relative position information of second screen;According to the relative position information to first screen and second screen into Row control.
It should be noted that the computer readable storage medium and storage medium described in the embodiment of the present invention are same Jie Matter.
The relevant portion of the embodiment of the present invention can refer to other embodiment part and be understood, not be described in detail herein.
Although for example purpose, the preferred embodiment of the present invention is had been disclosed for, those skilled in the art will recognize Various improvement, increase and substitution are also possible, and therefore, the scope of the present invention should be not limited to the above embodiments.

Claims (17)

  1. A kind of 1. method of control terminal screen, which is characterized in that including:
    After detecting that the state between the first screen and the second screen changes, first screen and described second are obtained The relative position information of screen;
    First screen and second screen are controlled according to the relative position information;
    Wherein, first screen is rotatablely connected with second screen by shaft.
  2. 2. according to the method described in claim 1, it is characterized in that, described ought detect between the first screen and the second screen After state changes, the relative position information of first screen and second screen is obtained, is specifically included:
    It detects whether the state between first screen and second screen changes by the first detection device, works as inspection It measures after the state between first screen and second screen changes, obtains first screen and described second The relative position information of screen.
  3. 3. according to the method described in claim 1, it is characterized in that, first screen and second screen of obtaining Relative position information specifically includes:
    The relative position information of first screen and second screen is obtained by second detection device.
  4. 4. according to the method described in claim 3, it is characterized in that, described obtain first screen by second detection device With the relative position information of second screen, specifically include:
    It is obtained by gyro sensor, light sensor, proximity sensor, the second Hall sensor and/or acceleration transducer Take the relative position information of first screen and second screen.
  5. 5. according to the method described in any one in claim 1-4, which is characterized in that described to obtain first screen and institute The relative position information of the second screen is stated, is specifically included:
    The relative position that first screen and second screen are obtained by second detection device changes magnitude;
    First screen and second screen are controlled according to the relative position information, specifically included:
    Magnitude relationship between magnitude and preset variable quantity threshold value is changed according to the relative position, to first screen and Second screen carries out the state switching of breath screen and bright screen.
  6. 6. according to the method described in claim 5, it is characterized in that,
    The relative position variation magnitude includes magnitude of angular velocity, brightness variation magnitude, voltage change magnitude, potential change magnitude With it is one or more in acceleration change magnitude.
  7. It is 7. according to the method described in claim 5, it is characterized in that, described according to relative position variation magnitude and preset Magnitude relationship between variable quantity threshold value, the state that breath screen and bright screen are carried out to first screen and second screen are cut It changes, specifically includes:
    When relative position variation magnitude is more than preset variable quantity threshold value, to first screen and second screen Carry out the state switching of breath screen and bright screen.
  8. 8. a kind of device of control terminal screen, which is characterized in that including:
    Acquiring unit after detecting that the state between the first screen and the second screen changes, obtains first screen With the relative position information of second screen;
    Control unit, for being controlled according to the relative position information first screen and second screen;
    Wherein, first screen is rotatablely connected with second screen by shaft.
  9. 9. device according to claim 8, which is characterized in that
    The acquiring unit is additionally operable to, and the shape between first screen and second screen is detected by the first detection device Whether state changes, and after detecting that the state between first screen and second screen changes, obtains institute State the relative position information of the first screen and second screen.
  10. 10. device according to claim 8, which is characterized in that
    The acquiring unit is additionally operable to, and the opposite position of first screen and second screen is obtained by second detection device Confidence ceases.
  11. 11. device according to claim 10, which is characterized in that
    The acquiring unit is additionally operable to, and passes through gyro sensor, light sensor, proximity sensor, the second Hall sensor And/or acceleration transducer obtains the relative position information of first screen and second screen.
  12. 12. according to the devices described in claim 11, which is characterized in that
    The gyro sensor is arranged in the shaft of the terminal;
    The light sensor is arranged on terminal close to the position of shaft or is arranged in the shaft of the terminal;
    Second Hall sensor is arranged on, with the perpendicular direction of shaft, one end far from shaft;
    The proximity sensor is arranged on, and the perpendicular direction of shaft, at two endpoints of the terminal far from shaft.
  13. 13. according to the device described in any one in claim 8-11, which is characterized in that
    The acquiring unit is additionally operable to, and the opposite position of first screen and second screen is obtained by second detection device Put variation magnitude;
    Described control unit is additionally operable to, and is closed according to the size that the relative position changes between magnitude and preset variable quantity threshold value System carries out first screen and second screen state switching of breath screen and bright screen.
  14. 14. device according to claim 13, which is characterized in that
    The relative position variation magnitude includes magnitude of angular velocity, brightness variation magnitude, voltage change magnitude, potential change magnitude With it is one or more in acceleration change magnitude.
  15. 15. device according to claim 13, which is characterized in that
    Described control unit is additionally operable to, when relative position variation magnitude is more than preset variable quantity threshold value, to described the One screen and second screen carry out the state switching of breath screen and bright screen.
  16. 16. a kind of terminal, which is characterized in that the terminal is double screen terminal, and the terminal includes:
    Whether the first detection device, the state for detecting between the first screen of the terminal and the second screen change;
    Second detection device, for detecting the relative position information of first screen and second screen;
    Processor changes for working as the state between the first detection device detection first screen and second screen When, obtain the relative position information of second detection device detection, and according to the relative position information to described the One screen and second screen are controlled;
    Wherein, institute's detection device is stated the first screen and is rotatablely connected with second screen by shaft.
  17. 17. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has control terminal The computer program of screen, when the computer program is performed by least one processor, to realize following steps:
    After detecting that the state between the first screen and the second screen changes, first screen and described second are obtained The relative position information of screen;
    First screen and second screen are controlled according to the relative position information.
CN201711363869.2A 2017-12-18 2017-12-18 Method, device, terminal and storage medium for controlling terminal screen Active CN108205360B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201711363869.2A CN108205360B (en) 2017-12-18 2017-12-18 Method, device, terminal and storage medium for controlling terminal screen
CN202311018490.3A CN116880667A (en) 2017-12-18 2017-12-18 Method, device, terminal and storage medium for controlling terminal screen
PCT/CN2018/114707 WO2019120003A1 (en) 2017-12-18 2018-11-09 Terminal screen control method and apparatus, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711363869.2A CN108205360B (en) 2017-12-18 2017-12-18 Method, device, terminal and storage medium for controlling terminal screen

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202311018490.3A Division CN116880667A (en) 2017-12-18 2017-12-18 Method, device, terminal and storage medium for controlling terminal screen

Publications (2)

Publication Number Publication Date
CN108205360A true CN108205360A (en) 2018-06-26
CN108205360B CN108205360B (en) 2023-08-15

Family

ID=62605579

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201711363869.2A Active CN108205360B (en) 2017-12-18 2017-12-18 Method, device, terminal and storage medium for controlling terminal screen
CN202311018490.3A Pending CN116880667A (en) 2017-12-18 2017-12-18 Method, device, terminal and storage medium for controlling terminal screen

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202311018490.3A Pending CN116880667A (en) 2017-12-18 2017-12-18 Method, device, terminal and storage medium for controlling terminal screen

Country Status (2)

Country Link
CN (2) CN108205360B (en)
WO (1) WO2019120003A1 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086017A (en) * 2018-07-20 2018-12-25 重庆宝力优特科技有限公司 Control method, device and computer readable storage medium based on multi-screen terminal
CN109521875A (en) * 2018-10-31 2019-03-26 联想(北京)有限公司 A kind of screen control method, electronic equipment and computer readable storage medium
CN109871147A (en) * 2019-02-22 2019-06-11 华为技术有限公司 A kind of response method and electronic equipment of touch screen
WO2019120003A1 (en) * 2017-12-18 2019-06-27 中兴通讯股份有限公司 Terminal screen control method and apparatus, terminal, and storage medium
CN109981839A (en) * 2019-02-02 2019-07-05 华为技术有限公司 A kind of display methods and electronic equipment of the electronic equipment with flexible screen
CN109992189A (en) * 2019-02-22 2019-07-09 华为技术有限公司 Screen control method, electronic equipment and storage medium
CN110058651A (en) * 2019-04-22 2019-07-26 Oppo广东移动通信有限公司 Display control method, device and the electronic equipment of electronic equipment
CN110727311A (en) * 2018-07-16 2020-01-24 Oppo广东移动通信有限公司 Foldable electronic equipment and control method of display screen thereof
CN111131559A (en) * 2018-10-31 2020-05-08 北京小米移动软件有限公司 Sliding closure type terminal, sliding closure state detection method and device and storage medium
WO2020107401A1 (en) * 2018-11-30 2020-06-04 华为技术有限公司 Method for controlling on/off of screen, apparatus for controlling on/off of screen and electronic device
CN111352469A (en) * 2018-12-24 2020-06-30 华为技术有限公司 Method and related device for lighting screen
CN113495652A (en) * 2020-03-20 2021-10-12 北京小米移动软件有限公司 Screen state switching method and device and storage medium
CN115033116A (en) * 2022-08-10 2022-09-09 荣耀终端有限公司 Keyboard, display system and control method of display equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005303688A (en) * 2004-04-13 2005-10-27 Sharp Corp Portable information terminal
CN201655050U (en) * 2010-01-29 2010-11-24 北京一跃骐骥科技发展有限公司 Double-screen electronic book reading equipment adopting turning way for closing screens
CN102035910A (en) * 2009-09-29 2011-04-27 深圳富泰宏精密工业有限公司 Multi-screen mobile phone
CN104640184A (en) * 2015-02-15 2015-05-20 广东欧珀移动通信有限公司 Screen wake-up method and device
CN105373304A (en) * 2015-09-29 2016-03-02 联想(北京)有限公司 Display control method and electronic device
CN106101430A (en) * 2016-06-30 2016-11-09 维沃移动通信有限公司 The method to set up of mobile terminal screen state and mobile terminal thereof
CN106155325A (en) * 2016-07-22 2016-11-23 努比亚技术有限公司 A kind of shuangping san Rouser and method
WO2016187981A1 (en) * 2015-05-22 2016-12-01 中兴通讯股份有限公司 Electronic device, protective jacket, and flip detection method applied to electronic device
CN106210336A (en) * 2016-07-22 2016-12-07 北京小米移动软件有限公司 Control the method and device of mobile terminal state switching
CN106254660A (en) * 2016-08-12 2016-12-21 青岛海信移动通信技术股份有限公司 The awakening method of display screen and device
CN106339168A (en) * 2016-08-22 2017-01-18 北京小米移动软件有限公司 Screen control method and device
US20170075474A1 (en) * 2015-09-16 2017-03-16 Lenovo (Singapore) Pte. Ltd. Information processing apparatus, display method therefor, and computer-executable program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108205360B (en) * 2017-12-18 2023-08-15 中兴通讯股份有限公司 Method, device, terminal and storage medium for controlling terminal screen

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005303688A (en) * 2004-04-13 2005-10-27 Sharp Corp Portable information terminal
CN102035910A (en) * 2009-09-29 2011-04-27 深圳富泰宏精密工业有限公司 Multi-screen mobile phone
CN201655050U (en) * 2010-01-29 2010-11-24 北京一跃骐骥科技发展有限公司 Double-screen electronic book reading equipment adopting turning way for closing screens
CN104640184A (en) * 2015-02-15 2015-05-20 广东欧珀移动通信有限公司 Screen wake-up method and device
WO2016187981A1 (en) * 2015-05-22 2016-12-01 中兴通讯股份有限公司 Electronic device, protective jacket, and flip detection method applied to electronic device
US20170075474A1 (en) * 2015-09-16 2017-03-16 Lenovo (Singapore) Pte. Ltd. Information processing apparatus, display method therefor, and computer-executable program
CN105373304A (en) * 2015-09-29 2016-03-02 联想(北京)有限公司 Display control method and electronic device
CN106101430A (en) * 2016-06-30 2016-11-09 维沃移动通信有限公司 The method to set up of mobile terminal screen state and mobile terminal thereof
CN106155325A (en) * 2016-07-22 2016-11-23 努比亚技术有限公司 A kind of shuangping san Rouser and method
CN106210336A (en) * 2016-07-22 2016-12-07 北京小米移动软件有限公司 Control the method and device of mobile terminal state switching
CN106254660A (en) * 2016-08-12 2016-12-21 青岛海信移动通信技术股份有限公司 The awakening method of display screen and device
CN106339168A (en) * 2016-08-22 2017-01-18 北京小米移动软件有限公司 Screen control method and device

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019120003A1 (en) * 2017-12-18 2019-06-27 中兴通讯股份有限公司 Terminal screen control method and apparatus, terminal, and storage medium
CN110727311A (en) * 2018-07-16 2020-01-24 Oppo广东移动通信有限公司 Foldable electronic equipment and control method of display screen thereof
CN109086017A (en) * 2018-07-20 2018-12-25 重庆宝力优特科技有限公司 Control method, device and computer readable storage medium based on multi-screen terminal
CN109521875A (en) * 2018-10-31 2019-03-26 联想(北京)有限公司 A kind of screen control method, electronic equipment and computer readable storage medium
CN111131559B (en) * 2018-10-31 2021-08-31 北京小米移动软件有限公司 Sliding closure type terminal, sliding closure state detection method and device and storage medium
CN111131559A (en) * 2018-10-31 2020-05-08 北京小米移动软件有限公司 Sliding closure type terminal, sliding closure state detection method and device and storage medium
WO2020107401A1 (en) * 2018-11-30 2020-06-04 华为技术有限公司 Method for controlling on/off of screen, apparatus for controlling on/off of screen and electronic device
CN112136093A (en) * 2018-11-30 2020-12-25 华为技术有限公司 Method for controlling opening and closing of screen, device for controlling opening and closing of screen and electronic equipment
US11281814B2 (en) 2018-12-24 2022-03-22 Huawei Technologies Co., Ltd. Screen-on method and related apparatus
CN111352469B (en) * 2018-12-24 2022-04-12 华为技术有限公司 Method and related device for lighting screen
CN111352469A (en) * 2018-12-24 2020-06-30 华为技术有限公司 Method and related device for lighting screen
WO2020134863A1 (en) * 2018-12-24 2020-07-02 华为技术有限公司 Method for turning on screen and related device
CN109981839A (en) * 2019-02-02 2019-07-05 华为技术有限公司 A kind of display methods and electronic equipment of the electronic equipment with flexible screen
EP3896946A4 (en) * 2019-02-02 2022-03-09 Huawei Technologies Co., Ltd. Display method for electronic device having flexible screen and electronic device
CN109992189A (en) * 2019-02-22 2019-07-09 华为技术有限公司 Screen control method, electronic equipment and storage medium
CN109871147B (en) * 2019-02-22 2020-12-01 华为技术有限公司 Touch screen response method and electronic equipment
CN109871147A (en) * 2019-02-22 2019-06-11 华为技术有限公司 A kind of response method and electronic equipment of touch screen
CN110058651A (en) * 2019-04-22 2019-07-26 Oppo广东移动通信有限公司 Display control method, device and the electronic equipment of electronic equipment
CN113495652A (en) * 2020-03-20 2021-10-12 北京小米移动软件有限公司 Screen state switching method and device and storage medium
CN115033116A (en) * 2022-08-10 2022-09-09 荣耀终端有限公司 Keyboard, display system and control method of display equipment
CN115033116B (en) * 2022-08-10 2023-07-25 荣耀终端有限公司 Keyboard, display system and control method of display equipment

Also Published As

Publication number Publication date
CN116880667A (en) 2023-10-13
WO2019120003A1 (en) 2019-06-27
CN108205360B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN108205360A (en) Method, apparatus, terminal and the storage medium of control terminal screen
CN104246675B (en) Proximity test device and proximity test method
CN104640184B (en) A kind of screen awakening method and device
US11493964B2 (en) Cover accessory device for a portable electronic and/or computer apparatus, and apparatus provided with such an accessory device
CN104199572B (en) Touch positioning method of touch display device and touch display device
CN106225806B (en) Calibrate the method, device and mobile terminal of Magnetic Sensor
TW201312431A (en) Measuring device and method for the detection of an approach
EP3318962B1 (en) Stylus having variable transmit signal strength
CN112731228A (en) Folding screen device and magnetic field detection method in folding screen device
JP2016062205A (en) Sensor signal processing circuit and sensor signal processing method
JP6334601B2 (en) Portable information terminal, wearing arm judgment method, wearing direction judgment method, and program
CN110278295A (en) Display methods, device, mobile terminal and storage medium
CN103246431B (en) A kind of regulation screen display direction method, Apparatus and system
CN205050078U (en) A wearable apparatus
CN106525330A (en) Calibration control method of pressure sensor
CN102169385B (en) A kind of method of toch control
CN109753180A (en) Three refer to judgment method, touch screen and the electronic equipment coaxially torn open a little in touch-control identification
CN106908642B (en) Probe, oscilloscope, motion recognition system and method
CN110673697B (en) Control method and device of electronic equipment, electronic equipment and storage medium
CN218159460U (en) Folding screen terminal and folding state detection device for folding screen terminal
CN106371612A (en) Virtual reality glasses and menu control method
KR101696386B1 (en) Method and apparatus for sensing a plurality of touch inputs
CN103412699B (en) Method for two-point control gesture recognition of four-wire resistance touch screen
CN204330852U (en) Can sensed position change electrical measurement
CN110221436A (en) A kind of head-mounted display apparatus and head-mounted display apparatus component

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
GR01 Patent grant
GR01 Patent grant