Screen reporting method and device, electronic equipment and computer readable medium

By dynamically adjusting the touchscreen's reporting threshold and adjusting the touch detection method according to the scroll screen's movement state, the problem of random reporting caused by interference from the metal baffle during the scroll screen's unfolding or retraction process was solved, thus improving the user experience.

CN115756200BActive Publication Date: 2026-04-21GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
Filing Date
2022-11-21
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

During the unfolding or retraction of a rollable screen, the capacitance changes due to interference from the metal baffle can easily cause false alarms, affecting the user experience.

Method used

By acquiring the motion state of the touchscreen, the reporting threshold is dynamically adjusted. Different reporting thresholds are used for touch detection when the touchscreen is unfolded or collapsed. A smaller threshold is used when the touchscreen is stationary, and a larger threshold is used when the touchscreen is moving, in order to reduce the phenomenon of random reporting.

Benefits of technology

The issue of erratic touch detection caused by the metal baffle during the unfolding or retraction of the touchscreen has been improved, enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115756200B_ABST
    Figure CN115756200B_ABST
Patent Text Reader

Abstract

This application discloses a screen reporting method, system, electronic device, and computer-readable medium, relating to the field of smart terminal technology. The method includes: acquiring the motion state of a second display area relative to a first display area; if the motion state is that the second display area is stationary relative to the first display area, triggering the touchscreen system to perform a touch detection operation on the touchscreen based on a first reporting threshold; if the motion state is that the second display area moves relative to the first display area, triggering the touchscreen system to perform a touch detection operation on the touchscreen based on a second reporting threshold, wherein the first reporting threshold is less than the second reporting threshold. Therefore, since the reporting of touch detection operations based on the second reporting threshold is more difficult to trigger, the problem of random reporting caused by the influence of the baffle metal within the electronic device structure during the unfolding or retracting movement of the touchscreen is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart terminal technology, and more specifically, to a screen reporting method, apparatus, electronic device, and computer-readable medium. Background Technology

[0002] Currently, with the development of technology, rollable screens are gradually becoming popular on smart mobile terminals. However, during the process of the screen extending and retracting, rollable screens are prone to random pixelation, which affects the user experience. Summary of the Invention

[0003] This application proposes a screen reporting method, apparatus, electronic device, and computer-readable medium to improve the above-mentioned deficiencies.

[0004] In a first aspect, embodiments of this application provide a screen reporting method applied to a processor of an electronic device. The electronic device further includes a touchscreen and a touchscreen system for performing touch detection operations on the touchscreen. The touchscreen includes a first display area and a second display area, at least a portion of the second display area being expandable or hidden relative to the first display area. The method includes: acquiring a motion state of the second display area relative to the first display area; if the motion state is that the second display area is stationary relative to the first display area, triggering the touchscreen system to perform a touch detection operation on the touchscreen based on a first reporting threshold; if the motion state is that the second display area moves relative to the first display area, triggering the touchscreen system to perform a touch detection operation on the touchscreen based on a second reporting threshold, wherein the first reporting threshold is less than the second reporting threshold.

[0005] Secondly, embodiments of this application also provide a screen reporting device applied to a processor of an electronic device. The electronic device further includes a touchscreen and a touchscreen system for determining the touch state of a touch point to be tested on the touchscreen. The touchscreen includes a first display area and a second display area, at least a portion of the second display area can be expanded or hidden relative to the first display area. The device includes: a motion detection module for acquiring the motion state of the second display area relative to the first display area; and a reporting threshold triggering module for triggering the touchscreen system to perform a touch detection operation on the touchscreen based on a first reporting threshold if the motion state is that the second display area is stationary relative to the first display area, and for triggering the touchscreen system to perform a touch detection operation on the touchscreen based on a second reporting threshold if the motion state is that the second display area moves relative to the first display area.

[0006] Thirdly, embodiments of this application also provide an electronic device, including: a touch screen, a touch screen system, one or more processors, a memory, and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured for the methods described above.

[0007] Fourthly, embodiments of this application also provide a computer-readable medium storing processor-executable program code, which, when executed by the processor, causes the processor to perform the methods described above.

