Folding screen terminal device, state detection method thereof and electronic device

By using a multi-sensor system in a folding screen mobile phone, combined with a gravity sensor, a gyroscope sensor and a distance sensor, accurate status detection of complex forms is achieved, which solves the problem of abnormal data output caused by traditional designs and supports the use of functions in diverse forms. .

CN113542453BActive Publication Date: 2024-09-24BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 19 Cites 0 Cited by

Patent Information

Application Number
CN202010243836.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-31
Publication Date
2024-09-24
Estimated Expiration
2040-03-31

AI Technical Summary

Technical Problem

When existing folding screen mobile phones are used in complex forms, the traditional geomagnetic sensor design causes abnormal data output and cannot provide the best signal output. It lacks effective status detection methods for diverse forms.

Method used

A multi-sensor system is adopted, including a gravity sensor, a gyroscope sensor and a distance sensor set in the first and second screen areas. Through the combination of these sensors, the vector angle and output value are used to determine the unfolding, folding in and out of the screen area. Flip the folded state, and execute the corresponding detection method through the processor to realize dynamic switching judgment of the state.

Benefits of technology

It can accurately identify and detect the complex status of folding screen terminal equipment, including initial and dynamic switching status, provide reasonable data output, support interface display and navigation functions in various forms, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113542453B
    Figure CN113542453B
Patent Text Reader

Abstract

The present application relates to a folding screen terminal device, a state detection method thereof and an electronic device, wherein the folding screen terminal device includes a first screen area and a second screen area that are foldable to each other, and also includes a sensor system, wherein the sensor system includes a first gravity sensor and a first gyroscope sensor arranged in the first screen area; a second gravity sensor and a second gyroscope sensor arranged in the second screen area; a distance sensor arranged in the first screen area and / or the second screen area; and a processor connected to the above-mentioned multiple sensors; wherein each of the sensors has a first axis, a second axis and a third axis that are perpendicular to each other in space. By adopting the scheme of the present application, it is possible to identify and implement state detection of very complex situations of the folding screen terminal device, and facilitate the implementation of functions such as interface display, indoor and outdoor navigation, and somatosensory games in their respective forms.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart terminal devices, and in particular, to a folding screen terminal device, a state detection method thereof, an electronic device and a computer-readable storage medium. Background Art

[0002] With the development of smart electronic products, their functions are becoming increasingly rich, especially smart phones, which have been involved in all aspects of people's lives.

[0003] With the development of flexible screens, the form of smartphones has also been greatly improved. In particular, the evolution of foldable screen phones has made the form and functions of smartphones more diverse.

[0004] Folding screens have many different shapes and forms, and the traditional geomagnetic sensor (compass) design method will cause abnormal data output in certain shapes, which makes existing folding screen mobile phones unable to provide the best signal output for complex and diverse shapes. Summary of the invention

[0005] In view of any of the above-mentioned defects or shortcomings of the camera system in the prior art, the present application provides a folding screen terminal device, a state detection method thereof, an electronic device and a computer-readable storage medium, which can reasonably output data according to the complex usage forms and user settings of the folding screen.

[0006] Specifically, the present application provides a folding screen terminal device, including a first screen area and a second screen area that are foldable and expandable with each other, and also includes a sensor system, wherein the sensor system includes:

[0007] A first gravity sensor and a first gyro sensor disposed in a first screen area;

[0008] a second gravity sensor and a second gyro sensor disposed in the second screen area;

[0009] Distance sensors disposed in the first screen area and / or the second screen area; and a processor connected to the plurality of sensors;

[0010] Each of the sensors has a first axis, a second axis and a third axis that are perpendicular to each other in space. In one embodiment, when the first screen area and the second screen area are folded or unfolded, the first axis, the second axis and the third axis of the first gravity sensor are respectively placed parallel to the first axis, the second axis and the third axis of the second gravity sensor.

[0011] In one embodiment, when the first screen area and the second screen area are folded or unfolded, the first axis, the second axis and the third axis of the first gyro sensor are respectively placed parallel to the first axis, the second axis and the third axis of the second gyro sensor, and the first axis of the first gyro sensor and the first axis of the second gyro sensor are parallel to the rotation axis when the first screen area and the second screen area are folded.

[0012] In one solution, the distance sensor cooperates with the first gravity sensor and the second gravity sensor to detect the state of the first screen area and the second screen area relative to each other.

[0013] In one solution, the switching between the folding state and the unfolding state of the first screen area and the second screen area is determined based on a combination of a distance sensor and a first gyro sensor and a second gyro sensor.

