WO2019019883A1 - 一种确定双屏相对位置的方法、显示控制的方法及终端 - Google Patents

一种确定双屏相对位置的方法、显示控制的方法及终端 Download PDF

Info

Publication number
WO2019019883A1
WO2019019883A1 PCT/CN2018/094429 CN2018094429W WO2019019883A1 WO 2019019883 A1 WO2019019883 A1 WO 2019019883A1 CN 2018094429 W CN2018094429 W CN 2018094429W WO 2019019883 A1 WO2019019883 A1 WO 2019019883A1
Authority
WO
WIPO (PCT)
Prior art keywords
screens
screen
sensor
angle
terminal
Prior art date
Application number
PCT/CN2018/094429
Other languages
English (en)
French (fr)
Inventor
廖品真
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to US16/634,090 priority Critical patent/US11206323B2/en
Publication of WO2019019883A1 publication Critical patent/WO2019019883A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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
    • 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/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1616Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with folding flat displays, e.g. laptop computers or notebooks having a clamshell configuration, with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • 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/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1647Details related to the display arrangement, including those related to the mounting of the display in the housing including at least an additional display
    • 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
    • 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/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/012Head tracking input arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0241Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0241Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call
    • H04M1/0243Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call using the relative angle between housings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/16Details of telephonic subscriber devices including more than one display unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Definitions

  • the present disclosure relates to, but is not limited to, the field of communication technology, and in particular, a method for determining a relative position of a dual screen, a method for displaying control, and a terminal for dual screen folding.
  • One method is achieved by arranging a Hall device and a magnet on each of the two boards. When closed and opened, the Hall device will report the status of the response.
  • the layout position of the Hall device is very important. If it is placed too close to the rotating shaft, it will be too sensitive; too far away from the rotating shaft will cause the Hall response to be untimely. For example, if the ordinary clamshell machine is closed quickly, once a button is raised more, the button will be pressed and an accidental touch will occur.
  • the Hall device can only report the near and far states, and the relative positions of the two boards cannot be accurately obtained. For example, for a flip-screen dual-screen phone, only the two states are closed and open. Under normal circumstances, the relative position of the two screens (indicated by the angle): 0-360 °, the Hall device can only show 0 ° or 360 ° closed or opened at other angles, therefore, for the relative position judgment Not precise enough.
  • Another method is to calculate the angle between two boards by reading an acceleration sensor on each of the two boards and reading the measured data. This method is generally only applicable to stationary products, such as laptops, not to smart terminals. Since the intelligent terminal may always be in motion during use, the data acquired by the acceleration sensor measurement is composed of both the gravity acceleration and the motion acceleration of the terminal itself, so that the calculated angle is very inaccurate, which greatly affects the user experience.
  • the present disclosure provides a method for determining the relative position of a dual screen, a method for displaying control, and a dual-folded terminal to accurately measure the angle between the two screens, thereby controlling the display and improving the user experience.
  • a first aspect of the present disclosure provides a method for determining a relative position of a dual screen, which is suitable for a dual-screen folding terminal.
  • the two screens of the terminal are respectively provided with at least two types of sensors, including:
  • the at least two sensors are selected from the group consisting of:
  • Acceleration sensor gyroscope, geomagnetic sensor.
  • the target virtual sensor comprises any one of the following: a rotation vector sensor, a game rotation vector sensor, and a gravity sensor.
  • a display control method is suitably configured as a dual-screen folding terminal, and at least two sensors are respectively disposed on two screens of the terminal, including:
  • the content displayed on the two screens is controlled according to the value of the included angle.
  • controlling the content displayed on the two screens according to the value of the included angle includes:
  • the horizontally placed screen is used as a virtual keyboard and the other screen is used as a display screen.
  • the two screens are displayed in a split screen, or the two screens are combined into one screen to display the same content.
  • the screen and touch system are turned off.
  • the senor includes at least an acceleration sensor and a gyroscope.
  • the virtual sensor includes one or two of the following sensors: a rotation vector sensor, a game rotation vector sensor, and a gravity sensor.
  • a second aspect of the present disclosure provides a dual-screen folding terminal, wherein at least two sensors are respectively disposed on two screens of the terminal, including:
  • An acquisition module configured to separately collect data of each of the sensors on the two screens
  • the simulation module is configured to respectively simulate data of the target virtual sensor according to the data collected on each screen;
  • a determining module configured to determine an angle between the two screens according to data of the target virtual sensor corresponding to the two screens.
  • the at least two sensors may be selected from the group consisting of: an acceleration sensor, a gyroscope, and a geomagnetic sensor.
  • the virtual sensor comprises any one of the following: a rotation vector sensor, a game rotation vector sensor, and a gravity sensor.
  • the terminal further includes:
  • control module configured to control content displayed on the two screens according to the value of the angle.
  • control module controls the content displayed on the two screens according to the value of the included angle, including: in response to the value of the included angle being in a first range, if it is determined that a screen is in a horizontally placed state , the horizontally placed screen is used as a virtual keyboard, and the other screen is used as a display screen; in response to the value of the included angle being in the second range, the two screens are displayed in a split screen, or the two screens are merged Displaying the same content for one screen; turning off the screen and the touch system in response to the value of the included angle being less than the threshold.
  • a third aspect of the present disclosure provides a dual screen folding terminal, including a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein at least two screens of the terminal are respectively provided with at least Two types of sensors that implement the following steps when the processor executes the program:
  • the content displayed on the two screens is controlled according to the value of the included angle.
  • the embodiments of the present disclosure provide a method for determining a relative position of a dual screen, a display control method, and a dual-screen folding terminal, which can accurately measure the angle between two screens, and control display based on the accurately measured screen angle. Provide a user experience.
  • FIG. 1 is a schematic diagram of a terminal according to Embodiment 1 of the present disclosure.
  • FIG. 2 is a schematic diagram of a terminal according to Embodiment 2 of the present disclosure.
  • FIG. 3 is a flowchart of a method for determining a relative position of a dual screen according to Embodiment 3 of the present disclosure.
  • FIG. 4 is a flow chart of a method for determining a relative position of a dual screen according to Embodiment 4 of the present disclosure.
  • FIG. 5 is a flowchart of a method for determining a relative position of a dual screen according to Embodiment 5 of the present disclosure.
  • FIG. 6 is a flowchart of a method for display control according to Embodiment 6 of the present disclosure.
  • FIG. 7 is a flowchart of a method for display control according to Embodiment 7 of the present disclosure.
  • FIG. 8 is a flowchart of a method for display control according to Embodiment 8 of the present disclosure.
  • FIG. 9 is a flowchart of a method of display control according to Embodiment 9 of the present disclosure.
  • FIG. 10 is a flowchart of a method of display control according to Embodiment 10 of the present disclosure.
  • FIG. 11 is a flowchart of a method of display control according to Embodiment 11 of the present disclosure.
  • the embodiment of the present disclosure mainly relates to a foldable terminal.
  • the terminal of the embodiment has at least two different sensors on two screens, for example, an acceleration sensor, a gyroscope, a geomagnetic sensor, etc., and a virtual orientation is integrated by an algorithm.
  • Sensors such as RV (rotation vector) sensors, GAME RV (game rotation vector) sensors, G-sensor (gravity sensors), etc.
  • FIG. 1 is a schematic diagram of a terminal according to the embodiment. As shown in FIG. 1, the terminal 1000 of this embodiment includes:
  • the collecting module 1001 is configured to separately collect data of each sensor on the two screens;
  • the simulation module 1002 is configured to respectively simulate data of the target virtual sensor according to data collected on each screen;
  • the determining module 1003 is configured to determine an angle between the two screens according to data of the two data virtual sensors.
  • the gyroscope is set to measure the angular velocity of the object rotation;
  • the acceleration sensor is set to measure the real-time acceleration of the object, generally a superposition of the gravitational acceleration and the motion acceleration;
  • the geomagnetic sensor is set to include other orientation sensors that can be used to determine the direction. .
  • a virtual sensor is simulated, and the angle between the two screens and the horizontal plane can be accurately calculated by the virtual sensor. . Since it does not rely solely on the acceleration sensor, the influence of the linear motion component of the mobile phone on the calculation result is removed by the fusion of different sensors, thereby accurately determining the angle of the angle of the dual screen of the mobile phone, thereby solving the angle of the prior art relying on the acceleration sensor. Calculate the problem of large errors caused by the acceleration of the mobile phone motion. Analog virtual sensors were previously used in the field of games, and their implementation methods are not described in detail here. How to design and implement virtual sensors in dual-screen mobile phones and accurately determine the angle between the two screens is still blank in the industry. It was first proposed by the inventors of the present invention.
  • the terminal of the embodiment can accurately measure the relative positions of the two screens, thereby greatly improving the user experience.
  • the terminal in this embodiment may further include:
  • the control module 1004 is configured to control the content displayed on the two screens according to the value of the included angle.
  • the common flip phone is prone to button mis-touch when it is closed, which leads to some inexplicable problems.
  • the dual-screen folding terminal of the embodiment can display different contents according to different relative positions of the dual screen, which is a conventional scheme. Unable to implement or not accurately implemented.
  • the embodiment further provides a dual-screen folding terminal, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the two screens of the terminal are respectively provided with at least two different a sensor that implements the following steps when executing the program:
  • the target virtual sensor herein may be determined according to product design requirements before leaving the factory, may also be specified by the designer, or may be designed to include several optional target virtual sensors and may be selected by the user.
  • the present invention does not Make restrictions.
  • FIG. 3 is a flowchart of a method for determining a relative position of a dual screen according to an embodiment of the present invention.
  • the method in this embodiment is applicable to a dual-screen folding terminal, and at least two different sensors are respectively disposed on two screens of the terminal. As shown in FIG. 3, the following steps may be included:
  • Step 11 separately collect data of each sensor on the two screens
  • Step 12 Simulate data of the target virtual sensor according to data collected on each screen
  • Step 13 Determine an angle between the two screens according to data of the target virtual sensor corresponding to the two screens.
  • a virtual sensor is simulated by combining a plurality of different sensors by an algorithm, and the angle between the two screens and the horizontal plane can be accurately calculated by the virtual sensor.
  • the terminal of the embodiment can accurately measure the relative positions of the two screens, thereby greatly improving the user experience.
  • This embodiment is described by taking the data of various sensors as an RV sensor or a GAME-RV sensor as an example. As shown in FIG. 4, the method in this embodiment includes:
  • Step 101 Start.
  • Step 102 Collect data of each sensor on the two screens.
  • the data collected by the acceleration sensor and the gyroscope is necessary, and the geomagnetic sensor is optional.
  • Step 103 Simulate the two sets of sensor data by using a fusion algorithm to generate two RV sensors or GAME-RV sensors.
  • Step 104 According to the data of the RV sensor or the GAME-RV sensor, respectively obtain an angle between each screen and a horizontal plane.
  • the angle between the screen and the horizontal plane can be obtained only by appropriately processing the data of the sensor.
  • Step 105 Obtain an angle between two screens
  • the angle between the two screens is
  • 126°.
  • the method in this embodiment includes:
  • Step 201 Start.
  • Step 202 Collect data of each sensor on the two screens.
  • the data collected by the acceleration sensor and the gyroscope is necessary, and the geomagnetic sensor is optional.
  • Step 203 Simulate the two sets of sensor data into two gravity sensors using a fusion algorithm.
  • Step 204 Obtain the X/Y/Z axis value of gravity, and calculate an angle between the two screens and the horizontal plane by an inverse tangent function.
  • Step 205 Determine that the angle between the two screens is
  • 90°.
  • FIG. 6 is a flowchart of a method for displaying control according to an embodiment of the present invention.
  • the method in this embodiment is applicable to a dual-screen folding terminal, and at least two different sensors are respectively disposed on two screens of the terminal, as shown in FIG. As shown in 6, the following steps can be included:
  • Step 21 separately collect data of each sensor on the two screens
  • Step 22 Simulate two virtual sensors according to the collected data
  • Step 23 Determine an angle between the two screens according to data of the two virtual sensors
  • Step 24 Control content displayed on the two screens according to the value of the angle.
  • the common flip phone is prone to button mis-touch when it is closed, which leads to some inexplicable problems.
  • the dual-screen folding terminal of the embodiment can control different content according to different relative positions of the dual screen, which is conventional. The solution cannot be implemented or cannot be implemented accurately.
  • This embodiment is an application example for controlling the terminal to perform screen-off sleep. As shown in FIG. 7, the following steps are included:
  • Step 301 Start.
  • Step 302 Collect data of each sensor on the two screens.
  • Step 303 Simulate two virtual sensors according to the data reported by the sensor, where the virtual sensor includes one or more of an RV sensor, a GAME RV sensor, a gravity sensor, and the like.
  • Step 304 Calculate an angle between two screens
  • the RV sensor and the GAME RV sensor themselves contain angle values, which can be calculated directly by calculating the angle difference to calculate the angle between the two screens.
  • the gravity sensor needs to be converted to calculate the angle between each screen and the horizontal or vertical plane. To calculate the angle between the two screens.
  • Step 305 Determine whether the value of the angle is less than a certain threshold.
  • the threshold is generally a value between 0 and 60 degrees. If yes, proceed to step 306; otherwise, return to step 302.
  • Step 306 Turn off the screen and the touch system and trigger the system to go to sleep.
  • This embodiment is an application example of an analog PC (personal computer), as shown in FIG. 8, including the following steps:
  • Step 401 Start.
  • Step 402 Collect data of each sensor on the two boards.
  • Step 403 Simulate two virtual sensors according to the data reported by the sensor, where the virtual sensor includes one or more of an RV sensor, a GAME RV sensor, a gravity sensor, and the like.
  • Step 404 Calculate an angle between two screens
  • the RV sensor and the GAME RV sensor themselves contain angle values, which can be calculated directly by calculating the angle difference to calculate the angle between the two screens.
  • the gravity sensor needs to be converted to calculate the angle between each screen and the horizontal or vertical plane. To calculate the angle between the two screens.
  • Step 405 Determine whether the value of the angle between the two screens is in a certain range, the range is generally 60-170, and if so, proceed to step 406; otherwise, return to step 402.
  • Step 406 Determine whether a screen is in a horizontally placed state. If yes, go to step 407, otherwise return to step 402.
  • Step 407 Simulate the horizontally placed screen as a keyboard, and the other screen is still a display function, simulating a small notebook.
  • This embodiment is an application example of a simulated pad or a split screen. As shown in FIG. 9, the following steps are included:
  • Step 501 Start.
  • Step 502 Collect data of each sensor on the two screens.
  • Step 503 Simulate two virtual sensors according to the data reported by the sensor, where the virtual sensor includes one or more of an RV sensor, a GAME RV sensor, a gravity sensor, and the like.
  • Step 504 Calculate an angle between two screens
  • the RV sensor and the GAME RV sensor themselves contain angle values, which can be calculated directly by calculating the angle difference to calculate the angle between the two screens.
  • the gravity sensor needs to be converted to calculate the angle between each screen and the horizontal or vertical plane. To calculate the angle between the two screens.
  • Step 505 Determine whether the value of the angle between the two screens is in a certain range, and the range is generally 180 ° ⁇ 10 °. If yes, go to step 506; otherwise, go to step 502.
  • Step 506 Combine the two screens into one screen, simulate the PAD, or do the split screen display, and each screen displays different applications.
  • one screen displays the WeChat grab red envelope interface
  • the other screen displays the video interface
  • This embodiment is an application example for simulating a 360° display, as shown in FIG. 10, including the following steps:
  • Step 601 Start.
  • Step 602 Collect data of each sensor on the two boards.
  • Step 603 Simulate two virtual sensors according to the data reported by the sensor, where the virtual sensor includes one or more of an RV sensor, a GAME RV sensor, a gravity sensor, and the like.
  • Step 604 Calculate an angle between two screens
  • the RV sensor and the GAME RV sensor themselves contain angle values, which can be calculated directly by calculating the angle difference to calculate the angle between the two screens.
  • the gravity sensor needs to be converted to calculate the angle between each screen and the horizontal or vertical plane. To calculate the angle between the two screens.
  • Step 605 Determine whether the angle is in a certain range.
  • the range is generally 190-350. If yes, go to step 606; otherwise, return to step 602.
  • Step 606 The two screens display the same content, and the 360° display is performed.
  • both screens play the same video.
  • An application example of the main auxiliary screen display in this embodiment, as shown in FIG. 11, includes the following steps:
  • Step 701 Start.
  • Step 702 Collect data of each sensor on the two boards.
  • Step 703 Simulate two virtual sensors according to the data reported by the sensor, where the virtual sensor includes one or more of an RV sensor, a GAME RV sensor, a gravity sensor, and the like.
  • Step 704 Calculate an angle between two screens
  • the RV sensor and the GAME RV sensor themselves contain angle values, which can be calculated directly by calculating the angle difference to calculate the angle between the two screens.
  • the gravity sensor needs to be converted to calculate the angle between each screen and the horizontal or vertical plane. , to calculate the angle between the two screens.
  • Step 705 Determine whether the value of the angle between the two screens is in a certain range, and the range is generally 350°-360°. If yes, go to step 706; otherwise, go back to step 702.
  • Step 706 One screen is set as the main screen, and the other screen is set as the auxiliary screen.
  • the range of angles in the above embodiments is not fixed.
  • the example is only an example.
  • the angle range can be modified according to the specific application. Therefore, any specific operation through the angle value should be included in the scope of the disclosure. .
  • Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the method of determining a relative position of a dual screen and a method of display control.

