Refresh rate configuration method and electronic equipment

By dynamically adjusting the refresh rate based on future interaction information of the display, the problem of image stagnation and power consumption caused by frequent display refresh rates is solved, thus improving the viewing experience.

CN121565073APending Publication Date: 2026-02-24LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511746428.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-25
Publication Date
2026-02-24

AI Technical Summary

Technical Problem

The display frequently adjusts its refresh rate when it detects interactive actions, causing screen freezes and increased power consumption, which affects the viewing experience.

Method used

By acquiring future interaction information between the target object and the display screen, the target refresh rate configuration parameters, including refresh rate adjustment and hold duration, are determined, and the display screen refresh rate is dynamically adjusted.

Benefits of technology

It reduces the frequency of screen refresh rate adjustments, avoids screen freezes, reduces power consumption, and improves the viewing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121565073A_ABST
    Figure CN121565073A_ABST
Patent Text Reader

Abstract

The invention discloses a refresh rate configuration method and device. The method comprises the following steps: acquiring first interaction information between a target object and a display screen; the first interaction information represents interaction information between the target object and the display screen in a future first time period; in response to a received target interaction event, determining a target refresh rate configuration parameter based on the first interaction information; wherein the target refresh rate configuration parameter acts on refresh rate adjustment of the display screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a refresh rate configuration method and electronic device. Background Technology

[0002] In a display, the screen refresh rate can be adaptively adjusted to balance power consumption and user performance.

[0003] Currently, the screen refresh rate is increased when interactive operations are detected on the display, and then decreased after the screen refresh rate is maintained for a certain period of time.

[0004] However, in some scenarios, if the screen refresh rate is adjusted too frequently, the screen may freeze, which not only affects the viewing experience but also increases the power consumption of the display. Summary of the Invention

[0005] In view of the above, this application provides a refresh rate configuration method and apparatus, as follows:

[0006] A refresh rate configuration method includes:

[0007] Obtain first interaction information between the target object and the display screen; the first interaction information represents the interaction information between the target object and the display screen within a future first time period;

[0008] In response to receiving a target interaction event, the target refresh rate configuration parameters are determined based on the first interaction information;

[0009] The target refresh rate configuration parameter is used to adjust the refresh rate of the display screen.

[0010] Optionally, in the above method, the target refresh rate configuration parameters include configuration parameters selected from at least one of the following combinations:

[0011] The first configuration parameter represents the first refresh rate to which the interactive event is triggered.

[0012] The second configuration parameter represents the duration of the interaction event at the second refresh rate.

[0013] Optionally, in the above method, the target refresh rate configuration parameters include a first configuration parameter;

[0014] The first interactive information includes first touch information of a first touch event, wherein the first touch event represents a touch event triggered by a touch operation with a touch distance greater than a first distance;

[0015] The first interactive information includes different first touch information, and the first configuration parameters are different.

[0016] Optionally, in the above method, the first interaction information is determined based on the second interaction information, whereby the second interaction information represents the interaction information between the target object and the display screen during a second historical time period.

[0017] If the second interaction information indicates that the first touch event exists within the second time period, the first touch information is determined to be the first sub-touch information;

[0018] If the second interaction information indicates that the first touch event does not exist within the second time period, the first touch information is determined to be the second sub-touch information;

[0019] The first sub-touch information is different from the second sub-touch information.

[0020] Optionally, in the above method, obtaining the first interaction information between the target object and the display screen includes:

[0021] Acquire second interaction information between the target object and the display screen; the second interaction information represents the interaction information between the target object and the display screen within a second historical time period;

[0022] Based on the second interaction information, the first interaction information between the target object and the display screen is determined.

[0023] Optionally, in the above method, determining the first interaction information between the target object and the display screen based on the second interaction information includes:

[0024] The second interaction information is input into the target model to obtain the first interaction information between the target object and the display screen.

[0025] The above methods are optional, wherein:

[0026] If the target interaction event is a touch event of the first application, the target refresh rate configuration parameter is the first refresh rate configuration parameter;

[0027] If the target interaction event is a touch event that touches the second application, the target refresh rate configuration parameter is the second refresh rate configuration parameter;

[0028] The first refresh rate configuration parameter is different from the second refresh rate configuration parameter.

[0029] Optionally, in the above method, the step of determining the target refresh rate configuration parameters based on the first interaction information in response to receiving the target interaction event includes:

[0030] The first component responds to receiving the target interaction event sent by the second component and determines the target refresh rate configuration parameters based on the first interaction information;

[0031] The second component is used to collect and distribute input events; the first component is used to control the synthesis and display of display data.

[0032] Optionally, in the above method, the target interaction event is a touch event, and the touch event includes one of the following:

[0033] The target object comes into contact with the touch event of the display screen;

[0034] A touch event in which the spatial distance between the target object and the display screen decreases and becomes less than or equal to a second distance.

[0035] A refresh rate configuration device, comprising:

[0036] An information acquisition unit is used to acquire first interaction information between a target object and a display screen; the first interaction information represents the interaction information between the target object and the display screen within a future first time period;

[0037] The parameter determination unit is used to determine the target refresh rate configuration parameters based on the first interaction information in response to receiving the target interaction time.

[0038] The target refresh rate configuration parameter is used to adjust the refresh rate of the display screen.

[0039] An electronic device, comprising:

[0040] Display screen;

[0041] A processor is configured to acquire first interaction information between a target object and the display screen; the first interaction information represents the interaction information between the target object and the display screen within a future first time period; in response to receiving a target interaction time, a target refresh rate configuration parameter is determined based on the first interaction information; wherein the target refresh rate configuration parameter is used for adjusting the refresh rate of the display screen. Attached Figure Description

[0042] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the 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.

[0043] Figure 1 A flowchart illustrating a refresh rate configuration method provided in an embodiment of this application;