[0014] The present application also provides a detection method for a folding screen terminal device as described in any of the above items, the method comprising comprehensively judging whether the first screen area and the second screen area are in an unfolded, inwardly folded, or outwardly folded state based on the output of the distance sensor and the vector angle between the first gravity sensor and the second gravity sensor.

[0015] In one solution, a specific method for determining whether the first screen area and the second screen area are in the state of being unfolded, folded inwards, or folded outwards is:

[0016] When the output of the distance sensor is 0, and the absolute value of the vector angle between the first gravity sensor and the second gravity sensor is less than the first angle threshold, it is determined that the first screen area and the second screen area are in the unfolded state;

[0017] When the output of the distance sensor is 0, and the absolute value of the vector angle between the first gravity sensor and the second gravity sensor is greater than the first angle threshold, it is determined that the first screen area and the second screen area are in an inward folded state;

[0018] When the output of the distance sensor is 1, and the absolute value of the vector angle between the first gravity sensor and the second gravity sensor is greater than the first angle threshold, it is determined that the first screen area and the second screen area are in an outward folded state.

[0019] In one embodiment, after determining the states of the first screen area and the second screen area in the initial state, the method further comprises comprehensively determining the switching of the folding and unfolding states of the first screen area and the second screen area based on the output of the distance sensor and the output of the first gyroscope sensor and the second gyroscope sensor.

[0020] In one embodiment, the judgment of switching between the folding state and the unfolding state of the first screen area and the second screen area based on the output of the distance sensor and the output of the first gyro sensor and the second gyro sensor includes: if the difference between the first axis direction degrees of the first gyro sensor and the second gyro sensor is greater than a third threshold, it means that the first screen area and the second screen area are moving toward the folding state; when the output of the distance sensor changes from 0 to 1, it is considered that the first screen area and the second screen area are changed to the outward-turned folding state; when the output of the distance sensor is always 0, it is considered that the first screen area and the second screen area are changed to the inward-turned folding state;

[0021] If the difference between the first-axis direction degrees of the first gyro sensor and the second gyro sensor is smaller than the third threshold, it is considered that the first screen area and the second screen area are still in the unfolded state.

[0022] In one solution, when the first screen area and the second screen area are initially in an outwardly folded state, the output of the distance sensor is 1, and the data of the first gyroscope sensor and the second gyroscope sensor are read;

[0023] If the difference between the first-axis direction degrees of the first gyro sensor and the second gyro sensor is greater than a fourth threshold value and less than a fifth threshold value, it is considered that the first screen area and the second screen area are changed to an unfolded state; if the difference between the first-axis direction degrees of the first gyro sensor and the second gyro sensor is greater than a fifth threshold value, it is considered that the first screen area and the second screen area are changed to an inwardly folded state;

[0024] If the difference between the first-axis direction degrees of the first gyro sensor and the second gyro sensor is smaller than a fourth threshold, it is considered that the first screen area and the second screen area maintain an outwardly turned folded state.

[0025] In one scheme, when the first screen area and the second screen area are initially in a folded state, the output of the distance sensor is 1, and the data of the first gyroscope sensor and the second gyroscope sensor are read. If the difference in the first-axis direction degrees of the first gyroscope sensor and the second gyroscope sensor is less than a fourth threshold, and the output of the distance sensor changes from 1 to 0 at this time, it is considered that the opening angle between the first screen area and the second screen area is small, and the state is determined to be folded.

[0026] The present application also provides an electronic product, which includes a processor, and the processor is used to execute any of the methods described above.

[0027] The present application also provides a storage medium on which a computer program is stored. When the program is executed by a processor, any of the above methods is implemented.

[0028] The solution of this application can identify and implement very complex state detection of folding screen terminal devices, and can detect not only the folding screen state when the terminal device is initially started, but also the dynamic switching state of the folding screen of the terminal device. The results of the reported sensors can be reasonably output according to different situations, which facilitates the realization of interface display, indoor and outdoor navigation, somatosensory games and other functions in their respective forms. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0030] Figure 1 This is the sensor system structure diagram for this application;

[0031] Figure 2 This is the main view of the structural schematic diagram of the folding screen terminal device of this application;

[0032] Figure 3 This is a side view of the structural schematic diagram of the folding screen terminal device of this application;

[0033] Figure 4 This is a schematic diagram of the folding state of the folding screen terminal device structure of this application;

[0034] Figure 5 This is a schematic diagram of the vector angles of the first gravity sensor and the second gravity sensor of the folding screen terminal device of the present application;

[0035] Figure 6 This is a flow chart of a folding screen terminal device status detection method according to Embodiment 1 of the present application;

[0036] Figure 7 This is a schematic diagram of the vector angles of the first gravity sensor and the second gravity sensor in the folded state of the folding screen terminal device in Example 1 of the present application;