Abstract

一种确定双屏相对位置的方法,适用于双屏折叠的终端,终端的两个屏上分别设置有至少两种传感器,该方法包括:分别采集两个屏上各个传感器的数据;根据各个屏上采集的数据分别模拟出目标虚拟传感器的数据;根据两个屏对应的目标虚拟传感器的数据确定两个屏之间的夹角。本申请还公开了一种显示控制的方法和双屏折叠的终端。采用本发明可以精确测量两个屏的夹角,进而控制显示。

Description

一种确定双屏相对位置的方法、显示控制的方法及终端 技术领域
本公开涉及但不限于通信技术领域,特别是一种确定双屏相对位置的方法、显示控制的方法及双屏折叠的终端。
背景技术
近期,智能终端市场长期被直板机占据,造成人们审美疲劳,于是翻盖手机,尤其是双屏翻盖手机,又开始回到人们的视野中。针对于普通翻盖机(带触摸屏和物理键盘),需要在合盖后灭屏,这就需要知道上盖板和下盖板的相对位置。而对于双屏翻盖机,需要知道两个屏的相对位置,以便推送不同的显示内容给两个屏。目前各个厂家采用的方法一般包括以下几种。
一种方法是通过在两个板子上分别布置一个霍尔器件和磁铁来实现,当合上和打开后,霍尔器件会上报响应的状态。但是在上述方法中,霍尔器件的布局位置非常重要,如果布置得太靠近转轴,那么就会过于灵敏;太远离转轴则会导致霍尔响应不及时。比如普通翻盖机,如果快速合上,一旦某个按键突起比较多,就会导致该按键被按下,出现误触。同时,霍尔器件只能上报接近和远离两个状态,无法准确获取两个板子的相对位置。例如,针对翻盖双屏手机,只有合上和打开两个状态。而正常情况下,两屏的相对位置(以夹角表示):0-360°,霍尔器件只能显示0°或360°左右合上或以其他角度打开,因此,对于相对位置判断来说,不够精确。
另一种方法是通过在2个板子各布局一个加速度传感器,通过读取测量的数据来计算2个板子的夹角。这种方法一般只适用于静止的产品,如笔记本电脑,而不适用于智能终端。由于智能终端在使用过程中可能一直处于运动中,而加速度传感器测量获取的数据由重力加速度和终端本身的运动加速度二者组成,从而导致计算出来的角度非常不准确,会极大影响用户体验。
发明内容
本公开提供一种确定双屏相对位置的方法、显示控制的方法及双屏折叠的终端,以精确测量两个屏的夹角,进而控制显示,提高用户体验。
本公开的第一方面提供一种确定双屏相对位置的方法,适用于双屏折叠的终端,所述终端的两个屏上分别设置有至少两种传感器,包括:
分别采集所述两个屏上各个所述传感器的数据;
根据各个屏上采集的数据分别模拟出目标虚拟传感器的数据;
根据所述两个屏对应的所述目标虚拟传感器的数据确定所述两个屏之间的夹角。
可选地,所述至少两种传感器选自:
加速度传感器、陀螺仪、地磁传感器。
可选地,所述目标虚拟传感器包括以下任意一种:旋转矢量传感器,游戏旋转矢量传感器,重力传感器。
一种显示控制的方法,适设置为双屏折叠的终端,所述终端的两个屏上分别设置有至少两种传感器,包括:
分别采集所述两个屏上各个所述传感器的数据;
根据各个屏上采集的数据分别模拟出目标虚拟传感器的数据;
根据所述两个屏对应的所述目标虚拟传感器的数据确定所述两个屏之间的夹角;
根据所述夹角的值控制所述两个屏上显示的内容。
可选地,所述根据所述夹角的值控制所述两个屏上显示的内容,包括:
响应于所述夹角的值处于第一范围,如果确定一个屏处于水平放置状态,则将水平放置的屏作为虚拟键盘,另一个屏作为显示屏幕,
响应于所述夹角的值处于第二范围,将所述两个屏进行分屏显示,或者将所述两个屏合并为一个屏幕显示同一个内容,
响应于所述夹角的值小于阈值,关闭屏幕和触控系统。
可选地,所述传感器至少包括加速度传感器和陀螺仪,
所述虚拟传感器包括以下的一种或者两种传感器:旋转矢量传感器,游戏旋转矢量传感器,重力传感器。
本公开的第二方面提供一种双屏折叠的终端,其中,所述终端的两个屏上分别设置有至少两种传感器,包括:
采集模块,设置为分别采集所述两个屏上各个所述传感器的数据;
模拟模块,设置为根据各个屏上采集的数据分别模拟出目标虚拟传感器的数据;
确定模块,设置为根据所述两个屏对应的所述目标虚拟传感器的数据确定所述两个屏之间的夹角。
可选地,所述至少两种传感器可以选自:加速度传感器、陀螺仪、地磁传感器。
可选地,所述虚拟传感器包括以下任意一种:旋转矢量传感器,游戏旋转矢量传感器,重力传感器。
可选地,所述终端还包括:
控制模块,设置为根据所述夹角的值控制所述两个屏上显示的内容。
可选地,所述控制模块,根据所述夹角的值控制所述两个屏上显示的内容,包括:响应于所述夹角的值处于第一范围,如果确定一个屏处于水平放置状态,则将水平放置的屏作为虚拟键盘,另一个屏作为显示屏幕;响应于所述夹角的值处于第二范围,将所述两个屏进行分屏显示,或者将所述两个屏合并为一个屏幕显示同一个内容;响应于所述夹角的值小于阈值,关闭屏幕和触控系统。
本公开的第三方面提供一种双屏折叠的终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述终端的两个屏上分别设置有至少两种传感器,所述处理器执行所述程序时实现以下步骤:
分别采集所述两个屏上各个所述传感器的数据;
根据各个屏上采集的数据分别模拟出目标虚拟传感器的数据;
根据所述两个屏对应的所述目标虚拟传感器的数据确定所述两个屏之间的夹角。
可选地,所述处理器执行所述程序时还实现以下步骤:
根据所述夹角的值控制所述两个屏上显示的内容。
综上,本公开实施例提供一种确定双屏相对位置的方法、显示控制的方法及双屏折叠的终端,可以精确测量两个屏的夹角,基于精确测量的屏幕夹角控制显示,从而提供用户体验。
附图说明
图1为本公开实施例一的终端的示意图。
图2为本公开实施例二的终端的示意图。
图3为本公开实施例三的一种确定双屏相对位置的方法的流程图。
图4为本公开实施例四的种确定双屏相对位置的方法的流程图。
图5为本公开实施例五的一种确定双屏相对位置的方法的流程图。
图6为本公开实施例六的一种显示控制的方法的流程图。
图7为本公开实施例七的显示控制的方法的流程图。
图8为本公开实施例八的显示控制的方法的流程图。
图9为本公开实施例九的显示控制的方法的流程图。
图10为本公开实施例十的显示控制的方法的流程图。
图11为本公开实施例十一的显示控制的方法的流程图。
具体实施方式
为使本公开的目的、技术方案和优点更加清楚明白,下文中将结合附图对本公开的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
实施例一
本公开实施例主要涉及一种可折叠式终端,本实施例的终端在两个屏上至少两种不同的传感器,例如,加速度传感器、陀螺仪、地磁传感器等传感器,通过算法融合出一个虚拟方位的传感器,比如RV(旋转矢量)传感器,GAME RV(游戏旋转矢量)传感器,G-sensor(重力传感器)等。图1为本实施例的终端的示意图,如图1所示,本实施例的终端1000包括:
采集模块1001,设置为分别采集所述两个屏上各个传感器的数据;
模拟模块1002,设置为根据各个屏上采集的数据分别模拟出目标虚拟传感器的数据;
确定模块1003,设置为根据所述两个的数据虚拟传感器的数据确定所述两个屏之间的夹角。
本实施例中,陀螺仪设置为测量物体转动的角速度;加速度传感器设置为测量物体实时 加速度,一般是重力加速度和运动加速度的叠加;地磁传感器设置为测量可以包括其他可以用于判断方向的方位传感器。
本实施例中,通过融合加速度传感器,陀螺仪传感器,地磁传感器以及其他传感器中的至少两个不同传感器,模拟出一个虚拟传感器,通过该虚拟传感器可以精确地计算出两个屏与水平面的夹角。由于不单纯依赖于加速度传感器,通过不同传感器的融合,去掉手机线性运动分量对计算结果的影响,从而精确确定手机双屏幕的夹角角度,因此解决了现有技术中依赖加速度传感器带来的角度计算受手机运动加速度影响而出现较大误差的问题。模拟虚拟传感器先前多应用于游戏领域,对其实现方法,这里不再详细说明;而如何在双屏幕手机中设计和实现虚拟传感器并用来精确确定两个屏幕的夹角,在业界尚属空白,是由本发明的发明人首次提出的。
通过本实施例的终端可以精确测量出两个屏的相对位置,大大提升用户体验。对于双屏显示项目,可以通过精确测量两个屏的夹角,引出很多的应用场景,提升用户体验。
实施例二
本实施例与实施例一的区别在于,如图2所示,本实施例的终端还可以包括:
控制模块1004,设置为根据所述夹角的值控制所述两个屏上显示的内容。
普通翻盖手机在合盖的时候容易发生按键误触现象,导致出现一些莫名其妙的问题;而本实施例的双屏折叠的终端可以根据双屏不同的相对位置,显示不同的内容,这是常规方案无法实现或无法准确实现。
本实施例还提供一种双屏折叠的终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述终端的两个屏上分别设置有至少两种不同的传感器,所述处理器执行所述程序时实现以下步骤:
分别采集所述两个屏上各个所述传感器的数据;
根据各个屏上采集的数据分别模拟出目标虚拟传感器的数据;
根据所述两个屏对应的所述目标虚拟传感器的数据确定所述两个屏之间的夹角。这里的目标虚拟传感器可以是出厂前根据产品设计需要确定的,也可以由设计者来指定,或者可以设计为包括若干种可选的目标虚拟传感器并可由使用者来选择,本发明在此方面不做限制。
实施例三
图3为本实施例的一种确定双屏相对位置的方法的流程图,本实施例的方法适用于双屏折叠的终端,所述终端的两个屏上分别设置有至少两种不同的传感器,如图3所示,可以包括以下步骤:
步骤11、分别采集所述两个屏上各个传感器的数据;
步骤12、根据各个屏上采集的数据分别模拟出目标虚拟传感器的数据;
步骤13、根据所述两个屏对应的所述目标虚拟传感器的数据确定所述两个屏之间的夹角。
本实施例中,通过算法融合多个不同传感器模拟出一个虚拟传感器,通过该虚拟传感器可以精确地计算出两个屏与水平面的夹角。
通过本实施例的终端可以精确测量出两个屏的相对位置,大大提升用户体验。对于双屏显示项目,可以通过精确测量两个屏的夹角,引出很多的应用场景,提升用户体验。
实施例四
本实施例以将多种传感器的数据模拟为RV传感器或GAME-RV传感器为例进行说明,如图4所示,本实施例的方法包括:
步骤101:开始。
步骤102:采集2个屏上各个传感器的数据。
本实施例中,加速度传感器和陀螺仪采集的数据是必须的,地磁传感器为可选的。
步骤103:使用融合算法将上述2组传感器数据模拟出2个RV传感器或GAME-RV传感器。
步骤104:根据RV传感器或GAME-RV传感器的数据,分别获取每个屏与水平面的夹角。
由于RV传感器或GAME-RV传感器的数据本身就包含着角度信息,只需要对该传感器的数据进行适当的处理就可以得到屏与水平面的夹角。
比如一个屏的RV传感器值上报为0.3,而另一个屏的RV传感器值上报为-0.4,那么第一个屏与水平面(正向)的夹角就是:180°-0.3*180°=126°,而第二个屏与水平面(正向)的夹角就是180°-(-0.4*180°)=252°。
步骤105:获取两个屏的夹角;
本实施例中,2个屏的夹角就是|252°-126°|=126°。
实施例五
本实施例以将多种传感器的数据模拟为重力传感器为例进行说明,如图5所示,本实施例的方法包括:
步骤201:开始。
步骤202:采集2个屏上各个传感器的数据。
本实施例中,加速度传感器和陀螺仪采集的数据是必须的,地磁传感器为可选的。
步骤203:使用融合算法将上述2组传感器数据模拟出2个重力传感器。
步骤204:获取重力的X/Y/Z轴值,通过反正切函数计算出2个屏和水平面的夹角。
比如,第一个板子的X=0,Y=0,Z=9.8,而第二个板子的X=9.8,Y=0,Z=0,那么第一个板子与水平面(正向)的夹角就是:arctan(0)=0°,而第二个板子与水平面(正向)的夹角就是180°-(arctan(1))=90°。
步骤205:确定2个屏的夹角为|90°-0°|=90°。
实施例六
图6为本实施例的一种显示控制的方法的流程图,本实施例的方法适用于双屏折叠的终端,所述终端的两个屏上分别设置有至少两种不同的传感器,如图6所示,可以包括以下步骤:
步骤21、分别采集所述两个屏上各个传感器的数据;
步骤22、根据采集的数据分别模拟出两个虚拟传感器;
步骤23、根据所述两个虚拟传感器的数据确定所述两个屏之间的夹角;
步骤24、根据所述夹角的值控制所述两个屏上显示的内容。
普通翻盖手机在合盖的时候容易发生按键误触现象,导致出现一些莫名其妙的问题;而本实施例的双屏折叠的终端可以根据双屏不同的相对位置来控制显示不同的内容,这是常规方案无法实现或无法准确实现。
实施例七
本实施例为控制终端灭屏睡眠的应用示例,如图7所示,包括以下步骤:
步骤301:开始。
步骤302:采集2个屏上各个传感器的数据。
步骤303:根据传感器上报的数据模拟出2个虚拟传感器,这里的虚拟传感器包括:RV传感器,GAME RV传感器,重力传感器等中的一种或者多种。
步骤304:计算2个屏的夹角;
RV传感器和GAME RV传感器本身就包含着角度值,可以直接通过计算其角度差值来计算2个屏的夹角;而重力传感器需要换算一下,通过计算每个屏与水平面或垂直面的夹角来计算2个屏的夹角。
步骤305:判断夹角的值是否小于某一个阈值,这个阈值一般是0-60°中间的某一个值,如果是,则继续到步骤306;否则返回到步骤302。
步骤306:关闭屏幕和触控系统,并触发系统进入睡眠。
实施例八
本实施例为模拟PC(个人计算机)的应用示例,如图8所示,包括以下步骤:
步骤401:开始。
步骤402:采集2个板子上各个传感器的数据。
步骤403:根据传感器上报的数据模拟出2个虚拟传感器,这里的虚拟传感器包括:RV传感器,GAME RV传感器,重力传感器等中的一种或者多种。
步骤404:计算2个屏的夹角;
RV传感器和GAME RV传感器本身就包含着角度值,可以直接通过计算其角度差值来计算2个屏的夹角;而重力传感器需要换算一下,通过计算每个屏与水平面或垂直面的夹角来计算2个屏的夹角。
步骤405:判断2个屏的夹角的值是否处于某一个范围,该范围一般是60°-170°,如果是,继续到步骤406;否则转回到步骤402。
步骤406:判断是否有一个屏是处于水平放置状态,如果是,则转步骤407,否则返回步骤402。
步骤407:将水平放置的屏模拟为键盘,另一个屏仍为显示功能,模拟小笔记本。
实施例九
本实施例为模拟pad或分屏的应用示例,如图9所示,包括以下步骤:
步骤501:开始。
步骤502:采集2个屏上各个传感器的数据。
步骤503:根据传感器上报的数据模拟出2个虚拟传感器,这里的虚拟传感器包括:RV传感器,GAME RV传感器,重力传感器等中的一种或者多种。
步骤504:计算2个屏的夹角;
RV传感器和GAME RV传感器本身就包含着角度值,可以直接通过计算其角度差值来计算2个屏的夹角;而重力传感器需要换算一下,通过计算每个屏与水平面或垂直面的夹角,来计算2个屏的夹角。
步骤505:判断2个屏的夹角的值是否处于某一个范围,这个范围一般是180°±10°,如果是,则转到步骤506;否则转步骤502。
步骤506:合并2个屏幕为一个屏幕,模拟PAD,或者做分屏显示,每个屏幕显示不同的应用。
比如,一个屏幕显示微信抢红包界面,另一个屏幕显示视频界面。
实施例十
本实施例为模拟360°显示的应用示例,如图10所示,包括以下步骤:
步骤601:开始。
步骤602:采集2个板子上各个传感器的数据。
步骤603:根据传感器上报的数据模拟出2个虚拟传感器,这里的虚拟传感器包括:RV传感器,GAME RV传感器,重力传感器等中的一种或者多种。
步骤604:计算2个屏的夹角;
RV传感器和GAME RV传感器本身就包含着角度值,可以直接通过计算其角度差值来计算2个屏的夹角;而重力传感器需要换算一下,通过计算每个屏与水平面或垂直面的夹角来计算2个屏的夹角。
步骤605:判断这个夹角是否处于某一个范围,这个范围一般是190°-350°,如果是,则转到步骤606;否则返回步骤602。
步骤606:2个屏幕显示同一个内容,做到360°显示。
比如2个屏幕都播放同一个视频。
实施例十一
本实施例为主辅屏显示的应用示例,如图11所示,包括以下步骤:
步骤701:开始。
步骤702:采集2个板子上各个传感器的数据。
步骤703:根据传感器上报的数据模拟出2个虚拟传感器,这里的虚拟传感器包括:RV传感器,GAME RV传感器,重力传感器等中的一种或者多种。
步骤704:计算2个屏的夹角;
RV传感器和GAME RV传感器本身就包含着角度值,可以直接通过计算其角度差值来计算2个屏的夹角;而重力传感器需要换算一下,通过计算每个屏与水平面或垂直面的夹角, 来计算2个屏的夹角。
步骤705:判断这2个屏的夹角的值是否处于某一个范围,这个范围一般是350°-360°,如果是,则转步骤706;否则转回步骤702。
步骤706:一个屏幕设置为主屏,另一个屏幕设置为辅屏。
上述各实施例中的角度范围非是固定的,这里只是举例说明,角度范围用户可以根据具体的应用进行修改,所以任何通过角度值来进行具体操作,都应该包括在本公开所要求保护范围内。
本公开实施例还提供了一种计算机可读存储介质,其存储有计算机可执行指令,所述计算机可执行指令被执行时实现所述确定双屏相对位置的方法及显示控制的方法。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本公开不限制于任何特定形式的硬件和软件的结合。
以上仅为本公开的优选实施例,当然,本公开还可有其他多种实施例,在不背离本公开精神及其实质的情况下,熟悉本领域的技术人员当可根据本公开作出各种相应的改变和变形,但这些相应的改变和变形都应属于本公开所附的权利要求的保护范围。

