WO2019205899A1 - Method and device for determining included angle between screens, storage medium and electronic device - Google Patents

Method and device for determining included angle between screens, storage medium and electronic device Download PDF

Info

Publication number
WO2019205899A1
WO2019205899A1 PCT/CN2019/080872 CN2019080872W WO2019205899A1 WO 2019205899 A1 WO2019205899 A1 WO 2019205899A1 CN 2019080872 W CN2019080872 W CN 2019080872W WO 2019205899 A1 WO2019205899 A1 WO 2019205899A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
acceleration
angle
terminal
plane
Prior art date
Application number
PCT/CN2019/080872
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2019205899A1 publication Critical patent/WO2019205899A1/en

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/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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/30Measuring arrangements characterised by the use of electric or magnetic techniques for measuring angles or tapers; for testing the alignment of axes

Definitions

  • the present application relates to the field of communications, but is not limited to the field of communications, and in particular, to a method, device, storage medium, and electronic device for determining an angle between screens.
  • a multi-display terminal (for example, a dual-screen mobile phone or a folding mobile phone, as shown in FIG. 1 and FIG. 2, but not limited to the illustrated form) needs to perform mode switching when performing single-to-multi-display switching, and the following example illustrates : See Figure 3, where:
  • the Hall sensor in the terminal detects that the folding angle between the dual display areas is greater than 0° and less than 180°, determining that the current terminal is in a state of incompletely expanding the dual display area;
  • the mode in which the terminal is currently located can be judged by a Hall sensor (for example, a digital Hall sensor) mounted on a rotating shaft between the dual display areas of the terminal; when the terminal is shipped, the manufacturer will display the dual display area.
  • the angle between the folds is calibrated at two angles of 30° and 150°, and the two angles are used as trigger thresholds of 0° and 180°, respectively.
  • the dual display area item Corresponding to the mode of the three digital Hall (Hall Sensor) angles (ie, the mode corresponding to the detected angle), the dual display area item has four display modes: single A, large A, A
  • the terminal when the folding angle between the dual display areas is 0°, only the terminal is allowed to work in the single A display mode; when (30°, 150°), the terminal is allowed to work in the A
  • the display of the dual display area cannot automatically switch the display in single A mode after folding. Causes the function to fail.
  • the double display area cannot automatically switch between the large A and A after folding. Displayed in B mode, causing the function to fail.
  • the method of calibrating the multi-screen folding angle of the multi-screen terminal in the related art leads to the problem of high maintenance cost and low user experience, and no effective solution has been proposed yet.
  • the embodiment of the present application provides a method, a device, a storage medium, and an electronic device for determining an angle between screens.
  • a method of determining an angle between screens comprising: determining, respectively, a first screen in a terminal in a non-folded state in a first axis direction in a triaxial direction An acceleration and a second acceleration in a second axial direction, wherein the first axial direction is perpendicular to a first side of the first screen of the terminal, and the second axial direction is perpendicular to the first screen, a first side is a side of the terminal in the unfolded state that is parallel to a plane in which the terminal is located; determining between the first screen and the second screen according to the first acceleration and the second acceleration An angle of the second screen is a screen connected to the first screen in the terminal.
  • a device for determining an angle between screens comprising: a first determining module configured to respectively determine that a first screen of the terminal in a non-folded state is in a three-axis direction a first acceleration in a first axial direction and a second acceleration in a second axial direction, wherein the first axial direction is perpendicular to a first side of the first screen of the terminal, and the second axial direction is perpendicular In the first screen, the first side is a side of the terminal in the unfolded state that is parallel to the plane where the terminal is located; the second determining module is configured to be according to the first acceleration and the The second acceleration determines an angle between the first screen and the second screen, wherein the second screen is a screen connected to the first screen in the terminal.
  • a storage medium having stored therein a computer program, wherein the computer program is configured to execute the steps of any one of the method embodiments described above.
  • an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being configured to run the computer program to perform any of the above The steps in the method embodiments.
  • the subsequent folding angle of the dual display area of the terminal can be calibrated according to the determined angle. That is to say, the terminal can be calibrated by the user of the terminal without using the post-sales fixture of the terminal for calibration, thereby achieving the purpose of convenient and quick calibration, and also saving the after-sales cost, effectively solving the related technology.
  • the method of calibrating the multi-screen folding angle of the multi-screen terminal leads to a problem of high maintenance cost and low user experience.
  • FIG. 1 is a physical map 1 of a dual display area mobile phone in the related art
  • FIG. 2 is a physical diagram 2 of a dual display area mobile phone in the related art
  • FIG. 3 is a schematic diagram of a mode of a dual display area terminal in the related art
  • FIG. 4 is a schematic diagram of normal magnetic flux in a dual display area terminal in the related art
  • FIG. 5 is a schematic diagram of magnetic flux after high temperature degaussing in a dual display area terminal in the related art
  • Figure 7 is a schematic illustration of a three-axis direction in accordance with an embodiment of the present application.
  • FIG. 8 is a block diagram showing a hardware structure of a mobile terminal for determining a method of determining an angle between screens according to an embodiment of the present application
  • FIG. 9 is a flowchart of a method of determining an angle between screens according to an embodiment of the present application.
  • FIG. 10 is a first positional relationship diagram of a dual display area terminal and a plane according to an embodiment of the present application
  • FIG. 11 is a second positional relationship diagram of a dual display area terminal and a plane according to an embodiment of the present application.
  • FIG. 12 is a third perspective view of a position of a dual display area terminal and a plane according to an embodiment of the present application.
  • FIG. 13 is a fourth structural diagram of a position of a dual display area terminal and a plane according to an embodiment of the present application.
  • 15 is a structural block diagram of an apparatus for determining an angle between screens according to an embodiment of the present application.
  • FIG. 16 is a structural diagram of a multi-screen terminal according to an embodiment of the present application.
  • the acceleration of the terminal in different directions is used to determine the angle of the dual display area of the terminal, that is, the folding angle between the dual display areas is determined.
  • the acceleration that may be involved in this embodiment is The three-axis acceleration, that is, the acceleration on the x-axis, the y-axis, and the z-axis, the direction of each axis can be referred to FIG.
  • FIG. 8 is a hardware structural block diagram of a mobile terminal for determining a method of determining an angle between screens according to an embodiment of the present application.
  • mobile terminal 10 may include one or more (only one of which is shown in FIG. 8) processor 102 (processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA.
  • processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA.
  • a memory 104 for storing data optionally, the above mobile terminal may further include a transmission device 106 for communication functions and an input and output device 108.
  • FIG. 8 is merely illustrative, and does not limit the structure of the above mobile terminal.
  • the mobile terminal 10 may also include more or less components than those shown in FIG. 8, or have a different configuration than that shown in FIG.
  • the memory 104 can be used to store a computer program, for example, a software program and a module of the application software, such as a computer program corresponding to the method for determining the angle between screens in the embodiment of the present application, and the processor 102 runs the computer program stored in the memory 104.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 106 is for receiving or transmitting data via a network.
  • the above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10.
  • the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • the mobile terminal 10 may be a dual display area mobile terminal, or may be a more screen (three screens and above) terminals that may appear later.
  • FIG. 9 is a flowchart of a method for determining an angle between screens according to an embodiment of the present application. As shown in FIG. The process includes the following steps:
  • Step S902 respectively determining a first acceleration of the first screen in the terminal in the unfolded state in the first axis direction in the triaxial direction and a second acceleration in the second axis direction, wherein the first axis direction a first side perpendicular to the first screen of the terminal, the second axis direction being perpendicular to the first screen, the first side being a side of the terminal in the unfolded state of the screen parallel to the plane in which the terminal is located;
  • Step S904 determining an angle between the first screen and the second screen according to the first acceleration and the second acceleration, wherein the second screen is a screen connected to the first screen in the terminal.
  • the first screen and the second screen herein are different display areas in the dual display area.
  • the dual display area includes two display areas provided by two separate physical screens; the dual display area may also be two display area areas provided by a flexible physical screen that is foldable or bendable.
  • the above operation may be a dual display area terminal. Of course, it may also be a more screen terminal.
  • the screen When it is required to calibrate the screen expansion angle in the terminal of three screens or more than three screens, the screen may be performed two or two times. Calibration (ie, calibrating two adjacent screens) until calibration between all screens is completed.
  • the first axis described above corresponds to the aforementioned x-axis, and the second axis corresponds to the aforementioned z-axis.
  • the subsequent angle according to the determined angle can be implemented on the terminal.
  • the folding angle of the double display area is calibrated, that is, the terminal can be calibrated by the user of the terminal without using the post-sales fixture of the terminal for calibration, thereby achieving convenient and quick calibration, and saving after-sales
  • the cost effectively solves the problem of using the related art to calibrate the multi-screen folding angle of the multi-screen terminal, resulting in high maintenance cost and low user experience.
  • determining an angle between the first screen and the second screen according to the first acceleration and the second acceleration includes: determining, according to the first acceleration and the second acceleration, when the plane where the terminal is located is a horizontal plane An angle between a screen and a vertical plane of the horizontal plane; determining an angle between the first screen and the second screen according to an angle between the first screen and the vertical plane; or, when the plane of the terminal is a non-horizontal plane Determining an angle between the first screen and the second screen according to an angle between a plane in which the terminal is located and a horizontal plane, a first acceleration, a second acceleration, and a third acceleration in a third axial direction of the three-axis direction, Wherein the third axis direction is parallel to the first side.
  • the third axis is the aforementioned y-axis.
  • the method described above before determining the first acceleration of the first screen in the terminal in the unfolded state in the first axis direction in the triaxial direction and the second acceleration in the second axis direction, respectively further includes: determining an angle between the plane and the horizontal plane according to the first acceleration, the second acceleration, and the third acceleration of the first screen in the terminal in which the screen is in the folded state.
  • the triaxial acceleration of the terminal can be utilized to determine the angle of inclination of the plane in which the terminal is placed relative to the horizontal plane. The following describes the specific calculation method:
  • Determining the angle between the plane and the horizontal plane according to the first acceleration, the second acceleration, and the third acceleration of the first screen in the terminal in the folded state of the screen includes: determining an angle ⁇ between the plane and the horizontal plane by using the following formula: Where x is the first acceleration, z is the second acceleration, and y is the third acceleration.
  • Determining the angle between the first screen and the vertical plane of the horizontal plane according to the first acceleration and the second acceleration comprises: determining an angle ⁇ 1 between the first screen and the vertical plane of the horizontal plane by the following formula:
  • Determining the angle between the first screen and the second screen according to the angle ⁇ 1 between the first screen and the vertical plane includes: determining an angle ⁇ 1 between the first screen and the second screen by using the following formula:
  • Determining an angle between the first screen and the second screen according to an angle between a plane where the terminal is located and a horizontal plane, a first acceleration, a second acceleration, and a third acceleration in a third axial direction of the three-axis direction includes: When the third axis is parallel to both the plane and the horizontal plane, determining an angle between the first screen and the plane according to the first acceleration, the second acceleration, and an angle between the plane and the horizontal plane; according to an angle between the first screen and the plane The angle between the first screen and the second screen is determined.
  • Determining the angle between the first screen and the plane according to the first acceleration, the second acceleration, and the angle between the plane and the horizontal plane includes: determining an angle ⁇ 2 between the first screen and the plane by using the following formula:
  • Determining an angle between the first screen and the second screen according to an angle between the first screen and the plane includes: determining, by the following formula, the first screen and the second screen The angle between the two is ⁇ 2:
  • the method further includes: determining that an angle between the first screen and the second screen is reached
  • the predetermined angle is calibrated to the Hall sensor in the terminal when the angle is predetermined, wherein the Hall sensor is used to detect an angular state between the first screen and the second screen. In this embodiment, it is used to implement calibration of the Hall sensor at a predetermined angle
  • the method further includes storing calibration information.
  • the calibration value of the Hall sensor can be stored in the calibration file.
  • the dual display area expansion angle is measured using a single triaxial acceleration to facilitate calibration of the digital Hall sensor at a particular angle as a trigger threshold for folding 0° and expanding 180°, respectively.
  • the angle measuring method provided in this embodiment can be applied to a dual display area terminal including an acceleration sensor.
  • the double display area terminal can be folded horizontally on a horizontal desktop to obtain the three-axis acceleration of the acceleration sensor output.
  • the value (x0, y0, z0), the unit is (m/s 2 ), and the obtained (x0, y0, z0) acceleration value is compared with (0, 0, 9.8), within +/- 0.5,
  • the desktop is level.
  • the dual display area terminal is deployed on the horizontal desktop to obtain the three-axis acceleration value (x1, y1, z1) of the acceleration sensor output, and the unit is (m/s 2 );
  • the y-axis acceleration value y1 is 0 +/- 0.5, and the expanded Y-axis and ground level are confirmed.
  • the double display area expansion angle is calculated by the values x1, z1 of the x-axis and the z-axis.
  • stationary acceleration level placed on a horizontal table, x and y-axis with the ground level, a value of 0m / s 2; z-axis perpendicular to the ground, by the action of gravity, a value of 9.8m / s 2.
  • placing the dual display area terminal on a horizontal table top is also subject to gravity.
  • one side is calculated by measuring the component of the gravitational acceleration on the x and y axes of the acceleration sensor.
  • the angle of inclination on the vertical plane, and then the angle of expansion of the dual display area is calculated by symmetry.
  • the values of the x and z axes are positive values; when the acceleration sensor is on the left main screen, the value of the x axis is a negative value; the value of the z axis is a positive value, at this time, Take the absolute value of the value of the x-axis.
  • the angle between the two screens can also be calculated by the acceleration acceleration sensor's three-axis acceleration value, but it is more complicated for the user, and the terminal is placed in a more posture, and is used less in practical applications.
  • the tilt angle ⁇ of the table top can be calculated by the value of the three-axis acceleration (x, y, z).
  • the values of the x and z axes are positive values; when the acceleration sensor is on the left main screen, the value of the x axis is a negative value; the value of the z axis is a positive value, at this time, Take the absolute value of the value of the x-axis.
  • the angle between the two screens can also be calculated by the three-axis acceleration value of the acceleration sensor, and then the three angles placed on the desktop are expanded at a certain angle.
  • the axis acceleration value combined with the tilt angle of the desktop can also calculate the angle at which the dual display area is expanded.
  • FIG. 14 is a calibration flow of a Hall sensor according to an embodiment of the present application. As shown in FIG. 14, the method includes the following steps:
  • S1404 Prompt the user to place the mobile phone on the desktop to check whether the desktop is level:
  • S1408 The prompt is used to deploy the dual display area of the mobile phone on the horizontal desktop, and calculate the angle between the two screens in real time;
  • S1414 Entering the comprehensive test interface, prompting the user to perform 180° state detection. When detecting that the user expands the angle of the double display area from 150° to 180°, the prompt is completed;
  • S1416 Prompt the user to adjust the desktop of the mobile phone. If the desktop is still detected as a non-horizontal desktop, exit the calibration process.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present application.
  • a device for determining the angle between the screens is also provided, and the device is configured to implement any of the above embodiments, and the description thereof has been omitted.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • FIG. 15 is a structural block diagram of an apparatus for determining an angle between screens according to an embodiment of the present application. As shown in FIG. 15, the apparatus includes:
  • the first determining module 152 is configured to respectively determine a first acceleration of the first screen in the terminal in the unfolded state in the first axis direction in the triaxial direction and a second acceleration in the second axis direction, wherein The first axis direction is perpendicular to the first side of the first screen of the terminal, and the second axis direction is perpendicular to the first screen, and the first side is a side parallel to the plane where the terminal is located in the terminal in the unfolded state;
  • the second determining module 154 is connected to the first determining module 152, configured to determine an angle between the first screen and the second screen according to the first acceleration and the second acceleration, wherein the second screen is the first and the second screen Screen connected screen.
  • the second determining module 154 includes: a first determining unit configured to determine, between the vertical plane of the first screen and the horizontal plane, according to the first acceleration and the second acceleration, when the plane where the terminal is located is a horizontal plane The angle between the first screen and the second screen is determined according to the angle between the first screen and the vertical plane; or the second determining unit is configured to be when the plane where the terminal is located is a non-horizontal plane, Determining an angle between the first screen and the second screen according to an angle between a plane where the terminal is located and a horizontal plane, a first acceleration, a second acceleration, and a third acceleration in a third axial direction of the three-axis direction, where The third axis direction is parallel to the first side.
  • the apparatus is further configured to, in determining a first screen of the terminal in the unfolded state, respectively, a first acceleration in a first axial direction in a triaxial direction and a second acceleration in a second axial direction Before the acceleration, the angle between the plane and the horizontal plane is determined according to the first acceleration, the second acceleration, and the third acceleration of the first screen in the terminal in which the screen is in a folded state.
  • the apparatus may determine an angle between a plane and a horizontal plane according to a first acceleration, a second acceleration, and a third acceleration of the first screen in the terminal in a folded state of the screen by: determining by the following formula: The angle between the plane and the horizontal plane ⁇ : Where x is the first acceleration, z is the second acceleration, and y is the third acceleration.
  • the first determining unit may determine an angle between the first screen and a vertical plane of the horizontal plane according to the first acceleration and the second acceleration by determining the first screen and the horizontal plane by using the following formula: The angle ⁇ 1 between the vertical faces:
  • the first determining unit may determine an angle between the first screen and the second screen according to an angle ⁇ 1 between the first screen and the vertical plane by: determining the first screen by using the following formula: The angle ⁇ 1 between the second screen: Where x is the first acceleration and z is the second acceleration.
  • the second determining unit may determine, according to the angle between the plane where the terminal is located and the horizontal plane, the first acceleration, the second acceleration, and the third acceleration in the third axis direction of the three-axis direction.
  • An angle between the first screen and the second screen when the third axis is parallel to the plane and the horizontal plane, the clip between the first screen and the plane is determined according to the first acceleration, the second acceleration, and the angle between the plane and the horizontal plane An angle; determining an angle between the first screen and the second screen according to an angle between the first screen and the plane.
  • the second determining unit may determine an angle between the first screen and the plane according to the first acceleration, the second acceleration, and an angle between the plane and the horizontal plane by: determining the first screen by using the following formula: Angle ⁇ 2 between planes: In an embodiment, the second determining unit may determine an angle between the first screen and the second screen according to an angle between the first screen and the plane by determining the first screen and the second by using the following formula: The angle between the screens is ⁇ 2: among them, Is the vector value of the first acceleration, The vector value for the third acceleration.
  • the device is further configured to determine an angle between the first screen and the second screen after determining an angle between the first screen and the second screen according to the first acceleration and the second acceleration.
  • the Hall sensor in the terminal is calibrated at a predetermined angle when the angle is predetermined, wherein the Hall sensor is for detecting an angular state between the first screen and the second screen.
  • the apparatus is further configured to store calibration information after a predetermined angle of calibration of the Hall sensor in the terminal.
  • the above-mentioned determining device for the angle between the screens can be applied to the dual display area terminal (again, it can also be applied to the terminal of more screens, and the implementation principle is similar to that of the dual display area terminal).
  • 16 is a structural diagram of a multi-screen terminal according to an embodiment of the present application. As shown in FIG. 16, the multi-screen terminal includes a Hall sensor, a plurality of display screens, a CPU, an acceleration sensor, a memory, and other peripherals.
  • the terminal is a mobile phone as an example, and the module for realizing Hall sensor calibration in the terminal is described:
  • the module configured to implement Hall sensor calibration includes: a measurement level module, a dual display area expansion angle measurement module (corresponding to the aforementioned first determination module 152 and second determination module 154), and a digital Hall sensor calibration module. The following describes each module:
  • Measuring level module configured to enter the Hall sensor calibration menu, prompting the user to fold the mobile phone horizontally and place it on the desktop, and determine whether the desktop is level by obtaining the output value of the acceleration sensor three axes;
  • Dual display area expansion angle measurement module configured to place the dual display area on the horizontal desktop under the premise of the desktop level, and obtain the angle between the two screens through the angle measurement module. Real-time adjustment of the angle between the two display areas, real-time calculation of the angle between the two screens.
  • Digital Hall Sensor Calibration Module Configured to automatically perform a “30 Degree Calibration” calibration when the angle between the dual display areas is at a preset 30° +/- 1° and the state stabilizes at 1S
  • the Hall sensor 30° calibration value ie the 0° trigger threshold
  • the calibration of “150 degree calibration” is automatically performed, and the digital Hall sensor is calibrated at 150°. That is, the 180° triggered threshold is automatically saved in the calibration file.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • Embodiments of the present application also provide a storage medium having stored therein a computer program, wherein the computer program is configured to execute the steps of any one of the method embodiments described above.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). ), removable hard drives, disks, or optical discs, and other media that can store computer programs.
  • Embodiments of the present application also provide an electronic device including a memory and a processor having a computer program stored therein, the processor being configured to execute a computer program to perform the steps of any of the above method embodiments.
  • the electronic device may further include a transmission device and an input and output device, wherein the transmission device is coupled to the processor, and the input and output device is coupled to the processor.
  • the embodiment of the present application does not require a specific jig when the Hall sensor performs angle calibration; instead, the terminal obtains the triaxial acceleration value of the acceleration sensor output in real time; after detecting the desktop level (or Combining the angle of the desktop with respect to the horizontal plane to calculate the angle between the multiple screens), automatically calculating the angle between the multiple screens by acquiring the output value of the acceleration sensor; determining the two screens of the smart terminal according to the output value of the acceleration sensor Angle state; reaches a preset angle and stabilizes at a predetermined time, for example, after 1S, automatically performs calibration of the Hall sensor and saves the calibration file in the memory.
  • the measurement scheme in the embodiment of the present application can measure the multi-screen deployment angle by using a single three-axis acceleration, which is convenient and quick, and allows the user to perform the 0° and 180° trigger thresholds of the digital Hall sensor.
  • the calibration can be done in the menu of the setup module. In this way, after the digital Hall sensor has a problem, the display mode function switching fails, which facilitates the user's self-calibration and saves the after-sales cost.
  • modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the application is not limited to any particular combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