[0044] Figure 2 Example diagram showing interactive operations on a target object on a display screen;

[0045] Figure 3 This is an example diagram illustrating the prediction of future first interaction information in the first time period based on historical second interaction information in an embodiment of this application.

[0046] Figure 4 This is an example diagram illustrating the transmission of target interactive events by bypassing framework components in an embodiment of this application;

[0047] Figure 5 Example diagrams showing the transmission of target interaction events generated when the target object touches the display screen and target interaction events generated before the target object touches the display screen, respectively, bypassing the framework component;

[0048] Figure 6 This is a schematic diagram of a refresh rate configuration device provided in an embodiment of this application;

[0049] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0050] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0051] refer to Figure 1 The diagram shown is a flowchart illustrating the implementation of a refresh rate configuration method according to an embodiment of this application. This method can be applied to electronic devices with displays, such as mobile phones, tablets, and laptops. For example, as... Figure 2 As shown, a target object can be interacted with on the display screen. The target object can be a stylus or a user's finger, etc. The technical solution in this embodiment is mainly used to improve the viewing experience of the display screen.

[0052] Specifically, the method in this embodiment may include the following steps:

[0053] Step 101: Obtain the first interaction information between the target object and the display screen.

[0054] The first interaction information represents the interaction information between the target object and the display screen within a future first time period. For example, the first interaction information may include information such as the type of interaction, frequency of interaction, and timing of interaction between the target object and the display screen.

[0055] In one implementation, the target object is a stylus or a user's finger, and the display screen is a touch screen. The display screen can respond to the target object's interactive operations on the display screen, such as touch operations, and generate corresponding interactive events, i.e., touch events, such as the touch event of clicking or the scroll event of sliding.

[0056] In another implementation, the target object can be a user's voice, eye movement, gesture, or other objects, and the display screen can be an interactive display screen with corresponding voice control, eye movement control, and gesture interaction functions. The display screen can generate corresponding interactive events in response to the interactive operations of the target object on the display screen, such as voice input, eye movement, and gesture. The interactive events generated by the user interacting with the display screen through voice, eye movement, gesture, or other objects can also be used as touch events.

[0057] Step 102: In response to receiving the target interaction event, determine the target refresh rate configuration parameters based on the first interaction information.

[0058] The target refresh rate configuration parameter affects the refresh rate adjustment of the display screen.

[0059] For example, in this embodiment, when generating a target interactive event such as a touch event for clicking or a scroll event for sliding on the display screen, the target refresh rate configuration parameter can be determined based on at least one of the first interactive information already obtained, such as interaction type, interaction frequency, and interaction time. Then, the target refresh rate configuration parameter is provided to the display screen, and the display screen adjusts the corresponding screen parameters according to the target refresh rate configuration parameter, such as adjusting the screen refresh rate of the display screen to 120Hz and / or adjusting the duration of the current screen refresh rate, such as 6 seconds. After the display screen is held at the current screen refresh rate for 6 seconds, it is restored to the screen refresh rate before the screen refresh rate was adjusted.

[0060] In one implementation, after determining the target refresh rate configuration parameters in step 102, the target refresh rate configuration parameters can be directly sent to the display screen. The display screen determines whether the target refresh rate configuration parameters match the display screen parameters. If the parameter values ​​in the target refresh rate configuration parameters are inconsistent with the corresponding parameter values ​​in the screen parameters, then the display screen adjusts the corresponding screen parameters according to the target refresh rate configuration parameters; if the parameter values ​​in the target refresh rate configuration parameters are consistent with the corresponding parameter values ​​in the screen parameters, then the display screen does not perform any processing.

[0061] In another implementation, after determining the target refresh rate configuration parameters in step 102, it can be determined whether the target refresh rate configuration parameters have changed relative to the historical refresh rate configuration parameters. If they have changed, the target refresh rate configuration parameters are sent to the display screen, and the display screen adjusts the corresponding screen parameters according to the target refresh rate configuration parameters. If they have not changed, no processing is performed.

[0062] As can be seen from the above technical solution, the refresh rate configuration method provided in this application involves obtaining interaction information between the target object and the display screen within a future first time period and determining the target refresh rate configuration parameters upon receiving a target interaction event, thereby adjusting the refresh rate of the display screen. It is evident that in this embodiment, upon receiving a target interaction event, the refresh rate of the display screen is directly adjusted based on the pre-obtained interaction information between the target object and the display screen within a future first time period. This eliminates the need for multiple consecutive adjustments to the screen refresh rate, thus avoiding screen freezes caused by frequent refresh rate adjustments and improving the viewing experience.

[0063] In one implementation, the configuration parameters included in the target refresh rate configuration parameters are selected from at least one of the following combinations:

[0064] The first configuration parameter represents the first refresh rate to which the interactive event triggers; that is, in this embodiment, the display screen can be switched to the first refresh rate by adjusting the target refresh rate configuration parameter.

[0065] The second configuration parameter represents the duration of the interactive event at the second refresh rate. In other words, in this embodiment, the duration of the display at the second refresh rate can be adjusted by the target refresh rate configuration parameter. After the display is at the second refresh rate for the duration of the second configuration parameter, the display will return to the refresh rate it was at before the refresh rate was adjusted.

[0066] It should be noted that if the target interaction event and the first interaction information do not trigger a change in the refresh rate, then the refresh rate of the display screen is the same before and after the target interaction event, for example, both are the second refresh rate. In this case, the duration of the change triggered by the target interaction event and the first interaction information on the screen refresh rate, i.e., the second refresh rate, is determined.

[0067] If the target interaction event and the first interaction information trigger a change in the refresh rate, then the refresh rate of the display before and after the target interaction event will be different. For example, before the target interaction event, the display is at the historical refresh rate, and after the target interaction event, the display is changed to the first refresh rate. If the target interaction event and the first interaction information simultaneously trigger a change in the duration of the change in the screen refresh rate, then the second refresh rate corresponding to the second configuration parameter in the target refresh rate configuration parameters will be the screen refresh rate changed after the target interaction event, which is the first refresh rate.