[0008] The screen reporting method, apparatus, electronic device, and computer-readable medium provided in this application adjust the reporting threshold of the touchscreen system by acquiring the motion state of the second display area relative to the first display area. When the second display area is stationary relative to the first display area, the touchscreen system performs touch detection operations on the touchscreen based on a smaller first reporting threshold; when the second display area moves relative to the first display area, the touchscreen system performs touch detection operations on the touchscreen based on a larger second reporting threshold. Therefore, since reporting based on the second reporting threshold is more difficult to trigger, the problem of random reporting caused by the influence of the baffle metal within the electronic device structure during the unfolding or retracting movement of the touchscreen is improved.

[0009] Other features and advantages of the embodiments of this application will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the embodiments of this application. The objects and other advantages of the embodiments of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

[0010] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0011] Figure 1 A schematic diagram of an electronic device provided in one embodiment of this application is shown.

[0012] Figure 2 This illustration shows another structural diagram of the electronic device provided in an embodiment of this application.

[0013] Figure 3 A flowchart of a screen reporting method according to an embodiment of this application is shown.

[0014] Figure 4 A flowchart of a screen reporting method according to another embodiment of this application is shown.

[0015] Figure 5 A flowchart of a screen reporting method according to yet another embodiment of this application is shown.

[0016] Figure 6 A flowchart of a screen reporting method according to another embodiment of this application is shown.

[0017] Figure 7 A flowchart of a screen reporting method according to yet another embodiment of this application is shown.

[0018] Figure 8 A flowchart of a screen reporting method according to another embodiment of this application is shown.

[0019] Figure 9 A block diagram of a screen reporting device according to an embodiment of this application is shown.

[0020] Figure 10 A block diagram of an electronic device for performing a screen reporting method according to an embodiment of the present application is shown.

[0021] Figure 11 A block diagram of another electronic device for performing the screen reporting method according to an embodiment of the present application is shown.

[0022] Figure 12 This is a storage unit in this application embodiment for storing or carrying program code that implements the screen reporting method according to this application embodiment. Detailed Implementation

[0023] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, and not all of them. The components of the embodiments of the present application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without inventive effort are within the scope of protection of the present application.

[0024] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0025] Currently, capacitive touchscreens recognize the touch state of contact points on the screen by utilizing the touchscreen's capacitive sensing function. Specifically, capacitive touchscreens use indium tin oxide (ITO) to create horizontal and vertical electrodes on the glass surface, forming an ITO coating. Capacitors are formed where the two sets of electrodes intersect on the ITO layer; that is, these two sets of electrodes constitute the two poles of a capacitor, forming mutual capacitance. When a conductive object touches the touchscreen, it affects the coupling between the two electrodes near the contact point, thereby changing the capacitance of the mutual capacitance formed by these two electrodes. Specifically, when a conductive object touches the touchscreen, the capacitance value at the contact point decreases. Furthermore, the touchscreen system's processor acquires and calculates the current signal to obtain the capacitance of the entire two-dimensional plane of the touchscreen, and can then calculate the capacitance difference at a certain contact point between when an object is touching the touchscreen and when the object is not touching the touchscreen. Further, the touchscreen system calculates and identifies the peak capacitance difference in the contact points with capacitance differences, determines whether the peak value is within a preset reporting threshold, and reports the contact point's status data to the terminal system based on the determination result. The conductive object can be a finger, a capacitive pen, or other similar object. The state data of the contact point includes the coordinate data of the contact point and the event state, which can include the object being lifted, the object being pressed down, and movement after being pressed down.

[0026] As a new type of screen, rollable screens can be applied to various electronic devices equipped with screens. As the name suggests, the screen is rolled up inside the electronic device like a bamboo scroll. At the same time, a motor is embedded inside the electronic device. When the user triggers the switch, the motor starts and the screen can be unfolded or retracted. Meanwhile, the user interface (UI) will also change according to the size of the device. This solves the screen crease problem that existed in previous inward or outward folding screens due to frequent screen folding.

[0027] However, the inventors discovered that during the unfolding or retracting of the rollable screen, to ensure that the screen display module extends or retracts along a predetermined trajectory at the bending position, and to prevent the screen display module from being subjected to force alone and thus causing damage, it is necessary to add an attached rigid structure in the bending area. This rigid structure can be a baffle metal, which serves to guide the movement trajectory and support the balanced force. However, during the unfolding or retracting of the rollable screen, when the mutual capacitance of the individual components of the screen passes through the baffle metal, a capacitance effect occurs, causing a change in capacitance value. Specifically, please refer to the tables below. Tables 1 and 2 show the mutual capacitance data of the individual components when the rollable screen is in the fully unfolded state and when the rollable screen is in the unfolding motion state. As can be seen from the tables, the capacitance data of mutual capacitances RX1-TX1 to RX3-TX3 is significantly smaller when the rollable screen is in the unfolding motion state compared to when the rollable screen is in the fully unfolded state. In other words, even if an object does not touch the touch screen, the capacitance data of a certain contact point on the screen will change, causing the capacitance difference value of that point to fall within the system's preset reporting threshold, causing the touch screen system to report the status data of that coordinate. The same applies to the retracting motion state of the rollable screen. Therefore, during the unfolding or retracting of a rollable screen, the interference from the metal baffle causes changes in capacitance, which can easily lead to random pixel alerts on the screen and affect the user experience.