[0037] Figure 8 This is a schematic diagram of the vector angles of the first gravity sensor and the second gravity sensor of the folding screen terminal device in the unfolded state according to Embodiment 1 of the present application;

[0038] Fig. 9 This is a schematic diagram of the vector angles of the first gravity sensor and the second gravity sensor in the folded state of the folding screen terminal device in Example 1 of the present application;

[0039] Fig.10 This is a flow chart of a folding screen terminal device status detection method according to Embodiment 2 of the present application;

[0040] Fig.11 This is a flow chart of reporting data in the folding screen terminal device status detection method in Example 2 of the present application;

[0041] Fig.12 This is a schematic diagram of the electronic device structure of this application. DETAILED DESCRIPTION

[0042] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0043] The words "first", "second" and similar words used in this application do not indicate any order, quantity or importance, but are only used to distinguish different parts. The words "include" or "comprise" and similar words mean that the elements before the word include the elements listed after the word, and do not exclude the possibility of including other elements. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0044] like Figure 1-4 As shown, the folding screen terminal device of the present application includes a first screen area 100 and a second screen area 200 which are foldable with each other and a sensor system 400.

[0045] The sensor system 400 includes,

[0046] A first gravity sensor 411 and a first gyro sensor 412 provided in the first screen area 100;

[0047] A second gravity sensor 421 and a second gyro sensor 422 provided in the second screen area 200;

[0048] A distance sensor 430 disposed in the first screen area 100 and / or the second screen area 200; and a processor 440 connected to the plurality of sensors.

[0049] Each sensor has a first axis (X axis), a second axis (Y axis) and a third axis (Z axis) which are perpendicular to each other in space.

[0050] In one embodiment, when the first screen area 100 and the second screen area 200 are folded or unfolded, the first axis, the second axis and the third axis of the first gravity sensor 411 are respectively placed parallel to the first axis, the second axis and the third axis of the second gravity sensor 421. When the first screen area 100 and the second screen area 200 are unfolded, the directions of the values ​​of the two sensors on the third axis are the same, and when folded, the directions of the values ​​of the two sensors on the third axis are opposite.

[0051] In one embodiment, when the first screen area 100 and the second screen area 200 are folded or unfolded, the first axis, the second axis, and the third axis of the first gyro sensor 412 are respectively placed parallel to the first axis, the second axis, and the third axis of the second gyro sensor 422. The directions of the first axis of the first gyro sensor 412 and the first axis of the second gyro sensor 422 are parallel to the directions of the rotation axes when the first screen area 100 and the second screen area 200 are folded.

[0052] In one embodiment, the first axis, second axis, and third axis directions of the first gravity sensor 411 and the second gravity sensor 421 of the first screen area 100 and the second screen area 200 are respectively parallel to the first axis, second axis, and third axis directions of the first gyro sensor 412 and the second gyro sensor 422 .

[0053] The distance sensor 430 cooperates with the first gravity sensor 411 and the second gravity sensor 421 to detect the states of the first screen area 100 and the second screen area 200 being unfolded, folded inwards, and folded outwards.

[0054] The number of the first gravity sensor 411 , the first gyroscope sensor 412 , the second gravity sensor 421 , the second gyroscope sensor 422 and the distance sensor 430 can be selected to be one or two or more (one is used as an example in the figure).

[0055] The distance sensor 430 may be an optical infrared distance sensor or an ultrasonic distance sensor. The distance sensor 430 includes a transmitter and a receiver, wherein the transmitter is used to transmit infrared or ultrasonic signals, and the receiver is used to receive infrared or ultrasonic signals reflected by an object. In one embodiment, the distance sensor 430 is disposed on one side of the rear housing 300, such as Figure 3 When the screen is unfolded, the optical or ultrasonic signal emitted by the reflector is not reflected back by the object, and the receiver does not receive the reflected signal, so the output of the distance sensor 430 is 0; Figure 4 When the screen is folded outward, the optical or ultrasonic signal emitted by the reflector is blocked by the folded part and reflected. The receiver receives the reflected optical or ultrasonic signal, and the output of the distance sensor 430 is 1.

[0056] In one solution, in order to prevent the distance sensor from being blocked by a hand or other objects and causing erroneous recognition, the distance sensor 430 is installed at a corner position that is not easily touched by a hand.

[0057] In one embodiment, a geomagnetic sensor is provided in the first screen area 100 and a second geomagnetic sensor is provided in the second screen area 200. When the first screen area 100 and the second screen area 200 are folded or unfolded, the first axis, the second axis and the third axis of the first geomagnetic sensor and the second geomagnetic sensor are placed parallel to each other. In this way, whether the screen is folded or unfolded, the components of the geomagnetic acceleration for the three axes of the two geomagnetic sensors within the accuracy allowable range are consistent.