[0068] In one scenario, the target refresh rate configuration parameters determined in response to a target interaction event include: a first configuration parameter, which represents the first refresh rate to which the interaction event triggers a change. Based on this, in this embodiment, after the target refresh rate configuration parameters are sent to the display screen, the display screen adjusts its screen refresh rate to the first refresh rate.

[0069] In this embodiment, users perform interactive operations such as clicking, long-pressing, and long-distance swiping in any direction on the mobile phone screen through gestures, eye movements, voice, or fingers. In response to the target interactive event such as clicking, long-pressing, or long-distance swiping, the first refresh rate to which the target interactive event is triggered is determined based on the first interactive information. In this way, the refresh rate of the display screen can be directly adjusted to the first refresh rate triggered by the target interactive event.

[0070] For example, in this embodiment, in response to a target interaction event such as a touch event generated by a user clicking on the display screen with their finger, based on first interaction information such as the interaction type of the click, the target refresh rate configuration parameter is directly determined to include a first refresh rate of 90Hz. After the target refresh rate configuration parameter is sent to the display screen, the display screen adjusts its screen refresh rate from 60Hz to 90Hz.

[0071] For example, in this embodiment, in response to a target interactive event such as a scroll event generated by a user swiping on the display screen with their finger, based on first interactive information such as the interaction type of long-distance swiping, the target refresh rate configuration parameter is directly determined to include a first refresh rate of 120Hz. After the target refresh rate configuration parameter is sent to the display screen, the display screen adjusts its screen refresh rate from 60Hz to 120Hz.

[0072] As can be seen, in this embodiment, the first refresh rate to be adjusted can be determined based on the first interaction information in the first time period of the future for each interaction event, rather than relying solely on the interaction type of the detected interaction event to gradually adjust the refresh rate. This can reduce the number of screen refresh rate adjustments, thereby avoiding screen stagnation caused by frequent refresh rate adjustments and improving the viewing experience of the display.

[0073] In another case, the target refresh rate configuration parameters determined in response to the target interaction event include: a second configuration parameter, which represents the duration of the interaction event at the second refresh rate. Based on this, in this embodiment, after the target refresh rate configuration parameters are sent to the display screen, the display screen maintains its current screen refresh rate (i.e., the second refresh rate) for the duration represented by the second configuration parameter in the target refresh rate configuration parameters.

[0074] In this embodiment, users can perform interactive operations such as clicking, long pressing, and long swiping in any direction on the mobile phone screen through gestures, eye movements, voice, or fingers. In response to the target interactive event such as clicking, long pressing, or long swiping, the duration of the target interactive event at the second refresh rate is determined according to the first interactive information. This allows the display screen to adjust the duration of the display screen at the second refresh rate.

[0075] For example, in this embodiment, in response to a target interactive event such as a scroll event generated by a user swiping on the display screen with their finger, based on first interactive information such as the interaction frequency every 5 seconds, it is determined that the target refresh rate configuration parameter includes a second refresh rate holding duration of 6 seconds. After sending the target refresh rate configuration parameter to the display screen, the display screen holds its second refresh rate for 6 seconds.

[0076] As can be seen, in this embodiment, the required duration of holding the screen at the second refresh rate can be determined based on the first interaction information in the first time period of the future, rather than a fixed duration. Therefore, the duration of holding the screen at the refresh rate can be dynamically extended or shortened according to the interaction frequency in the first time period. For example, if the interaction occurs every 100 seconds or the next interaction is unpredictable, the duration of holding the screen at the second refresh rate can be shortened. This avoids the high power consumption caused by the screen maintaining a high refresh rate for an extended period. If the interaction occurs every 5 seconds, the duration of holding the screen at the second refresh rate can be adjusted from 4 seconds to 6 seconds. By extending the duration, the screen can avoid switching back to the refresh rate after just returning to the refresh rate before the interaction, thus reducing the frequency of screen refresh rate switching and improving the user viewing experience.

[0077] In another scenario, the target refresh rate configuration parameters determined in response to the target interaction event include: a first configuration parameter and a second configuration parameter. The first configuration parameter represents a first refresh rate, and the second configuration parameter represents the duration of holding the second refresh rate. In this case, the second refresh rate and the first refresh rate are the same refresh rate. Based on this, in this embodiment, after sending the target refresh rate configuration parameters to the display screen, the display screen adjusts its screen refresh rate to the first refresh rate, and holds its current screen refresh rate (i.e., the first refresh rate, which is also the second refresh rate) for the duration represented by the second configuration parameter in the target refresh rate configuration parameters.

[0078] In this embodiment, users can perform interactive operations such as clicking, long-pressing, and long-distance swiping in any direction on the mobile phone screen through gestures, eye movements, voice, or fingers. In response to the target interactive event such as clicking, long-pressing, or long-distance swiping, the first refresh rate to which the target interactive event is triggered and the duration of the target interactive event at the second refresh rate are determined based on the first interactive information. This allows the display screen to be adjusted to the first refresh rate and the duration of the display screen at the first refresh rate (i.e., the second refresh rate).

[0079] For example, in this embodiment, in response to a target interaction event such as a scroll event generated by a user clicking on the display screen with their finger, based on first interaction information such as the interaction type of long-distance swiping and the interaction frequency every 5 seconds, the target refresh rate configuration parameters are determined to include the changed first refresh rate of 120Hz and the second refresh rate (i.e., the changed first refresh rate) for a duration of 6 seconds. After the target refresh rate configuration parameters are sent to the display screen, the display screen adjusts its screen refresh rate to 120Hz and maintains it at 120Hz for 6 seconds.