[0028] Table 1

[0029] RX1 RX2 RX3 RX4 RX5 RX6 RX7 TX1 1000 1000 1000 1000 1000 1000 1000 TX2 1000 1000 1000 1000 1000 1000 1000 TX3 1000 1000 1000 1000 1000 1000 1000 TX4 1000 1000 1000 1000 1000 1000 1000 TX5 1000 1000 1000 1000 1000 1000 1000 TX6 1000 1000 1000 1000 1000 1000 1000 TX7 1000 1000 1000 1000 1000 1000 1000

[0030] Table 2

[0031] RX1 RX2 RX3 RX4 RX5 RX6 RX7 TX1 800 800 800 1000 1000 1000 1000 TX2 800 800 800 1000 1000 1000 1000 TX3 800 800 800 1000 1000 1000 1000 TX4 800 800 800 1000 1000 1000 1000 TX5 800 800 800 1000 1000 1000 1000 TX6 800 800 800 1000 1000 1000 1000 TX7 800 800 800 1000 1000 1000 1000

[0032] Therefore, to overcome the above-mentioned defects, embodiments of this application provide a screen reporting method, apparatus, electronic device, and computer-readable medium. By acquiring and dynamically adjusting the reporting threshold based on the motion state of the touchscreen, the touchscreen system performs touch detection on the touchscreen based on different reporting thresholds, thereby solving the problem of random reporting during the extension and retraction of the touchscreen. The specific screen reporting method will be described in detail in subsequent embodiments.

[0033] The electronic devices involved in the screen reporting method provided in the embodiments of this application will be introduced below.

[0034] Please see Figure 1 , Figure 1 A push-pull electronic device 100 is shown. The electronic device 100 includes a touchscreen 110 and a touchscreen system 120 for determining the touch state of touch points on the touchscreen 110. The touchscreen 110 includes a first display area 111 and a second display area 112, at least a portion of the second display area 112 being expandable or hideable relative to the first display area 111. Figure 1 As shown, when the touchscreen 110 is unfolded, the second display area 112 unfolds relative to the first display area 111, as follows: Figure 2 As shown, when the touchscreen 110 is retracted, the second display area 112 is hidden relative to the first display area 111. The touchscreen 110 can be a flexible display screen.

[0035] Please see Figure 3 , Figure 3 This application illustrates a screen reporting method provided in an embodiment. The method is applied to the processor of the aforementioned electronic device, which may be a mobile phone, tablet computer, or other electronic device with a touchscreen. The electronic device further includes a touchscreen and a touchscreen system for performing touch detection operations on the touchscreen. The touchscreen includes a first display area and a second display area, and at least a portion of the second display area can be expanded or hidden relative to the first display area. Specifically, the method includes:

[0036] S210: Obtain the motion state of the second display area relative to the first display area;

[0037] In some embodiments, the motion state of the second display area relative to the first display area can be either a stationary state or a moving state relative to the first display area. Specifically, the moving state of the second display area relative to the first display area can include a state in which the second display area is unfolding or a state in which the second display area is hiding; the stationary state of the second display area relative to the first display area can include a state in which the second display area has stopped unfolding or a state in which the second display area has stopped hiding.

[0038] In some embodiments, the method for obtaining the motion state of the second display area relative to the first display area may be as follows: the processor detects a signal that the touchscreen begins to unfold or begin to retract, and obtains the motion state of the second display area relative to the first display area, wherein the signal can be sent to the processor by the user triggering a physical button; the processor detects a signal that the touchscreen stops unfolding or stops retracting, and obtains the motion state of the second display area remaining stationary relative to the first display area, wherein the signal can be sent to the processor by the user triggering a physical button.

[0039] S220: If the motion state is that the second display area is stationary relative to the first display area, the touch screen system is triggered to perform a touch detection operation on the touch screen based on the first reporting threshold.

