Electronic equipment control method and device, storage medium and electronic equipment
By judging the folding or expanding status and touch pressure of the foldable display screen, the problem of user misoperation during the folding or expansion process is avoided, and the user experience is improved.
Patent Information
- Application Number
- CN202310514324.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-08
- Publication Date
- 2024-11-08
AI Technical Summary
When the user collapses or expands the foldable display, his fingers easily touch the application icons on the display, resulting in misoperation and affecting the user experience.
By determining whether the first display area and the second display area are relatively folded or expanded, and the touch information of the touch operation, including the touch pressure, is obtained. When the touch pressure is greater than the preset pressure threshold, the touch command corresponding to the touch operation is not executed; on the contrary, the touch command for the touch operation is executed.
It avoids misoperation when the user folds or expands the display screen hard, improves the user's user experience and does not affect the user's normal touch operation.
Smart Images

Figure CN118915923A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and in particular, relates to an electronic equipment control method, device, storage medium and electronic equipment. Background Art
[0002] With the continuous development of technology, electronic devices such as mobile phones are equipped with foldable displays. In different usage scenarios, users can fold or unfold the display as needed to meet users' needs for display screens of different sizes. When users fold or unfold the display screen, their fingers may use the display screen itself as a fulcrum to fold or unfold the display screen, and their fingers may easily touch application icons on the display screen, resulting in misoperation and affecting the user's experience. Summary of the invention
[0003] The embodiments of the present application provide an electronic device control method, device, storage medium and electronic device, which can avoid erroneous operations and improve the user experience.
[0004] In a first aspect, an embodiment of the present application provides a method for controlling an electronic device, wherein the electronic device includes a foldable display screen, the foldable display screen includes a first display area and a second display area, the first display area and the second display area can be relatively folded or unfolded, and the method includes:
[0005] In response to a touch operation of a user, determining whether the first display area and the second display area are relatively folded or unfolded;
[0006] If the first display area and the second display area are relatively folded or unfolded, acquiring touch information of the touch operation, the touch information including touch pressure;
[0007] If the touch pressure is greater than a preset pressure threshold, the touch instruction corresponding to the touch operation is not executed, and the preset pressure threshold is the minimum pressure required to make the first display area and the second display area fold or unfold relative to each other;
[0008] If the touch pressure is not greater than the preset pressure threshold, a touch instruction corresponding to the touch operation is executed.
[0009] In a second aspect, an embodiment of the present application provides a device for controlling an electronic device, wherein the electronic device includes a foldable display screen, the foldable display screen includes a first display area and a second display area, the first display area and the second display area can be relatively folded or unfolded, and the device includes:
[0010] a determination module, configured to determine, in response to a touch operation of a user, whether the first display area and the second display area are relatively folded or unfolded;
[0011] an acquisition module, configured to acquire touch information of the touch operation if the first display area and the second display area are relatively folded or unfolded, wherein the touch information includes touch pressure;
[0012] A first execution module, configured to not execute a touch instruction corresponding to the touch operation if the touch pressure is greater than a preset pressure threshold, wherein the preset pressure threshold is a minimum pressure required to cause the first display area and the second display area to be relatively folded or unfolded;
[0013] The second execution module is configured to execute a touch instruction corresponding to the touch operation if the touch pressure is not greater than the preset pressure threshold.
[0014] In a third aspect, an embodiment of the present application provides a storage medium on which a computer program is stored. When the computer program is executed on a computer, the computer executes the method provided by the embodiment of the present application.
[0015] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the processor is used to execute the method provided in the embodiment of the present application by calling a computer program stored in the memory.
[0016] The embodiment of the present application considers that when the electronic device receives a touch operation and the first display area and the second display area are relatively folded or unfolded, it is possible that the user uses the display screen itself as a fulcrum to press the display screen to fold or unfold the display screen. Therefore, when it is recognized that the first display area and the second display area are relatively folded or unfolded, the embodiment of the present application further obtains touch information of the touch operation, and the touch information includes touch pressure. It can be understood that if the user uses the display screen itself as a fulcrum to press the display screen to fold or unfold the display screen, the touch pressure received by the display screen is significantly larger than the normal touch operation of the user on the display screen. Therefore, the embodiment of the present application can determine whether the touch operation is caused by the user pressing the display screen to fold or unfold the display screen according to the size of the touch pressure. If the touch pressure is greater than the preset pressure threshold, where the preset pressure threshold is the minimum pressure required to make the first display area and the second display area fold or unfold relative to each other, it means that the touch operation is caused by the user pressing the display screen hard to fold or unfold the display screen, and the user does not intend to perform a touch operation on the display screen, so the touch instruction corresponding to the touch operation is not executed to avoid erroneous operation; if the touch pressure of the touch operation is less than the preset pressure threshold, it means that the user is normally performing a touch operation on the display screen, so the touch instruction corresponding to the touch operation is executed, which does not affect the normal use of the user. Therefore, in the embodiment of the present application, when the first display area and the second display area are relatively folded or unfolded, both erroneous operation can be avoided and the normal touch operation of the user on the display screen is not affected, thereby improving the user's use experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The technical solution and beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.
[0018] Figure 1 This is a first flow chart of the electronic device control method provided in an embodiment of the present application.
[0019] Figure 2 It is a structural schematic diagram of the foldable display screen provided in an embodiment of the present application in a folded and unfolded state.
[0020] Figure 3 A schematic diagram of a first display area and a second display area of an electronic device provided in an embodiment of the present application in the process of folding or unfolding.
[0021] Figure 4 This is a second flow chart of the electronic device control method provided in an embodiment of the present application.
[0022] Figure 5 It is a schematic diagram of the structure of an electronic device control device provided in an embodiment of the present application.
[0023] Figure 6 This is a schematic diagram of the first structure of an electronic device provided in an embodiment of the present application.
[0024] Figure 7 This is a second structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] Please refer to the drawings, where the same component symbols represent the same components. The principle of the present application is illustrated by implementing it in an appropriate computing environment. The following description is based on the illustrated specific embodiments of the present application, which should not be considered as limiting other specific embodiments of the present application that are not described in detail herein.
[0026] It is understandable that the execution subject of the embodiments of the present application may be an electronic device such as a smart phone or a tablet computer.
[0027] See also Figure 1 , Figure 1 1 is a schematic diagram of a first flow chart of an electronic device control method provided in an embodiment of the present application. The electronic device control method can be applied to an electronic device, and the electronic device can include a foldable display screen. The flow chart of the device control method can include:
[0028] In 101, in response to a touch operation of a user, it is determined whether a first display area and a second display area are relatively folded or unfolded.
[0029] With the continuous development of technology, electronic devices such as mobile phones are equipped with foldable displays. In different usage scenarios, users can fold or unfold the display as needed to meet the user's needs for displays of different sizes. For example, please refer to Figure 2 , Figure 2 This is a schematic diagram of a foldable display screen provided by an embodiment of the present application in a folded or unfolded state. For example, a user can fold the foldable display screen to reduce the size of the display screen, or the user can unfold the foldable display screen to increase the size of the display screen, thereby providing the user with display screens of different sizes.
[0030] It should be noted that, in addition to being able to be folded or unfolded horizontally, the foldable display screen of the electronic device can also be folded or unfolded longitudinally. In addition to being able to be folded or unfolded inwardly, the foldable display screen of the electronic device can also be folded or unfolded outwardly. The embodiments of the present application do not limit the folding or unfolding method of the foldable display screen.
[0031] The embodiments of the present application take into account that when the user folds or unfolds the display screen, the finger may use the display screen itself as a fulcrum to fold or unfold the display screen, and the finger may easily touch the application icon on the display screen, resulting in misoperation and affecting the user's experience. Among them, the touch operation can be, for example, a single-finger long press operation, a two-finger long press operation, or a multi-finger long press operation. The embodiments of the present application do not limit the type of touch operation. For example, when the user uses the display screen normally, if the electronic device recognizes that the user's finger long presses the application icon on the display screen, the application icon will switch to an editing state, such as sharing or uninstalling it; for another example, if the electronic device recognizes that the user's finger long presses the touch desktop component, the desktop component will also switch to an editing state, such as moving it; for another example, if the electronic device recognizes that the user's finger long presses a specific area in the application, it can trigger some specific functions, such as intelligent recognition, text extraction, and other functions.
[0032] It is understandable that when the user folds or unfolds the display screen, the finger may use the display screen itself as a fulcrum to fold or unfold the display screen. Therefore, the touch operation received by the display screen may be caused by the user pressing the display screen when folding or unfolding the display screen. At this time, the user does not intend to perform a touch operation on the display screen. If the touch instruction corresponding to the touch operation is directly executed, it is easy to cause an erroneous operation and affect the user's experience. Therefore, when receiving a touch operation from the user, the embodiment of the present application will not directly execute the touch instruction corresponding to the touch operation, but will determine whether the first display area and the second display area are relatively folded or unfolded.
[0033] In 102, if the first display area and the second display area are relatively folded or unfolded, touch information of the touch operation is acquired, where the touch information includes touch pressure;
[0034] In 103, if the touch pressure is greater than a preset pressure threshold, the touch instruction corresponding to the touch operation is not executed, and the preset pressure threshold is the minimum pressure required to cause the first display area and the second display area to be relatively folded or unfolded;
[0035] In 104 , if the touch pressure is not greater than the preset pressure threshold, the touch instruction corresponding to the touch operation is executed.
[0036] In the implementation of the present application, the electronic device can determine whether the first display area and the second display area are relatively folded or unfolded. For example, if the angle between the first display area and the second display area continues to change within a preset time, it can be considered that the foldable display screen is relatively folded or unfolded. Figure 3 , Figure 3A schematic diagram of a first display area and a second display area of an electronic device provided in an embodiment of the present application in a process of folding or unfolding, wherein a is the angle between the first display area and the second display area.
[0037] It is understandable that if the electronic device receives a touch operation and the first display area and the second display area are relatively folded or unfolded, then it is possible that the touch operation is generated by the user using the display screen itself as a fulcrum to press the display screen to fold or unfold the display screen.
[0038] Therefore, when it is recognized that the first display area and the second display area are relatively folded or unfolded, the embodiment of the present application will further obtain touch information of the touch operation, and the touch information includes touch pressure. It can be understood that if the user uses the display screen itself as a fulcrum to press the display screen to fold or unfold the display screen to generate a touch operation, the touch pressure received by the display screen is significantly larger than the normal touch operation of the user on the display screen. Therefore, the embodiment of the present application can determine whether the touch operation is caused by the user pressing the display screen to fold or unfold the display screen according to the size of the touch pressure. If the touch pressure is greater than the preset pressure threshold, where the preset pressure threshold is the minimum pressure required to make the first display area and the second display area relatively folded or unfolded, it means that the touch operation is caused by the user pressing the display screen hard to fold or unfold the display screen, and the user does not intend to perform a touch operation on the display screen, so the touch instruction corresponding to the touch operation is not executed to avoid erroneous operation; if the touch pressure of the touch operation is less than the preset pressure threshold, it means that the user is normally performing a touch operation on the display screen, so the touch instruction corresponding to the touch operation is executed, so as not to affect the normal use of the user. Therefore, in the embodiment of the present application, when the first display area and the second display area are relatively folded or unfolded, it can avoid misoperation and will not affect the user's normal touch operation on the display screen, thereby improving the user experience.
[0039] In one embodiment, when the electronic device recognizes that the angle between the first display area and the second display area continues to change within a preset time and the touch pressure of the acquired touch operation is greater than a preset pressure threshold, it can be more certain that the user is pressing the display screen to fold or unfold the display screen, rather than the angle change caused by the loose hinge between the first display area and the second display area causing the first display area and the second display area to shake back and forth relative to the hinge, and therefore the touch instruction corresponding to the touch operation may not be executed.
[0040] If the first display area and the second display area are not folded or unfolded relative to each other, no touch operation will be generated due to the user's finger pressing the display screen to fold or unfold the display screen. Therefore, when the electronic device receives a touch operation, it can execute the touch instruction corresponding to the touch operation in time, thereby not affecting the user's normal use.
[0041] See also Figure 4 , Figure 4 This is a second flow chart of the electronic device control method provided in the embodiment of the present application. The flow chart may include:
[0042] In 201, in response to a touch operation of a user, an angle between a first display area and a second display area is continuously acquired;
[0043] In 202 , if the angle is in a continuous change, it is determined that the first display area and the second display area are in a process of being relatively folded or unfolded.
[0044] The foldable display screen can be applied to electronic devices such as mobile phones. The foldable display screen includes a first display area and a second display area. The first display area and the second display area can be folded or unfolded relative to each other. The user can fold the foldable display screen to reduce the size of the display screen, and the user can also unfold the foldable display screen to increase the size of the display screen, thereby providing the user with display screens of different sizes.
[0045] It is understandable that when the user folds or unfolds the display screen, the finger may use the display screen itself as a fulcrum to fold or unfold the display screen. Therefore, the touch operation received by the display screen may be caused by the user pressing the display screen when folding or unfolding the display screen. At this time, the user does not intend to perform a touch operation on the display screen. If the touch instruction corresponding to the touch operation is directly executed, it is easy to cause an erroneous operation and affect the user's experience. Therefore, when receiving a touch operation from the user, the embodiment of the present application will not directly execute the touch instruction corresponding to the touch operation, but will determine whether the first display area and the second display area are relatively folded or unfolded.
[0046] In one implementation, the embodiment of the present application may continuously acquire the angle between the first display area and the second display area; if the angle is in a continuous change, it is determined that the first display area and the second display area are relatively folded or unfolded.
[0047] Exemplarily, the electronic device may be provided with a sensor, through which the angle between the first display area and the second display area can be obtained. For example, an angle sensor may be provided at the hinge between the first display area and the second display area. The angle sensor may continuously obtain the angle between the first display area and the second display area, and report the obtained angle to the processor, so that the processor determines whether the first display area and the second display area are relatively folded or unfolded according to the change of the angle. In another example, the sensor may also be a proximity light sensor, which may be provided in the first display area or the second display area of the foldable display screen. The proximity light sensor may determine the angle between the first display area and the second display area according to the optical path difference of the infrared signal. For another example, the sensor may also be an acceleration sensor or a gyroscope sensor. In another example, an ultrasonic transmitter may be provided in the first display area of the foldable display screen, and an ultrasonic receiver may be provided in the second display area. The angle between the first display area and the second display area is determined by testing the transmission distance of the signal between the ultrasonic transmitter and the ultrasonic receiver. It should be noted that the embodiment of the present application does not limit the method for obtaining the angle between the first display area and the second display area.
[0048] In one embodiment, when a touch operation is received, the embodiment of the present application can continuously obtain the angle between the first display area and the second display area. Exemplarily, the angle between the first display area and the second display area can be obtained multiple times within a first preset time length, for example, at least 2 angles are obtained to determine whether the angle has changed. After the touch operation is received, the first angle between the first display area and the second display area is obtained. When the first preset time length is reached, the second angle between the first display area and the second display area is obtained again. If the change value between the second angle and the first angle is greater than the first preset angle threshold, it means that the angle is in a continuous change, and it is determined that the first display area and the second display area are relatively folded or unfolded, wherein the first preset time length can be set as needed, for example, it can be half a second, 1 second, etc. The embodiment of the present application does not limit the first preset time length, and the first preset angle threshold can also be set as needed. The embodiment of the present application does not limit the first preset angle threshold either.
[0049] In another example, the embodiment of the present application can continuously obtain the angle between the first display area and the second display area, and determine whether the angle is in a continuous change, so as to determine in real time whether the first display area and the second display area are relatively folded or unfolded. When a touch operation is received, the result of whether the first display area and the second display area are currently relatively folded or unfolded can be directly read, thereby improving the response speed of the electronic device to the received touch operation.
[0050] In another example, an embodiment of the present application can continuously obtain the angle between the first display area and the second display area. When judging whether the angle is in a continuous change, if it is recognized that the angle pauses briefly and then continues to change within a second preset time length, the second preset time length is, for example, half a second or 1 second, then it can also be considered that folding or unfolding is occurring between the first display area and the second display area, and it will not be considered that the first display area and the second display area are not in the process of folding or unfolding due to the brief pause.
[0051] In 203, if the first display area and the second display area are relatively folded or unfolded, the foldable display screen is locked so that the foldable display screen is in a locked state, and the touch instruction corresponding to the touch operation is not executed;
[0052] In 204 , if an unlocking instruction is received, the foldable display screen is unlocked so that the foldable display screen is in an unlocked state, and touch information of the touch operation is acquired, where the touch information includes touch pressure.
[0053] It is understandable that if the first display area and the second display area are relatively folded or unfolded, the touch operation received by the display screen may be generated by the user pressing the display screen with the display screen itself as a fulcrum to fold or unfold the display screen. Therefore, when it is recognized that the first display area and the second display area are relatively folded or unfolded, the foldable display screen can be locked first, so that the foldable display screen is in a locked state, and the touch instruction corresponding to the touch operation is not executed to avoid erroneous operation.
[0054] When an unlock operation is received, the foldable display screen is unlocked so that the foldable display screen is in an unlocked state, and the display screen in the unlocked state can execute the touch command corresponding to the touch operation. The unlock operation can be, for example, a specific gesture, a shortcut key, a password input, etc. The user can set the unlock operation method according to the usage habits, and the embodiment of the present application does not limit the unlock operation method.
[0055] It is understandable that even if the display screen is in an unlocked state, since the display screen is in the process of being relatively folded or unfolded, the touch operation received by the electronic device may still be caused by the user pressing the display screen hard to fold or unfold the display screen, and the user does not intend to perform a touch operation on the display screen. Therefore, the embodiment of the present application will further obtain touch information of the touch operation, and the touch information includes touch pressure. It is understandable that if the user uses the display screen itself as a fulcrum to press the display screen to fold or unfold the display screen to generate a touch operation, the touch pressure received by the display screen is significantly larger than the user's normal touch operation on the display screen. Therefore, the embodiment of the present application can determine whether the touch operation is caused by the user pressing the display screen to fold or unfold the display screen based on the size of the touch pressure.
[0056] In 205, if the touch pressure is greater than a preset pressure threshold, the touch instruction corresponding to the touch operation is not executed, and the preset pressure threshold is the minimum pressure required to cause the first display area and the second display area to be relatively folded or unfolded;
[0057] In 206 , if the touch pressure is not greater than the preset pressure threshold, the touch instruction corresponding to the touch operation is executed.
[0058] If the touch pressure is greater than a preset pressure threshold, where the preset pressure threshold is the minimum pressure required to cause the first display area and the second display area to be relatively folded or unfolded, it means that the received touch operation is caused by the user pressing the display screen hard to fold or unfold the display screen, and the user does not intend to perform a touch operation on the display screen. Therefore, the touch instruction corresponding to the touch operation is not executed to avoid misoperation. If the touch pressure of the touch operation is less than the preset pressure threshold, it means that the user is normally touching the display screen. Therefore, the touch instruction corresponding to the touch operation is executed, which will not affect the user's normal use and improve the user's experience.
[0059] If the first display area and the second display area are not folded or unfolded relative to each other, no touch operation will be generated due to the user's finger pressing the display screen to fold or unfold the display screen. Therefore, when the electronic device receives a touch operation, it can respond normally to the touch instruction corresponding to the touch operation, thereby not affecting the user's normal use.
[0060] In one embodiment, acquiring the touch information of the touch operation further includes acquiring the duration of the touch, and if the touch pressure is not greater than a preset pressure threshold and the duration of the touch is not greater than a preset duration threshold, the touch instruction corresponding to the touch operation is executed. If the touch pressure is greater than the preset pressure threshold and / or the duration of the touch is greater than the preset duration threshold, the touch instruction corresponding to the touch operation is not executed.
[0061] It is understandable that if the user uses the display screen itself as a fulcrum to press the display screen to fold or unfold the display screen, the touch pressure received by the display screen is significantly greater than the normal touch operation of the user on the display screen. Relatively speaking, since the user needs a certain amount of time to complete the folding or unfolding of the display screen, the touch duration received by the display screen will also be significantly longer. Therefore, the embodiment of the present application can combine the touch pressure and the touch duration to jointly determine whether the touch operation is caused by the user pressing the display screen to fold or unfold the display screen. Only when the touch pressure is not greater than the preset pressure threshold and the touch duration is not greater than the preset duration threshold, it can be explained that the user is performing a normal touch operation on the display screen at this time, and the touch instruction corresponding to the touch operation will be executed, which does not affect the normal use of the user. If the touch pressure is not greater than the preset pressure threshold, or the touch duration is greater than the preset duration threshold, it means that the touch operation is caused by the user continuously pressing the display screen to fold or unfold the display screen, or it is not a normal touch operation, and the touch instruction corresponding to the touch operation is not executed, so that misoperation can be avoided more accurately.
[0062] In one embodiment, the touch position of the touch operation on the display screen includes a first touch point and a second touch point. If the first touch point and the second touch point are respectively located in the first display area and the second display area, and the touch positions of the first touch point and the second touch point match, the touch instruction corresponding to the touch operation is not executed.
[0063] Among them, the first contact point and the second contact point are the contact points between the user's fingers and the display screen. It can be understood that when the user uses the display screen itself as a fulcrum to press the display screen to fold or unfold the display screen, generally, the user will press the first display area with one finger, such as the thumb, and press the second display area with another finger, and the positions where the two fingers press are relatively matched, such as roughly symmetrical positions, so that the first display area and the second display area can be balanced in force, so that the display screen can be folded or unfolded more stably and smoothly. Therefore, when it is recognized that the first contact point and the second contact point in the touch operation are respectively located in the first display area and the second display area, and the positions of the first contact point and the second contact point match, then in most cases, the first contact point and the second contact point are used as the fulcrum for the user to press the display screen, and therefore the touch instruction corresponding to the touch operation is not executed to avoid misoperation.
[0064] In one embodiment, the touch position of the touch operation on the display screen may include multiple touch points, and the touch pressure corresponding to each touch point is obtained to determine the third touch point whose touch pressure is greater than the preset pressure threshold, and the fourth touch point whose touch pressure is not greater than the preset pressure threshold; the touch instruction corresponding to the third touch point is not executed, and the touch instruction corresponding to the fourth touch point is executed. That is, in the embodiment of the present application, if the touch operation received on the display screen includes multiple touch points, such as the number of touch points may be 2, 3, 4, etc., then the third touch point whose touch pressure is greater than the preset pressure threshold, and the fourth touch point whose touch pressure is not greater than the preset pressure threshold can be distinguished from the multiple touch points. It should be noted that the multiple touch points may also all be the third contact or the fourth contact. Therefore, when the embodiment of the present application receives a touch operation, even if it is determined that the first display area and the second display area are folded or unfolded, the touch instruction corresponding to the touch operation will not be directly executed, nor will the touch instruction corresponding to the touch operation be directly executed. Instead, the touch pressure of each contact point in the touch operation will be specifically analyzed, and the touch instruction corresponding to the fourth contact point with a small touch pressure will be executed, while the third contact point with a large touch pressure will not be executed. It can be understood that different touch points and different contact point combinations can trigger different touch instructions. By obtaining the touch pressure of each contact point, it can be determined whether the contact point is the fulcrum pressed by the user when folding or unfolding the display screen according to the size of the touch pressure. If so, the touch instruction corresponding to the contact point will not be executed. If not, the touch instruction corresponding to the contact point will be executed. If the touch pressure corresponding to multiple contacts is less than the preset pressure threshold, the touch instructions corresponding to the multiple contact point combinations can be executed. Therefore, in the process of folding or unfolding the display screen, it can avoid misoperation without affecting the normal use of the user.
[0065] In one embodiment, based on the hardware design of the foldable display screen of the electronic device, the variable angle between the first display area and the second display area will have a preset angle range, such as between 0° and 180°. For example, when the first display area and the second display area are fully folded, it is 0°, and when the first display area and the second display area are fully unfolded, it is 180°. Then, when any angle obtained by the electronic device is outside the preset angle range, such as the obtained angle is greater than 180°, it means that the change in the angle may be caused by a loose hinge. For example, when the first display area and the second display area are in an unfolded state and the hinge between the first display area and the second display area is loose, the first display area and the second display area will frequently shake relative to the hinge, resulting in the obtained angle value may exceed 180°. In this case, although the electronic device can also detect that the angle of the first display area and the second display area is in a continuous change, it is not an angle change caused by the user's normal folding or unfolding operation of the display screen. Therefore, it can be determined that the first display area and the second display area are not relatively folded or unfolded. When a touch operation is received, the touch operation corresponding to the touch operation can be directly executed, thereby not affecting the normal use of the user.
[0066] In one embodiment, if the foldable display screen is an inward-folding display screen, when the angle between the first display area and the second display area is less than a second preset angle threshold, such as less than 45°, it is understandable that it is inconvenient for the user to continue to perform touch operations on the first display area and the second display area. Therefore, when a touch operation is received, it can be considered that the touch operation is generated by the user pressing the display screen to fold the display screen, and the touch instruction corresponding to the touch operation may not be executed.
[0067] In order to better illustrate the technical solution of the present application, an example is given below. When it is determined that the first display area and the second display area are relatively folded or unfolded, it does not mean that the user will not operate the display screen during the folding or unfolding of the display screen. For example, the user may use the base of the left hand to hold the electronic device, press the first display area with one finger, and press the shell on the back of the second display area with another finger, so that the display screen can be folded with one hand, and then the right hand can perform normal touch operations. For example, in the process of folding the mobile phone, an application is opened or closed. After the display screen receives the touch operation in the embodiment of the present application, it detects that the foldable display screen is in the folding process, and obtains the touch pressure of the touch operation. The touch operation may include more than one touch point at the touch position of the display screen, wherein the touch pressure corresponding to the touch point pressing the folding display screen in the first display area is greater than the preset pressure threshold, then the touch instruction corresponding to the touch point is not executed, and when the user's right hand touches the display screen normally for touch operation, the touch pressure corresponding to the touch point will not be greater than the preset pressure threshold, so the touch instruction corresponding to the touch point can be executed, so that neither misoperation nor normal use of the user is affected.
[0068] In another example, the user's left hand can be placed entirely on the back of the second display area, with the shell on the back of the display screen as a fulcrum, and pressed hard to fold the display screen. Then, the touch operation received on the display screen is not caused by pressing hard on the display screen to fold the display screen, and the touch pressure corresponding to the touch operation received on the display screen is not greater than the preset pressure threshold, so the touch instruction corresponding to the touch operation can be directly executed.
[0069] In another example, the user can also use one hand to unfold the display screen. For example, the user may place the electronic device on a table, press the first display area with part of the fingers of the left hand, and press the second display area with part of the fingers of the left hand, so that the display screen can be unfolded with the left hand, and the right hand can perform normal touch operations. Therefore, the touch operation received by the display screen may include multiple touch points. Similarly, the embodiment of the present application can determine whether the touch point is the fulcrum pressed by the user when unfolding the display screen by judging the touch pressure corresponding to each touch point. If so, the touch instruction corresponding to the touch point is not executed.
[0070] In another example, when the user is folding or unfolding the display screen with the display screen as a fulcrum, the user may also pause the folding or unfolding process for a short period of time. For example, after quickly starting or closing an application within this short period of time, the user continues to fold or unfold the display screen. In this case, the electronic device may also deem that the first display area and the second display area are still in the folding or unfolding process. Similarly, the embodiment of the present application can determine whether the touch point is the fulcrum pressed by the user when folding or unfolding the display screen by determining the touch pressure corresponding to each touch point in the touch operation. If so, the touch instruction corresponding to the touch point is not executed. Therefore, the embodiment of the present application can also normally execute the touch instruction corresponding to the user's quick touch operation during the folding or unfolding process.
[0071] In another example, the embodiments of the present application can also be applied to automatically foldable display screens. When the display screen is in the process of automatically folding or unfolding, the user does not need to press hard with the display screen as a fulcrum. For example, in the embodiments of the present application, different folding forms can be preset according to different usage scenarios. For example, when the electronic device is in a payment state, the display screen can automatically fold to a preset angle between the first display area and the second display area to make payment safer. For another example, when the electronic device starts a game application, the display screen can automatically unfold so that the user can operate on a larger screen. Then, when a normal touch operation is received during the process of automatic folding or unfolding of the display screen, the touch pressure corresponding to the touch operation will not be greater than the preset pressure threshold. Therefore, even if it is recognized that the first display area and the second display area are in the process of relative folding or unfolding, the embodiments of the present application can also normally execute the touch instruction corresponding to the touch operation.
[0072] Therefore, in the embodiment of the present application, when a touch operation is received and it is recognized that the first display area and the second display area are relatively folded or unfolded, the foldable display screen can be locked first, so that the foldable display screen is in a locked state, and the touch instruction corresponding to the touch operation is not executed to avoid erroneous operation. When an unlocking operation is received, the foldable display screen is unlocked so that the foldable display screen is in an unlocked state. It can be understood that even if the display screen is in an unlocked state, the touch operation received by the electronic device may still be caused by the user pressing the display screen hard to fold or unfold the display screen. Therefore, the embodiment of the present application will further obtain touch information of the touch operation, and the touch information includes touch pressure and touch duration. It can be understood that if the user uses the display screen itself as a fulcrum and presses the display screen to fold or unfold the display screen, the touch pressure and touch duration received by the display screen will be significantly larger than the normal touch operation of the user on the display screen. Therefore, the embodiment of the present application can combine the touch pressure and touch duration to jointly determine whether the touch operation is caused by the user pressing the display screen to fold or unfold the display screen. Only when the touch pressure is not greater than the preset pressure threshold and the duration of the touch is not greater than the preset duration threshold, it can be explained that the user is performing a normal touch operation on the display screen at this time, and the touch instruction corresponding to the touch operation will be executed, without affecting the normal use of the user. Further, the touch operation may include multiple touch points at the touch position of the display screen. By judging the touch pressure of each touch point, it can be determined according to the size of the touch pressure whether the touch point is the fulcrum pressed by the user when folding or unfolding the display screen. If so, the touch instruction corresponding to the touch point is not executed. If not, the touch instruction corresponding to the touch point is executed, so that in the process of folding or unfolding the display screen, it can avoid misoperation and not affect the normal use of the user, thereby improving the user's use experience.
[0073] See also Figure 5 , Figure 5 A schematic diagram of the structure of an electronic device control device provided in an embodiment of the present application. The electronic device control device can be applied to an electronic device, wherein the electronic device includes a foldable display screen, the foldable display screen includes a first display area and a second display area, and the first display area and the second display area can be relatively folded or unfolded. The electronic device control device 400 may include: a judgment module 401, an acquisition module 402, a first execution module 403, and a second execution module 404.
[0074] The determination module 401 is used to: in response to a touch operation of a user, determine whether the first display area and the second display area are relatively folded or unfolded;
[0075] The acquisition module 402 is used to: if the first display area and the second display area are relatively folded or unfolded, acquire touch information of the touch operation, where the touch information includes touch pressure;
[0076] The first execution module 403 is used for not executing the touch instruction corresponding to the touch operation if the touch pressure is greater than a preset pressure threshold, where the preset pressure threshold is the minimum pressure required to cause the first display area and the second display area to be relatively folded or unfolded;
[0077] The second execution module 404 is configured to execute a touch instruction corresponding to the touch operation if the touch pressure is not greater than a preset pressure threshold.
[0078] In one implementation, the determination module 401 may be used to: continuously obtain the angle between the first display area and the second display area; if the angle is continuously changing, determine that the first display area and the second display area are relatively folded or unfolded.
[0079] In one implementation, the second execution module 404 may be configured to execute a touch instruction corresponding to the touch operation if the touch pressure is not greater than a preset pressure threshold and the touch duration is not greater than a preset duration threshold.
[0080] In one embodiment, the touch position of the touch operation on the display screen includes a first touch point and a second touch point, and the first execution module 403 can be used to: if the first touch point and the second touch point are respectively located in the first display area and the second display area, and the positions of the first touch point and the second touch point match, then the touch instruction corresponding to the touch operation is not executed.
[0081] In one embodiment, the touch position of the touch operation on the display screen includes multiple touch points, and the acquisition module 402 can be used to: obtain the touch pressure corresponding to each touch point; determine a third touch point whose touch pressure is greater than a preset pressure threshold, and a fourth touch point whose touch pressure is not greater than the preset pressure threshold; the first execution module 403 can be used to not execute the touch instruction corresponding to the third touch point; the second execution module 404 can be used to execute the touch instruction corresponding to the fourth touch point.
[0082] In one implementation, the determination module 401 may be configured to: if any acquired angle is outside a preset angle range, determine that the first display area and the second display area are not in a process of being folded or unfolded relative to each other.
[0083] In one embodiment, the judgment module 401 can be used to: lock the foldable display screen so that the foldable display screen is in a locked state and does not execute the touch instruction corresponding to the touch operation; if an unlock instruction is received, unlock the foldable display screen so that the foldable display screen is in an unlocked state; the acquisition module 402 can be used to: if the foldable display screen is in an unlocked state, and the first display area and the second display area are relatively folded or unfolded, then acquire touch information in the touch operation.
[0084] The application embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed on a computer, the computer executes the process in the device control method provided in this embodiment.
[0085] See also Figure 6 , Figure 6 A first structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0086] The embodiment of the present application also provides an electronic device, including a foldable display screen, a memory, and a processor, wherein the processor is used to execute the process in the electronic device control method provided in this embodiment by calling a computer program stored in the memory. For example, the above electronic device can be a mobile terminal such as a tablet computer or a smart phone.
[0087] Those skilled in the art will understand that Figure 6 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0088] The foldable display screen 501 includes a first display area and a second display area. The first display area and the second display area can be folded or unfolded relative to each other. On an electronic device equipped with a foldable display screen, the size of the display screen can be increased by unfolding the display screen, and the size of the display screen can be reduced by folding the display screen.
[0089] The memory 502 may be used to store applications and data. The applications stored in the memory 502 include executable codes. The applications may be composed of various functional modules. The processor 503 executes various functional applications and data processing by running the applications stored in the memory 502.
[0090] The processor 503 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing applications stored in the memory 502 and calling data stored in the memory 502, thereby monitoring the electronic device as a whole.
[0091] In this embodiment, the processor 503 in the electronic device will load the executable code corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 503 will run the application program stored in the memory 502 to execute:
[0092] In response to a touch operation of a user, determining whether the first display area and the second display area are relatively folded or unfolded;
[0093] If the first display area and the second display area are relatively folded or unfolded, acquiring touch information of the touch operation, the touch information including touch pressure;
[0094] If the touch pressure is greater than a preset pressure threshold, the touch instruction corresponding to the touch operation is not executed, and the preset pressure threshold is the minimum pressure required to make the first display area and the second display area fold or unfold relative to each other;
[0095] If the touch pressure is not greater than the preset pressure threshold, the touch instruction corresponding to the touch operation is executed.
[0096] See also Figure 7 , Figure 7 A second structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0097] The electronic device 500 further includes components such as a radio frequency circuit 504, a control circuit 505, an input unit 506, an audio circuit 507, a sensor 508, and a power supply 509. The processor 501 is electrically connected to the radio frequency circuit 504, the control circuit 505, the input unit 506, the audio circuit 507, the sensor 508, and the power supply 509, respectively.
[0098] The radio frequency circuit 504 is used to send and receive radio frequency signals to communicate with network devices or other electronic devices through wireless communication.
[0099] The control circuit 505 is electrically connected to the display screen 505 and is used to control the display screen 505 to display information.
[0100] The input unit 506 can be used to receive input numbers, character information or user feature information (such as fingerprints), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. The input unit 506 can include a fingerprint recognition module.
[0101] The audio circuit 507 can provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 507 includes a microphone. The microphone is electrically connected to the processor 501. The microphone is used to receive voice information input by the user.
[0102] The sensor 508 is used to collect external environment information and may include one or more sensors such as an angle sensor, a proximity light sensor, an acceleration sensor, a gyroscope, and a brightness sensor.
[0103] The power supply 509 is used to supply power to various components of the electronic device 500. In some embodiments, the power supply 509 may be logically connected to the processor 501 through a power management system, so that the power management system can manage charging, discharging, power consumption, and other functions.
[0104] Although not shown in the figure, the electronic device 500 may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0105] In this embodiment, the processor 503 in the electronic device will load the executable code corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 503 will run the application program stored in the memory 502 to execute:
[0106] In response to a touch operation of a user, determining whether the first display area and the second display area are relatively folded or unfolded;
[0107] If the first display area and the second display area are relatively folded or unfolded, acquiring touch information of the touch operation, the touch information including touch pressure;
[0108] If the touch pressure is greater than a preset pressure threshold, the touch instruction corresponding to the touch operation is not executed, and the preset pressure threshold is the minimum pressure required to make the first display area and the second display area fold or unfold relative to each other;
[0109] If the touch pressure is not greater than the preset pressure threshold, the touch instruction corresponding to the touch operation is executed.
[0110] In one embodiment, in determining whether the first display area and the second display area are relatively folded or unfolded, the processor 503 further executes continuously acquiring an angle between the first display area and the second display area;
[0111] If the angle is in a continuous change, it is determined that the first display area and the second display area are relatively folded or unfolded.
[0112] In one embodiment, the touch information includes the duration of the touch. If the touch pressure is not greater than a preset pressure threshold, the touch instruction corresponding to the touch operation is executed. The processor 503 executes the touch instruction corresponding to the touch operation if the touch pressure is not greater than the preset pressure threshold and the duration of the touch is not greater than the preset duration threshold.
[0113] In one embodiment, the touch position of the touch operation on the display screen includes a first touch point and a second touch point. After obtaining the touch information of the touch operation, the processor 503 executes if the first touch point and the second touch point are respectively located in the first display area and the second display area, and the positions of the first touch point and the second touch point match, then the touch instruction corresponding to the touch operation is not executed.
[0114] In one embodiment, the touch position of the touch operation on the display screen includes multiple touch points. In acquiring the touch information of the touch operation, the processor 503 executes to acquire the touch pressure corresponding to each touch point; determines a third touch point whose touch pressure is greater than a preset pressure threshold, and a fourth touch point whose touch pressure is not greater than the preset pressure threshold; if the touch pressure is greater than the preset pressure threshold, the touch instruction corresponding to the touch operation is not executed; if the touch pressure is not greater than the preset pressure threshold, the touch instruction corresponding to the touch operation is executed, the processor 503 executes not to execute the touch instruction corresponding to the third contact point, and executes the touch instruction corresponding to the fourth contact point.
[0115] In one embodiment, after acquiring the angle between the first display area and the second display area, the processor 503 executes: if any acquired angle is outside a preset angle range, determining that the first display area and the second display area are not in a relative folding or unfolding process.
[0116] In one embodiment, after determining that the first display area and the second display area are relatively folded or unfolded, the processor 503 executes: locking the foldable display screen so that the foldable display screen is in a locked state, and not executing a touch instruction corresponding to the touch operation; if an unlock instruction is received, unlocking the foldable display screen so that the foldable display screen is in an unlocked state; if the first display area and the second display area are relatively folded or unfolded, then obtaining touch information of the touch operation, the processor 503 executes: if the foldable display screen is in an unlocked state, and the first display area and the second display area are relatively folded or unfolded, then obtaining touch information in the touch operation.
[0117] In the above embodiments, the description of each embodiment has its own focus. For the part that is not described in detail in a certain embodiment, please refer to the detailed description of the device control method above, and will not be repeated here.
[0118] The electronic device control device provided in the embodiment of the present application belongs to the same concept as the electronic device control method in the above embodiment. Any method provided in the electronic device control method embodiment can be run on the electronic device control device. The specific implementation process is detailed in the electronic device control method embodiment and will not be repeated here.
[0119] It should be noted that, for the electronic device control method of the embodiment of the present application, ordinary technicians in this field can understand that all or part of the process of implementing the electronic device control method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, such as stored in a memory, and executed by at least one processor, and the execution process may include the process of the embodiment of the device control method. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), etc.
[0120] For the electronic device control device of the embodiment of the present application, each functional module thereof may be integrated into a processing chip, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk.
[0121] The electronic device control method, device, storage medium and electronic device provided in the embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A control method for an electronic device, characterized in that: The electronic device includes a foldable display screen, the foldable display screen includes a first display area and a second display area, the first display area and the second display area can be relatively folded or unfolded, and the method includes: In response to a touch operation of a user, determining whether the first display area and the second display area are relatively folded or unfolded; If the first display area and the second display area are relatively folded or unfolded, acquiring touch information of the touch operation, the touch information including touch pressure; If the touch pressure is greater than a preset pressure threshold, the touch instruction corresponding to the touch operation is not executed, and the preset pressure threshold is the minimum pressure required to make the first display area and the second display area fold or unfold relative to each other; If the touch pressure is not greater than the preset pressure threshold, a touch instruction corresponding to the touch operation is executed.
2. The electronic device control method according to claim 1, characterized in that: The determining whether the first display area and the second display area are relatively folded or unfolded includes: Continuously acquiring the angle between the first display area and the second display area; If the angle is in a continuous change, it is determined that the first display area and the second display area are relatively folded or unfolded.
3. The electronic device control method according to claim 1, characterized in that: The touch information includes the duration of the touch, and if the touch pressure is not greater than the preset pressure threshold, executing the touch instruction corresponding to the touch operation includes: If the touch pressure is not greater than the preset pressure threshold, and the duration of the touch is not greater than the preset duration threshold, a touch instruction corresponding to the touch operation is executed.
4. The electronic device control method according to claim 1, characterized in that: The touch position of the touch operation on the display screen includes a first touch point and a second touch point, and after acquiring the touch information of the touch operation, the method further includes: If the first touch point and the second touch point are located in the first display area and the second display area respectively, and the positions of the first touch point and the second touch point match, the touch instruction corresponding to the touch operation is not executed.
5. The electronic device control method according to claim 1, characterized in that: The touch position of the touch operation on the display screen includes a plurality of touch points, and acquiring touch information of the touch operation includes: Acquiring the touch pressure corresponding to each of the touch points; Determine a third touch point whose touch pressure is greater than a preset pressure threshold, and a fourth touch point whose touch pressure is not greater than the preset pressure threshold; If the touch pressure is greater than the preset pressure threshold, the touch instruction corresponding to the touch operation is not executed; if the touch pressure is not greater than the preset pressure threshold, the touch instruction corresponding to the touch operation is executed, including: The touch control instruction corresponding to the third touch point is not executed, and the touch control instruction corresponding to the fourth touch point is executed.
6. The electronic device control method according to claim 2, after acquiring the angle between the first display area and the second display area, further comprising: If any of the acquired angles is outside the preset angle range, it is determined that the first display area and the second display area are not in a process of relative folding or unfolding.
7. The electronic device control method according to claim 2, after determining that the first display area and the second display area are relatively folded or unfolded, further comprising: Locking the foldable display screen so that the foldable display screen is in a locked state and the touch instruction corresponding to the touch operation is not executed; If an unlocking instruction is received, unlocking the foldable display screen so that the foldable display screen is in an unlocked state; If the first display area and the second display area are relatively folded or unfolded, then the touch information of the touch operation is obtained: If the foldable display screen is in an unlocked state, and the first display area and the second display area are relatively folded or unfolded, touch information in the touch operation is obtained.
8. An electronic equipment control device, characterized in that: The electronic device includes a foldable display screen, the foldable display screen includes a first display area and a second display area, the first display area and the second display area can be folded or unfolded relative to each other, and the device includes: a determination module, configured to determine, in response to a touch operation of a user, whether the first display area and the second display area are relatively folded or unfolded; an acquisition module, configured to acquire touch information of the touch operation if the first display area and the second display area are relatively folded or unfolded, wherein the touch information includes touch pressure; A first execution module, configured to not execute a touch instruction corresponding to the touch operation if the touch pressure is greater than a preset pressure threshold, wherein the preset pressure threshold is a minimum pressure required to cause the first display area and the second display area to be relatively folded or unfolded; The second execution module is configured to execute a touch instruction corresponding to the touch operation if the touch pressure is not greater than the preset pressure threshold.
9. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 7.
10. An electronic device, comprising a memory and a processor, characterized in that: The processor is configured to execute the method according to any one of claims 1 to 7 by calling the computer program stored in the memory.
