Flexible screen terminal and display method thereof, and computer readable storage medium
By detecting the folding operation and determining the folding boundary line, the flexible screen terminal can perform split-screen display according to the user's needs, solving the problem in the existing technology of being unable to split the screen after folding according to the user's selected position, and improving the user experience.
Patent Information
- Application Number
- CN201910845758.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-06
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2039-09-06
AI Technical Summary
Existing flexible screen terminals cannot be folded and displayed in split screens according to the position selected by the user, which limits the user experience.
By detecting folding operations and determining folding boundary lines, and performing split-screen display operations based on preset display rules, users are allowed to perform folding operations at any position to meet different needs.
The flexible screen terminal is realized to perform split-screen display according to any folding position of the user, improving user experience and operational flexibility.
Smart Images

Figure CN112463007B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display technology, and in particular to a flexible screen terminal and a display method thereof, and a computer-readable storage medium. Background Art
[0002] Since flexible screen display devices have the characteristics of foldability and bendability, smart terminals with flexible screen display devices are becoming more and more popular in the market. However, due to the limitations of hardware technology development, the industry currently lacks technology for flexible screen display devices.
[0003] Existing flexible screen terminals usually only have the feature of a foldable screen, and the folding position is fixed, and can only be split-screen displayed according to the ratio corresponding to the folding position set in the terminal. It cannot be folded according to the position selected by the user, resulting in the flexible screen being unable to be split-screen displayed according to user needs, affecting the user experience.
[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present invention is to provide a flexible screen terminal and a display method thereof, and a computer-readable storage medium, aiming to solve the technical problem that the existing flexible screen terminal cannot be folded and displayed in split screen according to the position selected by the user.
[0006] To achieve the above object, the present invention provides a display method for a flexible screen terminal, the method comprising the following steps:
[0007] When a folding operation corresponding to the flexible screen terminal is detected, determining a folding boundary line corresponding to the folding operation;
[0008] Based on the folding boundary line and the preset display rule of the flexible screen terminal, a split-screen display operation is performed.
[0009] Preferably, when a folding operation corresponding to the flexible screen terminal is detected, determining a folding boundary line corresponding to the folding operation includes:
[0010] When a folding operation corresponding to the flexible screen terminal is detected, determining whether the folding operation is a valid folding operation;
[0011] If the folding operation is a valid folding operation, obtaining coordinate information corresponding to the folding operation;
[0012] Based on the coordinate information, the folding boundary line is determined.
[0013] Preferably, the determining whether the folding operation is a valid folding operation comprises:
[0014] It is determined whether the bending angle corresponding to the folding operation reaches a preset angle, wherein if the bending angle reaches the preset angle, the folding operation is determined to be a valid folding operation.
[0015] Preferably, the step of determining whether the folding operation is a valid folding operation further comprises:
[0016] When a folding operation corresponding to the flexible screen terminal is detected, determining whether a touch operation corresponding to the display area to which the folding operation belongs is detected within a preset time interval;
[0017] If the touch operation is detected, then acquiring touch parameters corresponding to the touch operation;
[0018] Determine whether the touch parameter meets a preset condition, wherein when the touch parameter meets the preset condition, determine that the folding operation is a valid folding operation.
[0019] Preferably, the touch operation is a sliding touch operation, the touch parameter includes a sliding distance corresponding to the sliding touch operation, and the step of determining whether the touch parameter meets a preset condition includes:
[0020] It is determined whether the sliding distance reaches a first preset distance, wherein if the sliding distance reaches the first preset distance, it is determined that the touch parameter meets a preset condition.
[0021] Preferably, the touch operation is a pressing operation, the touch parameters include the number of pressing times of the pressing operation within the preset time and the touch point distance corresponding to the pressing operation, and the step of determining whether the touch parameters meet the preset conditions includes:
[0022] Determine whether the number of presses reaches a preset number of times and whether the touch point distance is greater than a second preset distance, wherein if the number of presses reaches a preset number of times and the touch point distance is greater than the second preset distance, determine that the touch parameter meets the preset condition.
[0023] Preferably, the step of obtaining coordinate information corresponding to the folding operation includes:
[0024] Acquire a touch point coordinate set corresponding to the touch operation;
[0025] The coordinate information is determined based on the touch point coordinate set.
[0026] Preferably, the performing a split-screen display operation based on the folding boundary line and a preset display rule of the flexible screen terminal includes:
[0027] Based on the folding boundary line, determining a screen angle between a first display area and a second display area corresponding to the flexible screen terminal;
[0028] Based on the screen angle and the preset display rule, a split-screen display operation is performed.
[0029] In addition, to achieve the above-mentioned purpose, the present invention also provides a flexible screen terminal, which includes: a memory, a processor, and a display program of the flexible screen terminal stored in the memory and runnable on the processor. When the display program of the flexible screen terminal is executed by the processor, the steps of the display method of the flexible screen terminal described above are implemented.
[0030] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a display program of a flexible screen terminal is stored. When the display program of the flexible screen terminal is executed by a processor, the steps of the display method of the flexible screen terminal described above are implemented.
[0031] The present invention determines the folding boundary line corresponding to the folding operation of the flexible screen terminal when the folding operation corresponding to the folding operation is detected, and then performs a split-screen display operation based on the folding boundary line and the preset display rules of the flexible screen terminal; the flexible screen terminal can be split-screen displayed according to the folding boundary line of the folding operation, so that the flexible screen terminal can be split-screen displayed according to the user's folding operation at any position, so as to meet the user's different folding position requirements and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a schematic diagram of the structure of a flexible screen terminal in a hardware operating environment involved in an embodiment of the present invention;
[0033] Figure 2 It is a flow chart of the first embodiment of the display method of the flexible screen terminal of the present invention.
[0034] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0035] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0036] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of a flexible screen terminal in the hardware operating environment involved in the embodiment of the present invention.
[0037] The flexible screen terminal in the embodiment of the present invention may be a foldable terminal device with a display function, such as a smart phone, a tablet computer, or an e-book reader.
[0038] like Figure 1As shown, the flexible screen terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or it may be a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.
[0039] Optionally, the flexible screen terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and / or backlight when the flexible screen terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the flexible screen terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometers, tapping), etc.; of course, the flexible screen terminal can also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.
[0040] Those skilled in the art will understand that Figure 1 The flexible screen terminal structure shown in the figure does not constitute a limitation on the flexible screen terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0041] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a display processing program.
[0042] exist Figure 1In the flexible screen terminal shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the display processing program stored in the memory 1005.
[0043] In this embodiment, the flexible screen processing device includes: a memory 1005, a processor 1001, and a display processing program stored in the memory 1005 and executable on the processor 1001, wherein the processor 1001 calls the display processing program stored in the memory 1005 and performs the following operations:
[0044] When a folding operation corresponding to the flexible screen terminal is detected, determining a folding boundary line corresponding to the folding operation;
[0045] Based on the folding boundary line and the preset display rule of the flexible screen terminal, a split-screen display operation is performed.
[0046] Further, the processor 1001 may call the display processing program stored in the memory 1005, and further perform the following operations:
[0047] When a folding operation corresponding to the flexible screen terminal is detected, determining whether the folding operation is a valid folding operation;
[0048] If the folding operation is a valid folding operation, obtaining coordinate information corresponding to the folding operation;
[0049] Based on the coordinate information, the folding boundary is determined.
[0050] Further, the processor 1001 may call the display processing program stored in the memory 1005, and further perform the following operations:
[0051] It is determined whether the bending angle corresponding to the folding operation reaches a preset angle, wherein if the bending angle reaches the preset angle, the folding operation is determined to be a valid folding operation.
[0052] Further, the processor 1001 may call the display processing program stored in the memory 1005, and further perform the following operations:
[0053] When a folding operation corresponding to the flexible screen terminal is detected, determining whether a touch operation corresponding to the display area to which the folding operation belongs is detected within a preset time interval;
[0054] If the touch operation is detected, then acquiring touch parameters corresponding to the touch operation;
[0055] Determine whether the touch parameter meets a preset condition, wherein when the touch parameter meets the preset condition, determine that the folding operation is a valid folding operation.
[0056] Further, the processor 1001 may call the display processing program stored in the memory 1005, and further perform the following operations:
[0057] It is determined whether the sliding distance reaches a first preset distance, wherein if the sliding distance reaches the first preset distance, it is determined that the touch parameter meets a preset condition.
[0058] Further, the processor 1001 may call the display processing program stored in the memory 1005, and further perform the following operations:
[0059] Determine whether the number of presses reaches a preset number of times and whether the touch point distance is greater than a second preset distance, wherein if the number of presses reaches a preset number of times and the touch point distance is greater than the second preset distance, determine that the touch parameter meets the preset condition.
[0060] Further, the processor 1001 may call the display processing program stored in the memory 1005, and further perform the following operations:
[0061] Acquire a touch point coordinate set corresponding to the touch operation;
[0062] The coordinate information is determined based on the touch point coordinate set.
[0063] Further, the processor 1001 may call the display processing program stored in the memory 1005, and further perform the following operations:
[0064] Based on the folding boundary line, determining a screen angle between a first display area and a second display area corresponding to the flexible screen terminal;
[0065] Based on the screen angle and the preset display rule, a split-screen display operation is performed.
[0066] The present invention also provides a method, referring to Figure 2 , Figure 2 Schematic diagram of the process of the first embodiment of the method of the present invention.
[0067] The display method of the flexible screen terminal comprises the following steps:
[0068] Step S100, when a folding operation corresponding to the flexible screen terminal is detected, determining a folding boundary line corresponding to the folding operation;
[0069] In this embodiment, the flexible screen is in the screen-on state. If the flexible screen is in the screen-off state, the flexible screen terminal will not respond to the user's folding operation on the flexible screen.
[0070] When the folding detection unit of the flexible screen terminal detects a folding operation of the flexible screen, it determines whether the folding operation is a valid folding operation through pre-set folding parameters. If the folding operation is determined to be an invalid folding operation, the folding detection unit does not report the event to the processing unit of the flexible screen terminal. If the folding operation is determined to be a valid folding operation, the folding detection unit reports the event to the processing unit of the flexible screen terminal. The processing unit obtains the coordinate set of the operating points of the effective folding process and performs regression analysis on the coordinate set to fit a linear line with the minimum square error, and determines whether the error is within a preset error range. The preset error range can be flexibly set. If the error is within the preset error range, the linear line is the corresponding valid folding boundary line in the effective folding operation. If the error is not within the preset error range, it is determined that the fitted linear line is invalid, and a message prompt that the folding boundary line cannot be recognized is issued, and a prompt is issued to the user to reconfirm the folding boundary line.
[0071] Among them, the preset folding parameters are flexibly set according to the specific situation. For example, if the preset folding parameter is the folding angle, wherein the folding angle refers to the change in the angle of the display interface of the flexible screen terminal when folding, the size of this change value can be flexibly set, and no specific restrictions are made here. For example, the preset folding angle is 30°. During the folding process, when the folding angle reaches 30°, this folding operation is recognized as a valid folding operation. If the preset folding parameter is the sliding distance at the folding boundary, wherein the sliding distance can be flexibly set and is not specified here, when the folding stops, the user can slide from bottom to top on the touch screen at the folding boundary. When the sliding distance corresponding to the sliding operation reaches the preset sliding distance, the folding operation is recognized as a valid folding operation. If the preset folding parameters are the number of presses on the folding boundary within a preset time and the touch point distance corresponding to the press operation, where the preset time and touch point distance can be flexibly set, and the preset number of times is two or more, which is not specified here, when the folding stops, within the preset time, the user's press times reaches the preset number and the distance between any two touch points corresponding to the press operation reaches the preset touch distance, this folding operation is recognized as a valid folding operation.
[0072] Step S200: performing a split-screen display operation based on the folding boundary line and a preset display rule of the flexible screen terminal.
[0073] In this embodiment, when the position information of the folding boundary line is obtained, the display content of the display interface before the split screen is obtained, and the screen display area is divided into two areas with the folding boundary line as the boundary, wherein the two areas are in the same horizontal plane before folding, and after the two display areas are determined, the corresponding display operations are respectively performed on the two display areas based on the preset display rules. Among them, the preset display rules can be flexibly set and are not specifically limited.
[0074] For example, during the folding process, when it is detected that the back cover of the flexible screen terminal is tending to fit together, when it is detected that the folding angle in the folding direction is greater than the second preset angle and less than the first preset angle, and the time when this folding angle is within the preset range reaches the first preset time, wherein the first preset angle, the second preset angle and the first preset time can be flexibly set and are not specifically specified here. For example, when it is detected that the folding angle is greater than 100° and less than 150° and the time when the folding angle is within this range reaches 3s, the display content of the display interface before the split screen is displayed in the two display areas at the same time, and the interface layout of the display content in the two display areas is adjusted according to the ratio of the two display areas to the main screen display area before the split screen.
[0075] When it is detected that the folding angle is greater than the third preset angle and less than the second preset angle and the time that the folding angle is within the preset range reaches the second preset time, wherein the third preset angle and the second preset time can be flexibly set and are not specifically specified herein, for example, when it is detected that the folding angle is greater than 50° and less than 100° and the time that the folding angle is within this range reaches 5s, the infrared sensors in the two display areas detect the infrared signals radiated by the human body, obtain the infrared signal strengths in the two display areas respectively, and determine the display area with the largest signal strength, display the display content of the display interface before the split screen in the display area with the largest signal strength, and display the desktop interface of the terminal in another display area, and adjust the interface layout of the display content in the two display areas according to the ratio of the display area to the main screen display area before the split screen, if it is detected that the infrared signal strengths in the two display areas are the same, a prompt message for display area selection is issued, and based on the user's display area selection, the display content of the display interface before the split screen is displayed in the area selected by the user, and the desktop interface of the terminal is displayed in the other display area.
[0076] When it is detected that the folding angle is less than the third preset angle, wherein the third preset angle can be flexibly set and is not specifically set here, for example, when it is detected that the folding angle is less than 50°, the infrared sensors in the two display areas detect the infrared signals radiated by the human body, obtain the infrared signal strengths in the two display areas respectively, and determine the display area with the largest signal strength, and display the display content of the display interface before the split screen in the display area with the largest signal strength, and adjust the interface layout of the display content in this display area according to the ratio of the display area to the main screen display area before the split screen, and turn off the other display screen. If it is detected that the infrared signal strengths in the two display areas are the same, a prompt message for display area selection is issued, and the corresponding display content is displayed in the selected area based on the user's display area selection, and the other display screen is turned off at the same time.
[0077] During the folding process, when it is detected that the display screen of the flexible screen terminal is in a tendency to fit together, it is detected that the folding operation has stopped, and the sensor of the flexible screen terminal detects the overlapping part between the two screens, wherein the overlapping part refers to the display area part with a smaller display area after the flexible screen is folded and the projection part of the display area with a smaller display area in the normal direction of the other display area. If the overlapping part between the two screens accounts for more than seventy percent of the display area of the main screen before splitting the screen, it is determined that this folding process is invalid. If the overlapping part between the two screens accounts for less than or equal to thirty percent of the display area of the main screen before splitting the screen, after determining the overlapping part between the two screens, the display area of the overlapping part is extinguished, and the display content of the display interface before splitting the screen is displayed in the non-overlapping display area, and the interface layout of the display content in the non-overlapping display area is adjusted according to the ratio of the non-overlapping display area to the display area of the main screen before splitting the screen.
[0078] In this embodiment, when a folding operation corresponding to the flexible screen terminal is detected, the folding boundary line corresponding to the folding operation is determined, and then a split-screen display operation is performed based on the folding boundary line and a preset display rule of the flexible screen terminal; the flexible screen terminal can be split-screen displayed according to the folding boundary line of the folding operation, so that the flexible screen terminal can be split-screen displayed according to the user's folding operation at any position, so as to meet the user's different folding position requirements and improve the user experience.
[0079] Based on the first embodiment, a second embodiment of the method of the present invention is proposed. In this embodiment, step S100 includes:
[0080] Step S110, when a folding operation corresponding to the flexible screen terminal is detected, determining whether the folding operation is a valid folding operation;
[0081] Step S120, if the folding operation is a valid folding operation, obtaining coordinate information corresponding to the folding operation;
[0082] Step S130: determining the folding boundary line based on the coordinate information.
[0083] In this embodiment, when a user's folding operation is detected, it is determined whether the folding operation is a valid folding operation through pre-set parameters, wherein the pre-set parameters can be flexibly set according to the situation and are not specifically limited. For example, when there is an angle sensor in the flexible screen terminal, the angle sensor can detect the folding angle during the folding process, and the terminal processing program can calculate the change value of the folding angle. When the change value of the folding angle is detected to reach a preset value, the folding operation is identified as a valid folding operation, wherein the preset value can be flexibly set and is not specifically set here. Alternatively, whether the folding operation is a valid folding operation is determined based on the touch parameters of other touch operations detected by the flexible screen terminal.
[0084] Then, if the folding operation is a valid folding operation, coordinate information corresponding to the folding operation is obtained, and the folding boundary line is determined based on the coordinate information.
[0085] For example, when it is detected that the change in the folding angle reaches 15°, the folding detection unit of the terminal reports this event to the processing unit. The processing unit receives and obtains the coordinate information of the folding point during the folding process, performs regression analysis on the coordinate points of the coordinate information, and fits a linear line with the largest determination coefficient. The determination coefficient of this linear line is within a preset determination coefficient range, and this linear line is used as the corresponding effective folding boundary line in the effective folding operation. Among them, this preset determination coefficient range can be flexibly set, such as 0.85~1.00, which is not limited here.
[0086] In this embodiment, when a folding operation corresponding to the flexible screen terminal is detected, it is determined whether the folding operation is a valid folding operation; then if the folding operation is a valid folding operation, the coordinate information corresponding to the folding operation is obtained; and then based on the coordinate information, the folding boundary line is determined, and the folding boundary line corresponding to the valid folding operation is determined by obtaining the coordinate information of the operation point of the folding boundary, so that the folding position corresponding to the folding operation can be accurately determined, thereby improving the accuracy of the folding boundary line and thus improving the accuracy of the split-screen display.
[0087] Based on the second embodiment, a third embodiment of the method of the present invention is proposed. In this embodiment, step S110 includes:
[0088] Step S111, determining whether the bending angle corresponding to the folding operation reaches a preset angle, wherein if the bending angle reaches the preset angle, the folding operation is determined to be a valid folding operation.
[0089] In this embodiment, the bending angle refers to the change in the angle of the display interface of the flexible screen terminal when folded, wherein the preset angle value can be flexibly set without specific limitation. For example, the preset angle is 30°. When the user performs a folding operation, the folding detection unit of the terminal obtains the bending angle of the folding process through the angle sensor and detects whether the bending angle in this process reaches 30°. When the bending angle reaches 30°, the folding operation is recognized as a valid folding operation.
[0090] In this embodiment, it is determined whether the bending angle corresponding to the folding operation reaches a preset angle, wherein if the bending angle reaches the preset angle, the folding operation is determined to be a valid folding operation. By accurately determining whether the folding operation is a valid folding operation based on the bending angle, the accuracy of determining the valid folding operation is improved, thereby improving the accuracy of the split-screen display, and further improving the user experience.
[0091] Based on the second embodiment, a fourth embodiment of the method of the present invention is proposed. In this embodiment, step S110 further includes:
[0092] Step S112, when a folding operation corresponding to the flexible screen terminal is detected, determining whether a touch operation corresponding to the display area to which the folding operation belongs is detected within a preset time interval;
[0093] Step S113, if the touch operation is detected, acquiring touch parameters corresponding to the touch operation;
[0094] Step S114, determining whether the touch parameter meets a preset condition, wherein when the touch parameter meets the preset condition, determining that the folding operation is a valid folding operation.
[0095] In this embodiment, when it is detected that the user's folding operation has stopped, the detection unit detects whether a touch operation on the folding boundary touch screen is detected within a preset time. If no touch operation on the folding boundary touch screen is detected within the preset time, the folding operation is determined to be an invalid folding operation, and a prompt instruction that the operation process is wrong is issued. At the same time, a prompt message is issued to perform a touch operation on the folding boundary touch screen within a preset time. The preset time can be flexibly set, for example, 3 seconds, and the touch operation can be sliding or pressing, without specific limitation.
[0096] If a touch operation on the folding boundary touch screen is detected within a preset time, the detection unit obtains the touch parameter corresponding to the touch operation, detects whether the touch parameter meets the preset condition, and if the touch parameter meets the preset condition, determines that the folding operation is a valid folding operation, and if the touch parameter does not meet the preset condition, determines that the folding operation is an invalid folding operation, and issues a prompt message indicating that the touch operation is invalid. The preset condition can be set specifically according to the situation, for example, when the operation recognizable by the terminal is a sliding operation, the parameter corresponding to the sliding operation is the sliding distance, and the preset condition is a specific sliding distance, which can be flexibly set, for example, 5 cm.
[0097] Further, in one embodiment, step S114 includes:
[0098] It is determined whether the sliding distance reaches a first preset distance, wherein if the sliding distance reaches the first preset distance, it is determined that the touch parameter meets a preset condition.
[0099] In this embodiment, the touch operation is a sliding touch operation. The detection unit detects the sliding touch operation event and obtains the sliding distance corresponding to the sliding touch operation, and detects whether the sliding distance reaches the first preset distance, wherein the first preset distance refers to the preset sliding distance when the user performs a sliding touch. The preset sliding distance value can be flexibly set, for example, 5 cm. If the sliding distance reaches the first preset distance, the folding operation is determined to be a valid folding operation. If the sliding distance does not reach the first preset distance, the folding operation is determined to be an invalid folding operation, and a prompt message is sent to the user that the sliding touch operation is invalid and the touch process is too short. Therefore, it is possible to accurately determine whether the folding operation is a valid folding operation based on the sliding distance, thereby improving the accuracy of determining the valid folding operation.
[0100] Furthermore, in yet another embodiment, step S114 includes:
[0101] Step S116, determining whether the number of presses reaches a preset number and whether the touch point distance is greater than a second preset distance, wherein if the number of presses reaches a preset number and the touch point distance is greater than the second preset distance, determining that the touch parameter meets the preset conditions.
[0102] In this embodiment, the touch operation is a pressing operation, and the detection unit detects this pressing operation event and obtains the number of presses corresponding to the pressing operation, and detects whether this number of presses reaches a preset number of presses, wherein the preset number of presses is two or more, and the specific number can be flexibly set and is not specified here. If this number of presses does not reach the preset number of presses, a prompt message indicating that the number of presses is insufficient is issued. If this number of presses reaches the preset number of presses, the distance between the two farthest pressing points among the pressing points corresponding to the pressing operation is obtained. If the distance between the two farthest pressing points among the pressing points corresponding to the user's pressing operation is greater than the second preset distance, then this folding operation is determined to be a valid folding operation. If the distance between the two farthest pressing points among the pressing points corresponding to the user's pressing operation does not reach the preset distance, then this pressing operation is determined to be an invalid folding operation, and a prompt message indicating that the distance of this pressing operation is too close to be confirmed is issued to the user, wherein the value of the second preset distance can be flexibly set, for example, 3 cm. Furthermore, whether the folding operation is a valid folding operation can be accurately determined according to the number of presses and the distance between the touch points, thereby improving the accuracy of determining the valid folding operation.
[0103] In this embodiment, when a folding operation corresponding to the flexible screen terminal is detected, it is determined whether a touch operation corresponding to the display area to which the folding operation belongs is detected within a preset time interval, and then if the touch operation is detected, the touch parameters corresponding to the touch operation are obtained, and then it is determined whether the touch parameters meet the preset conditions. When the touch parameters meet the preset conditions, the folding operation is determined to be a valid folding operation. It is possible to accurately determine whether the folding operation is a valid folding operation based on the touch parameters, thereby improving the accuracy of determining the valid folding operation, thereby improving the accuracy of the split-screen display, further improving the user experience, avoiding accidental touches by the user, and making the user operation more convenient and flexible, thereby improving the user experience.
[0104] Based on the fourth embodiment, a fifth embodiment of the method of the present invention is proposed. In this embodiment, step S120 includes:
[0105] Step S121, obtaining a touch point coordinate set corresponding to the touch operation;
[0106] Step S122: determining the coordinate information based on the touch point coordinate set.
[0107] In this embodiment, if the touch parameters meet the preset conditions, the touch point coordinate set corresponding to the touch operation can be specifically determined by the pressure sensor corresponding to the flexible screen to determine the coordinates of each touch point corresponding to the touch operation, and then the touch point coordinate set is obtained. Then, regression analysis is performed on the touch point coordinate set to fit a linear line with the largest determination coefficient, and determine whether the determination coefficient of this linear line is within the preset determination coefficient range, wherein the preset determination coefficient range can be flexibly set, such as 0.85~1.00. If this determination coefficient is within the preset determination coefficient range, the coordinates of the touch points in the touch point coordinate set located on the linear line are used as the coordinate information. wherein, if the number of touch points in the touch point coordinate set located on the linear line is less than 2, the coordinates of any two or more points on the linear line can be used as the coordinate information.
[0108] In this embodiment, by obtaining the touch point coordinate set corresponding to the touch operation and then determining the coordinate information based on the touch point coordinate set, the coordinate information can be accurately determined according to the touch operation, and then the folding position corresponding to the folding operation can be accurately determined, thereby improving the accuracy of the folding boundary line and thus improving the accuracy of the split-screen display.
[0109] Based on the above embodiments, a sixth embodiment of the method of the present invention is proposed. In this embodiment, step S200 includes:
[0110] Step S201, determining a screen angle between a first display area and a second display area corresponding to the flexible screen terminal based on the folding boundary line;
[0111] Step S202: performing a split-screen display operation based on the screen angle and the preset display rule.
[0112] In this embodiment, when the position information of the folding boundary line is obtained, the display content of the display interface before the split screen is obtained, and the screen display area is divided into a first display area and a second display area with the folding boundary line as the boundary. After determining the two display areas, the angle sensor in the terminal determines the angle between the two display areas, and based on the screen angle and the preset display rules, the corresponding display operations are respectively performed on the two display areas. Among them, the preset display rules can be flexibly set and are not specifically limited.
[0113] For example, during the folding process, when it is detected that the back cover of the flexible screen terminal is in a fitting trend, when it is detected that the folding angle in the folding direction is greater than the second preset angle and less than the first preset angle, and the time when the folding angle is within the preset range reaches the first preset time, wherein the first preset angle, the second preset angle and the first preset time can be flexibly set and are not specifically specified herein. For example, when it is detected that the folding angle is greater than 100° and less than 150° and the time when the folding angle is within this range reaches 3″, the display content of the display interface before the split screen is displayed in the two display areas at the same time, and the interface layout of the display content in the two display areas is adjusted according to the ratio of the two display areas to the main screen display area before the split screen.
[0114] When it is detected that the folding angle is greater than the third preset angle and less than the second preset angle and the time that the folding angle is within the preset range reaches the second preset time, wherein the third preset angle and the second preset time can be flexibly set and are not specifically specified herein, for example, when it is detected that the folding angle is greater than 50° and less than 100° and the time that the folding angle is within this range reaches 5″, the infrared sensors in the two display areas detect the infrared signals radiated by the human body, obtain the infrared signal strengths in the two display areas respectively, and determine the display area with the largest signal strength, display the display content of the display interface before the split screen in the display area with the largest signal strength, and display the desktop interface of the terminal in another display area, and adjust the interface layout of the display content in the two display areas according to the ratio of the display area to the main screen display area before the split screen, if it is detected that the infrared signal strengths in the two display areas are the same, a prompt message for display area selection is issued, and based on the user's display area selection, the display content of the display interface before the split screen is displayed in the area selected by the user, and the desktop interface of the terminal is displayed in the other display area.
[0115] When it is detected that the folding angle is less than the third preset angle, wherein the third preset angle can be flexibly set and is not specifically set here, for example, when it is detected that the folding angle is less than 50°, the infrared sensors in the two display areas detect the infrared signals radiated by the human body, obtain the infrared signal strengths in the two display areas respectively, and determine the display area with the largest signal strength, and display the display content of the display interface before the split screen in the display area with the largest signal strength, and adjust the interface layout of the display content in this display area according to the ratio of the display area to the main screen display area before the split screen, and turn off the other display screen. If it is detected that the infrared signal strengths in the two display areas are the same, a prompt message for display area selection is issued, and the corresponding display content is displayed in the selected area based on the user's display area selection, and the other display screen is turned off at the same time.
[0116] During the folding process, when it is detected that the display screen of the flexible screen terminal is in a tendency to fit together, it is detected that the folding operation has stopped, and the sensor of the flexible screen terminal detects the overlapping part between the two screens, wherein the overlapping part refers to the display area part with a smaller display area after the flexible screen is folded and the projection part of the display area with a smaller display area in the normal direction of the other display area. If the overlapping part between the two screens accounts for more than seventy percent of the display area of the main screen before splitting the screen, it is determined that this folding process is invalid. If the overlapping part between the two screens accounts for less than or equal to thirty percent of the display area of the main screen before splitting the screen, after determining the overlapping part between the two screens, the display area of the overlapping part is extinguished, and the display content of the display interface before splitting the screen is displayed in the non-overlapping display area, and the interface layout of the display content in the non-overlapping display area is adjusted according to the ratio of the non-overlapping display area to the display area of the main screen before splitting the screen.
[0117] In this embodiment, the screen angle between the first display area and the second display area corresponding to the flexible screen terminal is determined based on the folding boundary line, and then a split-screen display operation is performed based on the screen angle and the preset display rule, thereby realizing the split-screen display of the flexible screen terminal according to the screen angle, and then accurately performing the split-screen display according to the screen angle and the folding operation, thereby improving the user experience.
[0118] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a display program of a flexible screen terminal is stored. When the display program of the flexible screen terminal is executed by a processor, the following operations are implemented:
[0119] When a folding operation corresponding to the flexible screen terminal is detected, determining a folding boundary line corresponding to the folding operation;
[0120] Based on the folding boundary line and the preset display rule of the flexible screen terminal, a split-screen display operation is performed.
[0121] Furthermore, when the display program of the flexible screen terminal is executed by the processor, the following operations are also implemented:
[0122] When a folding operation corresponding to the flexible screen terminal is detected, determining whether the folding operation is a valid folding operation;
[0123] If the folding operation is a valid folding operation, obtaining coordinate information corresponding to the folding operation;
[0124] Based on the coordinate information, the folding boundary line is determined.
[0125] Furthermore, when the display program of the flexible screen terminal is executed by the processor, the following operations are also implemented:
[0126] It is determined whether the bending angle corresponding to the folding operation reaches a preset angle, wherein if the bending angle reaches the preset angle, the folding operation is determined to be a valid folding operation.
[0127] Furthermore, when the display program of the flexible screen terminal is executed by the processor, the following operations are also implemented:
[0128] When a folding operation corresponding to the flexible screen terminal is detected, determining whether a touch operation corresponding to the display area to which the folding operation belongs is detected within a preset time interval;
[0129] If the touch operation is detected, then acquiring touch parameters corresponding to the touch operation;
[0130] Determine whether the touch parameter meets a preset condition, wherein when the touch parameter meets the preset condition, determine that the folding operation is a valid folding operation.
[0131] Furthermore, when the display program of the flexible screen terminal is executed by the processor, the following operations are also implemented:
[0132] It is determined whether the sliding distance reaches a first preset distance, wherein if the sliding distance reaches the first preset distance, it is determined that the touch parameter meets a preset condition.
[0133] Furthermore, when the display program of the flexible screen terminal is executed by the processor, the following operations are also implemented:
[0134] Determine whether the number of presses reaches a preset number of times and whether the touch point distance is greater than a second preset distance, wherein if the number of presses reaches a preset number of times and the touch point distance is greater than the second preset distance, determine that the touch parameter meets the preset condition.
[0135] Furthermore, when the display program of the flexible screen terminal is executed by the processor, the following operations are also implemented:
[0136] Obtaining an operation point coordinate set corresponding to the effective folding operation;
[0137] The coordinate information is determined based on the operation point coordinate set.
[0138] Furthermore, when the display program of the flexible screen terminal is executed by the processor, the following operations are also implemented:
[0139] Based on the folding boundary line, determining a screen angle between a first display area and a second display area corresponding to the flexible screen terminal;
[0140] Based on the screen angle and the preset display rule, a split-screen display operation is performed.
[0141] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0142] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0143] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods 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 method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0144] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A display method for a flexible screen terminal, characterized in that: The display method of the flexible screen terminal comprises the following steps: When a folding operation corresponding to the flexible screen terminal is detected, determining a folding boundary line corresponding to the folding operation; Based on the folding boundary line and a preset display rule of the flexible screen terminal, performing a split-screen display operation; Wherein, when a folding operation corresponding to the flexible screen terminal is detected, determining a folding boundary line corresponding to the folding operation includes: when a folding operation corresponding to the flexible screen terminal is detected, determining whether the folding operation is a valid folding operation; The determining whether the folding operation is a valid folding operation includes: determining whether a touch parameter satisfies a preset condition, and when the touch parameter satisfies the preset condition, determining that the folding operation is a valid folding operation; the touch parameter corresponds to a touch operation corresponding to the display area to which the folding operation belongs, and the touch parameter is obtained by acquiring; In the case where the touch operation includes a sliding touch operation, the touch parameter includes a sliding distance corresponding to the sliding touch operation; the determining whether the touch parameter satisfies the preset condition includes: judging whether the sliding distance reaches a first preset distance, and if the sliding distance reaches the first preset distance, judging that the touch parameter satisfies the preset condition; or, In the case where the touch operation includes a pressing operation, the touch parameters include the number of pressing times of the pressing operation within a preset time length and the touch point distance corresponding to the pressing operation; determining whether the touch parameters meet the preset conditions includes: judging whether the number of pressing times reaches the preset number and whether the touch point distance is greater than a second preset distance; if the number of pressing times reaches the preset number and the touch point distance is greater than the second preset distance, then determining that the touch parameters meet the preset conditions.
2. The display method of the flexible screen terminal according to claim 1, characterized in that: After determining whether the folding operation is a valid folding operation, when the folding operation corresponding to the flexible screen terminal is detected, determining the folding boundary line corresponding to the folding operation further includes: If the folding operation is a valid folding operation, obtaining coordinate information corresponding to the folding operation; Based on the coordinate information, the folding boundary line is determined.
3. The display method of the flexible screen terminal according to claim 1, characterized in that: The determining whether the folding operation is a valid folding operation comprises: It is determined whether the bending angle corresponding to the folding operation reaches a preset angle, wherein if the bending angle reaches the preset angle, the folding operation is determined to be a valid folding operation.
4. The display method of the flexible screen terminal according to claim 2, characterized in that: Before determining whether the touch parameter satisfies a preset condition, the step of determining whether the folding operation is a valid folding operation further includes: When a folding operation corresponding to the flexible screen terminal is detected, determining whether the touch operation corresponding to the display area to which the folding operation belongs is detected within a preset time interval; If the touch operation is detected, the touch parameter corresponding to the touch operation is acquired.
5. The display method of the flexible screen terminal according to claim 1, characterized in that: If the folding operation is a valid folding operation, the step of obtaining coordinate information corresponding to the folding operation includes: Acquire a touch point coordinate set corresponding to the touch operation; The coordinate information is determined based on the touch point coordinate set.
6. The display method of the flexible screen terminal according to any one of claims 1 to 5, characterized in that: The performing the split-screen display operation based on the folding boundary line and the preset display rule of the flexible screen terminal includes: Based on the folding boundary line, determining a screen angle between a first display area and a second display area corresponding to the flexible screen terminal; Based on the screen angle and the preset display rule, performing a split-screen display operation; The preset display rule includes at least one of the following: When the screen angle is greater than the second preset angle and less than the first preset angle, and the time that the screen angle is within the preset range reaches the first preset time, the display content of the display interface before the split screen is displayed in the first display area and the second display area at the same time, and according to the ratio between the main screen display area before the split screen and the first display area and the second display area, the interface layout of the display content in the first display area and the interface layout of the display content in the second display area are adjusted accordingly; or When the screen angle is greater than the third preset angle and less than the second preset angle, and the time when the screen angle is within the preset range reaches the second preset time, the infrared signal strength in the first display area and the second display area is obtained; when the infrared signal strength in the first display area is different from the infrared signal strength in the second display area, the display area with the largest signal strength is determined in the first display area and the second display area; the display content of the display interface before the split screen is displayed in the display area with the largest signal strength, and the desktop interface of the flexible screen terminal is displayed in another display area; according to the ratio between the main screen display area before the split screen and the first display area and the second display area, respectively, the interface layout of the display content in the first display area and the interface layout of the display content in the second display area are adjusted accordingly; or, when the infrared signal strength in the first display area is the same as the infrared signal strength in the second display area, a prompt message for display area selection is issued; determine the user's display area selection, display the display content of the display interface before the split screen in the display area selected by the user, and display the desktop interface in another display area; or, When the screen angle is less than the third preset angle, the infrared signal strength in the first display area and the second display area is obtained; when the infrared signal strength in the first display area is different from the infrared signal strength in the second display area, the display area with the largest signal strength is determined in the first display area and the second display area; according to the ratio between the main screen display area before the split screen and the display area with the largest signal strength, the interface layout of the display content in the display area with the largest signal strength is adjusted, and the display screen where the other display area is located is turned off; or, when the infrared signal strength in the first display area is the same as the infrared signal strength in the second display area, a prompt message for display area selection is issued; the user's display area selection is determined, and the display content of the display interface before the split screen is displayed in the display area selected by the user, and the display screen where the other display area is located is turned off; or, When it is detected that the folding operation stops, the overlapping part between the two display screens is determined, and the overlapping part is the part of the display area whose display area is smaller than a preset value after the flexible screen is folded, and the projection part of the display area whose display area is smaller than the preset value in the normal direction of another display area; when the proportion of the overlapping part in the display area of the main screen before the split screen is greater than seventy percent, it is determined that the folding process is invalid; or when the proportion of the overlapping part in the display area of the main screen before the split screen is less than or equal to thirty percent, after determining the overlapping part, the display area of the overlapping part is turned off, and the display content of the display interface before the split screen is displayed in the non-overlapping display area; according to the ratio between the non-overlapping display area and the display area of the main screen before the split screen, the interface layout of the display content in the non-overlapping display area is adjusted.
7. A flexible screen terminal, characterized in that: The flexible screen terminal includes: a memory, a processor, and a display program of the flexible screen terminal stored in the memory and executable on the processor. When the display program of the flexible screen terminal is executed by the processor, the steps of the display method of the flexible screen terminal as described in any one of claims 1 to 6 are implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a display program for a flexible screen terminal, and when the display program for the flexible screen terminal is executed by a processor, the steps of the display method for a flexible screen terminal according to any one of claims 1 to 6 are implemented.