[0040] S230: If the motion state is that the second display area moves relative to the first display area, the touch screen system is triggered to perform a touch detection operation on the touch screen based on the second reporting threshold, wherein the first reporting threshold is less than the second reporting threshold.

[0041] As one implementation method, please refer to Figure 4 , Figure 4 This application illustrates a screen reporting method according to an embodiment, wherein step S220 may include:

[0042] S221: If the motion state is that the second display area is stationary relative to the first display area, the processor sends a first instruction to the touch screen system.

[0043] S222: In response to the first instruction, when a touch point is detected on the touch screen, the touch system determines the touch state of the touch point based on a first reporting threshold.

[0044] Step S230 may include:

[0045] S231: If the motion state is that the second display area moves relative to the first display area, the processor sends a second instruction to the touch screen system.

[0046] S232: The touch screen system responds to the second instruction and, when a touch point is detected on the touch screen, determines the touch state of the touch point based on the second reporting threshold.

[0047] In one implementation, the processor and the touchscreen system interact with each other via an interface. Specifically, the interface can be an Inter-Integrated Circuit (I2C) or a Serial Peripheral Interface (SPI), and the data sent by the processor to the touchscreen system through the interface can be the first instruction or the second instruction.

[0048] As one implementation method, the touchscreen system can detect touch points on the touchscreen by: acquiring real-time capacitance data of the point to be tested within the touchscreen; comparing the real-time capacitance data with reference capacitance data; and determining that the point to be tested is a touch point if the real-time capacitance data changes relative to the reference capacitance data. The reference capacitance data is capacitance data acquired by the touchscreen system at an initial time, where the initial time can be the moment when the touchscreen is stationary and no object is touching the touchscreen.

[0049] As one implementation, the method by which the touchscreen system determines the touch state of the touch point based on a first reporting threshold or a second reporting threshold can be as follows: the touchscreen system acquires the peak value of the capacitance difference of the touch point within a preset period, determines whether the peak value is within a preset reporting threshold, and reports the state data of the touch point to the processor based on the determination result. The preset period can be a fixed duration much shorter than the time required for an object to contact the touchscreen. The peak value of the capacitance difference is the maximum value of the difference between the real-time capacitance data detected within the preset period and the reference capacitance data after capacitance conversion. Further, the touchscreen system performing a touch detection operation on the touchscreen based on the first reporting threshold can be as follows: acquiring the peak value of the capacitance difference of the test point within the touchscreen within a preset period, determining whether the peak value is within the first reporting threshold, and reporting the point based on the determination result. Alternatively, the touchscreen system performing a touch detection operation on the touchscreen based on the second reporting threshold can be as follows: acquiring the peak value of the capacitance difference of the test point within the touchscreen within a preset period, determining whether the peak value is within the second reporting threshold, and reporting the point based on the determination result.

[0050] In one implementation, both the first reporting threshold and the second reporting threshold are preset in the touchscreen system. The touchscreen system responds to the first or second instruction by activating either the first or second reporting threshold to perform touch detection operations on the touchscreen. Specifically, the reporting threshold refers to the threshold for triggering reporting by the touchscreen system, including the reporting threshold for a pressed point and the reporting threshold for a released point. It can be seen that during the process from when an object approaches and contacts the touchscreen to when the object moves away and no longer contacts the touchscreen, the capacitance value at the contact point between the object and the touchscreen will first decrease from its initial value, then increase and return to its initial value. Therefore, the peak capacitance difference of the measured point will first increase and then decrease. During the increase of the peak capacitance difference, if it is greater than or equal to the pressed reporting threshold, the touchscreen system reports the coordinate as the object is pressed to the processor. During the decrease of the peak capacitance difference, if it is less than the released reporting threshold, the touchscreen system reports the coordinate as the object is released to the processor. Furthermore, the processor executes corresponding program code based on the pressed and released object states to perform the user-expected operation, such as opening an application.