Provided are a method and device for determining an included angle between screens, a storage medium and an electronic device, wherein the method comprises: respectively determining the first acceleration speed in a first axial direction and the second acceleration speed in a second axial direction, which directions are from among the three axial directions of a first screen of a terminal, the screens of which are in an unfolded state, wherein the first axial direction is perpendicular to a first edge of the first screen of the terminal, the second axial direction is perpendicular to the first screen, and the first edge is an edge parallel to a plane on which the terminal is located and in the terminal, the screens of which are in the unfolded state; and determining an included angle between the first screen and a second screen based on the first acceleration speed and the second acceleration speed, wherein the second screen is a screen connected to the first screen in the terminal.

Description

屏幕间夹角的确定方法、装置、存储介质及电子装置Method, device, storage medium and electronic device for determining angle between screens
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201810403214.1、申请日为2018年04月28日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is filed on the basis of the Chinese Patent Application No. 201101403, 214, 141, filed on Apr. 28, 2008, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本申请涉及通信领域但不限于通信领域,具体而言涉及一种屏幕间夹角的确定方法、装置、存储介质及电子装置。The present application relates to the field of communications, but is not limited to the field of communications, and in particular, to a method, device, storage medium, and electronic device for determining an angle between screens.
背景技术Background technique
多显示终端(例如,双屏手机或称折叠手机,如图1和图2所示,但不限于图示形态)在进行单显示到多显示切换的时候,需要进行模式切换,下面示例进行说明:可参见图3,其中:A multi-display terminal (for example, a dual-screen mobile phone or a folding mobile phone, as shown in FIG. 1 and FIG. 2, but not limited to the illustrated form) needs to perform mode switching when performing single-to-multi-display switching, and the following example illustrates : See Figure 3, where:
当终端内的霍尔传感器检测到双显示区之间的折叠角度为0°时,确定当前终端处于折叠单显示状态;When the Hall sensor in the terminal detects that the folding angle between the dual display areas is 0°, it is determined that the current terminal is in the folded single display state;
当终端内的霍尔传感器检测到双显示区之间的折叠角度大于0°且小于180°时,确定当前终端处于非完全展开双显示区状态;When the Hall sensor in the terminal detects that the folding angle between the dual display areas is greater than 0° and less than 180°, determining that the current terminal is in a state of incompletely expanding the dual display area;
当终端内的霍尔传感器检测双显示区之间的折叠角度为180°时,确定当前终端处于完全展开双显示区状态;When the Hall sensor in the terminal detects that the folding angle between the dual display areas is 180°, it is determined that the current terminal is in the fully expanded dual display area state;
其中,终端当前所处的模式可以通过安装在终端的双显示区之间的转轴上的霍尔传感器(例如,数字霍尔传感器)来进行判断;在终端出厂的时候,厂家会对双显示区之间的折叠角度为30°和150°的两个角度进行校准,并将这两个角度分别作为0°和180°的触发阈值。对应于三种数字 hall(霍尔传感器)角度的模式(即,检测到的角度所对应的模式),双显示区项目有四种显示模式:单A、大A、A|B、A|A;检测到数字hall的角度模式后,才允许终端切换到对应的显示模式。The mode in which the terminal is currently located can be judged by a Hall sensor (for example, a digital Hall sensor) mounted on a rotating shaft between the dual display areas of the terminal; when the terminal is shipped, the manufacturer will display the dual display area. The angle between the folds is calibrated at two angles of 30° and 150°, and the two angles are used as trigger thresholds of 0° and 180°, respectively. Corresponding to the mode of the three digital Hall (Hall Sensor) angles (ie, the mode corresponding to the detected angle), the dual display area item has four display modes: single A, large A, A|B, A|A. After detecting the angle mode of the digital hall, the terminal is allowed to switch to the corresponding display mode.
如图1所示,当双显示区之间的折叠角度为0°时,仅允许终端工作在单A显示模式;为(30°,150°]时,允许终端工作在A|A显示模式;为(150°,180°]时,允许终端工作在A|B和大A两种显示模式。As shown in FIG. 1, when the folding angle between the dual display areas is 0°, only the terminal is allowed to work in the single A display mode; when (30°, 150°), the terminal is allowed to work in the A|A display mode; For (150°, 180°), the terminal is allowed to work in both A|B and Big A display modes.
需要说明的是,数字霍尔传感器在使用过程中,可能会出现高温消磁的情况,或者,由于转轴松动、轻摔导致的磁铁和数字霍尔传感器距离的变化,也会导致磁通量发生变化。It should be noted that during the use of the digital Hall sensor, high temperature degaussing may occur, or the change of the distance between the magnet and the digital Hall sensor due to the loose shaft and the light drop may cause the magnetic flux to change.
如果一旦0°的磁通量小于产线30°校准的阈值,会导致数字霍尔传感器“CLOSE=0°”的状态再也无法触发,双显示区手机折叠后无法自动切换单A模式下的显示,导致功能失效。If the magnetic flux of 0° is less than the 30° calibration threshold of the production line, the state of the digital Hall sensor “CLOSE=0°” can no longer be triggered. The display of the dual display area cannot automatically switch the display in single A mode after folding. Causes the function to fail.
同样,如果一旦180°的磁通量大于产线150°校准的阈值,会导致数字霍尔传感器“OPEN=180°”的状态再也无法触发,双显示区手机折叠后无法自动切换大A和A|B模式下显示,导致功能失效。Similarly, if the magnetic flux of 180° is greater than the threshold of the 150° calibration of the production line, the state of the digital Hall sensor “OPEN=180°” can no longer be triggered. The double display area cannot automatically switch between the large A and A after folding. Displayed in B mode, causing the function to fail.
其中,正常磁通量示意图如图4所示,高温消磁后的磁通量数据如图5所示。Among them, the normal magnetic flux diagram is shown in Figure 4, the magnetic flux data after high temperature degaussing is shown in Figure 5.
一旦数字霍尔传感器失效后,显示功能异常,用户必须将手机拿到售后,售后通过带有标定角度(30°-150°)的角度进行重新校准,校准方式可参考图6。但是由售后进行校准的方式会导致用户体验低,且维修成本较高。Once the digital Hall sensor fails, the display function is abnormal, the user must take the phone to the after-sales, and re-calibrate after the sale through the angle with the calibration angle (30°-150°). Refer to Figure 6 for the calibration method. However, the method of calibration after sale leads to a low user experience and high maintenance costs.
针对采用相关技术中的对多屏终端的多屏折叠角度进行校准的方式导致维修成本高,用户体验低的问题,目前尚未提出有效的解决方案。The method of calibrating the multi-screen folding angle of the multi-screen terminal in the related art leads to the problem of high maintenance cost and low user experience, and no effective solution has been proposed yet.
发明内容Summary of the invention
本申请实施例提供了一种屏幕间夹角的确定方法、装置、存储介质及电子装置。The embodiment of the present application provides a method, a device, a storage medium, and an electronic device for determining an angle between screens.
根据本申请的一个实施例,提供了一种屏幕间夹角的确定方法,包括:分别确定屏幕处于非折叠状态的终端中的第一屏在三轴方向中的第一轴方向上的第一加速度以及第二轴方向上的第二加速度,其中,所述第一轴方向垂直于所述终端的第一屏的第一边,所述第二轴方向垂直于所述第一屏,所述第一边为所述屏幕处于非折叠状态的终端中与所述终端所处的平面平行的一边;根据所述第一加速度以及所述第二加速度确定所述第一屏和第二屏之间的夹角,其中,所述第二屏为所述终端中与所述第一屏连接的屏幕。According to an embodiment of the present application, there is provided a method of determining an angle between screens, comprising: determining, respectively, a first screen in a terminal in a non-folded state in a first axis direction in a triaxial direction An acceleration and a second acceleration in a second axial direction, wherein the first axial direction is perpendicular to a first side of the first screen of the terminal, and the second axial direction is perpendicular to the first screen, a first side is a side of the terminal in the unfolded state that is parallel to a plane in which the terminal is located; determining between the first screen and the second screen according to the first acceleration and the second acceleration An angle of the second screen is a screen connected to the first screen in the terminal.
根据本申请的另一个实施例,还提供了一种屏幕间夹角的确定装置,包括:第一确定模块,配置为分别确定屏幕处于非折叠状态的终端中的第一屏在三轴方向中的第一轴方向上的第一加速度以及第二轴方向上的第二加速度,其中,所述第一轴方向垂直于所述终端的第一屏的第一边,所述第二轴方向垂直于所述第一屏,所述第一边为所述屏幕处于非折叠状态的终端中与所述终端所处的平面平行的一边;第二确定模块,配置为根据所述第一加速度以及所述第二加速度确定所述第一屏和第二屏之间的夹角,其中,所述第二屏为所述终端中与所述第一屏连接的屏幕。According to another embodiment of the present application, there is further provided a device for determining an angle between screens, comprising: a first determining module configured to respectively determine that a first screen of the terminal in a non-folded state is in a three-axis direction a first acceleration in a first axial direction and a second acceleration in a second axial direction, wherein the first axial direction is perpendicular to a first side of the first screen of the terminal, and the second axial direction is perpendicular In the first screen, the first side is a side of the terminal in the unfolded state that is parallel to the plane where the terminal is located; the second determining module is configured to be according to the first acceleration and the The second acceleration determines an angle between the first screen and the second screen, wherein the second screen is a screen connected to the first screen in the terminal.
根据本申请的又一个实施例,还提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to still another embodiment of the present application, there is also provided a storage medium having stored therein a computer program, wherein the computer program is configured to execute the steps of any one of the method embodiments described above.
根据本申请的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to still another embodiment of the present application, there is also provided an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being configured to run the computer program to perform any of the above The steps in the method embodiments.
通过本申请,由于是利用终端在不同方向上的加速度来确定终端的双显示区之间的夹角,从而可以实现后续的根据确定的夹角来对终端的双显示区折叠角度进行校准,也就是说,可以由终端的使用者自行对终端进行校准,而无需由终端的售后利用夹具来进行校准,实现了方便快捷的进行校准的目的,也节省了售后的成本,有效解决采用相关技术中的对多屏终端的多屏折叠角度进行校准的方式导致维修成本高,用户体验低的问题。Through the present application, since the angle between the dual display areas of the terminal is determined by using the acceleration of the terminal in different directions, the subsequent folding angle of the dual display area of the terminal can be calibrated according to the determined angle. That is to say, the terminal can be calibrated by the user of the terminal without using the post-sales fixture of the terminal for calibration, thereby achieving the purpose of convenient and quick calibration, and also saving the after-sales cost, effectively solving the related technology. The method of calibrating the multi-screen folding angle of the multi-screen terminal leads to a problem of high maintenance cost and low user experience.
附图说明DRAWINGS
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1是相关技术中的双显示区手机的实物图一;1 is a physical map 1 of a dual display area mobile phone in the related art;
图2是相关技术中的双显示区手机的实物图二;2 is a physical diagram 2 of a dual display area mobile phone in the related art;
图3是相关技术中的双显示区终端的模式示意图;3 is a schematic diagram of a mode of a dual display area terminal in the related art;
图4是相关技术中的双显示区终端中正常磁通量示意图;4 is a schematic diagram of normal magnetic flux in a dual display area terminal in the related art;
图5是相关技术中的双显示区终端中高温消磁后的磁通量示意图;5 is a schematic diagram of magnetic flux after high temperature degaussing in a dual display area terminal in the related art;
图6是相关技术中的校准方式图;6 is a calibration mode diagram in the related art;
图7是根据本申请实施例的三轴方向示意图;Figure 7 is a schematic illustration of a three-axis direction in accordance with an embodiment of the present application;
图8是本申请实施例的屏幕间夹角的确定方法的移动终端的硬件结构框图;8 is a block diagram showing a hardware structure of a mobile terminal for determining a method of determining an angle between screens according to an embodiment of the present application;
图9是根据本申请实施例的屏幕间夹角的确定方法的流程图;9 is a flowchart of a method of determining an angle between screens according to an embodiment of the present application;
图10是根据本申请实施例的双显示区终端与平面的位置关系图一;10 is a first positional relationship diagram of a dual display area terminal and a plane according to an embodiment of the present application;
图11是根据本申请实施例的双显示区终端与平面的位置关系图二;11 is a second positional relationship diagram of a dual display area terminal and a plane according to an embodiment of the present application;
图12是根据本申请实施例的双显示区终端与平面的位置关系图三;12 is a third perspective view of a position of a dual display area terminal and a plane according to an embodiment of the present application;
图13是根据本申请实施例的双显示区终端与平面的位置关系图四;FIG. 13 is a fourth structural diagram of a position of a dual display area terminal and a plane according to an embodiment of the present application; FIG.
图14是根据本申请实施例的霍尔传感器的校准流程;14 is a calibration flow of a Hall sensor according to an embodiment of the present application;
图15是根据本申请实施例的屏幕间夹角的确定装置的结构框图;15 is a structural block diagram of an apparatus for determining an angle between screens according to an embodiment of the present application;
图16是根据本申请实施例的多屏终端的结构图。FIG. 16 is a structural diagram of a multi-screen terminal according to an embodiment of the present application.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present application will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order.
在本申请实施例中,主要是利用终端在不同方向上的加速度来确定终端的双显示区展开的角度,即确定双显示区之间的折叠角度,在本实施例中可能涉及到的加速度为三轴加速度,即,x轴,y轴和z轴上的加速度,各个轴的方向可以参考图7。In the embodiment of the present application, the acceleration of the terminal in different directions is used to determine the angle of the dual display area of the terminal, that is, the folding angle between the dual display areas is determined. The acceleration that may be involved in this embodiment is The three-axis acceleration, that is, the acceleration on the x-axis, the y-axis, and the z-axis, the direction of each axis can be referred to FIG.
下面结合实施例对本申请进行说明:The present application is described below in conjunction with the embodiments:
本申请实施例中所提供的方法可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图8是本申请实施例的一种屏幕间夹角的确定方法的移动终端的硬件结构框图。如图8所示,移动终端10可以包括一个或多个(图8中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)和用于存储数据的存储器104,可选地,上述移动终端还可以包括用于通信功能的传输设备106以及输入输出设备108。本领域普通技术人员可以理解,图8所示的结构仅为示意,其并不对上述移动终端的结构造成限定。例如,移动终端10还可包括比图8中所示更多或者更少的组件,或者具有与图8 所示不同的配置。The method provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal, or the like. Taking a mobile terminal as an example, FIG. 8 is a hardware structural block diagram of a mobile terminal for determining a method of determining an angle between screens according to an embodiment of the present application. As shown in FIG. 8, mobile terminal 10 may include one or more (only one of which is shown in FIG. 8) processor 102 (processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA. And a memory 104 for storing data, optionally, the above mobile terminal may further include a transmission device 106 for communication functions and an input and output device 108. It will be understood by those skilled in the art that the structure shown in FIG. 8 is merely illustrative, and does not limit the structure of the above mobile terminal. For example, the mobile terminal 10 may also include more or less components than those shown in FIG. 8, or have a different configuration than that shown in FIG.
存储器104可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本申请实施例中的屏幕间夹角的确定方法对应的计算机程序,处理器102通过运行存储在存储器104内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store a computer program, for example, a software program and a module of the application software, such as a computer program corresponding to the method for determining the angle between screens in the embodiment of the present application, and the processor 102 runs the computer program stored in the memory 104. In order to perform various functional applications and data processing, the above method is implemented. Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输设备106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输设备106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输设备106可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。其中,上述的移动终端10可以是双显示区移动终端,也可以是后续可能出现的更多屏(三屏及以上)终端。 Transmission device 106 is for receiving or transmitting data via a network. The above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly. The mobile terminal 10 may be a dual display area mobile terminal, or may be a more screen (three screens and above) terminals that may appear later.
在本实施例中提供了一种运行于上述移动终端的屏幕间夹角的确定方法,图9是根据本申请实施例的屏幕间夹角的确定方法的流程图,如图9所示,该流程包括如下步骤:In this embodiment, a method for determining an angle between screens of the mobile terminal is provided. FIG. 9 is a flowchart of a method for determining an angle between screens according to an embodiment of the present application. As shown in FIG. The process includes the following steps:
步骤S902,分别确定屏幕处于非折叠状态的终端中的第一屏在三轴方向中的第一轴方向上的第一加速度以及第二轴方向上的第二加速度,其中,该第一轴方向垂直于终端的第一屏的第一边,第二轴方向垂直于第一屏,第一边为屏幕处于非折叠状态的终端中与终端所处的平面平行的一边;Step S902, respectively determining a first acceleration of the first screen in the terminal in the unfolded state in the first axis direction in the triaxial direction and a second acceleration in the second axis direction, wherein the first axis direction a first side perpendicular to the first screen of the terminal, the second axis direction being perpendicular to the first screen, the first side being a side of the terminal in the unfolded state of the screen parallel to the plane in which the terminal is located;
步骤S904,根据第一加速度以及第二加速度确定第一屏和第二屏之间 的夹角,其中,该第二屏为终端中与第一屏连接的屏幕。此处的第一屏和所述第二屏为所述双显示区中的不同显示区。Step S904, determining an angle between the first screen and the second screen according to the first acceleration and the second acceleration, wherein the second screen is a screen connected to the first screen in the terminal. The first screen and the second screen herein are different display areas in the dual display area.
所述双显示区包括:由两个独立的物理屏提供的两个显示区域;所述双显示区也可以是,由一个可折叠或可弯折的柔性物理屏提供的两个显示区区域。The dual display area includes two display areas provided by two separate physical screens; the dual display area may also be two display area areas provided by a flexible physical screen that is foldable or bendable.
其中,执行上述操作的可以是双显示区终端,当然,也可以是更多屏终端,当需要对三屏或多于三屏的终端中的屏幕展开角度进行校准时,可以对屏幕进行两两校准(即,对相邻的两个屏幕进行校准),直到完成所有屏之间的校准为止。上述的第一轴对应于前述的x轴,第二轴对应于前述的z轴。Wherein, the above operation may be a dual display area terminal. Of course, it may also be a more screen terminal. When it is required to calibrate the screen expansion angle in the terminal of three screens or more than three screens, the screen may be performed two or two times. Calibration (ie, calibrating two adjacent screens) until calibration between all screens is completed. The first axis described above corresponds to the aforementioned x-axis, and the second axis corresponds to the aforementioned z-axis.
在本实施例中,由于是利用终端在不同方向(即,不同轴)上的加速度来确定终端的双显示区之间的夹角,从而可以实现后续的根据确定的夹角来对终端的双显示区折叠角度进行校准,也就是说,可以由终端的使用者自行对终端进行校准,而无需由终端的售后利用夹具来进行校准,实现了方便快捷的进行校准的目的,也节省了售后的成本,有效解决采用相关技术中的对多屏终端的多屏折叠角度进行校准的方式导致维修成本高,用户体验低的问题。In this embodiment, since the angle between the dual display areas of the terminal is determined by using the acceleration of the terminal in different directions (ie, different axes), the subsequent angle according to the determined angle can be implemented on the terminal. The folding angle of the double display area is calibrated, that is, the terminal can be calibrated by the user of the terminal without using the post-sales fixture of the terminal for calibration, thereby achieving convenient and quick calibration, and saving after-sales The cost effectively solves the problem of using the related art to calibrate the multi-screen folding angle of the multi-screen terminal, resulting in high maintenance cost and low user experience.
在一个实施例中,根据上述第一加速度和第二加速度确定第一屏和第二屏之间的夹角包括:当终端所处的平面为水平面时,根据第一加速度和第二加速度确定第一屏与水平面的垂直面之间的夹角;根据第一屏与垂直面之间的夹角确定第一屏和第二屏之间的夹角;或者,当终端所处的平面为非水平面时,根据终端所处的平面与水平面的夹角、第一加速度、第二加速度以及三轴方向中的第三轴方向上的第三加速度确定第一屏和第二屏之间的夹角,其中,该第三轴方向平行于第一边。在本实施例中,第三轴为前述的y轴。在实际应用中优选将终端放置在水平桌面上来确定双显示 区之间的夹角。若放置终端的平面是非水平的平面,那么在测量终端双显示区之间的夹角时,还需要考虑放置终端的平面相对于水平面的倾斜角度。In an embodiment, determining an angle between the first screen and the second screen according to the first acceleration and the second acceleration includes: determining, according to the first acceleration and the second acceleration, when the plane where the terminal is located is a horizontal plane An angle between a screen and a vertical plane of the horizontal plane; determining an angle between the first screen and the second screen according to an angle between the first screen and the vertical plane; or, when the plane of the terminal is a non-horizontal plane Determining an angle between the first screen and the second screen according to an angle between a plane in which the terminal is located and a horizontal plane, a first acceleration, a second acceleration, and a third acceleration in a third axial direction of the three-axis direction, Wherein the third axis direction is parallel to the first side. In the present embodiment, the third axis is the aforementioned y-axis. In practical applications, it is preferred to place the terminal on a horizontal table to determine the angle between the dual display areas. If the plane on which the terminal is placed is a non-horizontal plane, when measuring the angle between the dual display areas of the terminal, it is also necessary to consider the angle of inclination of the plane in which the terminal is placed with respect to the horizontal plane.
在一个实施例中,在分别确定屏幕处于非折叠状态的终端中的第一屏在三轴方向中的第一轴方向上的第一加速度以及第二轴方向上的第二加速度之前,上述方法还包括:根据屏幕处于折叠状态的终端中的第一屏的第一加速度、第二加速度以及第三加速度确定平面与水平面的夹角。在本实施例中,可以利用终端的三轴加速度来确定放置终端的平面相对于水平面的倾斜角度。下面对具体计算方式进行说明:In one embodiment, the method described above before determining the first acceleration of the first screen in the terminal in the unfolded state in the first axis direction in the triaxial direction and the second acceleration in the second axis direction, respectively The method further includes: determining an angle between the plane and the horizontal plane according to the first acceleration, the second acceleration, and the third acceleration of the first screen in the terminal in which the screen is in the folded state. In this embodiment, the triaxial acceleration of the terminal can be utilized to determine the angle of inclination of the plane in which the terminal is placed relative to the horizontal plane. The following describes the specific calculation method:
根据屏幕处于折叠状态的终端中的第一屏的第一加速度、第二加速度以及第三加速度确定上述平面与水平面的夹角包括:通过如下公式确定平面与水平面的夹角θ:
Figure PCTCN2019080872-appb-000001
其中,x为第一加速度,z为第二加速度,y为第三加速度。
Determining the angle between the plane and the horizontal plane according to the first acceleration, the second acceleration, and the third acceleration of the first screen in the terminal in the folded state of the screen includes: determining an angle θ between the plane and the horizontal plane by using the following formula:
Figure PCTCN2019080872-appb-000001
Where x is the first acceleration, z is the second acceleration, and y is the third acceleration.
根据第一加速度和第二加速度确定第一屏与水平面的垂直面之间的夹角包括:通过如下公式确定第一屏与水平面的垂直面之间的夹角α1:Determining the angle between the first screen and the vertical plane of the horizontal plane according to the first acceleration and the second acceleration comprises: determining an angle α1 between the first screen and the vertical plane of the horizontal plane by the following formula:
Figure PCTCN2019080872-appb-000002
Figure PCTCN2019080872-appb-000002
根据上述第一屏与垂直面之间的夹角α1确定第一屏和第二屏之间的夹角包括:通过如下公式确定第一屏和第二屏之间的夹角β1:Determining the angle between the first screen and the second screen according to the angle α1 between the first screen and the vertical plane includes: determining an angle β1 between the first screen and the second screen by using the following formula:
Figure PCTCN2019080872-appb-000003
其中,x为第一加速度,z为第二加速度。
Figure PCTCN2019080872-appb-000003
Where x is the first acceleration and z is the second acceleration.
根据上述终端所处的平面与水平面的夹角、第一加速度、第二加速度以及三轴方向中的第三轴方向上的第三加速度确定第一屏和第二屏之间的夹角包括:当第三轴与平面和水平面均平行时,根据第一加速度、第二加速度以及平面与水平面的夹角确定第一屏与平面之间的夹角;根据第一屏与平面之间的夹角确定第一屏和第二屏之间的夹角。Determining an angle between the first screen and the second screen according to an angle between a plane where the terminal is located and a horizontal plane, a first acceleration, a second acceleration, and a third acceleration in a third axial direction of the three-axis direction includes: When the third axis is parallel to both the plane and the horizontal plane, determining an angle between the first screen and the plane according to the first acceleration, the second acceleration, and an angle between the plane and the horizontal plane; according to an angle between the first screen and the plane The angle between the first screen and the second screen is determined.
根据第一加速度、第二加速度以及平面与水平面的夹角确定第一屏与平面之间的夹角包括:通过如下公式确定第一屏与平面之间的夹角α2:Determining the angle between the first screen and the plane according to the first acceleration, the second acceleration, and the angle between the plane and the horizontal plane includes: determining an angle α2 between the first screen and the plane by using the following formula:
Figure PCTCN2019080872-appb-000004
Figure PCTCN2019080872-appb-000004
根据所述第一屏与所述平面之间的夹角确定所述第一屏和所述第二屏之间的夹角包括:通过如下公式确定所述第一屏和所述第二屏之间的夹角β2:Determining an angle between the first screen and the second screen according to an angle between the first screen and the plane includes: determining, by the following formula, the first screen and the second screen The angle between the two is β2:
Figure PCTCN2019080872-appb-000005
Figure PCTCN2019080872-appb-000005
其中,
Figure PCTCN2019080872-appb-000006
为第一加速度的矢量值,
Figure PCTCN2019080872-appb-000007
为第三加速度的矢量值。
among them,
Figure PCTCN2019080872-appb-000006
Is the vector value of the first acceleration,
Figure PCTCN2019080872-appb-000007
The vector value for the third acceleration.
在一个实施例中,在根据第一加速度以及第二加速度确定第一屏和第二屏之间的夹角之后,上述方法还包括:在确定第一屏和第二屏之间的夹角达到预定角度时,对终端中的霍尔传感器进行该预定角度的校准,其中,霍尔传感器用于检测第一屏和所述第二屏之间的角度状态。在本实施例中,是用于实现霍尔传感器在预定角度下的校准的,In one embodiment, after determining the angle between the first screen and the second screen according to the first acceleration and the second acceleration, the method further includes: determining that an angle between the first screen and the second screen is reached The predetermined angle is calibrated to the Hall sensor in the terminal when the angle is predetermined, wherein the Hall sensor is used to detect an angular state between the first screen and the second screen. In this embodiment, it is used to implement calibration of the Hall sensor at a predetermined angle,
在一个实施例中,在对终端中的霍尔传感器进行预定角度的校准之后,上述方法还包括:存储校准信息。其中,可以将霍尔传感器的校准值存储在校准文件中。In one embodiment, after performing a predetermined angle calibration of the Hall sensor in the terminal, the method further includes storing calibration information. Among them, the calibration value of the Hall sensor can be stored in the calibration file.
下面结合具体实施例对本申请进行说明:The present application is described below in conjunction with specific embodiments:
在本具体实施例中,是利用单颗三轴加速度测量双显示区展开角度,以便于数字霍尔传感器在特定角度进行校准,分别作为折叠0°和展开180°的触发阈值。In this embodiment, the dual display area expansion angle is measured using a single triaxial acceleration to facilitate calibration of the digital Hall sensor at a particular angle as a trigger threshold for folding 0° and expanding 180°, respectively.
本具体实施例中提供的角度测量方法可以应用于包含加速度传感器的双显示区终端中,在测量时,可以将双显示区终端折叠水平放置在水平桌面上,以获取加速度传感器输出的三轴加速度值(x0,y0,z0),单位为(m/s 2), 将获取的(x0,y0,z0)加速度值和(0,0,9.8)进行比较,在+/-0.5以内,则认为桌面是水平的。 The angle measuring method provided in this embodiment can be applied to a dual display area terminal including an acceleration sensor. When measuring, the double display area terminal can be folded horizontally on a horizontal desktop to obtain the three-axis acceleration of the acceleration sensor output. The value (x0, y0, z0), the unit is (m/s 2 ), and the obtained (x0, y0, z0) acceleration value is compared with (0, 0, 9.8), within +/- 0.5, The desktop is level.
将双显示区终端展开放置在水平桌面上,获取加速度传感器输出的三轴加速度值(x1,y1,z1),单位为(m/s 2); The dual display area terminal is deployed on the horizontal desktop to obtain the three-axis acceleration value (x1, y1, z1) of the acceleration sensor output, and the unit is (m/s 2 );
在所述的y轴加速度值y1为0+/-0.5,确认展开后的Y轴与地面水平。The y-axis acceleration value y1 is 0 +/- 0.5, and the expanded Y-axis and ground level are confirmed.
在满足上述条件的情况下,通过x轴和z轴的值x1,z1计算得到双显示区展开角度。In the case where the above conditions are satisfied, the double display area expansion angle is calculated by the values x1, z1 of the x-axis and the z-axis.
其中,加速度水平静止放置在水平桌面上时,x和y轴与地面水平,其值为0m/s 2;z轴与地面垂直,由于受到重力的作用,其值为9.8m/s 2Wherein, stationary acceleration level placed on a horizontal table, x and y-axis with the ground level, a value of 0m / s 2; z-axis perpendicular to the ground, by the action of gravity, a value of 9.8m / s 2.
在一些实施例中,将双显示区终端展开放置在水平桌面上,同样受到重力的作用,利用这个性质,通过测量重力加速度在加速度传感器的x轴和y轴上的分量,计算出单面在垂直平面上的倾斜角度,然后,通过对称性计算得到双显示区的展开角度。In some embodiments, placing the dual display area terminal on a horizontal table top is also subject to gravity. Using this property, one side is calculated by measuring the component of the gravitational acceleration on the x and y axes of the acceleration sensor. The angle of inclination on the vertical plane, and then the angle of expansion of the dual display area is calculated by symmetry.
如图10所示,
Figure PCTCN2019080872-appb-000008
双显示区的展开角度
Figure PCTCN2019080872-appb-000009
As shown in Figure 10,
Figure PCTCN2019080872-appb-000008
Expansion angle of the dual display area
Figure PCTCN2019080872-appb-000009
其中,当加速度传感器在左边主屏上时,x和z轴的值都是正值;当加速度传感器在左边主屏上时,x轴的值为负值;z轴的值为正值,此时,对x轴的值取绝对值。Wherein, when the acceleration sensor is on the left main screen, the values of the x and z axes are positive values; when the acceleration sensor is on the left main screen, the value of the x axis is a negative value; the value of the z axis is a positive value, at this time, Take the absolute value of the value of the x-axis.
当桌面不水平时,也可以通过加速度传感器的三轴加速度值计算得到两个屏幕之间的夹角,但是对于用户来说比较复杂,终端放置的姿势比较多,在实际应用中使用较少。When the desktop is not horizontal, the angle between the two screens can also be calculated by the acceleration acceleration sensor's three-axis acceleration value, but it is more complicated for the user, and the terminal is placed in a more posture, and is used less in practical applications.
当终端在倾斜的桌面(对应于前述的平面)上放置时,有很多种放置终端的方式,但是(x,y,z)的矢量和为重力加速度9.8m/s 2When the terminal is placed on a tilted tabletop (corresponding to the aforementioned plane), there are many ways to place the terminal, but the vector sum of (x, y, z) is a gravitational acceleration of 9.8 m/s 2 .
将终端折叠后水平放置在倾斜的桌面上,如图11所示,通过三轴加速度的值(x,y,z)可以计算得到桌面的倾斜角度θ。After folding the terminal horizontally on the inclined table top, as shown in Fig. 11, the tilt angle θ of the table top can be calculated by the value of the three-axis acceleration (x, y, z).
Figure PCTCN2019080872-appb-000010
Figure PCTCN2019080872-appb-000010
其中,当手机的Y轴与桌面的倾斜面平行时,Wherein, when the Y axis of the mobile phone is parallel to the inclined surface of the desktop,
双显示区的展开角度:
Figure PCTCN2019080872-appb-000011
The expansion angle of the dual display area:
Figure PCTCN2019080872-appb-000011
其中,当加速度传感器在左边主屏上时,x和z轴的值都是正值;当加速度传感器在左边主屏上时,x轴的值为负值;z轴的值为正值,此时,对x轴的值取绝对值。Wherein, when the acceleration sensor is on the left main screen, the values of the x and z axes are positive values; when the acceleration sensor is on the left main screen, the value of the x axis is a negative value; the value of the z axis is a positive value, at this time, Take the absolute value of the value of the x-axis.
当手机的Y轴与桌面的倾斜面的横截面垂直时,Y轴与地面水平,其值为0。假定加速度传感器在终端左边主屏上时,如图12所示:When the Y-axis of the phone is perpendicular to the cross-section of the inclined surface of the tabletop, the Y-axis is level with the ground and has a value of zero. Assume that the accelerometer is on the main screen on the left side of the terminal, as shown in Figure 12:
Figure PCTCN2019080872-appb-000012
Figure PCTCN2019080872-appb-000012
双显示区的展开角度:The expansion angle of the dual display area:
Figure PCTCN2019080872-appb-000013
Figure PCTCN2019080872-appb-000013
其中,x和z为带有正负符号的矢量值。Where x and z are vector values with positive and negative signs.
当手机完全展开放置在倾斜卓面上时,α=-θ+θ=0°,β=180°;When the mobile phone is fully deployed on the inclined surface, α=-θ+θ=0°, β=180°;
当手机主屏与地面水平时,α=θ,β=180°-2θ;When the main screen of the mobile phone is level with the ground, α=θ, β=180°-2θ;
特别地,当桌面不水平时(例如,如图13所示时),也可以通过加速度传感器的三轴加速度值计算得到两个屏幕之间的夹角,然后展开一定角度放置在桌面上的三轴加速度值结合桌面的倾斜角度,也可以计算得到双显示区展开的角度。In particular, when the table top is not horizontal (for example, as shown in FIG. 13), the angle between the two screens can also be calculated by the three-axis acceleration value of the acceleration sensor, and then the three angles placed on the desktop are expanded at a certain angle. The axis acceleration value combined with the tilt angle of the desktop can also calculate the angle at which the dual display area is expanded.
下面以对手机中的霍尔传感器进行校准为例,对水平桌面上的整体校准流程进行说明:The following is an example of calibrating a Hall sensor in a mobile phone to illustrate the overall calibration process on a horizontal desktop:
图14是根据本申请实施例的霍尔传感器的校准流程,如图14所示,包括如下步骤:FIG. 14 is a calibration flow of a Hall sensor according to an embodiment of the present application. As shown in FIG. 14, the method includes the following steps:
S1402:进入霍尔传感器校准程序;S1402: Enter the Hall sensor calibration procedure;
S1404:提示用户将手机放置在桌面上以进入检查桌面是否水平:S1404: Prompt the user to place the mobile phone on the desktop to check whether the desktop is level:
S1406:判断桌面是否水平,在判断结果为是的情况下,转至S1408,否则转至S1416;S1406: determining whether the desktop is horizontal, if the determination result is yes, go to S1408, otherwise go to S1416;
S1408:提示用于将手机的双显示区展开放置在水平桌面上,以实时计算得到两个屏幕之间的夹角;S1408: The prompt is used to deploy the dual display area of the mobile phone on the horizontal desktop, and calculate the angle between the two screens in real time;
S1410:若实时测得的夹角小于预设的校准角度,提示用户慢慢展开双显示区;若实时测得的夹角大于预设的校准角度,提示用户慢慢折叠双显示区,直至夹角等于预定的校准角度;S1410: If the angle measured in real time is less than the preset calibration angle, the user is prompted to slowly expand the dual display area; if the angle measured in real time is greater than the preset calibration angle, the user is prompted to slowly fold the double display area until the clip The angle is equal to the predetermined calibration angle;
S1412:接收校准指令(可以是用户通过按压校准按钮所触发的指令),将霍尔传感器的校准值写入校准文件;S1412: receiving a calibration command (which may be an instruction triggered by a user pressing a calibration button), and writing a calibration value of the Hall sensor into the calibration file;
S1414:进入综合测试界面,提示用户进行180°状态检测,当检测到用户将双显示区夹角由150°展开到180°时,提示完成;S1414: Entering the comprehensive test interface, prompting the user to perform 180° state detection. When detecting that the user expands the angle of the double display area from 150° to 180°, the prompt is completed;
S1416:提示用户调整放置手机的桌面,若仍检测到桌面为非水平桌面,退出校准流程。S1416: Prompt the user to adjust the desktop of the mobile phone. If the desktop is still detected as a non-horizontal desktop, exit the calibration process.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present application.
在本实施例中还提供了一种屏幕间夹角的确定装置,该装置配置为实现上述任意实施例,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a device for determining the angle between the screens is also provided, and the device is configured to implement any of the above embodiments, and the description thereof has been omitted. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图15是根据本申请实施例的屏幕间夹角的确定装置的结构框图,如图15所示,该装置包括:FIG. 15 is a structural block diagram of an apparatus for determining an angle between screens according to an embodiment of the present application. As shown in FIG. 15, the apparatus includes:
第一确定模块152,配置为分别确定屏幕处于非折叠状态的终端中的第一屏在三轴方向中的第一轴方向上的第一加速度以及第二轴方向上的第二加速度,其中,该第一轴方向垂直于终端的第一屏的第一边,第二轴方向垂直于第一屏,第一边为屏幕处于非折叠状态的终端中与终端所处的平面平行的一边;第二确定模块154,连接至上述第一确定模块152,配置为根据第一加速度以及第二加速度确定第一屏和第二屏之间的夹角,其中,该第二屏为终端中与第一屏连接的屏幕。The first determining module 152 is configured to respectively determine a first acceleration of the first screen in the terminal in the unfolded state in the first axis direction in the triaxial direction and a second acceleration in the second axis direction, wherein The first axis direction is perpendicular to the first side of the first screen of the terminal, and the second axis direction is perpendicular to the first screen, and the first side is a side parallel to the plane where the terminal is located in the terminal in the unfolded state; The second determining module 154 is connected to the first determining module 152, configured to determine an angle between the first screen and the second screen according to the first acceleration and the second acceleration, wherein the second screen is the first and the second screen Screen connected screen.
在一个实施例中,上述第二确定模块154包括:第一确定单元,配置为当终端所处的平面为水平面时,根据第一加速度和第二加速度确定第一屏与水平面的垂直面之间的夹角;根据第一屏与垂直面之间的夹角确定第一屏和第二屏之间的夹角;或者,第二确定单元,配置为当终端所处的平面为非水平面时,根据终端所处的平面与水平面的夹角、第一加速度、第二加速度以及三轴方向中的第三轴方向上的第三加速度确定第一屏和第二屏之间的夹角,其中,该第三轴方向平行于第一边。In an embodiment, the second determining module 154 includes: a first determining unit configured to determine, between the vertical plane of the first screen and the horizontal plane, according to the first acceleration and the second acceleration, when the plane where the terminal is located is a horizontal plane The angle between the first screen and the second screen is determined according to the angle between the first screen and the vertical plane; or the second determining unit is configured to be when the plane where the terminal is located is a non-horizontal plane, Determining an angle between the first screen and the second screen according to an angle between a plane where the terminal is located and a horizontal plane, a first acceleration, a second acceleration, and a third acceleration in a third axial direction of the three-axis direction, where The third axis direction is parallel to the first side.
在一个实施例中,上述装置还配置为在分别确定屏幕处于非折叠状态的终端中的第一屏在三轴方向中的第一轴方向上的第一加速度以及第二轴方向上的第二加速度之前,根据屏幕处于折叠状态的所述终端中的所述第一屏的第一加速度、第二加速度以及第三加速度确定所述平面与水平面的 夹角。In one embodiment, the apparatus is further configured to, in determining a first screen of the terminal in the unfolded state, respectively, a first acceleration in a first axial direction in a triaxial direction and a second acceleration in a second axial direction Before the acceleration, the angle between the plane and the horizontal plane is determined according to the first acceleration, the second acceleration, and the third acceleration of the first screen in the terminal in which the screen is in a folded state.
在一个实施例中,上述装置可以通过如下方式根据屏幕处于折叠状态的所述终端中的第一屏的第一加速度、第二加速度以及第三加速度确定平面与水平面的夹角:通过如下公式确定平面与水平面的夹角θ:
Figure PCTCN2019080872-appb-000014
其中,x为第一加速度,z为第二加速度,y为第三加速度。
In an embodiment, the apparatus may determine an angle between a plane and a horizontal plane according to a first acceleration, a second acceleration, and a third acceleration of the first screen in the terminal in a folded state of the screen by: determining by the following formula: The angle between the plane and the horizontal plane θ:
Figure PCTCN2019080872-appb-000014
Where x is the first acceleration, z is the second acceleration, and y is the third acceleration.
在一个实施例中,上述第一确定单元可以通过如下方式根据第一加速度和第二加速度确定第一屏与水平面的垂直面之间的夹角:通过如下公式确定所述第一屏与水平面的垂直面之间的夹角α1:
Figure PCTCN2019080872-appb-000015
In an embodiment, the first determining unit may determine an angle between the first screen and a vertical plane of the horizontal plane according to the first acceleration and the second acceleration by determining the first screen and the horizontal plane by using the following formula: The angle α1 between the vertical faces:
Figure PCTCN2019080872-appb-000015
在一个实施例中,上述第一确定单元可以通过如下方式根据第一屏与垂直面之间的夹角α1确定第一屏和第二屏之间的夹角:通过如下公式确定第一屏和第二屏之间的夹角β1:
Figure PCTCN2019080872-appb-000016
其中,x为第一加速度,z为第二加速度。
In an embodiment, the first determining unit may determine an angle between the first screen and the second screen according to an angle α1 between the first screen and the vertical plane by: determining the first screen by using the following formula: The angle β1 between the second screen:
Figure PCTCN2019080872-appb-000016
Where x is the first acceleration and z is the second acceleration.
在一个实施例中,上述第二确定单元可以通过如下方式根据终端所处的平面与水平面的夹角、第一加速度、第二加速度以及三轴方向中的第三轴方向上的第三加速度确定第一屏和第二屏之间的夹角:当第三轴与平面和水平面均平行时,根据第一加速度、第二加速度以及平面与水平面的夹角确定第一屏与平面之间的夹角;根据第一屏与平面之间的夹角确定第一屏和第二屏之间的夹角。In an embodiment, the second determining unit may determine, according to the angle between the plane where the terminal is located and the horizontal plane, the first acceleration, the second acceleration, and the third acceleration in the third axis direction of the three-axis direction. An angle between the first screen and the second screen: when the third axis is parallel to the plane and the horizontal plane, the clip between the first screen and the plane is determined according to the first acceleration, the second acceleration, and the angle between the plane and the horizontal plane An angle; determining an angle between the first screen and the second screen according to an angle between the first screen and the plane.
在一个实施例中,上述第二确定单元可以通过如下方式根据第一加速度、第二加速度以及平面与水平面的夹角确定第一屏与平面之间的夹角:通过如下公式确定第一屏与平面之间的夹角α2:
Figure PCTCN2019080872-appb-000017
在一个 实施例中,上述第二确定单元可以通过如下方式根据第一屏与平面之间的夹角确定第一屏和第二屏之间的夹角:通过如下公式确定第一屏和第二屏之间的夹角β2:
Figure PCTCN2019080872-appb-000018
其中,
Figure PCTCN2019080872-appb-000019
为第一加速度的矢量值,
Figure PCTCN2019080872-appb-000020
为第三加速度的矢量值。
In an embodiment, the second determining unit may determine an angle between the first screen and the plane according to the first acceleration, the second acceleration, and an angle between the plane and the horizontal plane by: determining the first screen by using the following formula: Angle α2 between planes:
Figure PCTCN2019080872-appb-000017
In an embodiment, the second determining unit may determine an angle between the first screen and the second screen according to an angle between the first screen and the plane by determining the first screen and the second by using the following formula: The angle between the screens is β2:
Figure PCTCN2019080872-appb-000018
among them,
Figure PCTCN2019080872-appb-000019
Is the vector value of the first acceleration,
Figure PCTCN2019080872-appb-000020
The vector value for the third acceleration.
在一个实施例中,上述装置还用于在根据第一加速度以及第二加速度确定第一屏和第二屏之间的夹角之后,在确定第一屏和第二屏之间的夹角达到预定角度时,对终端中的霍尔传感器进行预定角度的校准,其中,该霍尔传感器用于检测第一屏和所述第二屏之间的角度状态。In an embodiment, the device is further configured to determine an angle between the first screen and the second screen after determining an angle between the first screen and the second screen according to the first acceleration and the second acceleration. The Hall sensor in the terminal is calibrated at a predetermined angle when the angle is predetermined, wherein the Hall sensor is for detecting an angular state between the first screen and the second screen.
在一个实施例中,上述装置还用于在对终端中的霍尔传感器进行预定角度的校准之后,存储校准信息。In one embodiment, the apparatus is further configured to store calibration information after a predetermined angle of calibration of the Hall sensor in the terminal.
在一些实施例中,上述的屏幕间夹角的确定装置可以应用于双显示区终端中(同样地,也可以适用于更多屏的终端中,其实现原理与双显示区终端的类似),图16是根据本申请实施例的多屏终端的结构图,如图16所示,该多屏终端包括霍尔传感器、多个显示屏,CPU,加速度传感器,存储器以及其他外设。In some embodiments, the above-mentioned determining device for the angle between the screens can be applied to the dual display area terminal (again, it can also be applied to the terminal of more screens, and the implementation principle is similar to that of the dual display area terminal). 16 is a structural diagram of a multi-screen terminal according to an embodiment of the present application. As shown in FIG. 16, the multi-screen terminal includes a Hall sensor, a plurality of display screens, a CPU, an acceleration sensor, a memory, and other peripherals.
下面以终端是手机为例,对终端中用于实现霍尔传感器校准的模块进行说明:In the following, the terminal is a mobile phone as an example, and the module for realizing Hall sensor calibration in the terminal is described:
配置为实现霍尔传感器校准的模块包括:测量水平模块、双显示区展开夹角测量模块(对应于前述的第一确定模块152和第二确定模块154)、数字霍尔传感器校准模块。下面对各模块进行说明:The module configured to implement Hall sensor calibration includes: a measurement level module, a dual display area expansion angle measurement module (corresponding to the aforementioned first determination module 152 and second determination module 154), and a digital Hall sensor calibration module. The following describes each module:
测量水平模块:配置为进入霍尔传感器校准菜单时,提示用户将手机折叠后水平放置在桌面上,通过获取加速度传感器三轴的输出值判断桌面是否水平;Measuring level module: configured to enter the Hall sensor calibration menu, prompting the user to fold the mobile phone horizontally and place it on the desktop, and determine whether the desktop is level by obtaining the output value of the acceleration sensor three axes;
双显示区展开夹角测量模块:配置为在桌面水平的前提下,将双显示 区展开放置在水平桌面上,通过夹角测量模块得到两个屏幕之间的夹角。实时调节双显示区之间的夹角,实时计算得到两个屏幕之间的夹角。Dual display area expansion angle measurement module: configured to place the dual display area on the horizontal desktop under the premise of the desktop level, and obtain the angle between the two screens through the angle measurement module. Real-time adjustment of the angle between the two display areas, real-time calculation of the angle between the two screens.
数字霍尔传感器校准模块:配置为当双显示区之间的夹角在预设的30°+/-1°,且状态稳定在1S后,自动进行“30度校准”的校准,并将数字霍尔传感器30°校准值,也即0°触发的阈值自动保存在校准文件中。当双显示区之间的夹角在预设的150°+/-1°,且状态稳定在1S后,自动进行“150度校准”的校准,并将数字霍尔传感器150°校准值,也即180°触发的阈值自动保存在校准文件中。Digital Hall Sensor Calibration Module: Configured to automatically perform a “30 Degree Calibration” calibration when the angle between the dual display areas is at a preset 30° +/- 1° and the state stabilizes at 1S The Hall sensor 30° calibration value, ie the 0° trigger threshold, is automatically saved in the calibration file. When the angle between the dual display areas is preset at 150° +/- 1°, and the state is stable at 1S, the calibration of “150 degree calibration” is automatically performed, and the digital Hall sensor is calibrated at 150°. That is, the 180° triggered threshold is automatically saved in the calibration file.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
本申请的实施例还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present application also provide a storage medium having stored therein a computer program, wherein the computer program is configured to execute the steps of any one of the method embodiments described above.
在一些实施例中,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In some embodiments, in the embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). ), removable hard drives, disks, or optical discs, and other media that can store computer programs.
本申请的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。Embodiments of the present application also provide an electronic device including a memory and a processor having a computer program stored therein, the processor being configured to execute a computer program to perform the steps of any of the above method embodiments.
在一些实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器 连接。In some embodiments, the electronic device may further include a transmission device and an input and output device, wherein the transmission device is coupled to the processor, and the input and output device is coupled to the processor.
在一些实施例中,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。In some embodiments, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
与相关技术相比,本申请实施例在霍尔传感器进行角度校准的时候,不需要特定的治具进行;而是由终端实时获取加速度传感器输出的三轴加速度值;在检测桌面水平后(或者结合桌面相对于水平面的角度来计算多屏之间的夹角),通过获取加速度传感器的输出值自动计算多屏之间的夹角;根据所述加速度传感器的输出值确定智能终端两个屏幕的夹角状态;达到预设的角度并稳定在预定时间,例如,1S后,自动进行霍尔传感器的校准,并将校准文件保存在存储器中。从而解决了用户在使用过程中,高温消磁;转轴松动、轻摔导致的磁铁和数字霍尔传感器距离变化,引起磁通量发生变化,导致模式切换功能失效后,必须要通过治具或者到售后进行校准的问题。Compared with the related art, the embodiment of the present application does not require a specific jig when the Hall sensor performs angle calibration; instead, the terminal obtains the triaxial acceleration value of the acceleration sensor output in real time; after detecting the desktop level (or Combining the angle of the desktop with respect to the horizontal plane to calculate the angle between the multiple screens), automatically calculating the angle between the multiple screens by acquiring the output value of the acceleration sensor; determining the two screens of the smart terminal according to the output value of the acceleration sensor Angle state; reaches a preset angle and stabilizes at a predetermined time, for example, after 1S, automatically performs calibration of the Hall sensor and saves the calibration file in the memory. Thereby solving the high temperature degaussing of the user during use; the distance between the magnet and the digital Hall sensor caused by the loose shaft and the light drop causes the magnetic flux to change, and the mode switching function fails, and the calibration must be performed through the fixture or after the sale. The problem.
由此可知,本申请实施例中的测量方案无需夹具,利用单颗三轴加速度即可测量多屏展开角度,方便快捷,让用户可以自行进行数字霍尔传感器的0°和180°的触发阈值的校准,可以将此功能做到设置模块的菜单里面。这样子在数字霍尔传感器出现问题导致显示模式功能切换失效后,即方便了用户的自校准,也节省了售后的成本。It can be seen that the measurement scheme in the embodiment of the present application can measure the multi-screen deployment angle by using a single three-axis acceleration, which is convenient and quick, and allows the user to perform the 0° and 180° trigger thresholds of the digital Hall sensor. The calibration can be done in the menu of the setup module. In this way, after the digital Hall sensor has a problem, the display mode function switching fails, which facilitates the user's self-calibration and saves the after-sales cost.
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模 块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the application is not limited to any particular combination of hardware and software.
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only the preferred embodiment of the present application, and is not intended to limit the present application, and various changes and modifications may be made to the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of this application are intended to be included within the scope of the present application.