Claims (14)

  1. 一种确定双屏相对位置的方法,适用于双屏折叠的终端,所述终端的两个屏上分别设置有至少两种传感器,包括:
    分别采集所述两个屏上各个所述传感器的数据;
    使用融合算法根据各个屏上采集的数据分别模拟出目标虚拟传感器的数据;
    根据所述两个屏对应的所述目标虚拟传感器的数据确定所述两个屏之间的夹角。
  2. 如权利要求1所述的方法,其中:所述至少两种传感器选自:
    加速度传感器、陀螺仪、地磁传感器。
  3. 如权利要求1或2所述的方法,其中:
    所述目标虚拟传感器包括以下任意一种:旋转矢量传感器,游戏旋转矢量传感器,重力传感器。
  4. 一种显示控制的方法,适设置为双屏折叠的终端,所述终端的两个屏上分别设置有至少两种传感器,包括:
    分别采集所述两个屏上各个所述传感器的数据;
    根据各个屏上采集的数据分别模拟出目标虚拟传感器的数据;
    根据所述两个屏对应的所述目标虚拟传感器的数据确定所述两个屏之间的夹角;
    根据所述夹角的值控制所述两个屏上显示的内容。
  5. 如权利要求4所述的方法,其中:所述根据所述夹角的值控制所述两个屏上显示的内容,包括:
    响应于所述夹角的值处于第一范围,如确定一个屏处于水平放置状态,则将水平放置的屏作为虚拟键盘,另一个屏作为显示屏幕;
    响应于所述夹角的值处于第二范围,将所述两个屏进行分屏显示,或者将所述两个屏合并为一个屏幕来显示同一个内容;
    响应于所述夹角的值小于阈值,关闭屏幕和触控系统。
  6. 如权利要求4或5所述的方法,其中:
    所述传感器至少包括加速度传感器和陀螺仪,
    所述虚拟传感器包括以下的一种或者两种传感器:旋转矢量传感器,游戏旋转矢量传感器,重力传感器。
  7. 一种双屏折叠的终端,其中,所述终端的两个屏上分别设置有至少两种传感器,包括:
    采集模块,设置为分别采集所述两个屏上各个所述传感器的数据;
    模拟模块,设置为根据各个屏上采集的数据分别模拟出目标虚拟传感器的数据;
    确定模块,设置为根据所述两个屏对应的所述目标虚拟传感器的数据确定所述两个屏之间的夹角。
  8. 如权利要求7所述的终端,其中:
    所述至少两重传感器选自:加速度传感器、陀螺仪、地磁传感器。
  9. 如权利要求7所述的终端,其中:
    所述虚拟传感器包括以下任意一种:旋转矢量传感器,游戏旋转矢量传感器,重力传感器。
  10. 如权利要求7所述的终端,其中:所述终端还包括:
    控制模块,设置为根据所述夹角的值控制所述两个屏上显示的内容。
  11. 如权利要求10所述的终端,其中:
    所述控制模块,根据所述夹角的值控制所述两个屏上显示的内容,响应于确定所述夹角的值处于第一范围,如确定一个屏处于水平放置状态,则将水平放置的屏作为虚拟键盘,另一个屏作为显示屏幕;响应于确定所述夹角的值处于第二范围,将所述两个屏进行分屏显示,或者将所述两个屏合并为一个屏幕来显示同一个内容;响应于确定所述夹角的值小于阈值,关闭屏幕和触控系统。
  12. 一种双屏折叠的终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述终端的两个屏上分别设置有至少两种不同的传感器,所述处理器执行所述程序时实现以下步骤:
    分别采集所述两个屏上各个所述传感器的数据;
    根据各个屏上采集的数据分别模拟出目标虚拟传感器的数据;
    根据所述两个屏对应的所述目标虚拟传感器的数据确定所述两个屏之间的夹角。
  13. 如权利要求12所述的终端,其中:所述处理器执行所述程序时还实现以下步骤:
    根据所述夹角的值控制所述两个屏上显示的内容。
  14. 一种计算机存储介质,所述计算机存储介质存储有执行指令,所述执行指令设置为执行权利要求1至6中任一项所述的方法。