[0051] In this embodiment, it can be seen that if the reporting threshold is larger, the peak value of the capacitance difference at the same test point will be more difficult to be greater than or equal to the reporting threshold. In other words, the conditions for the touchscreen system to report that the coordinate is in a pressed state are more stringent, making it more difficult to trigger a press report. Therefore, when the second reporting threshold is greater than the first reporting threshold, when the motion state of the second display area relative to the first display area is detected as relative motion, the touchscreen system is triggered to perform a touch detection operation on the touchscreen based on the second reporting threshold. Even if the capacitance data of the individual mutual capacitance cells of the touchscreen is reduced due to the influence of the device baffle metal, meaning the touchscreen system will still detect a capacitance difference at the test point and obtain the peak value of the capacitance difference when no object touches the screen, the touch detection operation will not trigger a report because the reporting threshold is based on a larger second reporting threshold. For example, if the first reporting threshold is 50, the second reporting threshold could be 100. In some implementations, the second reporting threshold can be obtained by combining the first reporting threshold with multiple touchscreen motion tests performed on the electronic device and statistically analyzing the capacitance change data of the touchscreen during motion without object contact. The unit of the reporting threshold is the difference between the reference capacitance data and the real-time capacitance data after capacitance conversion.

[0052] Therefore, the screen reporting method provided in this application adjusts the reporting threshold of the touch screen system by obtaining the motion state of the second display area relative to the first display area. When the second display area is stationary relative to the first display area, the touch screen system performs touch detection operation on the touch screen based on a smaller first reporting threshold. When the second display area moves relative to the first display area, the touch screen system performs touch detection operation on the touch screen based on a larger second reporting threshold. Since the reporting of touch detection operation based on the second reporting threshold is more difficult to trigger, the problem of random reporting caused by the influence of the baffle metal in the electronic device structure during the movement of the touch screen during unfolding or retraction is improved.

[0053] Please see Figure 5 , Figure 5 This application illustrates a screen reporting method provided by an embodiment of the present application. The method is applied to the processor of the aforementioned electronic device. Specifically, the method includes:

[0054] S310: Obtain the motion state of the second display area relative to the first display area.

[0055] S320: If the motion state is that the second display area is stationary relative to the first display area, the touch screen system is triggered to perform a touch detection operation on the touch screen based on the first reporting threshold.

[0056] The implementation methods of steps S310 and S320 can be referred to the foregoing embodiments, and will not be repeated here.

[0057] S330: If the motion state is that the second display area moves relative to the first display area, determine the portion of the second display area that expands relative to the first display area as the third display area.

[0058] S340: Trigger the touch screen system to perform touch detection operation on the third display area and the first display area based on the second reporting threshold.

[0059] In some implementations, when the second display area stops expanding or hiding relative to the first display area, only a portion of the second display area may be expanded relative to the first display area. In this case, the remaining portion of the second display area of ​​the touchscreen is hidden inside the electronic device and is not used for display. Further, the portion of the second display area that is expanded relative to the first display area can be designated as a third display area, and the touchscreen system can be triggered to perform touch detection operations on the third display area and the first display area based on a second reporting threshold.

[0060] In some implementations, the method for determining the portion of the second display area that expands relative to the first display area as the third display area can be as follows: after the processor obtains the motion state of the second display area relative to the first display area from motion to stillness through the motion detection module, it then obtains the motion distance of the second display area relative to the first display area in the unfolding / folding direction of the touch screen through the motion detection module, and determines the portion of the second display area that expands relative to the first display area based on the motion distance, thereby determining the third display area.

[0061] In some embodiments, the motion detection module detects the motion state and distance of the second display area by receiving signal data from a sensor, calculating the real-time distance between the second display area and the first display area using a travel algorithm, determining whether the second display area is moving or stationary relative to the first display area based on the change in the real-time distance over a specified time, and then obtaining the relative motion distance after determining that the second display area is stationary relative to the first display area. The sensor can be an infrared sensor or a Hall sensor, capable of sensing the distance between the second display area and the first display area and converting it into an electrical signal. Specifically, the specified time can be a fixed duration preset in the motion detection module. If the change in the real-time distance is zero within the specified time, the motion detection module determines that the second display area is stationary relative to the first display area at the end of the specified time, and then calculates and obtains the real-time distance between the second display area and the first display area at the end of the specified time to obtain the motion distance.

[0062] It can be seen that, in this embodiment, the touch screen system only performs touch detection operations on the first display area and a portion of the second display area that is expanded relative to the first display area, namely the third display area.

[0063] As one implementation method, please refer to Figure 6 , Figure 6 This application illustrates a screen reporting method according to an embodiment, wherein step S340 may include:

[0064] S341: If the motion state is that the second display area moves relative to the first display area, the processor sends a second instruction to the touch screen system.