Claims (13)

  1. 一种屏幕夹角的确定方法,包括:A method for determining a screen angle includes:
    分别确定屏幕处于非折叠状态的终端中的第一屏在三轴方向中的第一轴方向上的第一加速度以及第二轴方向上的第二加速度,其中,所述第一轴方向垂直于所述终端的第一屏的第一边,所述第二轴方向垂直于所述第一屏,所述第一边为所述屏幕处于非折叠状态的终端中与所述终端所处的平面平行的一边;Determining, respectively, a first acceleration of the first screen in the terminal in the unfolded state in a first axial direction in the triaxial direction and a second acceleration in the second axial direction, wherein the first axial direction is perpendicular to a first side of the first screen of the terminal, the second axis direction is perpendicular to the first screen, and the first side is a plane in which the screen is in an unfolded state and a plane where the terminal is located Parallel side
    根据所述第一加速度以及所述第二加速度确定所述第一屏和第二屏之间的夹角,其中,所述第二屏为所述终端中与所述第一屏连接的屏幕。Determining an angle between the first screen and the second screen according to the first acceleration and the second acceleration, wherein the second screen is a screen connected to the first screen in the terminal.
  2. 根据权利要求1所述的方法,其中,根据所述第一加速度和所述第二加速度确定所述第一屏和第二屏之间的夹角包括:The method of claim 1, wherein determining an angle between the first screen and the second screen according to the first acceleration and the second acceleration comprises:
    当所述终端所处的平面为水平面时,根据所述第一加速度和所述第二加速度确定所述第一屏与水平面的垂直面之间的夹角;根据所述第一屏与所述垂直面之间的夹角确定所述第一屏和所述第二屏之间的夹角;或者,Determining an angle between the first screen and a vertical plane of the horizontal plane according to the first acceleration and the second acceleration when the plane in which the terminal is located is a horizontal plane; according to the first screen and the An angle between the vertical faces determines an angle between the first screen and the second screen; or
    当所述终端所处的平面为非水平面时,根据所述终端所处的平面与水平面的夹角、所述第一加速度、所述第二加速度以及三轴方向中的第三轴方向上的第三加速度确定所述第一屏和所述第二屏之间的夹角,其中,所述第三轴方向平行于所述第一边。When the plane in which the terminal is located is a non-horizontal plane, according to an angle between a plane where the terminal is located and a horizontal plane, the first acceleration, the second acceleration, and a direction of the third axis in the three-axis direction The third acceleration determines an angle between the first screen and the second screen, wherein the third axis direction is parallel to the first side.
  3. 根据权利要求2所述的方法,其中,在分别确定屏幕处于非折叠状态的终端中的第一屏在三轴方向中的第一轴方向上的第一加速度以及第二轴方向上的第二加速度之前,所述方法还包括:The method according to claim 2, wherein the first screen in the terminal in which the screen is in the unfolded state is respectively determined to have a first acceleration in a first axis direction in the triaxial direction and a second acceleration in the second axis direction Before the acceleration, the method further includes:
    根据屏幕处于折叠状态的所述终端中的所述第一屏的第一加速度、第二加速度以及第三加速度确定所述平面与水平面的夹角。The angle between the plane and the horizontal plane is determined according to the first acceleration, the second acceleration, and the third acceleration of the first screen in the terminal in which the screen is in a folded state.
  4. 根据权利要求3所述的方法,其中,根据屏幕处于折叠状态的所述终端中的所述第一屏的第一加速度、第二加速度以及第三加速度确定所述平面与水平面的夹角包括:The method according to claim 3, wherein determining the angle between the plane and the horizontal plane according to the first acceleration, the second acceleration, and the third acceleration of the first screen in the terminal in which the screen is in a folded state comprises:
    通过如下公式确定所述平面与水平面的夹角θ:
    Figure PCTCN2019080872-appb-100001
    The angle θ between the plane and the horizontal plane is determined by the following formula:
    Figure PCTCN2019080872-appb-100001
    其中,x为所述第一加速度,z为所述第二加速度,y为所述第三加速度。Where x is the first acceleration, z is the second acceleration, and y is the third acceleration.
  5. 根据权利要求2所述的方法,其中,The method of claim 2, wherein
    根据所述第一加速度和所述第二加速度确定所述第一屏与水平面的垂直面之间的夹角包括:通过如下公式确定所述第一屏与水平面的垂直面之间的夹角α1:
    Figure PCTCN2019080872-appb-100002
    Determining an angle between the first screen and a vertical plane of the horizontal plane according to the first acceleration and the second acceleration comprises: determining an angle α1 between the first screen and a vertical plane of the horizontal plane by the following formula :
    Figure PCTCN2019080872-appb-100002
    根据所述第一屏与所述垂直面之间的夹角α1确定所述第一屏和所述第二屏之间的夹角包括:通过如下公式确定所述第一屏和所述第二屏之间的夹角β1:
    Figure PCTCN2019080872-appb-100003
    Determining an angle between the first screen and the second screen according to an angle α1 between the first screen and the vertical plane includes: determining the first screen and the second by using an equation The angle between the screens is β1:
    Figure PCTCN2019080872-appb-100003
    其中,x为所述第一加速度,z为所述第二加速度。Where x is the first acceleration and z is the second acceleration.
  6. 根据权利要求2所述的方法,其中,根据所述终端所处的平面与水平面的夹角、所述第一加速度、所述第二加速度以及三轴方向中的第三轴方向上的第三加速度确定所述第一屏和所述第二屏之间的夹角包括:The method according to claim 2, wherein the angle between the plane in which the terminal is located and the horizontal plane, the first acceleration, the second acceleration, and the third of the three axial directions The acceleration determines an angle between the first screen and the second screen, including:
    当所述第三轴与所述平面和所述水平面均平行时,根据所述第一加速度、所述第二加速度以及所述平面与水平面的夹角确定所述第一屏与所述平面之间的夹角;Determining the first screen and the plane according to the first acceleration, the second acceleration, and an angle between the plane and a horizontal plane when the third axis is parallel to the plane and the horizontal plane Angle between
    根据所述第一屏与所述平面之间的夹角确定所述第一屏和所述第二屏之间的夹角。Determining an angle between the first screen and the second screen according to an angle between the first screen and the plane.
  7. 根据权利要求6所述的方法,其中,The method of claim 6 wherein
    根据所述第一加速度、所述第二加速度以及所述平面与水平面的夹角确定所述第一屏与所述平面之间的夹角包括:通过如下公式确定所述第一屏与所述平面之间的夹角α2:
    Figure PCTCN2019080872-appb-100004
    Determining an angle between the first screen and the plane according to the first acceleration, the second acceleration, and an angle between the plane and a horizontal plane includes: determining the first screen and the Angle α2 between planes:
    Figure PCTCN2019080872-appb-100004
    根据所述第一屏与所述平面之间的夹角确定所述第一屏和所述第二屏之间的夹角包括:通过如下公式确定所述第一屏和所述第二屏之间的夹角β2:
    Figure PCTCN2019080872-appb-100005
    Determining an angle between the first screen and the second screen according to an angle between the first screen and the plane includes: determining, by the following formula, the first screen and the second screen The angle between the two is β2:
    Figure PCTCN2019080872-appb-100005
    其中,
    Figure PCTCN2019080872-appb-100006
    为所述第一加速度的矢量值,
    Figure PCTCN2019080872-appb-100007
    为所述第三加速度的矢量值。
    among them,
    Figure PCTCN2019080872-appb-100006
    Is the vector value of the first acceleration,
    Figure PCTCN2019080872-appb-100007
    Is the vector value of the third acceleration.
  8. 根据权利要求1至7中任一项所述的方法,其中,在根据所述第一加速度以及所述第二加速度确定所述第一屏和第二屏之间的夹角之后,所述方法还包括:The method according to any one of claims 1 to 7, wherein after determining an angle between the first screen and the second screen according to the first acceleration and the second acceleration, the method Also includes:
    在确定所述第一屏和第二屏之间的夹角达到预定角度时,对所述终端中的霍尔传感器进行所述预定角度的校准,其中,所述霍尔传感器用于检测所述第一屏和所述第二屏之间的角度状态。Performing calibration of the predetermined angle on a Hall sensor in the terminal when determining that an angle between the first screen and the second screen reaches a predetermined angle, wherein the Hall sensor is configured to detect the An angular state between the first screen and the second screen.
  9. 根据权利要求8所述的方法,其中,在对所述终端中的霍尔传感器进行所述预定角度的校准之后,所述方法还包括:The method of claim 8 wherein after the calibration of the predetermined angle by the Hall sensor in the terminal, the method further comprises:
    存储校准信息。Store calibration information.
  10. 一种屏幕间夹角的确定装置,其中,包括:A device for determining an angle between screens, comprising:
    第一确定模块,配置为分别确定屏幕处于非折叠状态的终端中的第一屏在三轴方向中的第一轴方向上的第一加速度以及第二轴方向上的第二加速度,其中,所述第一轴方向垂直于所述终端的第一屏的第一边,所述第二轴方向垂直于所述第一屏,所述第一边为所述屏幕处于非折叠状态的终端中与所述终端所处的平面平行的一边;a first determining module configured to respectively determine a first acceleration of the first screen in the terminal in the unfolded state in the first axis direction in the triaxial direction and a second acceleration in the second axis direction, wherein The first axis direction is perpendicular to a first side of the first screen of the terminal, the second axis direction is perpendicular to the first screen, and the first side is a terminal in which the screen is in an unfolded state a parallel side of the plane in which the terminal is located;
    第二确定模块,配置为根据所述第一加速度以及所述第二加速度确定所述第一屏和第二屏之间的夹角,其中,所述第二屏为所述终端中与所述第一屏连接的屏幕。a second determining module, configured to determine an angle between the first screen and the second screen according to the first acceleration and the second acceleration, where the second screen is in the terminal and The screen connected to the first screen.
  11. 根据权利要求10所述的装置,其中,所述第二确定模块包括:The apparatus of claim 10, wherein the second determining module comprises:
    第一确定单元,配置为当所述终端所处的平面为水平面时,根据所述第一加速度和所述第二加速度确定所述第一屏与水平面的垂直面之间的夹角;根据所述第一屏与所述垂直面之间的夹角确定所述第一屏和所述第二屏之间的夹角;或者,a first determining unit, configured to determine an angle between the first screen and a vertical plane of the horizontal plane according to the first acceleration and the second acceleration when the plane where the terminal is located is a horizontal plane; An angle between the first screen and the vertical plane determines an angle between the first screen and the second screen; or
    第二确定单元,配置为当所述终端所处的平面为非水平面时,根据所述终端所处的平面与水平面的夹角、所述第一加速度、所述第二加速度以及三轴方向中的第三轴方向上的第三加速度确定所述第一屏和所述第二屏之间的夹角,其中,所述第三轴方向平行于所述第一边。a second determining unit, configured to: when the plane where the terminal is located is a non-horizontal plane, according to an angle between a plane where the terminal is located and a horizontal plane, the first acceleration, the second acceleration, and the three-axis direction A third acceleration in a third axial direction determines an angle between the first screen and the second screen, wherein the third axis direction is parallel to the first side.
  12. 一种存储介质,其中,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至9任一项中所述的方法。A storage medium, wherein a computer program is stored in the storage medium, wherein the computer program is configured to execute the method of any one of claims 1 to 9 at runtime.
  13. 一种电子装置,包括存储器和处理器,其中,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至9任一项中所述的方法。An electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to execute the computer program to perform the method of any one of claims 1 to 9. method.