[0058] In one embodiment, the distance sensor 430 is combined with the first gyro sensor 412 and the second gyro sensor 422 to detect the switching of the first screen area 100 and the second screen area 200 between the unfolded, inwardly folded, and outwardly folded states.

[0059] The present application also provides a state detection method for the above-mentioned folding screen terminal device, the method comprising: judging whether the folding screen is in an unfolded state or an inward folded or outward folded state according to a combination of the distance sensor 430 and the gyroscope sensor 411 / 422.

[0060] The method further includes determining the switching of the first screen area 100 and the second screen area 200 between the unfolding, inward folding and outward folding states according to the combination of the distance sensor 430 and the first gyro sensor 412 and the second gyro sensor 422 .

[0061] In one solution, a specific method for determining whether the folding screen is in an unfolded state or a folded state according to the combination of the distance sensor 430 and the gyroscope sensor 411 / 422 is as follows:

[0062] When the output of the distance sensor 430 is 0, and the absolute value of the vector angle between the first gravity sensor 411 of the first screen area 100 and the second gravity sensor 421 of the second screen area 200 is less than the first angle threshold, it is determined that the first screen area 100 and the second screen area 200 are in an inward folded state.

[0063] When the output of the distance sensor 430 is 0, and the absolute value of the vector angle between the first gravity sensor 411 of the first screen area 100 and the second gravity sensor 421 of the second screen area 200 is greater than the second angle threshold, it is determined that the first screen area 100 and the second screen area 200 are in the screen unfolded state.

[0064] When the output of the distance sensor 430 is 1, and the absolute value of the vector angle between the first gravity sensor 411 of the first screen area 100 and the second gravity sensor 421 of the second screen area 200 is less than the first angle threshold, it is determined that the first screen area 100 and the second screen area 200 are in a folded state with the screens turned outward.

[0065] When the absolute value of the vector angle between the first gravity sensor 411 and the second gravity sensor 421 of the second screen area 200 is greater than or equal to the first angle threshold and less than or equal to the second angle threshold, it is determined that the first screen area 100 and the second screen area 200 are in an intermediate state between folding and unfolding.

[0066] By adopting the above solution, the state of the folding screen can be detected quickly and easily, saving system performance while also avoiding misjudgment.

[0067] In one embodiment, the first angle threshold is an angle between 10 and 30 degrees, and the second angle threshold is an angle between 150 and 170 degrees.

[0068] In one solution, the angle between two gravity sensor vectors is calculated as follows: Figure 5 , let a be the first gravity sensor 411, b be the second gravity sensor 421, and their coordinates are as follows:

[0069] a=(x1,y1,z1); b=(x2,y2,z2)

[0070] According to the vector formula:

[0071]

[0072] Then: a·b=(x1x2+y1y2+z1z2) (2)

[0073]

[0074]

[0075] Substituting formula (2)-(4) into formula (1), we get:

[0076]

[0077] The value range of the angle between the two gravity sensor vectors is: [0,π]; when the angle is acute, cos<a,b> The value of is greater than 0; when the angle is obtuse, cos<a,b> The value of is less than 0.

[0078] In one solution, the judgment of switching between the folding state and the unfolding state of the first screen area 100 and the second screen area 200 based on the distance sensor 430 and the first gyroscope sensor 412 and the second gyroscope sensor 422 specifically includes:

[0079] When the first screen area 100 and the second screen area 200 are in the unfolded state at the initial moment, the output of the distance sensor 430 is 0; the data of the first gyro sensor 412 and the second gyro sensor 422 are read;

[0080] If the difference between the first axis direction degrees of the first gyro sensor 412 and the second gyro sensor 422 is greater than the third threshold, it means that the first screen area 100 and the second screen area 200 are moving toward the folded state; when the output of the distance sensor 430 changes from 0 to 1, it is considered that the first screen area 100 and the second screen area 200 are in an outward-turned folded state. When the output of the distance sensor 430 is always 0, it is considered that the first screen area 100 and the second screen area 200 are in an inward-turned folded state.

[0081] If the difference between the first-axis direction degrees of the first gyro sensor 412 and the second gyro sensor 422 is less than or equal to the third threshold, it is considered that the first screen area 100 and the second screen area 200 are still in the unfolded state; in another scheme, if the output of the distance sensor 430 changes from 0 to 1 at this time, it means that there is an object blocking it, and this result is invalid.