[0065] S342: In response to the second instruction, when a touch point is detected on the first display area and the third display area, the touch system determines the touch state of the touch point based on the second reporting threshold, wherein the third display area is a portion of the second display area that is expanded relative to the first display area.

[0066] The implementation methods of steps S341 and S342 can be referred to the foregoing embodiments, and will not be repeated here.

[0067] Furthermore, considering that if the touchscreen system uses a larger reporting threshold for touch detection, since for a given touch point, the peak capacitance difference of that touch point must be greater than or equal to the press reporting threshold for the touchscreen system to report that the touch point is pressed and proceed with subsequent program execution steps, if a user performs a touch operation on the electronic device while unfolding or unfolding it, and the touch point is within an unaffected area of ​​the touchscreen, the peak capacitance difference of the touched point may not be greater than or equal to the press reporting threshold, resulting in the device failing to respond. In other words, while using a larger reporting threshold improves the issue of erratic reporting in areas where capacitance values ​​change, it also reduces the reporting sensitivity in areas where capacitance values ​​remain unchanged.

[0068] Furthermore, considering that the baffle metal in the electronic device is a portion used to guide the movement of the second display area of ​​the touchscreen and support the expansion of the second display area relative to the first display area, i.e., the baffle metal is not present under the entire touchscreen, and the presence of the baffle only affects the capacitance value of the portion of the touchscreen that passes through the metal during movement, causing it to change. Therefore, please refer to... Figure 7 , Figure 7 This application illustrates a screen reporting method provided by an embodiment of the present application. The method is applied to the processor of the aforementioned electronic device. Specifically, the method includes:

[0069] S410: Obtain the motion state of the second display area relative to the first display area.

[0070] S420: If the motion state is that the second display area is stationary relative to the first display area, the touch screen system is triggered to perform a touch detection operation on the touch screen based on the first reporting threshold.

[0071] The implementation methods of steps S410 and S420 can be referred to the foregoing embodiments, and will not be repeated here.

[0072] S430: If the motion state is that the second display area moves relative to the first display area, determine the portion of the second display area that expands relative to the first display area as the third display area.

[0073] S440: Trigger the touch screen system to perform a touch detection operation on the third display area based on the second reporting threshold and to perform a touch detection operation on the first display area based on the first reporting threshold.

[0074] As one implementation method, please refer to Figure 8 The Figure 8 This application illustrates a screen reporting method according to an embodiment, wherein step S440 may include:

[0075] S441: If the motion state is that the second display area moves relative to the first display area, the processor sends a second instruction to the touch screen system.

[0076] S442: In response to the second instruction, when a touch point is detected on the touch screen, the touch screen system determines whether the touch point is located in a third display area, wherein the third display area is a portion of the second display area that is expanded relative to the first display area.

[0077] The method for detecting touch points in the touch screen system can refer to the aforementioned embodiments, and the method for determining the third display area in the touch screen system can refer to the aforementioned embodiments. Therefore, when the touch screen system detects a touch point on the touch screen, it can determine whether the touch point is located in the third display area by acquiring the coordinate data of the touch point.

[0078] S443: If located in the third display area, the touch screen system determines the touch state of the touch point based on the second reporting threshold.

[0079] S444: If the touch point is located in the first display area, the touch screen system determines the touch state of the touch point based on the first reporting threshold.

[0080] The implementation methods of steps S4341, S443 and S444 can be referred to the foregoing embodiments, and will not be repeated here.

[0081] Please see Figure 9 , Figure 9 The diagram shows a structural block diagram of a screen reporting device 200 provided in an embodiment of this application. The device is applied to the processor of an electronic device. The electronic device also includes a touch screen and a touch screen system for determining the touch state of a touch point to be tested on the touch screen. The touch screen includes a first display area and a second display area. At least a portion of the second display area can be expanded or hidden relative to the first display area. The device may include: a motion detection module 201 and a reporting threshold triggering module 202.

[0082] The motion detection module 201 is used to acquire the motion state of the second display area relative to the first display area.

[0083] The reporting threshold triggering module 202 is used to trigger the touch screen system to perform a touch detection operation on the touch screen based on a first reporting threshold if the motion state is that the second display area is stationary relative to the first display area, and to trigger the touch screen system to perform a touch detection operation on the touch screen based on a second reporting threshold if the motion state is that the second display area moves relative to the first display area.

[0084] Furthermore, the motion detection module 201 can also be used to determine a portion of the second display area that expands relative to the first display area, as the third display area.