PCT/CN2019/080872 2018-04-28 2019-04-01 Method and device for determining included angle between screens, storage medium and electronic device WO2019205899A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810403214.1A CN108845773B (en) 2018-04-28 2018-04-28 Method and device for determining included angle between screens, storage medium and electronic device
CN201810403214.1 2018-04-28

Publications (1)

Publication Number Publication Date
WO2019205899A1 true WO2019205899A1 (en) 2019-10-31

Family

ID=64212457

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/080872 WO2019205899A1 (en) 2018-04-28 2019-04-01 Method and device for determining included angle between screens, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN108845773B (en)
WO (1) WO2019205899A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114489534A (en) * 2021-07-23 2022-05-13 荣耀终端有限公司 Display switching method of foldable electronic equipment, electronic equipment and medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108845773B (en) * 2018-04-28 2022-04-29 中兴通讯股份有限公司 Method and device for determining included angle between screens, storage medium and electronic device
CN113504866A (en) * 2019-02-22 2021-10-15 华为技术有限公司 Screen control method, electronic device and storage medium
CN110045936A (en) * 2019-02-23 2019-07-23 华为技术有限公司 A kind of display methods and electronic equipment of dynamic image
CN110069146B (en) * 2019-03-06 2022-07-01 维沃移动通信有限公司 Screen space parameter acquisition method and terminal equipment
CN110647212A (en) * 2019-09-18 2020-01-03 华勤通讯技术有限公司 Folding angle determining method and device, electronic equipment and storage medium
CN112988028B (en) * 2019-12-02 2022-09-13 青岛海信移动通信技术股份有限公司 Document page turning method and folding screen terminal
CN111857368B (en) * 2020-07-21 2023-04-28 四川京龙光电科技有限公司 Display device control method, electronic equipment and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160012797A1 (en) * 2013-06-19 2016-01-14 Lg Electronics Inc. Foldable display device and method of controlling therefor
CN106020667A (en) * 2016-05-17 2016-10-12 安徽华米信息科技有限公司 Control method and device for screen status switching, and intelligent electronic equipment
CN106254660A (en) * 2016-08-12 2016-12-21 青岛海信移动通信技术股份有限公司 The awakening method of display screen and device
CN106774671A (en) * 2016-12-22 2017-05-31 广东虹勤通讯技术有限公司 The control method and electronic equipment of a kind of folding screen
CN107888769A (en) * 2017-11-07 2018-04-06 广东欧珀移动通信有限公司 Scene mode starts method, apparatus and terminal
CN108845773A (en) * 2018-04-28 2018-11-20 中兴通讯股份有限公司 Determination method, apparatus, storage medium and the electronic device of angle between screen

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035910B (en) * 2009-09-29 2014-02-12 深圳富泰宏精密工业有限公司 Multi-screen mobile phone
US9351237B2 (en) * 2011-09-27 2016-05-24 Z124 Displaying of charging status on dual screen device
CN107454254B (en) * 2017-07-26 2021-01-08 青岛海信移动通信技术股份有限公司 Double-screen terminal notification information processing method and double-screen terminal
CN107967202B (en) * 2017-12-21 2019-10-15 维沃移动通信有限公司 A kind of Folding screen folding condition determines method, mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160012797A1 (en) * 2013-06-19 2016-01-14 Lg Electronics Inc. Foldable display device and method of controlling therefor
CN106020667A (en) * 2016-05-17 2016-10-12 安徽华米信息科技有限公司 Control method and device for screen status switching, and intelligent electronic equipment
CN106254660A (en) * 2016-08-12 2016-12-21 青岛海信移动通信技术股份有限公司 The awakening method of display screen and device
CN106774671A (en) * 2016-12-22 2017-05-31 广东虹勤通讯技术有限公司 The control method and electronic equipment of a kind of folding screen
CN107888769A (en) * 2017-11-07 2018-04-06 广东欧珀移动通信有限公司 Scene mode starts method, apparatus and terminal
CN108845773A (en) * 2018-04-28 2018-11-20 中兴通讯股份有限公司 Determination method, apparatus, storage medium and the electronic device of angle between screen

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114489534A (en) * 2021-07-23 2022-05-13 荣耀终端有限公司 Display switching method of foldable electronic equipment, electronic equipment and medium
CN114489534B (en) * 2021-07-23 2023-07-14 荣耀终端有限公司 Display switching method of foldable electronic equipment, electronic equipment and medium