[0082] When the first screen area 100 and the second screen area 200 are in an outwardly folded state at the initial moment, the output of the distance sensor 430 is 1, and the data of the first gyro sensor 412 and the second gyro sensor 422 are read;

[0083] If the difference between the first-axis direction degrees of the first gyro sensor 412 and the second gyro sensor 422 is greater than the fourth threshold value and is less than or equal to the fifth threshold value, it is considered that the first screen area 100 and the second screen area 200 have changed into an unfolded state; if the difference between the first-axis direction degrees of the first gyro sensor 412 and the second gyro sensor 422 is greater than the fifth threshold value, it is considered that the first screen area 100 and the second screen area 200 have changed into an inwardly folded state.

[0084] If the difference between the first axis direction degrees of the first gyro sensor 412 and the second gyro sensor 422 is less than or equal to the fourth threshold, it is considered that the first screen area 100 and the second screen area 200 are kept in the folded state turned outward.

[0085] When the first screen area 100 and the second screen area 200 are in the folded state at the initial moment, the output of the distance sensor 430 is 0, and the data of the first gyro sensor 412 and the second gyro sensor 422 are read. If the difference in the first axis direction degree of the first gyro sensor 412 and the second gyro sensor 422 is less than or equal to the fourth threshold value, it is considered that the opening angle between the first screen area 100 and the second screen area 200 is small, and the state is determined to be the folded state of keeping inward. If the difference in the first axis direction degree of the first gyro sensor 412 and the second gyro sensor 422 is greater than the fourth threshold value, and at this time, the output of the distance sensor 430 is 1, it is determined that the first screen area 100 and the second screen area 200 are changed to the folded state of turning outward. If the difference in the first axis direction degree of the first gyro sensor 412 and the second gyro sensor 422 is greater than the fourth threshold value, and at this time, the output of the distance sensor 430 remains 0, it is determined that the first screen area 100 and the second screen area 200 are changed to the unfolded state.

[0086] The initial moment refers to the moment when the terminal device is awakened, such as power on, awakening from sleep, etc.

[0087] In one embodiment, the third threshold is a value between 5 and 20 degrees; the fourth threshold is a value between 150 and 180 degrees.

[0088] By adopting such a solution, not only the static state of the folding screen of the terminal device can be detected, but also its dynamic movements can be detected, which greatly improves the user experience.

[0089] In one embodiment, the method further includes the step of reporting the corresponding sensor data after determining the folding screen state. The reporting step refers to reporting to the control system of the terminal device to facilitate the use of the system or application of the terminal device.

[0090] The present application also provides an electronic device, such as Fig.12 As shown, it includes a processor and a memory, and the processor is used to execute the method described in the above scheme.

[0091] The present application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or may exist independently and not be installed in the electronic device. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute the method described in the present application,

[0092] Embodiment 1:

[0093] The following is combined with Figure 1-9, describing the folding screen terminal device and its detection method scheme of embodiment 1 of the present application,

[0094] The folding screen terminal device of the present application includes a first screen area 100 and a second screen area 200 that are foldable and expandable with each other, and a sensor system 400.

[0095] The sensor system 400 includes,

[0096] A first gravity sensor 411 and a first gyro sensor 412 disposed in the first screen area 100;

[0097] A second gravity sensor 421 and a second gyro sensor 422 disposed in the second screen area 200;

[0098] A distance sensor 430 disposed in the second screen area 200; and a processor 440 connected to the plurality of sensors.

[0099] Each sensor has a first axis (X axis), a second axis (Y axis) and a third axis (Z axis) that are perpendicular to each other in space, and the first axis, the second axis and the third axis of each sensor are parallel to each other.

[0100] like Figure 6 The detection method of the folding screen terminal device of the present application includes:

[0101] Detecting the output of the distance sensor 430;

[0102] If the output is 0, it is continued to determine whether the vector angle between the first gravity sensor 411 and the second gravity sensor 421 is less than the first threshold; if the vector angle is less than the first threshold, it is considered that the first screen area 100 and the second screen area 200 are in an inwardly folded state (as shown in FIG. 7); if the vector angle is greater than or equal to the first threshold, it is continued to determine whether the vector angle is greater than the second threshold. If it is greater than the second threshold, it is considered that the first screen area 100 and the second screen area 200 are in an expanded state (as shown in FIG. 7). Figure 8 ); if the vector angle is less than or equal to the second threshold, it is considered that the first screen area 100 and the second screen area 200 are in a state between expansion and folding.

[0103] If the output is 1, the vector angle between the first gravity sensor 411 and the second gravity sensor 421 is further determined. If the vector angle is less than the first threshold, it is considered that the first screen area 100 and the second screen area 200 are in an outward folded state ( Fig. 9 ); if the vector angle is greater than or equal to the first threshold, it is considered that the first screen area 100 and the second screen area 200 are in a state between expansion and folding.