[0085] Furthermore, the reporting threshold triggering module 202 can also be used to trigger the touch screen system to perform touch detection operation on the third display area based on the second reporting threshold and to perform touch detection operation on the first display area based on the first reporting threshold.

[0086] Furthermore, the reporting threshold triggering module 202 can also be used to trigger the touch screen system to perform touch detection operations on the third display area and the first display area based on the second reporting threshold.

[0087] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device and module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0088] In the several embodiments provided in this application, the coupling between modules can be electrical, mechanical, or other forms of coupling.

[0089] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0090] Please see Figure 10 , Figure 10This diagram illustrates a structural block diagram of an electronic device according to an embodiment of this application. The electronic device 300 can be a mobile phone, tablet computer, or other electronic device with a touchscreen. The electronic device 300 in this application may include one or more of the following components: a touchscreen 301, a touchscreen system 302, a processor 303, a memory 304, and one or more application programs. The one or more application programs may be stored in the memory 304 and configured to be executed by one or more processors 303. The one or more application programs are configured to perform the methods described in the foregoing method embodiments. The touchscreen 301 may be a capacitive flexible screen, and the touchscreen system 302 may have its own independent processor and memory.

[0091] Processor 303 may include one or more processing cores. Processor 303 connects to various parts within the electronic device 300 using various interfaces and lines, and performs various functions and processes data of the electronic device 300 by running or executing instructions, programs, code sets, or instruction sets stored in memory 304, and by calling data stored in memory 304. Optionally, processor 303 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 110 may integrate one or more of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and Modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understandable that the aforementioned modem may not be integrated into the processor 303, but may be implemented using a separate communication chip.

[0092] The memory 304 may include random access memory (RAM) or read-only memory (ROM). The memory 304 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 304 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described below. The data storage area may also store data created by the electronic device 300 during use (such as phonebook data, audio and video data, chat log data, etc.).

[0093] As one implementation method, please refer to Figure 11 The electronic device 300 may further include a Hall sensor component 305, wherein the Hall sensor component 305 is used to acquire the motion state of the second display area relative to the first display area and send the motion state information to the processor.

[0094] Furthermore, the Hall sensing component may include multiple Hall sensors and a magnet. The Hall sensor is a magnetic field sensor based on the Hall effect. According to the Hall effect, the output voltage of a Hall element is linearly related to the applied magnetic field strength within a certain range. Therefore, after the Hall sensor converts the collected induced quantity (i.e., the magnetic field strength at its location) into a voltage signal, this voltage signal is also linearly related to the magnetic field strength at the location of the Hall sensor. In other words, the magnetic field strength at the location of the Hall sensor can be obtained based on the voltage signal of the Hall sensor. Further, multiple Hall sensors are arranged at fixed distances inside the electronic device, and a magnet is placed below the touchscreen. When the touchscreen is in an unfolded or retracted state, the magnet continuously passes through the Hall sensors, changing the magnitude of the magnetic field strength at the location of the Hall sensors. The Hall sensors convert the collected induced quantity into a voltage signal and transmit this signal to the processor. Through a travel algorithm, the movement distance and movement state of the touchscreen are calculated, thereby determining the movement state of the second display area relative to the first display area.

[0095] Please refer to Figure 12 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable medium 400 stores program code that can be called by a processor to execute the methods described in the above method embodiments.

[0096] Computer-readable storage medium 400 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, computer-readable storage medium 400 includes non-volatile computer-readable storage medium. Computer-readable storage medium 400 has storage space for program code 401 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 401 may be compressed, for example, in a suitable form.

[0097] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A screen reporting method, characterized in that, A processor for use in an electronic device, the electronic device further including a touchscreen and a touchscreen system for performing touch detection operations on the touchscreen, the touchscreen including a first display area and a second display area, at least a portion of the second display area being expandable or hideable relative to the first display area, the method comprising: Obtain the motion state of the second display area relative to the first display area; If the motion state is that the second display area is stationary relative to the first display area, the touch screen system is triggered to perform a touch detection operation on the touch screen based on the first reporting threshold. If the motion state is that the second display area moves relative to the first display area, the touch screen system is triggered to perform a touch detection operation on the touch screen based on the second reporting threshold, wherein the first reporting threshold is less than the second reporting threshold; If the motion state is that the second display area moves relative to the first display area, the touchscreen system is triggered to perform a touch detection operation on the touchscreen based on a second reporting threshold, including: If the motion state is that the second display area moves relative to the first display area, after the motion state of the second display area relative to the first display area changes from motion to stationary, the movement distance of the second display area relative to the first display area in the unfolding / folding direction of the touch screen is obtained, and the part of the second display area unfolded relative to the first display area is determined based on the movement distance, and the third display area is determined. The touchscreen system is triggered to perform a touch detection operation on the third display area based on a second reporting threshold and to perform a touch detection operation on the first display area based on a first reporting threshold.