PCT/CN2018/094429 2017-07-25 2018-07-04 一种确定双屏相对位置的方法、显示控制的方法及终端 WO2019019883A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/634,090 US11206323B2 (en) 2017-07-25 2018-07-04 Method for determining relative positions of dual screens, display control method and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710612576.7 2017-07-25
CN201710612576.7A CN109302508A (zh) 2017-07-25 2017-07-25 一种确定双屏相对位置的方法、显示控制的方法及终端

Publications (1)

Publication Number Publication Date
WO2019019883A1 true WO2019019883A1 (zh) 2019-01-31

Family

ID=65040154

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/094429 WO2019019883A1 (zh) 2017-07-25 2018-07-04 一种确定双屏相对位置的方法、显示控制的方法及终端

Country Status (3)

Country Link
US (1) US11206323B2 (zh)
CN (1) CN109302508A (zh)
WO (1) WO2019019883A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3862841A1 (en) * 2020-02-10 2021-08-11 Samsung Electronics Co., Ltd. Electronic device and method for controlling electronic device
CN116781809A (zh) * 2021-11-19 2023-09-19 荣耀终端有限公司 合页角度的检测方法及相关设备

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102650857B1 (ko) * 2018-12-17 2024-03-26 삼성전자 주식회사 폴더블 전자 장치 및 폴더블 전자 장치에서 터치 입력을 감지하는 방법
CN111090382B (zh) * 2019-04-22 2021-06-25 广东小天才科技有限公司 一种文字内容的输入方法及终端设备
CN110266880A (zh) * 2019-06-17 2019-09-20 珠海格力电器股份有限公司 折叠屏的显示控制方法及折叠屏终端
CN110308855A (zh) * 2019-06-28 2019-10-08 华为技术有限公司 一种基于可折叠终端的交互操作方法和装置
CN110633193A (zh) * 2019-09-18 2019-12-31 华勤通讯技术有限公司 基于开合轨迹的操作执行方法、装置、设备及存储介质
CN110647212A (zh) * 2019-09-18 2020-01-03 华勤通讯技术有限公司 一种折叠角度的确定方法、装置、电子设备及存储介质
CN110715597B (zh) * 2019-10-21 2022-04-05 Oppo广东移动通信有限公司 角度计算方法、装置、存储介质以及终端
CN110807992B (zh) * 2019-11-08 2021-09-03 华勤技术股份有限公司 一种电子设备及其控制方法
CN111338555B (zh) * 2020-02-19 2022-03-15 昆明闻泰通讯有限公司 通过虚拟键盘实现输入的方法、装置、设备及存储介质
CN113542453A (zh) * 2020-03-31 2021-10-22 北京小米移动软件有限公司 一种折叠屏终端设备、其状态检测方法和电子设备
CN112089440A (zh) * 2020-11-13 2020-12-18 深圳华声医疗技术股份有限公司 便携式彩超成像系统及其控制方法
CN116366750B (zh) * 2021-12-28 2024-04-16 荣耀终端有限公司 折叠屏夹角的确定方法及其相关设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076043A (zh) * 2006-05-16 2007-11-21 诺基亚公司 有关电子设备的改进
CN103680471A (zh) * 2012-09-21 2014-03-26 联想(北京)有限公司 一种显示图像的方法及电子设备
US20150212647A1 (en) * 2012-10-10 2015-07-30 Samsung Electronics Co., Ltd. Head mounted display apparatus and method for displaying a content
CN104991798A (zh) * 2015-06-25 2015-10-21 青岛海信移动通信技术股份有限公司 一种虚拟传感器配置方法及装置

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9213365B2 (en) * 2010-10-01 2015-12-15 Z124 Method and system for viewing stacked screen displays using gestures
US7782274B2 (en) * 2006-06-09 2010-08-24 Cfph, Llc Folding multimedia display device
KR101569776B1 (ko) * 2009-01-09 2015-11-19 삼성전자주식회사 접히는 표시부를 가지는 휴대 단말기 및 이의 운용 방법
US9405444B2 (en) * 2010-10-01 2016-08-02 Z124 User interface with independent drawer control
CN106293580B (zh) * 2011-02-10 2020-06-09 三星电子株式会社 便携式设备及其控制方法
KR102056898B1 (ko) * 2013-01-22 2019-12-18 삼성디스플레이 주식회사 플렉서블 디스플레이 및 이의 각도 측정 방법
KR102097361B1 (ko) * 2013-02-01 2020-04-07 삼성디스플레이 주식회사 가요성 디스플레이 장치를 구비한 모바일 기기 및 이의 동작 방법
CN104750169B (zh) * 2013-12-25 2018-12-14 联想(北京)有限公司 一种显示方法及电子设备
WO2016017948A1 (en) * 2014-07-31 2016-02-04 Samsung Electronics Co., Ltd. Flexible device and interfacing method thereof
US9941918B2 (en) * 2015-01-07 2018-04-10 Samsung Electronics Co., Ltd. Bendable user terminal device and method for displaying contents based on bending status thereof
JP6274116B2 (ja) * 2015-01-09 2018-02-07 ブラザー工業株式会社 情報入力装置
CN204406917U (zh) * 2015-01-16 2015-06-17 京东方科技集团股份有限公司 多用途会议终端
TWI630472B (zh) * 2015-06-01 2018-07-21 仁寶電腦工業股份有限公司 可攜式電子裝置及其操作方法
CN105721638B (zh) * 2016-04-05 2019-04-30 天翼电信终端有限公司 一种折叠式双屏移动设备及外屏信息显示方法
US10591988B2 (en) * 2016-06-28 2020-03-17 Hiscene Information Technology Co., Ltd Method for displaying user interface of head-mounted display device
KR102636648B1 (ko) * 2016-09-13 2024-02-15 삼성전자주식회사 플렉서블 디스플레이 전자 장치
CN106502602B (zh) * 2016-09-18 2019-08-06 珠海格力电器股份有限公司 一种柔性屏幕的显示装置、方法及终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076043A (zh) * 2006-05-16 2007-11-21 诺基亚公司 有关电子设备的改进
CN103680471A (zh) * 2012-09-21 2014-03-26 联想(北京)有限公司 一种显示图像的方法及电子设备
US20150212647A1 (en) * 2012-10-10 2015-07-30 Samsung Electronics Co., Ltd. Head mounted display apparatus and method for displaying a content
CN104991798A (zh) * 2015-06-25 2015-10-21 青岛海信移动通信技术股份有限公司 一种虚拟传感器配置方法及装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3862841A1 (en) * 2020-02-10 2021-08-11 Samsung Electronics Co., Ltd. Electronic device and method for controlling electronic device
US11656658B2 (en) 2020-02-10 2023-05-23 Samsung Electronics Co., Ltd Electronic device and method for controlling electronic device
CN116781809A (zh) * 2021-11-19 2023-09-19 荣耀终端有限公司 合页角度的检测方法及相关设备