[0080] As can be seen, the target refresh rate configuration parameter in this embodiment can include at least one of a first refresh rate and a duration of holding the second refresh rate, thereby reducing the frequency of adjusting the display refresh rate and balancing the power consumption caused by screen refresh rate switching and the viewing performance provided to the user.

[0081] In one specific implementation, taking the target refresh rate configuration parameters including the first configuration parameter as an example, the first interaction information may include: the first touch information of the first touch event. The first touch event represents a touch event triggered by a touch operation with a touch distance greater than the first distance. The touch distance refers to the contact distance of the target object when performing a touch operation on the display screen. In other words, the first touch event is a touch event where the contact distance of the target object on the display screen exceeds the first distance, such as a scroll event of the sliding type.

[0082] For example, in this embodiment, a scroll event representing a long-distance swipe touch type is obtained in step 101.

[0083] The first touch information can characterize information such as the touch type, touch frequency, and touch interval duration of the first touch event. Correspondingly, the first configuration parameter in the target refresh rate configuration parameters in step 102 is determined based on the first interaction information, such that: different first touch information included in the first interaction information results in different first configuration parameters in the target refresh rate configuration parameters. Consequently, the screen refresh rate of the adjusted display screen will be different.

[0084] For example, the first interaction information includes the touch type of the scroll event, and the first configuration parameter indicates a change to 120Hz, so that the screen refresh rate of the display is adjusted to 120Hz (if the screen refresh rate of the display was originally 120Hz, the screen refresh rate of the display may not need to be adjusted); as another example, the first interaction information includes the touch type of the touch event, and the first configuration parameter indicates a change to 90Hz, so that the screen refresh rate of the display is adjusted to 90Hz (if the screen refresh rate of the display was originally 90Hz, the screen refresh rate of the display may not need to be adjusted).

[0085] As can be seen, in this embodiment, the first configuration parameter in the target refresh rate configuration parameter is determined based on the touch information of the first touch event within the historical time period. Thus, the refresh rate of the display screen is adjusted to match the first touch event, thereby improving the accuracy of the display screen refresh rate adjustment.

[0086] In another specific implementation, taking the target refresh rate configuration parameters including the second configuration parameters as an example, the first interaction information may include: the first touch frequency information of the first touch event and the second touch frequency information of the second touch event. The second touch event represents a touch event triggered by a touch operation with a touch distance less than a second distance. The second distance is less than the first distance. That is to say, the second touch event and the first touch event are different types of touch events divided based on touch distance. For example, the second touch event can be a click-type touch event. In other words, in this embodiment, in step 101, the second touch frequency information representing touch events in the future first time period, such as within 3 seconds, and the first touch frequency information representing scroll events are obtained.

[0087] Based on this, in step 102, when determining the target refresh rate configuration parameters, the relationship between the first touch frequency information and the second touch frequency information can be determined first. If the first touch frequency information is higher than the second touch frequency information, then the first configuration parameter and / or the second configuration parameter in the target refresh rate configuration parameters can be determined based on the first touch event. If the first touch frequency information is lower than the second touch frequency information, then the first configuration parameter and / or the second configuration parameter in the target refresh rate configuration parameters can be determined based on the second touch event.

[0088] For example, in the first interaction information, if the touch frequency of the scroll event is higher than that of the touch event, then based on the scroll event, the target refresh rate configuration parameters are determined to match 120Hz for the scroll event and / or the duration of the scroll event. The 120Hz matching the scroll event can be determined based on the touch type corresponding to the scroll event, while the duration of the scroll event is determined based on the touch frequency corresponding to the scroll event.

[0089] As can be seen, in this embodiment, the first configuration parameter and / or the second configuration parameter in the target refresh rate configuration parameter are determined based on the touch information of touch events that occur more frequently in the historical period. This makes the target refresh rate configuration parameter closer to the changing trend of touch events generated by the target object performing touch operations on the display screen, thereby improving the accuracy of the display refresh rate adjustment.

[0090] Based on the above implementation scheme, the first interaction information is determined based on the second interaction information, which represents the interaction information between the target object and the display screen during the second historical time period. For example, such as Figure 3 As shown, in step 101, the first interaction information in the first time period is obtained based on the second interaction information in the second time period. The first interaction information includes the first touch information of the first touch event.

[0091] Specifically, if the second interaction information represents a first touch event occurring within the second time period, then the first touch information in the first interaction information is determined to be the first sub-touch information;

[0092] If the second interaction information indicates that there is no first touch event during the second time period, then the first touch information in the first interaction information is determined to be the second sub-touch information.

[0093] The first sub-touch information is different from the second sub-touch information.

[0094] For example, with Figure 3For example, if a scroll event exists in the second historical time period, such as 5 seconds, then the first touch information is determined as the first sub-touch information. The first sub-touch information can be a scroll event received in the first future time period, such as 5 seconds. In other words, if the historical interaction event is a scroll event and the time from the current moment does not exceed 5 seconds, then the next interaction event received can be considered as a scroll event. At this time, the first sub-touch information can be determined according to the scroll event. Correspondingly, in the target refresh rate configuration parameters determined based on the first sub-touch information, the first configuration parameter represents 120Hz, and the second configuration parameter represents the duration of holding at 120Hz for 6 seconds. In this way, in continuous swiping touch scenarios, the next touch event can be predicted in advance as a scroll event, and the corresponding first refresh rate of 120Hz can be set accordingly. The duration of maintaining the 120Hz refresh rate corresponding to the scroll event is extended according to the predicted touch frequency of the first scroll event in the future. As a result, when a touch operation occurs, it is not necessary to wait for the target object to leave the display screen to determine it as the first touch event, thereby speeding up the process of determining the first refresh rate. It also avoids the display screen refresh rate being adjusted to the new refresh rate again after switching to the original refresh rate due to the next swipe touch. This reduces the frequency of repeated adjustment of the display screen refresh rate, thereby reducing the display's power consumption and improving the user's viewing experience.