[0104] Embodiment 2:

[0105] The following is combined with Figure 1 , 2, 10, 11, illustrate the scheme of the detection method of the folding screen terminal device of Example 2 of the present application, wherein the structure of the folding screen terminal device is the same as that of Example 1, and will not be repeated here.

[0106] like Fig.10 As shown, at the initial moment (ie, when the computer is turned on or awakened from sleep), the unfolded, inwardly folded, or outwardly folded state of the first screen area 100 and the second screen area 200 is detected in the manner of Embodiment 1.

[0107] When the first screen area 100 and the second screen area 200 are initially in the unfolded state, the output of the distance sensor 430 is 0; the data of the first gyro sensor 412 and the second gyro sensor 422 are read;

[0108] If the degree difference between the first axis direction of the first gyro sensor 412 and the second gyro sensor 422 is greater than the third threshold value, and at this time, the output of the distance sensor 430 changes from 0 to 1, it is considered that the first screen area 100 and the second screen area 200 are in an outward-turned folded state. If the degree difference between the first axis direction of the first gyro sensor 412 and the second gyro sensor 422 is greater than the third threshold value, and at this time, the output of the distance sensor 430 is always 0, it is considered that the first screen area 100 and the second screen area 200 are in an inward-turned folded state.

[0109] If the difference between the first-axis direction degrees of the first gyro sensor 412 and the second gyro sensor 422 is less than or equal to the third threshold, it is considered that the first screen area 100 and the second screen area 200 are still in the unfolded state; at the same time, if the output of the distance sensor 430 changes from 0 to 1, it means that there is an object blocking it, and this result is invalid.

[0110] When the first screen area 100 and the second screen area 200 are initially in an outwardly folded state, the output of the distance sensor 430 is 1, and the data of the first gyro sensor 412 and the second gyro sensor 422 are read;

[0111] If the degree difference between the first axis direction of the first gyro sensor 412 and the second gyro sensor 422 is greater than the fourth threshold value and less than or equal to the fifth threshold value, it is considered that the first screen area 100 and the second screen area 200 have changed to an unfolded state; if the degree difference between the first axis direction of the first gyro sensor 412 and the second gyro sensor 422 is greater than the fifth threshold value, it is considered that the first screen area 100 and the second screen area 200 have changed to an inwardly folded state.

[0112] If the difference between the first axis direction degrees of the first gyro sensor 412 and the second gyro sensor 422 is less than or equal to the fourth threshold, it is considered that the first screen area 100 and the second screen area 200 are kept in the folded state turned outward.

[0113] When the first screen area 100 and the second screen area 200 are in the folded state at the initial moment, the output of the distance sensor 430 is 0, and the data of the first gyro sensor 412 and the second gyro sensor 422 are read. If the difference in the first axis direction degree of the first gyro sensor 412 and the second gyro sensor 422 is less than or equal to the fourth threshold value, it is considered that the opening angle between the first screen area 100 and the second screen area 200 is small, and the state is determined to be the folded state of keeping inward. If the difference in the first axis direction degree of the first gyro sensor 412 and the second gyro sensor 422 is greater than the fourth threshold value, and at this time, the output of the distance sensor 430 is 1, it is determined that the first screen area 100 and the second screen area 200 are changed to the folded state of turning outward. If the difference in the first axis direction degree of the first gyro sensor 412 and the second gyro sensor 422 is greater than the fourth threshold value, and at this time, the output of the distance sensor 430 remains 0, it is determined that the first screen area 100 and the second screen area 200 are changed to the unfolded state.

[0114] like Fig.11 In one solution, after determining the folding screen status of the folding screen terminal device, a step of reporting display data is also included. Specifically:

[0115] When determining that the device is in the unfolded state, it also includes a step of confirming whether to display in full screen (for example, the aspect ratio of some program interfaces does not conform to full screen display, intelligent half screen display, etc.);

[0116] If it is determined to be a full-screen display, the weighted average values ​​of the sensors in the first screen area 100 and the second screen area 200 are reported according to the type. That is, the weighted average value of two or more gravity sensors is taken, and the weighted average value of two or more gyroscope sensors is taken. In one solution, the weights of sensors of the same type are the same, for example, in the case of two gravity sensors, the weights are both 0.5; in another solution, the weight is adjusted according to the tilt angle.