Also Published As

Publication number Publication date
CN108845773A (en) 2018-11-20
CN108845773B (en) 2022-04-29

Similar Documents

Publication Publication Date Title
WO2019205899A1 (en) Method and device for determining included angle between screens, storage medium and electronic device
CN107818288B (en) Sign board information acquisition method and device
US10073668B2 (en) Method for measuring angles between displays and electronic device using the same
CN108226906B (en) A kind of scaling method, device and computer readable storage medium
US9451496B2 (en) Method and apparatus of positioning mobile terminal based on geomagnetism
TWI543019B (en) Automatic device display orientation detection
KR102524559B1 (en) Apparatus and method for screen correcting of external display device
US20150193971A1 (en) Methods and Systems for Generating a Map including Sparse and Dense Mapping Information
CN108921795A (en) A kind of image interfusion method, device and storage medium
TWI633464B (en) Processing method and electronic device for displaying video corresponding to physical object
JP2011027718A (en) Derivation of 3-dimensional information from single camera and movement sensor
JP2016503495A (en) Estimation of gravity vector in world coordinate system using accelerometer in mobile device
US11637968B2 (en) Image photographing method of electronic device and electronic device
US10148944B2 (en) Calibration method of an image capture system
JP6816492B2 (en) Display control program, display control method and display control device
CN104597289A (en) Acceleration sensor tri-axis simultaneous testing correction and testing method
US9824476B2 (en) Method for superposing location information on collage, terminal and server
CN107560637B (en) Method for verifying calibration result of head-mounted display device and head-mounted display device
CN105718232A (en) Display method and display device of arbitrary angle plane rotation
US20150220171A1 (en) Method for processing input and electronic device thereof
CN112034978A (en) Flexible electronic device and operation method thereof
CN114051717A (en) Foldable electronic device for detecting folding angle and operation method thereof
EP2623995B1 (en) Methods and devices for detecting magnetic interference affecting the operation of a magnetometer
US9329828B2 (en) Information processing apparatus for displaying adjacent partial images out of a plurality of partial images that constitute one image on display units of a plurality of adjacent information processing apparatuses
CN112762915B (en) Compass precision optimization method and device, storage medium and electronic equipment

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: 19793130

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 12.03.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19793130

Country of ref document: EP

Kind code of ref document: A1