[0095] If no scroll event occurs in the second historical time period, then the first touch information is determined to be the second sub-touch information. The second sub-touch information can be a touch event received in the first time period in the future, such as within 5 seconds, if it is not a scroll event but a touch event. Accordingly, in the target refresh rate configuration parameters determined based on the second sub-touch information, the first configuration parameter represents 90Hz, and the second configuration parameter represents the duration of holding at 90Hz for 5 seconds.

[0096] As can be seen, in this embodiment, the touch information of the first touch event in the future period is predicted based on whether there is a first touch event in the historical period. This allows for the prediction of the touch type of the next touch event in advance, thereby setting the corresponding first refresh rate and adjusting the holding time of the new refresh rate according to the predicted touch frequency of the touch events in the future first period. As a result, when a target interaction event is generated, it is not necessary to wait for the target object to leave the display screen to determine that the target interaction event is the first touch event, thereby speeding up the process of determining the target refresh rate configuration parameters. This not only improves the efficiency of switching the screen refresh rate, but also reduces the frequency of repeated adjustments to the screen refresh rate, thereby reducing the power consumption of the display screen and improving the user's viewing experience.

[0097] Meanwhile, based on users' display usage habits, in some operating scenarios, certain types of touch operations are usually performed multiple times consecutively, and the corresponding touch events are also generated continuously. For example, a user might repeatedly swipe through a product page in a shopping app on their phone, or repeatedly tap the reading page of a novel app on their phone. Therefore, in this embodiment, the touch information of the first touch event in a future time period is predicted based on whether there was a first touch event in a historical time period. This way, the obtained first touch information is more in line with users' display usage habits, making the first refresh rate and / or the duration of holding the second refresh rate in the target refresh rate configuration parameters more accurate, thereby improving the accuracy of display adjustment.

[0098] In one implementation, obtaining the first interaction information in step 101 can be achieved in the following way:

[0099] First, the second interaction information between the target object and the display screen is obtained. This second interaction information represents the interaction information between the target object and the display screen within a second historical time period, such as... Figure 3 As shown, the second interaction information may include touch information of historical touch events generated by historical touch operations between the target object and the display screen during the second historical time period, such as at least one of the touch information of historical touch events, such as touch type, touch frequency, touch interval duration, etc.

[0100] Then, based on the second interaction information, the first interaction information between the target object and the display screen is determined.

[0101] by Figure 3 For example, in this embodiment, based on the second interaction information in the second historical time period, the first interaction information in the first future time period is determined, such as the touch information of the predicted touch event generated by the touch operation between the target object and the display screen in the first future time period, such as at least one of the touch information of the predicted touch event, such as the touch type, touch frequency, touch interval duration, etc.

[0102] For example, in this embodiment, the frequency of historical touch events, such as touch events or scroll events, within the second historical time period is statistically analyzed. If multiple consecutive high-frequency historical touch events, such as touch events or scroll events, occur, the duration of holding the screen refresh rate can be dynamically extended. The first interaction information obtained accordingly includes the extended duration of holding the screen refresh rate. As a result, when adjusting the refresh rate of the display screen, the frequency of repeatedly adjusting the refresh rate can be reduced, thereby reducing the fluctuation of the display screen refresh rate and improving the user's viewing experience of the display screen.

[0103] Based on this, in step 102 of this embodiment, when a target interaction event occurs, the target refresh rate configuration parameters can be determined based on the first interaction information so as to adjust the refresh rate of the display screen.

[0104] As can be seen, in this embodiment, the interaction information of the future period is predicted by the interaction information in the historical period and the refresh rate of the display screen is adjusted accordingly, thereby improving the accuracy of the display screen refresh rate adjustment.

[0105] In one specific implementation, in step 101, when determining the first interaction information between the target object and the display screen based on the second interaction information, the second interaction information can be input into the target model to obtain the first interaction information between the target object and the display screen.

[0106] The target model can be a machine learning model that can identify the second interaction information input to it and generate the first interaction information corresponding to the second interaction information. For example, the target model can predict the touch type, touch time, and correlation between consecutive touch events based on the touch type, touch frequency, and touch interval duration of touch events in the second historical time period.

[0107] For example, the target model can be a Transformer architecture model; or it can be a model built based on a Convolutional Neural Network (CNN). Specifically, the target model is trained using sample interaction information, which includes first sample interaction information as input and second sample interaction information as output labels. The first sample interaction information is the interaction information obtained in a specific time period before the second sample interaction information. Thus, after training, the target model can process the second interaction information of the historical second time period and predict the first interaction information of the future first time period. The target model involved in the embodiments of this application can be a general large model or an expert large model obtained by fine-tuning according to requirements. The embodiments of this application do not limit this.

[0108] Specifically, in this embodiment, the target model can be a predictive reasoning model for interactive information. The second interactive information in the second historical time period is used as the input of the target model, and the target model can predict the first interactive information in the first future time period.

[0109] For example, with Figure 3For example, in this embodiment, the second interaction information within the historical second time period, such as the touch information of historical touch events generated by historical touch operations between the target object and the display screen, is input into the target model. The target model outputs the first interaction information within the future first time period, such as the touch information of predicted touch events generated by touch operations between the target object and the display screen within the future first time period, including at least one of the following touch information: touch type, touch frequency, touch interval duration, etc. Based on this, in step 102 of this embodiment, when a target interaction event occurs, the target refresh rate configuration parameters can be determined based on the first interaction information output by the target model to adjust the refresh rate of the display screen.

[0110] As can be seen, in this embodiment, the prediction of interactive information can be achieved through the target model, thereby improving the accuracy and efficiency of obtaining interactive information, and further improving the accuracy and efficiency of adjusting the display refresh rate.