[0117] If it is determined to be a half-screen display, it can be further determined whether a certain half-screen display is specified for the user; if one of the first screen area 100 or the second screen area 200 specified by the user is displayed in half screen, the sensor data of the specified first screen area 100 or second screen area 200 is reported. If it is not specified by the user, the system determines the posture of the terminal device, and then determines whether it is displayed in the first screen area 100 or the second screen area 200. Then, it is displayed in the screen area, and the sensor data of the screen area is reported. Preferably, which screen area is in use is determined by which of the first screen area 100 and the second screen area 200 is in a horizontal state.

[0118] When the device is in the folded state, the screen does not display anything and is in standby mode. When the device is in the intermediate state between unfolding and folding, the screen display content remains unchanged.

[0119] Among them, when the device is in an outward-turned folded state, it can be further determined whether a half-screen display is specified for the user; if one of the first screen area 100 or the second screen area 200 specified by the user is displayed on the half screen, the sensor data of the specified first screen area 100 or the second screen area 200 is reported. If it is not specified by the user, the system determines the posture of the terminal device, and then determines whether the first screen area 100 or the second screen area 200 is displayed. Then, it is displayed in the screen area, and the sensor data of the screen area is reported. Among them, preferably, the screen area is determined to be in use by which of the first screen area 100 and the second screen area 200 is facing up.

[0120] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.

Claims

1. A foldable screen terminal device, comprising a first screen area and a second screen area that are foldable with each other, characterized in that: Also included is a sensor system, the sensor system comprising, A first gravity sensor and a first gyro sensor disposed in a first screen area; a second gravity sensor and a second gyro sensor disposed in the second screen area; A distance sensor disposed in the first screen area and / or the second screen area; and a processor connected to the plurality of sensors; Wherein, each sensor has a first axis, a second axis and a third axis which are perpendicular to each other in space; The sensor system is used to detect the state between the first screen area and the second screen area according to the cooperation between the distance sensor and the first gravity sensor and the second gravity sensor; The sensor system is also used to detect the switching of the first screen area and the second screen area between the unfolding, inward folding and outward folding states according to the combination of the distance sensor and the first gyroscope sensor and the second gyroscope sensor, specifically including any of the following: When the first screen area and the second screen area are in the unfolded state at the initial moment, the output of the distance sensor is 0, and the data of the first gyroscope sensor and the second gyroscope sensor are read; if the difference between the first axis direction degrees of the first gyroscope sensor and the second gyroscope sensor is greater than the third threshold value, it means that the first screen area and the second screen area are moving toward the folded state; then, when the output of the distance sensor changes from 0 to 1, it is considered that the first screen area and the second screen area are changed into the outward-turned folded state; when the output of the distance sensor is always 0, it is considered that the first screen area and the second screen area are changed into the inward-turned folded state; if the difference between the first axis direction degrees of the first gyroscope sensor and the second gyroscope sensor is less than or equal to the third threshold value, it is considered that the first screen area and the second screen area are still in the unfolded state; When the first screen area and the second screen area are in an outward-turned folding state at the initial moment, the output of the distance sensor is 1, and the data of the first gyroscope sensor and the second gyroscope sensor are read; if the difference between the first-axis direction degrees of the first gyroscope sensor and the second gyroscope sensor is greater than a fourth threshold value and is less than or equal to a fifth threshold value, it is considered that the first screen area and the second screen area have changed into an unfolded state; if the difference between the first-axis direction degrees of the first gyroscope sensor and the second gyroscope sensor is greater than the fifth threshold value, it is considered that the first screen area and the second screen area have changed into an inward-turned folding state; if the difference between the first-axis direction degrees of the first gyroscope sensor and the second gyroscope sensor is less than or equal to the fourth threshold value, it is considered that the first screen area and the second screen area remain in an outward-turned folding state; When the first screen area and the second screen area are initially in an inward-folded state, the output of the distance sensor is 0, and the data of the first gyroscope sensor and the second gyroscope sensor are read. If the difference in degrees between the first axis direction of the first gyroscope sensor and the second gyroscope sensor is less than or equal to a fourth threshold value, it is considered that the opening angle between the first screen area and the second screen area is less than a preset value, and the state is determined to be maintaining the inward-folded state; if the difference in degrees between the first axis direction of the first gyroscope sensor and the second gyroscope sensor is greater than the fourth threshold value, and at this time, if the output of the distance sensor is 1, it is determined that the first screen area and the second screen area are changed to an outward-turned folded state; if the output of the distance sensor remains 0, it is determined that the first screen area and the second screen area are changed to an unfolded state.

2. The folding screen terminal device according to claim 1, characterized in that: When the first screen area and the second screen area are folded or unfolded, the first axis, the second axis and the third axis of the first gravity sensor are respectively placed parallel to the first axis, the second axis and the third axis of the second gravity sensor.

