Display control method, display device, and readable storage medium
By adjusting the display refresh rate and touch sampling rate of the display device, the conflict between the screen display timing and the touch scanning timing in the embedded touch display panel was resolved, achieving efficient display and touch coordination to meet the needs of different application scenarios.
Patent Information
- Application Number
- CN202280000820.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-21
- Publication Date
- 2026-11-06
- Estimated Expiration
- 2042-04-21
AI Technical Summary
There is a conflict between the display timing and touch scanning timing of the embedded touch display panel, which limits the display effect and touch sampling accuracy.
By dynamically adjusting the display refresh rate and touch sampling rate of the display device, the working timing of the display device is optimized according to different working modes and user needs, so as to achieve coordination between screen display and touch scanning.
In different application scenarios, it achieves efficient screen display and touch operation, improves display effect and touch accuracy, and meets users' diverse needs for display and touch.
Smart Images

Figure CN117280405B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of display technology, and more particularly to a display control method, a display device, and a readable storage medium. Background Technology
[0002] An in-cell touch panel is a display panel that embeds touch electrodes inside the display panel to enable touch functionality. However, the display timing and touch scanning timing of this type of in-cell touch panel conflict. In other words, touch scanning cannot be performed during the display period when pixels are being charged, and vice versa. Summary of the Invention
[0003] In a first aspect, embodiments of this disclosure provide a display control method applied to a display device, the method comprising the following steps:
[0004] The display refresh rate of the display device is obtained, wherein the display refresh rate includes a first refresh rate and a second refresh rate, and the first refresh rate is greater than the second refresh rate;
[0005] The touch sampling frequency corresponding to the display device is determined according to the display refresh frequency, wherein the touch sampling frequency includes a first sampling frequency corresponding to the first refresh frequency and a second sampling frequency corresponding to the second refresh frequency, and the second sampling frequency is greater than the first sampling frequency;
[0006] The display device is driven to display images according to the determined display refresh rate, and touch information is collected according to the touch sampling frequency.
[0007] In some embodiments, the first sampling frequency is 0, the first refresh frequency is greater than 0, and when the refresh frequency is the first refresh frequency, the working timing of the display device includes a plurality of screen refresh periods set sequentially, and the working timing of one frame of the display device corresponds to one screen refresh frame.
[0008] In some embodiments, the touch sampling frequency is greater than 0, the display refresh frequency is greater than 0, the working time sequence of a frame of the display device includes alternating screen refresh time periods and touch scanning time periods, and all screen refresh time periods in the working time sequence of a frame of the display device correspond to one screen refresh frame.
[0009] In some embodiments, before obtaining the display refresh rate of the display device, the method further includes:
[0010] Obtain the operating mode of the display device;
[0011] The step of obtaining the display refresh rate of the display device includes:
[0012] Obtain the display refresh rate corresponding to the working mode.
[0013] In some embodiments, obtaining the operating mode of the display device includes:
[0014] The display device is confirmed to be in non-touch display mode if any of the following conditions are met:
[0015] Operation input based on the first type of peripheral was detected;
[0016] Received input to disable touch functionality;
[0017] A first-type application was detected to be running.
[0018] In some embodiments, the first type of peripheral includes one or more of a mouse, keyboard, and gaming peripherals.
[0019] In some embodiments, the first type of application includes one or more of a game program and a video player.
[0020] In some embodiments, obtaining the operating mode of the display device includes:
[0021] The operating mode of the display device is confirmed to be touch display mode if any of the following conditions are met:
[0022] Active stylus detected to be in working condition;
[0023] Received input to enable touch functionality;
[0024] The camera detects touch input actions;
[0025] A second type of application was detected to be running.
[0026] In some embodiments, the second type of application includes one or more of a document processing program and a drawing program.
[0027] In some embodiments, the touch display mode includes a first touch display mode and a second touch display mode, wherein the touch sampling frequency corresponding to the first touch display mode and the second touch display mode is greater than 0, and the display refresh frequency corresponding to the first touch display mode and the second touch display mode is different.
[0028] In some embodiments, when the display refresh rate of the display device is in the first refresh rate range, the display device corresponds to the first touch display mode; when the display refresh rate of the display device is in the second refresh rate range, the display device corresponds to the second touch display mode, and the first refresh rate range and the second refresh rate range do not overlap.
[0029] In some embodiments, during the first touch display mode and the second touch display mode, the duration ratio of the screen refresh period and the touch scan period in each frame working sequence of the display device is not equal.
[0030] In some embodiments, the display refresh rate corresponding to the first touch display mode is greater than the display refresh rate corresponding to the second touch display mode, and in each frame of the working sequence of the display device, the proportion of the touch scanning period of the first touch display mode is less than the proportion of the touch scanning period corresponding to the second touch display mode.
[0031] Secondly, embodiments of this disclosure provide a display device, including:
[0032] The display refresh rate determination module is used to obtain the display refresh rate of the display device, wherein the display refresh rate includes a first refresh rate and a second refresh rate, and the first refresh rate is greater than the second refresh rate.
[0033] A touch sampling frequency determination module is used to determine the touch sampling frequency corresponding to the display device based on the display refresh frequency, wherein the touch sampling frequency includes a first sampling frequency corresponding to the first refresh frequency and a second sampling frequency corresponding to the second refresh frequency, and the second sampling frequency is greater than the first sampling frequency;
[0034] The control module is used to drive the display device to display images according to the determined display refresh rate, and to collect touch information according to the touch sampling frequency.
[0035] Thirdly, embodiments of this disclosure provide a display device, including: a memory, a processor, and a program stored in the memory and executable on the processor; the processor is configured to read the program in the memory to implement the steps of the display control method described above.
[0036] Fourthly, embodiments of this disclosure provide a readable storage medium for storing a program that, when executed by a processor, implements the steps of the display control method as described in any of the preceding claims. Attached Figure Description
[0037] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments of this disclosure will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 This is a schematic flowchart of the display control method provided in an embodiment of this disclosure;
[0039] Figure 2 This is a display touch timing diagram provided in an embodiment of the present disclosure;
[0040] Figure 3 This is another schematic flowchart of the display control method provided in the embodiments of this disclosure;
[0041] Figure 4 This is a schematic diagram of the structure of the display device provided in the embodiments of this disclosure;
[0042] Figure 5 This is a schematic diagram of the structure of the display device provided in the embodiments of this disclosure. Detailed Implementation
[0043] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0044] The terms "first," "second," etc., used in the embodiments of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or devices. Additionally, the use of "and / or" in this application indicates at least one of the connected objects, such as A and / or B and / or C, representing seven possibilities: including A alone, B alone, C alone, both A and B present, both B and C present, both A and C present, and A, B, and C present.
[0045] In related technologies, the time required for pixel charging is fixed. To improve the display effect, the embedded touch display panel needs to have a sufficiently high screen refresh rate. Correspondingly, the duration of the screen display sequence also increases. To improve touch accuracy, a sufficiently high touch sampling frequency is required. Correspondingly, the duration of the touch sampling sequence also needs to increase.
[0046] The display timing and touch scanning timing of an embedded touch display panel conflict, which limits both the display effect and the accuracy of touch sampling.
[0047] This disclosure provides a display control method applied to a display device, which may be a laptop computer, a smart all-in-one computer, or other display devices. The display device includes a display panel, and the display panel is specifically an embedded touch display panel.
[0048] Step 101: Obtain the display refresh rate of the display device.
[0049] In this embodiment, the display device can provide different display refresh rates during use. Specifically, in one embodiment, the display refresh rate includes a first refresh rate and a second refresh rate, wherein the first refresh rate is greater than the second refresh rate.
[0050] It should be understood that in the technical solution of this embodiment, the display refresh rate of the display device is adjustable to meet the different requirements of the display refresh rate of the display device under different usage conditions.
[0051] For example, when users play shooting games, they have high requirements for the real-time performance of the screen display. The display device operates in a non-touch display mode, which corresponds to a high display refresh rate. For example, the display refresh rate can be 180Hz.
[0052] For example, when a user watches a high-definition video, they have higher requirements for picture quality and a higher display refresh rate. At the same time, the user may perform operations such as pause and resume via touch. In this case, the display device operates in the third touch display mode mentioned above. In this operating mode, the display device supports touch function and has a relatively high display refresh rate. For example, the display refresh rate can be 120Hz.
[0053] For example, when a user is browsing a webpage normally, the display refresh rate can be 90Hz, and the touch sampling frequency can be [missing information].
[0054] For example, when a user draws using the handwriting function, the screen is basically static. In this working mode, a lower display refresh rate is sufficient to meet the usage requirements. For example, the display refresh rate could be 60Hz.
[0055] It should be understood that the above display refresh rate is for illustrative purposes only, and its specific value is not limited to this.
[0056] Step 102: Determine the touch sampling frequency corresponding to the display panel based on the display refresh rate.
[0057] In this embodiment, different touch sampling frequencies are provided based on the different needs of users for touch functions.
[0058] The touch sampling frequency includes a first sampling frequency corresponding to a first refresh frequency and a second sampling frequency corresponding to a second refresh frequency, wherein the second sampling frequency is greater than the first sampling frequency.
[0059] like Figure 2 As shown, for example, when a user is playing a shooting game, the display refresh rate is 180Hz. At this time, the user does not need to perform touch operations, and the corresponding touch sampling frequency is 0.
[0060] For example, in the third touch display mode for users watching high-definition videos, the display refresh rate can be 120Hz, and the user may need to use the touch function, with a corresponding touch sampling frequency of 60Hz.
[0061] For example, in the second touch display mode when the user is browsing a webpage normally, the display refresh rate can be 90Hz and the touch sampling frequency can be 90Hz, which balances image quality and touch sampling effect.
[0062] For example, in the first touch display mode where the user draws using the handwriting function, the display refresh rate can be 60Hz. However, the drawing process has higher requirements for the real-time performance and accuracy of touch handwriting sampling. Therefore, setting the touch sampling frequency to 120Hz can significantly improve the touch sampling precision and accuracy, thereby helping to more accurately reproduce the touch handwriting.
[0063] It should be understood that the above display refresh rate is for illustrative purposes only, and its specific value is not limited to this.
[0064] Step 103: Drive the display panel to display images according to the determined display refresh rate, and collect touch information according to the touch sampling frequency.
[0065] After determining the display refresh rate and touch sampling rate, the display panel displays images according to the determined display refresh rate, and touch information is collected according to the determined touch sampling rate, so as to obtain a display effect and touch display effect that meet the usage requirements.
[0066] like Figure 1 As shown, in one embodiment, before step 101, the method further includes: obtaining the operating mode of the display device.
[0067] Accordingly, step 101 specifically includes: obtaining the display refresh rate corresponding to the working mode.
[0068] In the technical solution of this embodiment, the display device has a variety of different working modes. In one embodiment, the display device has two working modes: non-touch display mode and touch display mode. In the non-touch display mode, the touch function of the display panel is turned off, while in the touch display mode, the display panel supports touch function.
[0069] In this embodiment, the operating mode of the display device can be determined in different ways.
[0070] In one exemplary embodiment, a corresponding working mode can be selected based on the user's input.
[0071] Using a laptop or personal computer as an example, the user can switch the working mode of the display panel through specific physical or virtual buttons, or switch the working mode of the display panel through a designated control menu using a mouse, keyboard, etc. The user can also provide the above operation input through other means such as voice control, remote control, touchpad, etc.
[0072] When the type of display device changes, adaptive adjustments can be made as needed. For example, for some mobile phones or tablets, whose control relies on touch input, different operating modes corresponding to the touch display input can be selected via touch.
[0073] In some embodiments, obtaining the operating mode of the display device includes:
[0074] The display device is confirmed to be in non-touch display mode if any of the following conditions are met:
[0075] Operation input based on the first type of peripheral was detected;
[0076] Received input to disable touch functionality;
[0077] A first-type application was detected to be running.
[0078] In some embodiments, the first type of peripheral includes one or more of a mouse, keyboard, and gaming peripherals.
[0079] In one exemplary embodiment, the display device is a laptop computer. When the user operates based on a mouse and keyboard, the possibility of using the touch function at the same time is relatively small. Therefore, in this case, the working mode of the display device can be switched to a non-touch display mode.
[0080] Similarly, when a user uses a game controller, or game emulator peripherals such as a steering wheel or sensor gun, the likelihood of the user using the touch function is relatively small. In this case, it can be determined that the electronic device is operating in a non-touch display mode.
[0081] In some other embodiments, users can actively disable the touch function based on operation input, thereby entering a non-touch display mode.
[0082] In other embodiments, the likelihood of a user using touch functionality is also relatively low when a specific first-type application is running. For example, when a user is playing a game or watching high-definition video, the requirements for display quality are high, necessitating a high refresh rate, while the likelihood of needing touch functionality is relatively low. In some embodiments, the first-type application includes one or more of a game program and a video player. Thus, when the display device runs these first-type applications, it enters a non-touch display mode.
[0083] In some embodiments, obtaining the operating mode of the display device includes:
[0084] The operating mode of the display device is confirmed to be touch display mode if any of the following conditions are met:
[0085] Active stylus detected to be in working condition;
[0086] Received input to enable touch functionality;
[0087] The camera detects touch input actions;
[0088] A second type of application was detected to be running.
[0089] In the technical solution of this embodiment, if the active stylus is detected to be in working state, the user is likely to work based on the active stylus, and the user will inevitably use the touch function when using the active stylus.
[0090] In some other embodiments, a camera can be used to confirm whether a user has performed a touch operation based on image recognition.
[0091] It should be understood that if the display device is in a non-touch display mode, the touch operation performed cannot be recognized by the display panel. Therefore, in this embodiment, the touch input action needs to be captured by the camera to activate the working mode corresponding to the touch display mode.
[0092] In some embodiments, the operation input for enabling the touch function can not only refer to the above embodiments, but can also be implemented through gesture commands. For example, when the camera captures a specific gesture, the display panel is controlled to enter the touch display mode.
[0093] In some embodiments, determining whether to enter the touch display mode can be done by judging whether a second type of application is running. In some embodiments, the second type of application includes one or more of a document processing program and a drawing program.
[0094] It's important to understand that both types of applications, including games and other games, can be categorized as either type 1 or type 2. For example, shooting or action games, which require high real-time screen refresh rates and typically don't require touch input, can be identified as corresponding to a non-touch display mode. Conversely, games with lower performance requirements, such as puzzle games, can be identified as belonging to the second type of application. During implementation, the application's type should be determined based on factors such as hardware performance requirements, display needs, and input habits.
[0095] For example, when using a drawing program, touch input is more convenient; in this case, the user should enter the working mode corresponding to the touch display mode. Similarly, when using functions such as slideshows or document presentations, the background is relatively static, and the user may also input annotations or markings by hand. In this case, the requirement for screen refresh rate is relatively low, while the requirement for touch recognition is relatively high. Based on this requirement, the corresponding working mode can be determined.
[0096] In some embodiments, the operating modes include a non-touch display mode corresponding to a first refresh rate and a touch display mode corresponding to a second refresh rate.
[0097] In some embodiments, the first sampling frequency is 0, the first refresh frequency is greater than 0, and the operating timing of the display device includes multiple sequentially set screen refresh periods. One frame of the display device's operating timing corresponds to one screen refresh frame. This can be understood as disabling the touch sampling function of the display panel in this case.
[0098] In non-touch display mode, the display device can reach the highest display refresh rate. In this case, the display refresh rate corresponding to the non-touch display mode is the first refresh rate, and the touch sampling frequency corresponding to the non-touch display mode is the first sampling frequency.
[0099] In another embodiment, the working mode includes multiple touch display modes corresponding to different display refresh rates. Specifically, the touch sampling frequency is greater than 0, the display refresh rate is greater than 0, and the working time sequence of one frame of the display device includes alternating screen refresh period and touch scanning period. All screen refresh periods in the working time sequence of one frame of the display device correspond to one screen refresh frame.
[0100] For example, multiple touch display modes can be a low refresh rate mode with a lower display refresh rate and a high refresh rate mode with a higher display refresh rate.
[0101] It should be understood that the display panel may also include a greater number of operating modes. For example, the display panel may include three operating modes with different display refresh rates. For instance, the operating modes can be referred to as low power mode, balanced mode and high performance mode according to the display refresh rate from low to high.
[0102] It should be understood that the naming is not limited to this. For example, low power mode can also be called energy saving mode, and high performance mode can also be called game mode, etc.
[0103] It should be understood that the number of working modes of this display panel is not limited to this; the number can be further increased, for example, by setting four, five, six, or even more working modes. No further limitations or descriptions are provided here.
[0104] In some other embodiments, the two methods described above can be combined. Specifically, the display panel may include a touch display mode with touch function enabled and a non-touch display mode with touch function disabled. Both the touch display mode and the non-touch display mode may include multiple different numbers of working modes with different display refresh rates.
[0105] For example, the touch display mode includes three operating modes with different display refresh rates, and the non-touch display mode also includes three sub-operating modes with different display refresh rates. In this case, the display panel can be understood to include six different operating modes.
[0106] During implementation, the number of sub-working modes corresponding to both touch display mode and non-touch display mode can be adjusted, and the number is not limited to this.
[0107] In one embodiment, the display panel's operating modes specifically include a non-touch display mode, a first touch display mode, a second touch display mode, and a third touch display mode, thus the display panel includes a total of four operating modes. This embodiment is used as an example for illustration.
[0108] In non-touch display mode, each frame's working sequence consists of multiple consecutively set screen refresh periods, and each frame's working sequence corresponds to one screen refresh frame.
[0109] In touch display mode, the working time sequence of one frame of the display device includes alternating screen refresh time period and touch scan time period, and all screen refresh time periods in the working time sequence of one frame of the display device correspond to one screen refresh frame.
[0110] Furthermore, in some embodiments, in the touch display mode, in the first touch display mode and the second touch display mode, the duration ratio of the screen refresh period and the touch scan period in each frame working sequence of the display device is not equal.
[0111] In the technical solution of this embodiment, in the non-touch display mode, the first sampling frequency corresponding to touch sampling recognition is 0, in other words, touch sampling is in the off state.
[0112] In touch display mode, the working sequence of the display panel includes a screen refresh period and a touch scan period, which are set alternately.
[0113] In the technical solution of this embodiment, under the touch display mode, the ratio of screen refresh time period to touch scan time period is different in different specific working modes.
[0114] like Figure 2 As shown, the time sequence between two adjacent dashed lines represents one frame of operation corresponding to 180Hz. In the figure, D represents the duration of one screen refresh unit, and T represents the duration of one touch scan unit. The example is that the duration of the touch scan unit is equal to the duration of the screen refresh unit.
[0115] Figure 2 The first timing diagram in the middle corresponds to the non-touch display mode. The working timing of this frame includes 8 screen refresh unit durations set in sequence. These 8 screen refresh time periods correspond to one screen refresh frame.
[0116] For example, in the third touch display mode for users watching high-definition videos, the display refresh rate can be 120Hz, the touch sampling frequency is 60Hz, and the duration ratio of the screen refresh period to the touch scanning period is 2:1.
[0117] Specifically, in the third touch display mode, one frame of operation consists of 12 units of duration. One screen refresh period corresponds to two screen refresh units of duration, and one touch scan period corresponds to one touch scan period. In other words, for every two units of screen refresh, one unit of touch scan is performed. Every eight units of duration correspond to one screen refresh frame or touch scan frame, so the display refresh rate can be 120Hz, and the touch sampling frequency is 60Hz.
[0118] like Figure 2 As shown in the second timing diagram, for example, in the second touch display mode when the user is browsing a webpage normally, the display refresh rate can be 90Hz, the touch sampling frequency is 90Hz, and the duration ratio of the screen refresh period to the touch scanning period is 1:1.
[0119] Specifically, a frame's working sequence includes 16 units of duration. One screen refresh period corresponds to one screen refresh unit of duration, and one touch scan period corresponds to one touch scan unit of duration. In other words, for every unit of screen refresh, one unit of touch scan is performed.
[0120] like Figure 2 As shown in the third timing diagram, for example, in the first touch display mode where the user draws using the handwriting function, the display refresh rate can be 60Hz, the touch sampling frequency is 120Hz, and the duration ratio of the screen refresh period to the touch scanning period is 1:2.
[0121] Specifically, a frame working sequence includes 24 units of duration. In this embodiment, one screen refresh period corresponds to one screen refresh unit of duration, and one touch scan period corresponds to two touch scan unit of duration. That is to say, for every unit of screen refresh, two units of touch scan are performed.
[0122] Obviously, during implementation, the ratio of screen refresh time to touch scan time can be adjusted as needed, and its value is not limited to this.
[0123] In some embodiments, each frame working sequence includes a screen refresh period corresponding to a screen refresh frame, and each frame working sequence includes a touch scan period corresponding to m touch scan frames, where m is an integer or decimal greater than 0.
[0124] For example, the ratio of screen refresh time period to touch scan time period is 1:1.5. Each frame of working sequence corresponds to one screen refresh frame, so two frames of working sequence correspond to three touch scan frames.
[0125] Taking a display panel with 1600 display scan lines and 1600 touch scan lines as an example, in the above non-touch display mode, the maximum rated display refresh rate of the display panel under normal working conditions is 180Hz, then the display scan line scanning time is 1 (second) / 180 (Hz) / 1600 (lines) = 3.47 microseconds.
[0126] The 3.47 seconds can be understood as the shortest scanning time that the display panel's scan lines (specifically display scan lines or touch scan lines) can achieve, which corresponds to the aforementioned unit duration.
[0127] In other words, the scanning time for each display scan line or touch scan line is 3.47 microseconds. Thus, when the screen refresh rate is 120Hz, the touch scan frequency is 60Hz, and when the screen refresh rate is 90Hz, the touch scan frequency is 90Hz.
[0128] In this way, when it is necessary to improve the screen refresh rate or screen display quality, a working mode with a higher screen refresh rate can be selected, while when performing tasks such as handwriting recognition that require high accuracy in touch sampling, a working mode with a higher touch sampling frequency can be selected.
[0129] In some embodiments, when the display refresh rate of the display device is in the first refresh rate range, the display device corresponds to the first touch display mode; when the display refresh rate of the display device is in the second refresh rate range, the display device corresponds to the second touch display mode. The first refresh rate range and the second refresh rate range do not overlap.
[0130] like Figure 3 As shown, in the technical solution of this embodiment, when each frame of image is received, it can first detect whether it is in touch display mode. In this embodiment, the touch state can be represented by the identifier stored in the touch register. For example, if the identifier EN=0, it corresponds to non-touch display mode. At this time, the display is scanned according to the display refresh rate corresponding to the signal provided by the data source (e.g., graphics card) to display the image. In this case, the refresh rate of the display panel can be increased to the highest state as needed to provide the best display effect.
[0131] If the identifier EN=1, it corresponds to a non-touch display mode. In this case, the corresponding refresh rate can be determined based on the signal provided by the data source.
[0132] For example, if the screen refresh rate F of the signal provided by the data source is less than or equal to 60Hz, the touch sampling frequency X is determined to be 120Hz; if the screen refresh rate F of the signal provided by the data source is greater than 60Hz and less than or equal to 90Hz, the touch sampling frequency X is determined to be 90Hz; if the screen refresh rate F of the signal provided by the data source is greater than 90Hz and less than or equal to 120Hz, the touch sampling frequency is determined to be 60Hz. Then, image display and touch recognition are performed based on the display refresh rate and touch sampling frequency.
[0133] The above-mentioned frequencies of less than or equal to 60Hz, greater than 60Hz and less than or equal to 90Hz, and greater than 90Hz and less than or equal to 120Hz are the determined different display refresh rate ranges.
[0134] It should be understood that the above values are for illustrative purposes only and are not limited thereto.
[0135] This disclosure provides a display device, which includes a display panel.
[0136] In some embodiments, the display device 400 includes:
[0137] Display refresh rate determination module 401 is used to obtain the display refresh rate of the display device, wherein the display refresh rate includes a first refresh rate and a second refresh rate, and the first refresh rate is greater than the second refresh rate.
[0138] The touch sampling frequency determination module 402 is used to determine the touch sampling frequency corresponding to the display device based on the display refresh frequency, wherein the touch sampling frequency includes a first sampling frequency corresponding to the first refresh frequency and a second sampling frequency corresponding to the second refresh frequency, and the second sampling frequency is greater than the first sampling frequency.
[0139] The control module 403 is used to drive the display device to display an image according to the determined display refresh frequency, and to collect touch information according to the touch sampling frequency.
[0140] In some embodiments, the first sampling frequency is 0, the first refresh frequency is greater than 0, and when the refresh frequency is the first refresh frequency, the working timing of the display device includes a plurality of screen refresh periods set sequentially, and the working timing of one frame of the display device corresponds to one screen refresh frame.
[0141] In some embodiments, the touch sampling frequency is greater than 0, the display refresh frequency is greater than 0, the working time sequence of a frame of the display device includes alternating screen refresh time periods and touch scanning time periods, and all screen refresh time periods in the working time sequence of a frame of the display device correspond to one screen refresh frame.
[0142] In some embodiments, it also includes:
[0143] The working mode acquisition module acquires the working mode of the display device;
[0144] The display refresh rate determination module 401 is specifically used to obtain the display refresh rate corresponding to the working mode.
[0145] In some embodiments, the working mode acquisition module is specifically used for:
[0146] The display device is confirmed to be in non-touch display mode if any of the following conditions are met:
[0147] Operation input based on the first type of peripheral was detected;
[0148] Received input to disable touch functionality;
[0149] A first-type application was detected to be running.
[0150] In some embodiments, the first type of peripheral includes one or more of a mouse, keyboard, and gaming peripherals.
[0151] In some embodiments, the first type of application includes one or more of a game program and a video player.
[0152] In some embodiments, the working mode acquisition module is specifically used for:
[0153] The operating mode of the display device is confirmed to be touch display mode if any of the following conditions are met:
[0154] Active stylus detected to be in working condition;
[0155] Received input to enable touch functionality;
[0156] The camera detects touch input actions;
[0157] A second type of application was detected to be running.
[0158] In some embodiments, the second type of application includes one or more of a document processing program and a drawing program.
[0159] In some embodiments, the touch display mode includes a first touch display mode and a second touch display mode, wherein the touch sampling frequency corresponding to the first touch display mode and the second touch display mode is greater than 0, and the display refresh frequency corresponding to the first touch display mode and the second touch display mode is different.
[0160] In some embodiments, when the display refresh rate of the display device is in the first refresh rate range, the display device corresponds to the first touch display mode; when the display refresh rate of the display device is in the second refresh rate range, the display device corresponds to the second touch display mode, and the first refresh rate range and the second refresh rate range do not overlap.
[0161] In some embodiments, during the first touch display mode and the second touch display mode, the duration ratio of the screen refresh period and the touch scan period in each frame working sequence of the display device is not equal.
[0162] In some embodiments, the display refresh rate corresponding to the first touch display mode is greater than the display refresh rate corresponding to the second touch display mode, and in each frame of the working sequence of the display device, the proportion of the touch scanning period of the first touch display mode is less than the proportion of the touch scanning period corresponding to the second touch display mode.
[0163] The display device 400 of this embodiment can implement all the steps of the above-described display control method embodiment and achieve essentially the same technical effects, which will not be repeated here.
[0164] This disclosure also provides a display device. See also... Figure 5 The display device may include a display panel, a processor 501, a memory 502, and a program 5021 stored in the memory 502 and executable on the processor 501.
[0165] When program 5021 is executed by processor 501, it can implement any of the steps in the above method embodiments and achieve the same beneficial effects, which will not be repeated here.
[0166] Those skilled in the art will understand that all or part of the steps of the methods described in the above embodiments can be implemented by hardware related to program instructions, and the program can be stored in a readable medium.
[0167] This disclosure also provides a readable storage medium storing a computer program. When the computer program is executed by a processor, it can implement any of the steps in the above-described method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0168] The storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0169] It should be noted that the above division of modules is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software via processing element calls; they can be fully implemented in hardware; or some modules can be implemented by processing element calls to software, while others are implemented in hardware. For example, a determination module can be a separate processing element, or it can be integrated into a chip in the aforementioned device. Alternatively, it can be stored as program code in the memory of the aforementioned device, and its function can be called and executed by a processing element of the device. The implementation of other modules is similar. Moreover, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element mentioned here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed through integrated logic circuits in the hardware of the processor element or through software instructions.
[0170] For example, each module, unit, subunit, or submodule can be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs). As another example, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).
[0171] The above description represents the preferred embodiments of this disclosure. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles described herein, and these improvements and modifications should also be considered within the scope of protection of this disclosure.
Claims
1. A display control method applied to a display device, the method comprising the following steps: Obtain the operating mode of the display device; The display refresh rate of the display device is obtained, wherein the display refresh rate includes a first refresh rate and a second refresh rate, and the first refresh rate is greater than the second refresh rate; The touch sampling frequency corresponding to the display device is determined according to the display refresh frequency, wherein the touch sampling frequency includes a first sampling frequency corresponding to the first refresh frequency and a second sampling frequency corresponding to the second refresh frequency, and the second sampling frequency is greater than the first sampling frequency; The display device is driven to display images according to the determined display refresh rate, and touch information is collected according to the touch sampling frequency; The operating mode of the display device includes a touch display mode, which includes a first touch display mode and a second touch display mode. The touch sampling frequency corresponding to the first touch display mode and the second touch display mode is greater than 0, and the display refresh frequency corresponding to the first touch display mode and the second touch display mode is different. In the first touch display mode and the second touch display mode, the ratio of the screen refresh period and the touch scan period in each frame working sequence of the display device is not equal; The display refresh rate corresponding to the first touch display mode is greater than the display refresh rate corresponding to the second touch display mode. In each frame of the working sequence of the display device, the proportion of the touch scanning period of the first touch display mode is less than the proportion of the touch scanning period corresponding to the second touch display mode.
2. The method as described in claim 1, wherein, The first sampling frequency is 0, the first refresh frequency is greater than 0, and when the refresh frequency is the first refresh frequency, the working timing of the display device includes multiple screen refresh periods set sequentially, and the working timing of one frame of the display device corresponds to one screen refresh frame.
3. The method as described in claim 1, wherein, The touch sampling frequency is greater than 0, the display refresh frequency is greater than 0, and the working time sequence of one frame of the display device includes alternating screen refresh time periods and touch scanning time periods. All screen refresh time periods in the working time sequence of one frame of the display device correspond to one screen refresh frame.
4. The method according to any one of claims 1 to 3, wherein, The step of obtaining the display refresh rate of the display device includes: Obtain the display refresh rate corresponding to the working mode.
5. The method of claim 4, wherein, The step of obtaining the operating mode of the display device includes: The display device is confirmed to be in non-touch display mode if any of the following conditions are met: Operation input based on the first type of peripheral was detected; Received input to disable touch functionality; A first-type application was detected to be running.
6. The method of claim 5, wherein, The first type of peripheral includes one or more of the following: mouse, keyboard, and gaming peripheral.
7. The method of claim 5, wherein, The first type of application includes one or more of the following: games and video players.
8. The method of claim 4, wherein, The method of acquiring the operating mode of the display device includes: The operating mode of the display device is confirmed to be touch display mode if any of the following conditions are met: Active stylus detected to be in working condition; Received input to enable touch functionality; The camera detects touch input actions. A second type of application has been detected running.
9. The method of claim 8, wherein, The second type of application includes one or more of document processing programs and drawing programs.
10. The method of claim 1, wherein, When the display refresh rate of the display device is in the first refresh rate range, the display device corresponds to the first touch display mode; when the display refresh rate of the display device is in the second refresh rate range, the display device corresponds to the second touch display mode. The first refresh rate range and the second refresh rate range do not overlap.
11. A display device, comprising: The working mode acquisition module acquires the working mode of the display device; The display refresh rate determination module is used to obtain the display refresh rate of the display device, wherein the display refresh rate includes a first refresh rate and a second refresh rate, and the first refresh rate is greater than the second refresh rate. A touch sampling frequency determination module is used to determine the touch sampling frequency corresponding to the display device based on the display refresh frequency, wherein the touch sampling frequency includes a first sampling frequency corresponding to the first refresh frequency and a second sampling frequency corresponding to the second refresh frequency, and the second sampling frequency is greater than the first sampling frequency; The control module is used to drive the display device to display images according to the determined display refresh rate, and to collect touch information according to the touch sampling frequency; The operating mode of the display device includes a touch display mode, which includes a first touch display mode and a second touch display mode. The touch sampling frequency corresponding to the first touch display mode and the second touch display mode is greater than 0, and the display refresh frequency corresponding to the first touch display mode and the second touch display mode is different. In the first touch display mode and the second touch display mode, the ratio of the screen refresh period and the touch scan period in each frame working sequence of the display device is not equal; The display refresh rate corresponding to the first touch display mode is greater than the display refresh rate corresponding to the second touch display mode. In each frame of the working sequence of the display device, the proportion of the touch scanning period of the first touch display mode is less than the proportion of the touch scanning period corresponding to the second touch display mode.
12. A display device, comprising: Memory, processor, and programs stored in the memory and executable on the processor; The processor is configured to read a program from the memory to implement the steps of the display control method as described in any one of claims 1 to 10.
13. A readable storage medium for storing a program, which, when executed by a processor, implements the steps of the display control method as claimed in any one of claims 1 to 10.
Citation Information
Patent Citations
Compensation method and device of display device
CN113421512A
Touch screen sampling rate adjusting method and electronic equipment
CN113721785A
