Display method and device, electronic equipment and storage medium
By determining the target frame rate based on the target time period and optical parameter curve in the display panel, the flickering and color offset problems under multi-frame rate display are solved, and the frame rate is automatically reduced when new image data is not received for a long time, reducing system power It consumes, extends battery life, and improves user experience and frame rate selectability.
Patent Information
- Application Number
- CN202310525726.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-10
- Publication Date
- 2024-11-12
AI Technical Summary
In multi-frame rate display scenarios, the display panel is prone to flickering, color shifting and other problems, which affects the user experience. The system power consumption is high when new image data is not received for a long time, shortening battery life time.
When the target time period is greater than or equal to the preset time threshold, the target frame rate of the display panel is determined according to the target time period, and the target is determined according to the correspondence between multiple frame rates within the preset frame rate range and optical parameters, and the target is determined according to the corresponding relationship between multiple frame rates and optical parameters within the preset frame rate range. Optical parameter curve, realizes frame rate switching to solve flicker and color offset problems, and automatically reduces frame rate to reduce power consumption when new image data is not received for a long time.
It effectively solves the problems of flickering and color shifting during frame rate switching, extends battery life, increases the diversity and selectability of frame rate switching, and improves the user experience.
Smart Images

Figure CN118945285A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of screen display technology, and in particular to a display method, device, electronic device and storage medium. Background Art
[0002] As mobile phones, laptops and other electronic devices continue to pursue display performance, in order to balance display effects and system power consumption, multi-frame rate display is widely used in the display of various electronic devices. Electronic devices can switch between multiple different frame rates.
[0003] However, due to the semiconductor device characteristics of the display panel, the display effect consistency in multi-frame rate display scenarios is poor. During the frame rate switching process, the display panel will have problems such as flickering and color deviation, affecting the user experience. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a display method, device, electronic device and storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a display method is provided, which is applied to a terminal, and the method includes: when a target time period is greater than or equal to a first preset time threshold, determining a target frame rate of a display panel of the terminal according to the target time period; the target time period is a time period between a current moment and a historical moment corresponding to the last time image display data of a target image was received; determining target optical parameters corresponding to the target frame rate according to a target optical parameter curve; the target optical parameter curve is a correspondence between a second frame rate and optical parameters determined according to a plurality of first frame rates within a preset frame rate range; the second frame rate includes the first frame rate, and the number of the second frame rates is greater than the number of the first frame rates; and switching the frame rate of the display panel to the target frame rate according to the target optical parameters.
[0006] Optionally, determining the target frame rate of the display panel of the terminal according to the target time period includes: obtaining a preset correspondence; the preset correspondence is a correspondence between a preset time period and a frame rate; and determining the target frame rate corresponding to the target time period according to the preset correspondence.
[0007] Optionally, the method also includes: when the target time period is greater than or equal to a second preset time threshold, maintaining the current frame rate of the display panel, and displaying the target image on the display panel according to the image display data; wherein the second preset time threshold is less than the first preset time threshold.
[0008] Optionally, the target optical parameter curve is predetermined by: determining a first optical parameter corresponding to a third frame rate and a second optical parameter corresponding to a fourth frame rate; the third frame rate is a maximum value in the preset frame rate range, and the fourth frame rate is a minimum value in the preset frame rate range; and determining the target optical parameter curve according to the first optical parameter and the second optical parameter by a preset prediction algorithm.
[0009] Optionally, the preset prediction algorithm includes a data fitting algorithm, and determining the target optical parameter curve through the preset prediction algorithm based on the first optical parameter and the second optical parameter includes: determining at least one fifth frame rate from the preset frame rate range, and determining at least one third optical parameter corresponding to the fifth frame rate; obtaining a target fitting curve through the data fitting algorithm based on the first optical parameter, the second optical parameter and at least one third optical parameter; and using the target fitting curve as the target optical parameter curve.
[0010] Optionally, the preset prediction algorithm includes a linear interpolation algorithm, and determining the target optical parameter curve through the preset prediction algorithm according to the first optical parameter and the second optical parameter includes: obtaining a target interpolation curve through the linear interpolation algorithm according to the first optical parameter and the second optical parameter; and using the target interpolation curve as the target optical parameter curve.
[0011] Optionally, the method further includes: upon receiving new image display data corresponding to a new target image, switching the frame rate of the display panel to a specified frame rate, and displaying the new target image on the display panel according to the new image display data.
[0012] Optionally, switching the frame rate of the display panel to the specified frame rate includes: acquiring optical parameters corresponding to the specified frame rate from the target optical parameter curve; and switching the frame rate of the display panel to the specified frame rate according to the optical parameters corresponding to the specified frame rate.
[0013] Optionally, the target optical parameter curve is stored in a display driver chip of the terminal.
[0014] According to a second aspect of an embodiment of the present disclosure, a display device is provided, applied to a terminal, the device comprising:
[0015] A first determination module is configured to determine a target frame rate of a display panel of the terminal according to a target time period when the target time period is greater than or equal to a first preset time threshold; the target time period is a time period between a current moment and a historical moment corresponding to the last time image display data of a target image was received;
[0016] A second determination module is configured to determine the target optical parameters corresponding to the target frame rate according to a target optical parameter curve; the target optical parameter curve is a correspondence between a second frame rate and an optical parameter determined according to a plurality of first frame rates within a preset frame rate range; the second frame rate includes the first frame rate, and the number of the second frame rates is greater than the number of the first frame rates;
[0017] The switching module is configured to switch the frame rate of the display panel to the target frame rate according to the target optical parameter.
[0018] Optionally, the first determination module is configured to obtain a preset corresponding relationship; the preset corresponding relationship is a corresponding relationship between a preset time period and a frame rate; and the target frame rate corresponding to the target time period is determined according to the preset corresponding relationship.
[0019] Optionally, the device further comprises:
[0020] The display module is configured to maintain the current frame rate of the display panel and display the target image on the display panel according to the image display data when the target time period is greater than or equal to a second preset time threshold; wherein the second preset time threshold is less than the first preset time threshold.
[0021] Optionally, the target optical parameter curve is predetermined by:
[0022] Determine a first optical parameter corresponding to a third frame rate and a second optical parameter corresponding to a fourth frame rate, wherein the third frame rate is a maximum value in the preset frame rate range, and the fourth frame rate is a minimum value in the preset frame rate range;
[0023] The target optical parameter curve is determined according to the first optical parameter and the second optical parameter through a preset prediction algorithm.
[0024] Optionally, the preset prediction algorithm includes a data fitting algorithm, and determining the target optical parameter curve according to the first optical parameter and the second optical parameter through the preset prediction algorithm includes:
[0025] Determining at least one fifth frame rate from the preset frame rate range, and determining at least one third optical parameter corresponding to the fifth frame rate;
[0026] According to the first optical parameter, the second optical parameter and at least one of the third optical parameters, a target fitting curve is obtained by using the data fitting algorithm;
[0027] The target fitting curve is used as the target optical parameter curve.
[0028] Optionally, the preset prediction algorithm includes a linear interpolation algorithm, and determining the target optical parameter curve according to the first optical parameter and the second optical parameter by using the preset prediction algorithm includes:
[0029] Obtaining a target interpolation curve by using the linear interpolation algorithm according to the first optical parameter and the second optical parameter;
[0030] The target interpolation curve is used as the target optical parameter curve.
[0031] Optionally, the display module is further configured to switch the frame rate of the display panel to a specified frame rate upon receiving new image display data corresponding to a new target image, and display the new target image on the display panel according to the new image display data.
[0032] Optionally, the display module is configured to obtain optical parameters corresponding to the specified frame rate from the target optical parameter curve; and switch the frame rate of the display panel to the specified frame rate according to the optical parameters corresponding to the specified frame rate.
[0033] Optionally, the target optical parameter curve is stored in a display driver chip of the terminal.
[0034] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to implement the steps of the display method provided in the first aspect of the present disclosure when calling the executable instructions stored on the memory.
[0035] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the display method provided in the first aspect of the present disclosure are implemented.
[0036] The technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: through the above method, when the image display data of the new target image is not received for a long time, that is, when the target time period is greater than or equal to the first preset time threshold, the target frame rate of the display panel can be determined according to the target time period. And according to the target optical parameter curve, the target optical parameters corresponding to the target frame rate are determined, and according to the target optical parameters, the frame rate of the display panel is switched to the target frame rate. In this way, the target frame rate to be switched can be flexibly determined according to the target time period, and the target frame rate can be optically compensated by the target optical parameters to solve the problems of flickering and color deviation during the frame rate switching process. When the image display data of the new target image is not received for a long time, the frame rate is automatically switched to reduce the system power consumption and extend the battery life. In addition, since the target optical parameter curve is determined according to multiple first frame rates within the preset frame rate range, the corresponding relationship between the second frame rate and the optical parameter, and the second frame rate includes the first frame rate, the number of the second frame rates is greater than the number of the first frame rates. That is to say, in this embodiment, the target frame rate can be the value corresponding to any point in the target optical parameter curve, which increases the diversity and selectivity of the switchable target frame rate.
[0037] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0039] Figure 1 is a flow chart of a display method according to an exemplary embodiment;
[0040] Figure 2 is a flow chart showing another display method according to an exemplary embodiment;
[0041] Figure 3 is a flow chart showing another display method according to an exemplary embodiment;
[0042] Figure 4 is a block diagram of a display device according to an exemplary embodiment;
[0043] Figure 5 is a block diagram of another display device according to an exemplary embodiment;
[0044] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0045] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0046] The terms "first", "second", etc. in the specification and claims of this application and the above drawings are used to distinguish similar objects and do not have to be understood as a specific order or sequence. In addition, in the description with reference to the drawings, the same symbols in different drawings represent the same elements.
[0047] In the description of the present disclosure, unless otherwise specified, "multiple" means two or more than two, and other quantifiers are similar thereto; "at least one item", "one item or multiple items" or similar expressions refer to any combination of these items, including any combination of single items or plural items. For example, at least one item a can represent any number of a; for another example, one item or multiple items among a, b and c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple; "and / or" is a kind of description of the association relationship of associated objects, indicating that there can be three kinds of relationships, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " indicates that the associated objects before and after are in an "or" relationship.
[0048] The specific implementation modes of the present invention are described in detail below with reference to the accompanying drawings.
[0049] Figure 1 is a flow chart of a display method according to an exemplary embodiment. Figure 1As shown, the method is applied to a terminal, and the terminal may be, for example but not limited to, a mobile terminal such as a smart phone, a tablet computer, a smart TV, a smart watch, a PDA (English: Personal Digital Assistant, Chinese: Personal Digital Assistant), a portable computer, etc., or may be a smart home device, such as a sweeping robot, an air purifier, an air conditioner, a robot, etc., which includes a display panel, and the present disclosure does not limit this. The method can also be executed by a display driver chip (English: Display Driver Integrated Circuit; abbreviated as: DDIC) in the terminal to reduce the operating pressure of the terminal AP (a terminal is often provided with a processor responsible for the operation of the user interface and the Android operating system, usually referred to as AP (English: application processor; Chinese: application processor)). Specifically, the method may include the following steps:
[0050] In step S101, when the target time period is greater than or equal to a first preset time threshold, a target frame rate of a display panel of the terminal is determined according to the target time period.
[0051] The target time period is a time period between the current time and the historical time corresponding to the last time the image display data of the target image was received.
[0052] In some application scenarios, if the system continuously sends a new target image, the terminal will refresh the display panel at a preset frame rate according to the image display data of the new target image to display the new target image on the display panel. Among them, in order to ensure the display effect, the preset frame rate is often the highest frame rate that the terminal can display, so as to bring users a smoother user experience. If the image display data corresponding to the new target image sent by the system is not received for a long time, the display panel still remains at the preset frame rate, which will affect the overall power consumption of the system and shorten the battery life. In view of the above problems, in some embodiments, the target frame rate of the display panel of the terminal can be determined according to the target time period when the target time period is greater than or equal to the first preset time threshold, so that when the new target image is not received for a long time, the frame rate can be automatically switched to reduce the display frame rate of the display panel, thereby reducing the power consumption of the system and extending the battery life.
[0053] Further, according to the target time period, determining the target frame rate of the display panel of the terminal may include: first, obtaining a preset correspondence. The preset correspondence is a correspondence between a preset time period and a frame rate. Then, according to the preset correspondence, determining the target frame rate corresponding to the target time period. The preset correspondence may be stored in a display driver chip so that the correspondence may be retrieved in time when the frame rate is switched.
[0054] It should be noted that the preset correspondence relationship can be pre-set according to the priority of each frame rate, or can be user-defined. The user can determine one or more frame rates from the preset frame rate range according to personal usage habits, and set the target time period corresponding to switching different frame rates to obtain the preset correspondence relationship. In this way, the frame rates that users can select can be effectively expanded, further improving the user experience and meeting the diversified usage needs of different users.
[0055] For example, if the preset corresponding relationship can include, for example, switching to 90Hz when the first preset time is reached; switching to 60Hz when the second preset time is reached; switching to 40Hz when the third preset time is reached; and switching to 30Hz when the fourth preset time is reached. That is to say, when the target time period reaches the first preset time, the target frame rate can be determined to be 90Hz; when the target time period reaches the second preset time, the target frame rate can be determined to be 60Hz; when the target time period reaches the third preset time, the target frame rate can be determined to be 40Hz; when the target time period reaches the fourth preset time, the target frame rate can be determined to be 30Hz. The above examples are only for illustration, and the present disclosure is not limited thereto. In this way, if the frame rate of the display panel is 120Hz at the initial moment, and the target time period is greater than or equal to the first preset time threshold, continuous frame rate switching can be performed, from 120Hz-90Hz-60Hz-40Hz-30Hz, that is, gradually decreasing from 120Hz to 30Hz.
[0056] In addition, it can be understood that in the process of refreshing the display panel, the target image is refreshed frame by frame, so in some embodiments, the target frame rate can also be determined based on the frame unit. For example, if after the image display data of the received target image is displayed on the display panel, no new target image is received after a preset number of frames, the frame rate can be switched in the next frame. Specifically, the target frame rate can be determined based on the preset number of frames at intervals. For example, if no new target image is received after two frames, the target frame rate can be determined to be 60Hz; if no new target image is received after four frames, the target frame rate can be determined to be 40Hz, and so on. Similarly, users can also customize the target frame rate corresponding to the number of different interval frames, so as to meet the usage habits of different users.
[0057] It should be noted that, when no new target image is received, the target image received most recently may be displayed, that is, the displayed target image does not change.
[0058] In step S102, target optical parameters corresponding to the target frame rate are determined according to the target optical parameter curve.
[0059] The target optical parameter curve is a correspondence relationship between a second frame rate and an optical parameter that is predetermined based on a plurality of first frame rates within a preset frame rate range, the second frame rate includes the first frame rate, and the number of the second frame rates is greater than the number of the first frame rates, and the second frame rate may be all frame rates within the preset frame rate range. In this way, the optical parameters of other frame rates within the preset frame rate range are expanded and supplemented through the known optical parameters corresponding to the first frame rate, so as to increase the selectivity of the target frame rate.
[0060] In some embodiments, the target optical parameter curve is predetermined by:
[0061] S1, determining a first optical parameter corresponding to a third frame rate and a second optical parameter corresponding to a fourth frame rate.
[0062] The third frame rate is the maximum value in the preset frame rate range, and the fourth frame rate is the minimum value in the preset frame rate range. That is, in this step, the third frame rate and the fourth frame rate are the first frame rate in the preset frame rate range mentioned above.
[0063] For example, a first optical parameter of the third frame rate at a corresponding grayscale may be determined, and the optical parameter may be a gamma parameter, such as a voltage-brightness curve relationship. Similarly, a second optical parameter of the fourth frame rate at a corresponding grayscale may be determined.
[0064] S2: Determine the target optical parameter curve according to the first optical parameter and the second optical parameter by using a preset prediction algorithm.
[0065] In actual application scenarios, the display panel of each terminal needs to be set separately, that is, the optical parameters corresponding to each display panel at different frame rates are different. Therefore, if the optical parameters at each frame rate are determined in turn, it will take a long time. In this embodiment, the first optical parameters corresponding to the third frame rate and the second optical parameters corresponding to the fourth frame rate can be used to effectively expand the existing optical parameters, and obtain the corresponding optical parameters at more frame rates with higher efficiency and shorter time.
[0066] In addition, the target optical parameter curve can be stored in the display driver chip of the terminal, so that when the frame rate switching is required, the target optical parameter corresponding to the target frame rate can be determined according to the target optical parameter curve stored in the display driver chip. In this way, the operation pressure of the terminal AP can be effectively reduced, and the smoothness of the system operation can be improved to a certain extent.
[0067] In step S103, the frame rate of the display panel is switched to the target frame rate according to the target optical parameter.
[0068] It should be noted that, during the frame rate switching process, the target image displayed on the display panel is not refreshed, and only the frame rate of the target image is changed.
[0069] Through the target optical parameters, optical compensation is performed during the frame rate switching process to solve the problems of flickering, color deviation, etc. At the same time, the frame rate switching reduces the power consumption of the system and prolongs the battery life.
[0070] By adopting the above method, the target frame rate to be switched can be flexibly determined according to the target time period, and the target frame rate can be optically compensated by the target optical parameters to solve the problems of flickering, color deviation, etc. in the frame rate switching process. In the case that the image display data of the new target image is not received for a long time, the frame rate is automatically switched to reduce the system power consumption and extend the battery life. In addition, since the target optical parameter curve is determined according to multiple first frame rates within the preset frame rate range, the correspondence between the second frame rate and the optical parameters, and the second frame rate includes the first frame rate, the number of second frame rates is greater than the number of first frame rates. That is to say, in this embodiment, the target frame rate can be the value corresponding to any point in the target optical parameter curve, which increases the diversity and selectivity of the switchable target frame rates.
[0071] In some embodiments, Figure 2 As shown, the method may further include the following steps:
[0072] In step S104, when the target time period is greater than or equal to the second preset time threshold, the current frame rate of the display panel is maintained, and the target image is displayed on the display panel according to the image display data.
[0073] The second preset time threshold is smaller than the first preset time threshold.
[0074] That is, if no new target image is received within a short period of time, the current frame rate of the display panel is maintained, and the displayed target image is maintained unchanged.
[0075] Similarly, the display may also be performed based on the frame unit, that is, if after the image display data of the received target image is displayed on the display panel, if no new target image is received after a preset number of frames, the current frame rate of the display panel is maintained, and the target image is displayed on the display panel according to the image display data. For example, if the first frame is displayed according to the received target image, but no new target image is currently received, the second frame may continue to maintain the current frame rate of the display panel, and continue to display the target image on the display panel according to the image display data displayed in the first frame. If no new target image is received after an interval of three frames, the current frame rate of the display panel may be maintained according to the image display data. Figure 1 The method in the embodiment performs frame rate switching and compensation. If a new target image is still not received after the frame rate is switched, the target image continues to be displayed on the display panel at the switched frame rate (that is, the current frame rate of the display panel). The above examples are only for illustration, and the present disclosure is not limited thereto.
[0076] The following is an example of a method for determining the above target optical parameter curve:
[0077] In a possible implementation, the preset prediction algorithm may include a data fitting algorithm, and determining the target optical parameter curve according to the first optical parameter and the second optical parameter through the preset prediction algorithm may include:
[0078] Step A1: determining at least one fifth frame rate from the preset frame rate range, and determining at least one third optical parameter corresponding to the fifth frame rate.
[0079] For example, the third optical parameter of each fifth frame rate at the corresponding grayscale may be determined in sequence. At this time, the first frame rate within the preset frame rate range mentioned above may include the third frame rate, the fourth frame rate and at least one fifth frame rate.
[0080] Step A2: obtaining a target fitting curve through the data fitting algorithm according to the first optical parameter, the second optical parameter and at least one of the third optical parameters.
[0081] For example, a target fitting curve can be obtained through a first optical parameter, a second optical parameter and at least one third optical parameter through a frame rate fitting function, and the target fitting curve represents a corresponding relationship between each frame rate and the optical parameter between the third frame rate and the fourth frame rate.
[0082] Step A3: Using the target fitting curve as the target optical parameter curve.
[0083] In another possible implementation, the preset prediction algorithm may include a linear interpolation algorithm, and determining the target optical parameter curve according to the first optical parameter and the second optical parameter through the preset prediction algorithm may include:
[0084] Step B1: Obtain a target interpolation curve according to the first optical parameter and the second optical parameter by using the linear interpolation algorithm.
[0085] Step B2: Using the target interpolation curve as the target optical parameter curve.
[0086] In other embodiments, Figure 3 As shown, the method may further include the following steps:
[0087] In step S105, when new image display data corresponding to a new target image is received, the frame rate of the display panel is switched to a specified frame rate, and the new target image is displayed on the display panel according to the new image display data.
[0088] Wherein, switching the frame rate of the display panel to the specified frame rate may include: acquiring optical parameters corresponding to the specified frame rate from the target optical parameter curve, and switching the frame rate of the display panel to the specified frame rate according to the optical parameters corresponding to the specified frame rate. The specified frame rate may be preset (for example, but not limited to 120 Hz) or may be determined by a user.
[0089] That is, if new image display data corresponding to a new target image is received, the frame rate switching process is terminated, and the new target image is refreshed and displayed on the display panel at a specified frame rate, so as to ensure that the new target image can be refreshed at a higher frame rate when displayed, thereby improving the user experience.
[0090] By adopting the above method, the target frame rate to be switched can be flexibly determined according to the target time period, and the target frame rate can be optically compensated by the target optical parameters to solve the problems of flickering, color deviation, etc. in the frame rate switching process. In the case that the image display data of the new target image is not received for a long time, the frame rate is automatically switched to reduce the system power consumption and extend the battery life. In addition, since the target optical parameter curve is determined according to multiple first frame rates within the preset frame rate range, the correspondence between the second frame rate and the optical parameters, and the second frame rate includes the first frame rate, the number of second frame rates is greater than the number of first frame rates. That is to say, in this embodiment, the target frame rate can be the value corresponding to any point in the target optical parameter curve, which increases the diversity and selectivity of the switchable target frame rates.
[0091] Figure 4 A display device according to an exemplary embodiment is shown. Figure 4 As shown, applied to a terminal, the device 200 includes:
[0092] The first determination module 201 is configured to determine a target frame rate of a display panel of the terminal according to the target time period when the target time period is greater than or equal to a first preset time threshold; the target time period is a time period between a current moment and a historical moment corresponding to the last time image display data of a target image was received;
[0093] The second determination module 202 is configured to determine the target optical parameters corresponding to the target frame rate according to the target optical parameter curve; the target optical parameter curve is a correspondence relationship between a second frame rate and an optical parameter determined according to a plurality of first frame rates within a preset frame rate range; the second frame rate includes the first frame rate, and the number of the second frame rates is greater than the number of the first frame rates;
[0094] The switching module 203 is configured to switch the frame rate of the display panel to the target frame rate according to the target optical parameter.
[0095] Optionally, the first determination module 201 is configured to obtain a preset corresponding relationship; the preset corresponding relationship is a corresponding relationship between a preset time period and a frame rate; and according to the preset corresponding relationship, determine the target frame rate corresponding to the target time period.
[0096] Alternatively, if Figure 5 As shown, the device 200 also includes:
[0097] The display module 204 is configured to maintain the current frame rate of the display panel and display the target image on the display panel according to the image display data when the target time period is greater than or equal to the second preset time threshold;
[0098] The second preset time threshold is smaller than the first preset time threshold.
[0099] Optionally, the target optical parameter curve is predetermined by: determining a first optical parameter corresponding to a third frame rate and a second optical parameter corresponding to a fourth frame rate; the third frame rate is a maximum value in the preset frame rate range, and the fourth frame rate is a minimum value in the preset frame rate range; and determining the target optical parameter curve based on the first optical parameter and the second optical parameter by a preset prediction algorithm.
[0100] Optionally, the preset prediction algorithm includes a data fitting algorithm, and determining the target optical parameter curve according to the first optical parameter and the second optical parameter through the preset prediction algorithm includes:
[0101] Determine at least one fifth frame rate from the preset frame rate range, and determine at least one third optical parameter corresponding to the fifth frame rate;
[0102] According to the first optical parameter, the second optical parameter and at least one of the third optical parameters, a target fitting curve is obtained by using the data fitting algorithm;
[0103] The target fitting curve is used as the target optical parameter curve.
[0104] Optionally, the preset prediction algorithm includes a linear interpolation algorithm, and determining the target optical parameter curve according to the first optical parameter and the second optical parameter through the preset prediction algorithm includes:
[0105] According to the first optical parameter and the second optical parameter, a target interpolation curve is obtained by using the linear interpolation algorithm;
[0106] The target interpolation curve is used as the target optical parameter curve.
[0107] Optionally, the display module 204 is further configured to switch the frame rate of the display panel to a specified frame rate upon receiving new image display data corresponding to a new target image, and display the new target image on the display panel according to the new image display data.
[0108] Optionally, the display module 204 is configured to obtain optical parameters corresponding to the specified frame rate from the target optical parameter curve; and switch the frame rate of the display panel to the specified frame rate according to the optical parameters corresponding to the specified frame rate.
[0109] Optionally, the target optical parameter curve is stored in a display driver chip of the terminal.
[0110] By adopting the above device, the target frame rate to be switched can be flexibly determined according to the target time period, and the target frame rate can be optically compensated by the target optical parameters to solve the problems of flickering, color deviation, etc. in the frame rate switching process. In the case that the image display data of the new target image is not received for a long time, the frame rate is automatically switched to reduce the system power consumption and extend the battery life. In addition, since the target optical parameter curve is determined according to multiple first frame rates within the preset frame rate range, the corresponding relationship between the second frame rate and the optical parameter, and the second frame rate includes the first frame rate, the number of second frame rates is greater than the number of first frame rates. That is to say, in this embodiment, the target frame rate can be the value corresponding to any point in the target optical parameter curve, which increases the diversity and selectivity of the switchable target frame rate.
[0111] Regarding the display device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0112] Although operations or steps are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood that it is required to perform these operations or steps in the specific order shown or in a serial order, or to perform all the operations or steps shown to obtain the desired results. In the embodiments of the present disclosure, these operations or steps can be performed in series; these operations or steps can also be performed in parallel; or some of these operations or steps can be performed.
[0113] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and the program instructions, when executed by a processor, implement the steps of the display method provided by the present disclosure.
[0114] Figure 6 is a block diagram of an electronic device 300 according to an exemplary embodiment. For example, the electronic device 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0115] Reference Figure 6 , the electronic device 300 may include one or more of the following components: a processing component 302 , a memory 304 , a power component 306 , a multimedia component 308 , an audio component 310 , an input / output interface 312 , a sensor component 314 , and a communication component 316 .
[0116] The processing component 302 generally controls the overall operation of the electronic device 300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to complete all or part of the steps of the above-mentioned display method. In addition, the processing component 302 may include one or more modules to facilitate the interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate the interaction between the multimedia component 308 and the processing component 302.
[0117] The memory 304 is configured to store various types of data to support operations on the electronic device 300. Examples of such data include instructions for any application or method operating on the electronic device 300, contact data, phone book data, messages, pictures, videos, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0118] The power supply component 306 provides power to the various components of the electronic device 300. The power supply component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 300.
[0119] The multimedia component 308 includes a screen that provides an output interface between the electronic device 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front camera and / or a rear camera. When the electronic device 300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0120] The audio component 310 is configured to output and / or input audio signals. For example, the audio component 310 includes a microphone (MIC), and when the electronic device 300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 304 or sent via the communication component 316. In some embodiments, the audio component 310 also includes a speaker for outputting audio signals.
[0121] The input / output interface 312 provides an interface between the processing component 302 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0122] The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the electronic device 300. For example, the sensor assembly 314 can detect the open / closed state of the electronic device 300, the relative positioning of components, such as the display and keypad of the electronic device 300, and the sensor assembly 314 can also detect the position change of the electronic device 300 or a component of the electronic device 300, the presence or absence of user contact with the electronic device 300, the orientation or acceleration / deceleration of the electronic device 300, and the temperature change of the electronic device 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0123] The communication component 316 is configured to facilitate wired or wireless communication between the electronic device 300 and other devices. The electronic device 300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0124] In an exemplary embodiment, the electronic device 300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned display method.
[0125] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 304 including instructions, and the instructions can be executed by a processor 320 of an electronic device 300 to perform the above display method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0126] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above display method when executed by the programmable device.
[0127] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0128] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A display method, It is characterized in that Applied to a terminal, the method comprises: When the target time period is greater than or equal to the first preset time threshold, determining the target frame rate of the display panel of the terminal according to the target time period; the target time period is a time period between the current moment and the historical moment corresponding to the last time the image display data of the target image was received; Determining target optical parameters corresponding to the target frame rate according to a target optical parameter curve; the target optical parameter curve is a correspondence between a second frame rate and an optical parameter determined according to a plurality of first frame rates within a preset frame rate range; the second frame rate includes the first frame rate, and the number of the second frame rates is greater than the number of the first frame rates; According to the target optical parameter, the frame rate of the display panel is switched to the target frame rate.
2. The method according to claim 1, It is characterized in that The determining, according to the target time period, a target frame rate of a display panel of the terminal includes: Obtaining a preset corresponding relationship; the preset corresponding relationship is a corresponding relationship between a preset time period and a frame rate; The target frame rate corresponding to the target time period is determined according to the preset corresponding relationship.
3. The method according to claim 1, It is characterized in that The method further comprises: When the target time period is greater than or equal to a second preset time threshold, maintaining the current frame rate of the display panel, and displaying the target image on the display panel according to the image display data; The second preset time threshold is smaller than the first preset time threshold.
4. The method according to claim 1, It is characterized in that The target optical parameter curve is predetermined by: Determine a first optical parameter corresponding to a third frame rate and a second optical parameter corresponding to a fourth frame rate, wherein the third frame rate is a maximum value in the preset frame rate range, and the fourth frame rate is a minimum value in the preset frame rate range; The target optical parameter curve is determined according to the first optical parameter and the second optical parameter through a preset prediction algorithm.
5. The method according to claim 4, It is characterized in that The preset prediction algorithm includes a data fitting algorithm, and determining the target optical parameter curve according to the first optical parameter and the second optical parameter through the preset prediction algorithm includes: Determining at least one fifth frame rate from the preset frame rate range, and determining at least one third optical parameter corresponding to the fifth frame rate; According to the first optical parameter, the second optical parameter and at least one of the third optical parameters, a target fitting curve is obtained by using the data fitting algorithm; The target fitting curve is used as the target optical parameter curve.
6. The method according to claim 4, It is characterized in that The preset prediction algorithm includes a linear interpolation algorithm, and determining the target optical parameter curve according to the first optical parameter and the second optical parameter through the preset prediction algorithm includes: Obtaining a target interpolation curve by using the linear interpolation algorithm according to the first optical parameter and the second optical parameter; The target interpolation curve is used as the target optical parameter curve.
7. The method according to claim 1, It is characterized in that The method further comprises: When new image display data corresponding to a new target image is received, the frame rate of the display panel is switched to a specified frame rate, and the new target image is displayed on the display panel according to the new image display data.
8. The method according to claim 7, It is characterized in that The switching the frame rate of the display panel to the specified frame rate includes: Acquire optical parameters corresponding to the specified frame rate from the target optical parameter curve; The frame rate of the display panel is switched to the specified frame rate according to the optical parameters corresponding to the specified frame rate.
9. The method according to any one of claims 1 to 8, It is characterized in that The target optical parameter curve is stored in a display driver chip of the terminal.
10. A display device, It is characterized in that Applied to a terminal, the device comprises: A first determination module is configured to determine a target frame rate of a display panel of the terminal according to a target time period when the target time period is greater than or equal to a first preset time threshold; the target time period is a time period between a current moment and a historical moment corresponding to the last time image display data of a target image was received; A second determination module is configured to determine the target optical parameters corresponding to the target frame rate according to a target optical parameter curve; the target optical parameter curve is a correspondence between a second frame rate and an optical parameter determined according to a plurality of first frame rates within a preset frame rate range; the second frame rate includes the first frame rate, and the number of the second frame rates is greater than the number of the first frame rates; The switching module is configured to switch the frame rate of the display panel to the target frame rate according to the target optical parameter.
11. An electronic device, It is characterized in that include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the steps of the method described in any one of claims 1 to 9 when calling the executable instructions stored in the memory.
12. A computer-readable storage medium having computer program instructions stored thereon, It is characterized in that When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 9 are implemented.