3. The folding screen terminal device according to claim 1, characterized in that: When the first screen area and the second screen area are folded or unfolded, the first axis, the second axis and the third axis of the first gyro sensor are respectively placed parallel to the first axis, the second axis and the third axis of the second gyro sensor, and the first axis of the first gyro sensor and the first axis of the second gyro sensor are parallel to the rotation axis when the first screen area and the second screen area are folded.

4. A detection method for a folding screen terminal device according to any one of claims 1 to 3, characterized in that: The method includes comprehensively judging whether the first screen area and the second screen area are in the state of unfolding, inward folding and outward folding according to the output of the distance sensor and the vector angle between the first gravity sensor and the second gravity sensor; And according to the output of the distance sensor and the output of the first gyroscope sensor and the second gyroscope sensor, comprehensively determining whether the first screen area and the second screen area are switched between the unfolding, inward folding, and outward folding states, specifically including any of the following: When the first screen area and the second screen area are in the unfolded state at the initial moment, the output of the distance sensor is 0, and the data of the first gyroscope sensor and the second gyroscope sensor are read; if the difference between the first axis direction degrees of the first gyroscope sensor and the second gyroscope sensor is greater than the third threshold value, it means that the first screen area and the second screen area are moving toward the folded state; then, when the output of the distance sensor changes from 0 to 1, it is considered that the first screen area and the second screen area are changed into the outward-turned folded state; when the output of the distance sensor is always 0, it is considered that the first screen area and the second screen area are changed into the inward-turned folded state; if the difference between the first axis direction degrees of the first gyroscope sensor and the second gyroscope sensor is less than or equal to the third threshold value, it is considered that the first screen area and the second screen area are still in the unfolded state; When the first screen area and the second screen area are in an outward-turned folding state at the initial moment, the output of the distance sensor is 1, and the data of the first gyroscope sensor and the second gyroscope sensor are read; if the difference between the first-axis direction degrees of the first gyroscope sensor and the second gyroscope sensor is greater than a fourth threshold value and is less than or equal to a fifth threshold value, it is considered that the first screen area and the second screen area have changed into an unfolded state; if the difference between the first-axis direction degrees of the first gyroscope sensor and the second gyroscope sensor is greater than the fifth threshold value, it is considered that the first screen area and the second screen area have changed into an inward-turned folding state; if the difference between the first-axis direction degrees of the first gyroscope sensor and the second gyroscope sensor is less than or equal to the fourth threshold value, it is considered that the first screen area and the second screen area remain in an outward-turned folding state; When the first screen area and the second screen area are initially in an inward-folded state, the output of the distance sensor is 0, and the data of the first gyroscope sensor and the second gyroscope sensor are read. If the difference in degrees between the first axis direction of the first gyroscope sensor and the second gyroscope sensor is less than or equal to a fourth threshold value, it is considered that the opening angle between the first screen area and the second screen area is less than a preset value, and the state is determined to be maintaining the inward-folded state; if the difference in degrees between the first axis direction of the first gyroscope sensor and the second gyroscope sensor is greater than the fourth threshold value, and at this time, if the output of the distance sensor is 1, it is determined that the first screen area and the second screen area are changed to an outward-turned folded state; if the output of the distance sensor remains 0, it is determined that the first screen area and the second screen area are changed to an unfolded state.

5. The detection method according to claim 4, wherein: The specific method for determining whether the first screen area and the second screen area are in the state of being unfolded, folded inwards, or folded outwards is: When the output of the distance sensor is 0, and the absolute value of the vector angle between the first gravity sensor and the second gravity sensor is less than the first angle threshold, it is determined that the first screen area and the second screen area are in an inward folded state; When the output of the distance sensor is 0, and the absolute value of the vector angle between the first gravity sensor and the second gravity sensor is greater than the second angle threshold, it is determined that the first screen area and the second screen area are in the unfolded state; When the output of the distance sensor is 1, and the absolute value of the vector angle between the first gravity sensor and the second gravity sensor is less than the first angle threshold, it is determined that the first screen area and the second screen area are in an outward folded state.

6. An electronic product comprising a processor, characterized in that: The processor is used to execute the method according to any one of claims 4 to 5.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method described in any one of claims 4 to 5 is implemented.

Citation Information

Patent Citations

  • Electronic reading device and display method thereof

    CN103116455A

  • Display panel, portable device and associated control method

    CN103576973A

  • Mobile terminal and bending angle calculation method

    CN107656682A

  • Mobile device that can change the size of screen

    CN109144170A

  • Method for determining relative positions of two screens, display control method and terminals

    CN109302508A