[0111] In one implementation, when determining the target refresh rate configuration parameters in step 102 of this embodiment, it can be done in conjunction with the application corresponding to the target interaction event. The target refresh rate configuration parameters determined will be different for touch events of different applications, as follows:

[0112] If the target interaction event is an interaction event that touches the first application, then the target refresh rate configuration parameter is determined to be the first refresh rate configuration parameter;

[0113] If the target interaction event is an interaction event that touches the second application, then the target refresh rate configuration parameter is determined to be the second refresh rate configuration parameter;

[0114] The first refresh rate configuration parameters are different from the second refresh rate configuration parameters.

[0115] In one specific implementation, the first application and the second application are application programs of different functional types. For example, the first application is a reading application, which can perform functions such as information retrieval or information viewing; the second application is an interactive application, which can perform functions such as information interaction or document editing.

[0116] Specifically, for two applications with different functional types, based on their different interaction characteristics, in this embodiment, after predicting the first interaction information in the first time period in the future, the target refresh rate configuration parameters determined based on the first interaction information are different when the target interaction event is received. For example, the duration of the second refresh rate set for the display screen is different for the interaction events generated by touch applications with different functional types.

[0117] For example, the first application is a novel application, and the second application is a chat application. In this embodiment, the duration of holding the second refresh rate is longer in response to the target interaction event generated by touching the novel application, and shorter in response to the target interaction event generated by touching the chat application. This can meet the user's need for a longer high refresh rate for long-term viewing of the novel application, and also meet the user's need for a shorter high refresh rate for occasional viewing of the chat application. This achieves a balance between display power consumption and display viewing experience, thereby improving the user's experience of using the display.

[0118] In another specific implementation, the first application and the second application are applications with different requirements for the upper limit of the display refresh rate. For example, the first application is an application that requires a high upper limit for the display, while the second application is an application that does not require a high upper limit for the display.

[0119] Specifically, for two applications with different requirements for the upper limit of the display refresh rate, in this embodiment, after predicting the first interaction information in the first time period in the future, the target refresh rate configuration parameters determined based on the first interaction information are different when the target interaction event is received. For example, the first refresh rate set for the display is different for the interaction events generated by applications with different upper limit refresh rates for touch.

[0120] For example, the first application is a comic reading application (which requires a high upper limit for the refresh rate of the display screen), and the second application is a social application (which requires a low upper limit for the refresh rate of the display screen). In this embodiment, the first refresh rate determined in response to the target interaction event generated by the comic reading application can be 120Hz, and the first refresh rate determined in response to the target interaction event generated by the touch social application can be 100Hz. This can meet the refresh rate requirements of different applications, thereby achieving a balance between display power consumption and application user experience, and thus improving the user's experience of using the display screen.

[0121] As can be seen, this embodiment allows for the adjustment of different configuration parameters for different applications, which can meet the user's needs for the display screen and thus improve the user's experience of using the display screen.

[0122] In one implementation, step 102 of this embodiment, when determining the target refresh rate configuration parameters, can be achieved in the following way:

[0123] The first component responds to the target interaction event sent by the second component and determines the target refresh rate configuration parameters based on the first interaction information.

[0124] The first component and the second component are components deployed in the operating system of the electronic device where the display screen is located. The first component is used to collect and distribute input events, and the second component is used to control the synthesis and display of display data. For example, the first component can be the Surfaceflinger component in the operating system, and the second component can be the inputflinger component in the operating system. The Surfaceflinger component directly receives the target interaction events sent by the inputflinger component (bypassing other components between the inputflinger component and the Surfaceflinger component), thus obtaining the target interaction information in advance. Based on this, in response to the received target interaction event, and based on the first interaction information, it determines the target refresh rate configuration parameters and sends the target refresh rate configuration parameters to the display screen. The display screen adjusts the screen refresh rate and the duration of holding the screen refresh rate according to the first configuration parameter and / or the second configuration parameter in the target refresh rate configuration parameters.

[0125] Furthermore, the operating system also deploys a third component, such as the framework component, and a fourth component, namely the touchdriver component. The second component responds to the fourth component by receiving the target interaction event and then sends the target interaction event to the first and third components respectively.

[0126] The third component, such as a framework component, is used to feed back the target interaction event to the corresponding target window, which can be the window of an application (APP) to adjust the frame rate of the target window. For example, the third component can be a framework component. The fourth component is used to detect the touch operation of the target object on the display screen and generate the target interaction event. For example, the fourth component can be a touch driver component.

[0127] For example, such as Figure 4As shown, the operating system deploys at least the following components: touch driver (the fourth component), input flinger (the second component), framework (the third component), Surfaceflinger (the first component), APP window, and UI update component. In this embodiment, the touch driver component detects the target interaction event and sends it to the input flinger component. The input flinger component processes and distributes the target interaction event, such as determining whether the target interaction event is reasonable and, if so, sending it to the Surfaceflinger component and the framework component. The Surfaceflinger component determines the target refresh rate configuration parameters based on the first interaction information and sends them to the display screen. Simultaneously, the framework component sends the target interaction event to the APP window. The APP window adjusts its corresponding frame rate through the UI update component. Thus, by bypassing the framework component and sending the target interaction event directly from the input flinger component to the Surfaceflinger component, the Surfaceflinger component can send the target refresh rate configuration parameters to the display screen while the APP window is updating its frame rate, thereby accelerating the display screen refresh rate adjustment process, improving refresh rate adjustment efficiency, and ensuring the synchronization between the APP window's frame rate update and the display screen's refresh rate adjustment, thus improving responsiveness.

[0128] It should be noted that the Surfaceflinger component, input flinger component, framework component, touchdriver component, APP window and UI update component, etc. can be found in the descriptions in the relevant technologies, and will not be described in detail here.