Also Published As

Publication number Publication date
CN109302508A (zh) 2019-02-01
US20200213431A1 (en) 2020-07-02
US11206323B2 (en) 2021-12-21

Similar Documents

Publication Publication Date Title
WO2019019883A1 (zh) 一种确定双屏相对位置的方法、显示控制的方法及终端
US11393154B2 (en) Hair rendering method, device, electronic apparatus, and storage medium
US20220121326A1 (en) Simulating physical materials and light interaction in a user interface of a resource-constrained device
US9417763B2 (en) Three dimensional user interface effects on a display by using properties of motion
JP5752715B2 (ja) デバイスレスな拡張現実およびインタラクションのためのプロジェクタおよび深度カメラ
US20210207940A1 (en) Computing system implementing an algorithm for fusing data from inertial sensors, and method
CN109544663A (zh) 应用程序的虚拟场景识别与交互键位匹配方法及装置
CN105373513B (zh) 图形显示装置及图形显示方法
TW201214199A (en) A system for portable tangible interaction
US20120075208A1 (en) Information processing program, information processing apparatus and method thereof
JP2019012526A (ja) 映像処理方法、コンピュータプログラムおよび記録媒体
US20120242664A1 (en) Accelerometer-based lighting and effects for mobile devices
CN105138247A (zh) 检测到第二设备接近第一设备而在第一设备呈现用户界面
KR20170026391A (ko) 스마트 장치의 위치에 기초한 애플리케이션 전환
US10872455B2 (en) Method and portable electronic device for changing graphics processing resolution according to scenario
CN110715597B (zh) 角度计算方法、装置、存储介质以及终端
US20220214725A1 (en) Posture probabilities for hinged touch display
US11561589B2 (en) Hinged dual display computing device
US20230297310A1 (en) Instruction color book painting for dual-screen devices
US9659167B2 (en) Handheld electronic device and method for entering password thereof
JP5873592B1 (ja) 3点スライド操作を判定するためのユーザ・インタフェース・プログラム
BR112017018840B1 (pt) Método de exibição de ícone de desktop e terminal móvel
CN106055204A (zh) 一种信息显示方法及装置
CN117111742A (zh) 图像交互方法、装置、电子设备及存储介质
CN115469783A (zh) 终端交互方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18838319

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19.06.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18838319

Country of ref document: EP

Kind code of ref document: A1