2. The method according to claim 1, characterized in that, If the motion state is that the second display area is stationary relative to the first display area, the touchscreen system is triggered to perform a touch detection operation on the touchscreen based on a first reporting threshold, including: If the motion state is that the second display area is stationary relative to the first display area, the processor sends a first instruction to the touch screen system; The touch screen system responds to the first instruction and, when a touch point is detected on the touch screen, determines the touch state of the touch point based on a first reporting threshold.

3. The method according to claim 1, characterized in that, If the motion state is that the second display area moves relative to the first display area, the touchscreen system is triggered to perform a touch detection operation on the touchscreen based on a second reporting threshold, including: If the motion state is that the second display area moves relative to the first display area, the processor sends a second instruction to the touch screen system; The touchscreen system responds to the second instruction and, when a touch point is detected on the touchscreen, determines whether the touch point is located in a third display area. The third display area is a portion of the second display area that is expanded relative to the first display area. The third display area is determined based on the distance the second display area moves relative to the first display area in the unfolding / folding direction of the touchscreen after the motion state of the second display area relative to the first display area changes from motion to stillness. If the touch point is located in the third display area, the touch screen system determines the touch state of the touch point based on the second reporting threshold. If the touch point is located in the first display area, the touch screen system determines the touch state of the touch point based on the first reporting threshold.

4. The method according to claim 1, characterized in that, If the motion state is that the second display area moves relative to the first display area, the touchscreen system is triggered to perform a touch detection operation on the touchscreen based on a second reporting threshold, including: If the motion state is that the second display area moves relative to the first display area, the processor sends a second instruction to the touch screen system; The touchscreen system responds to the second instruction and, when a touch point is detected on the first display area and the third display area, determines the touch state of the touch point based on a second reporting threshold. The third display area is a portion of the second display area that is expanded relative to the first display area. The third display area is determined based on the distance the second display area moves relative to the first display area in the unfolding / folding direction of the touchscreen after the motion state of the second display area relative to the first display area changes from motion to stillness.

5. A screen reporting device, characterized in that, A processor for use in an electronic device, the electronic device further including a touch screen and a touch screen system for determining the touch state of a touch point to be tested on the touch screen, the touch screen including a first display area and a second display area, at least a portion of the second display area being expandable or hideable relative to the first display area, the device comprising: A motion detection module is used to acquire the motion state of the second display area relative to the first display area; A reporting threshold triggering module is configured to trigger the touchscreen system to perform a touch detection operation on the touchscreen based on a first reporting threshold if the motion state is that the second display area is stationary relative to the first display area, and to trigger the touchscreen system to perform a touch detection operation on the touchscreen based on a second reporting threshold if the motion state is that the second display area is moving relative to the first display area. The step of triggering the touchscreen system to perform a touch detection operation on the touchscreen based on the second reporting threshold if the motion state is that the second display area is moving relative to the first display area, after the motion state of the second display area relative to the first display area changes from moving to stationary, acquiring the movement distance of the second display area relative to the first display area in the unfolding / folding direction of the touchscreen, determining the unfolded portion of the second display area relative to the first display area based on the movement distance, and determining a third display area; triggering the touchscreen system to perform a touch detection operation on the third display area based on the second reporting threshold and to perform a touch detection operation on the first display area based on the first reporting threshold.

6. An electronic device, characterized in that, include: touchscreen; Touchscreen system; One or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to be used in the method as described in any one of claims 1-4.

7. An electronic device according to claim 6, characterized in that, The electronic device also includes: A Hall effect sensor is used to acquire the motion state of the second display area relative to the first display area and send the motion state information to the processor.

8. A computer-readable storage medium, characterized in that, The readable storage medium stores processor-executable program code, which, when executed by the processor, causes the processor to perform the method according to any one of claims 1-4.

Citation Information

Patent Citations

  • Touch screen point reporting method and related equipment

    CN110475000A

  • Display method and device, computer readable medium and electronic equipment

    CN113206915A