[0129] As can be seen, in this embodiment, the received target interaction event is directly sent to the first component on the second component, and the first component determines the target refresh rate configuration parameters based on the first interaction information. This can shorten the transmission process of the target interaction event, thereby speeding up the adjustment of the display refresh rate and improving the efficiency of adjusting the display refresh rate.

[0130] Meanwhile, in this embodiment, the target interaction event is still transmitted to the APP window through a third component, which does not affect the adjustment of the frame rate in the APP window.

[0131] In one implementation, the target interaction event is a touch event, which can include one of the following:

[0132] Touch events where the target object comes into contact with the display screen;

[0133] A touch event where the spatial distance between the target object and the display screen decreases and becomes less than or equal to a second distance.

[0134] When the spatial distance between the target object and the display screen decreases and is less than or equal to the second distance, it refers to a touch event in which the target object moves toward the display screen and is about to come into contact with it.

[0135] In other words, in this embodiment, the target interaction event can be generated before the target object touches the display screen. In this way, the target refresh rate configuration parameters can be determined in advance in response to the target interaction event, thereby improving the efficiency of adjusting the display screen refresh rate.

[0136] For example, such as Figure 5 As shown, the touch driver component generates a target interaction event when the target object touches the display screen, and sends the target interaction event to the input flinger component. The input flinger component is used to bypass the framework component and send the target interaction event to the Surfaceflinger component when the target interaction event is reasonable. It also sends the event to the framework component. The Surfaceflinger component determines the target refresh rate configuration parameters based on the first interaction information and sends the target refresh rate configuration parameters to the display screen. At the same time, the framework component sends the target interaction event to the APP window. The APP window adjusts the corresponding frame rate through the UI update component.

[0137] For example, such as Figure 5As shown, the touch driver component generates a target interaction event before the target object (such as a finger or stylus) moves towards and touches the display. This target interaction event can also be understood as a pre-touch event. The generation of the pre-touch event precedes the generation of the target interaction event generated when the target object fully touches the display. This allows the target interaction event to be sent to the input flinger component a certain amount of time in advance. If the target interaction event is reasonable, the input flinger component bypasses the framework component and sends it to the Surfaceflinger component, which can further speed up the process of the Surfaceflinger component in determining the target refresh rate configuration parameters and improve the efficiency of refresh rate adjustment. The input flinger component also sends the target interaction event to the framework component. Based on the first interaction information, the Surfaceflinger component determines the target refresh rate configuration parameters and sends them to the display. Simultaneously, the framework component sends the target interaction event to the app window, and the app window adjusts its corresponding frame rate through the UI update component.

[0138] As can be seen, in this embodiment, the target interaction event can be generated one step in advance, so that the target refresh rate configuration parameters can be determined one step in advance in response to the target interaction event, thereby improving the efficiency of adjusting the display refresh rate.

[0139] It should be noted that while the third component, such as the framework component, sends the target interaction event to the target window, such as the APP window, it can also send the target interaction event to the first component, such as the SurfaceFlinger component. Thus, the first component can receive the target interaction event twice. After receiving the target interaction event sent by the second component for the first time, the first component will receive the target interaction event sent by the third component after a certain period of time. In response to the first target interaction event, the first component determines the target refresh rate configuration parameters and adjusts the display refresh rate accordingly. Afterward, if the display refresh rate matches the target refresh rate configuration parameters determined in response to the second target interaction event, then the first component does not need to respond to the target interaction event.

[0140] refer to Figure 6 This is a schematic diagram of a refresh rate configuration device provided in an embodiment of this application. This device can be deployed in electronic devices with displays, such as mobile phones, tablets, and laptops. For example, as... Figure 2As shown, a target object can be interacted with on the display screen. The target object can be a stylus or a user's finger, etc. The technical solution in this embodiment is mainly used to improve the viewing experience of the display screen.

[0141] Specifically, the refresh rate configuration device in this embodiment may include the following structure:

[0142] The information acquisition unit 601 is used to acquire first interaction information between the target object and the display screen; the first interaction information represents the interaction information between the target object and the display screen in a future first time period.

[0143] The parameter determination unit 602 is used to determine the target refresh rate configuration parameters based on the first interaction information in response to receiving the target interaction time.

[0144] The target refresh rate configuration parameter is used to adjust the refresh rate of the display screen.

[0145] As can be seen from the above technical solution, the refresh rate configuration device provided in this application obtains the interaction information between the target object and the display screen within a future first time period and determines the target refresh rate configuration parameters upon receiving a target interaction event, thereby adjusting the refresh rate of the display screen. It is evident that in this embodiment, upon receiving a target interaction event, the refresh rate of the display screen is adjusted based on the interaction information between the target object and the display screen within a future first time period, eliminating the need for multiple consecutive adjustments to the screen refresh rate. This avoids the screen freeze caused by frequent refresh rate adjustments, thereby improving the viewing experience.

[0146] In one implementation, the target refresh rate configuration parameters include configuration parameters selected from at least one of the following combinations:

[0147] The first configuration parameter represents the first refresh rate to which the interactive event is triggered.

[0148] The second configuration parameter represents the duration of the interaction event at the second refresh rate.

[0149] In one implementation, the target refresh rate configuration parameter includes a first configuration parameter;

[0150] The first interactive information includes first touch information of a first touch event, wherein the first touch event represents a touch event triggered by a touch operation with a touch distance greater than a first distance;

[0151] The first interactive information includes different first touch information, and the first configuration parameters are different.

[0152] In one implementation, the first interaction information is determined based on second interaction information, which represents the interaction information between the target object and the display screen during a second historical time period; if the second interaction information indicates that the first touch event exists during the second time period, the first touch information is determined to be first sub-touch information; if the second interaction information indicates that the first touch event does not exist during the second time period, the first touch information is determined to be second sub-touch information; the first sub-touch information is different from the second sub-touch information.

[0153] In one implementation, the information acquisition unit 601 is specifically used to: acquire second interaction information between the target object and the display screen; the second interaction information represents the interaction information between the target object and the display screen within a second historical time period; and determine first interaction information between the target object and the display screen based on the second interaction information.

[0154] Specifically, when the information acquisition unit 601 determines the first interaction information between the target object and the display screen based on the second interaction information, it is used to: input the second interaction information into the target model to obtain the first interaction information between the target object and the display screen.

[0155] In one implementation, if the target interaction event is an interaction event of touching a first application, the target refresh rate configuration parameter is a first refresh rate configuration parameter; if the target interaction event is an interaction event of touching a second application, the target refresh rate configuration parameter is a second refresh rate configuration parameter; wherein the first refresh rate configuration parameter and the second refresh rate configuration parameter are different.

[0156] In one implementation, the parameter determination unit 602 is specifically used for: the first component responding to receiving a target interaction event sent by the second component, determining target refresh rate configuration parameters based on the first interaction information; wherein, the second component is used to collect and distribute input events; and the first component is used to control the synthesis and display of display data.

[0157] In one implementation, the target interaction event is a touch event, which includes one of the following:

[0158] The target object comes into contact with the touch event of the display screen;

[0159] A touch event in which the spatial distance between the target object and the display screen decreases and becomes less than or equal to a second distance.

[0160] It should be noted that the specific implementation of each unit in this embodiment can be referred to the corresponding content above, and will not be described in detail here.

[0161] refer to Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device can be a mobile phone, tablet, or laptop, etc. The electronic device in this embodiment may include the following structure:

[0162] Display 701;

[0163] Processor 702, such as a central processing unit (CPU) or a graphics processing unit (GPU), is used to acquire first interaction information between the target object and the display screen 701; the first interaction information represents the interaction information between the target object and the display screen within a future first time period; in response to receiving the target interaction time, a target refresh rate configuration parameter is determined based on the first interaction information; wherein, the target refresh rate configuration parameter is used for adjusting the refresh rate of the display screen.

[0164] As can be seen from the above technical solution, in the electronic device provided by this application embodiment, the processor obtains the interaction information between the target object and the display screen within a future first time period, and determines the target refresh rate configuration parameters upon receiving a target interaction event, thereby adjusting the refresh rate of the display screen. It is evident that in this embodiment, upon receiving a target interaction event, the refresh rate of the display screen is directly adjusted based on the pre-obtained interaction information between the target object and the display screen within a future first time period. This eliminates the need for multiple consecutive adjustments to the screen refresh rate, thus avoiding screen freezes caused by frequent refresh rate adjustments and improving the viewing experience.

[0165] It should be noted that the specific implementation of the processor in this embodiment can be referred to the corresponding content above, and will not be described in detail here.

[0166] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.

[0167] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0168] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0169] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A refresh rate configuration method, comprising: Obtain the initial interaction information between the target object and the display screen; The first interaction information represents the interaction information between the target object and the display screen within a future first time period; In response to receiving a target interaction event, the target refresh rate configuration parameters are determined based on the first interaction information; The target refresh rate configuration parameter is used to adjust the refresh rate of the display screen.

2. The method according to claim 1, wherein the target refresh rate configuration parameters include configuration parameters selected from at least one of the following combinations: The first configuration parameter represents the first refresh rate to which the interactive event is triggered. The second configuration parameter represents the duration of the interaction event at the second refresh rate.

3. The method according to claim 2, wherein the target refresh rate configuration parameter includes a first configuration parameter; The first interactive information includes first touch information of a first touch event, wherein the first touch event represents a touch event triggered by a touch operation with a touch distance greater than a first distance; The first interactive information includes different first touch information, and the first configuration parameters are different.

4. The method according to claim 3, wherein the first interaction information is determined based on the second interaction information, and the second interaction information represents the interaction information between the target object and the display screen during a second historical time period; If the second interaction information indicates that the first touch event exists within the second time period, the first touch information is determined to be the first sub-touch information; If the second interaction information indicates that the first touch event does not exist within the second time period, the first touch information is determined to be the second sub-touch information; The first sub-touch information is different from the second sub-touch information.

5. The method according to claim 1, wherein obtaining the first interaction information between the target object and the display screen includes: Obtain the second interaction information between the target object and the display screen; The second interaction information represents the interaction information between the target object and the display screen during the second historical time period; Based on the second interaction information, the first interaction information between the target object and the display screen is determined.

6. The method according to claim 5, wherein determining the first interaction information between the target object and the display screen based on the second interaction information comprises: The second interaction information is input into the target model to obtain the first interaction information between the target object and the display screen.

7. The method according to claim 1, wherein: If the target interaction event is an interaction event that touches the first application, the target refresh rate configuration parameter is the first refresh rate configuration parameter; If the target interaction event is an interaction event that touches the second application, the target refresh rate configuration parameter is the second refresh rate configuration parameter; The first refresh rate configuration parameter is different from the second refresh rate configuration parameter.

8. The method according to claim 1, wherein in response to receiving a target interaction event, determining the target refresh rate configuration parameters based on the first interaction information includes: The first component responds to receiving the target interaction event sent by the second component and determines the target refresh rate configuration parameters based on the first interaction information; The second component is used to collect and distribute input events; the first component is used to control the synthesis and display of display data.

9. The method according to claim 1, wherein the target interaction event is a touch event, and the touch event includes one of the following: The target object comes into contact with the touch event of the display screen; A touch event in which the spatial distance between the target object and the display screen decreases and becomes less than or equal to a second distance.

10. An electronic device, comprising: Display screen; The processor is used to acquire first interaction information between the target object and the display screen; The first interaction information represents the interaction information between the target object and the display screen within a future first time period; In response to receiving the target interaction time, a target refresh rate configuration parameter is determined based on the first interaction information; wherein the target refresh rate configuration parameter is used for adjusting the refresh rate of the display screen.