Page refreshing method and device, display device, storage medium and program product
By obtaining the current refresh status from the display device and updating the hardware information in advance, the problem of poor display caused by switching between global and local refresh modes is solved, and the accuracy of image data processing and screen display effect are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
- Filing Date
- 2023-05-16
- Publication Date
- 2026-05-29
AI Technical Summary
Switching between global refresh and partial refresh modes in a display device may result in incorrect image data processing, leading to poor screen display.
By obtaining the current refresh state of the display device, the time of refresh state change and the target refresh state are determined, and the hardware information of the display device is updated before that time so that the page can be refreshed when switching to the target refresh state.
It improves the accuracy of image data processing and image display on display devices, and enhances the screen display effect.
Smart Images

Figure CN116504167B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, and in particular to a page refresh method, apparatus, display device, storage medium, and program product. Background Technology
[0002] On many electronic devices with screens, the screen refresh method is usually to refresh several frames of images continuously within 1 second (such as 30 frames or 60 frames), which will result in a lot of power consumption.
[0003] In related technologies, for specific display interfaces, power consumption can often be reduced by using partial refresh of a portion of the screen. For example, the area playing video is refreshed normally, while other static areas remain unrefreshed, preserving their previous static content. This partial refresh method reduces the amount of data refreshed, thereby lowering the power consumption of the display chip and panel.
[0004] However, in real-world scenarios, global refresh and partial refresh often alternate. If an electronic device switches directly to a partial refresh mode while performing a global refresh, the significant differences between the two refresh methods may lead to incorrect processing of image data and image display, resulting in poor screen display quality. Summary of the Invention
[0005] This application provides a page refresh method, apparatus, display device, storage medium, and program product to solve the problem in the related art that switching refresh modes may lead to the inability to correctly process image data and display images, resulting in poor screen display effects.
[0006] Firstly, this application provides a page refresh method, including:
[0007] Obtain the current refresh state of the display device, wherein the current refresh state is either a partial refresh state or a global refresh state;
[0008] Determine the first moment when the refresh state of the display device is about to change, and the target refresh state to be switched to at the first moment, wherein the first moment is a moment after the current moment;
[0009] Before the first moment, the hardware information of the display device is updated according to the current refresh state and the target refresh state, and the page is refreshed according to the target refresh state at the first moment.
[0010] In one possible implementation, updating the hardware information of the display device based on the current refresh state and the target refresh state includes:
[0011] Based on the current refresh state and the target refresh state, the content stored in the preset memory is updated. The preset memory is used to store static data, which is data that is not refreshed in the partial refresh state.
[0012] Update the operating state of the image enhancement component of the display device to the target refresh state;
[0013] The hardware of the display device includes the preset memory and the image enhancement component.
[0014] In one possible implementation, the target refresh state is the local refresh state, the global refresh state, or the updated local refresh state.
[0015] In one possible implementation, the current refresh state is a global refresh state, and the target refresh state is the local refresh state;
[0016] Based on the current refresh state and the target refresh state, the content stored in the preset memory is updated, including:
[0017] Determine the target video frame, which is the video frame to be displayed at the first moment;
[0018] Determine static data in the target video frame;
[0019] The static data is stored in the preset memory.
[0020] In one possible implementation, the current refresh state is a partial refresh state, and the target refresh state is the global refresh state;
[0021] Based on the current refresh state and the target refresh state, the content stored in the preset memory is updated, including:
[0022] Delete the data in the preset memory.
[0023] In one possible implementation, the current refresh state is a partial refresh state, and the target refresh state is the updated partial refresh state;
[0024] Based on the current refresh state and the target refresh state, the content stored in the preset memory is updated, including:
[0025] Determine the target video frame, which is the video frame to be displayed at the first moment;
[0026] Determine static data in the target video frame;
[0027] Delete existing data from the preset memory and store the static data in the preset memory.
[0028] In one possible implementation, page refresh is performed based on the target refresh state, including:
[0029] If the target refresh state is a global refresh state, then the target video frame is determined and displayed in a global refresh mode;
[0030] If the target refresh state is the partial refresh state or the updated partial refresh state, then static data is obtained from the preset memory and displayed in a static manner, and dynamic data in the target video frame is determined and displayed in a dynamic manner.
[0031] In one possible implementation, determining the first moment when the refresh state of the display device is about to change, and the target refresh state to be switched to at the first moment, includes:
[0032] Determine multiple video frames following the current time.
[0033] Determine the refresh state corresponding to each video frame, wherein the refresh state is the local refresh state, the global refresh state, or the updated local refresh state;
[0034] Based on the refresh status corresponding to the plurality of video frames, a first video frame is determined among the plurality of video frames, wherein the refresh status of the first video frame is different from the current refresh status.
[0035] The playback time of the first video frame is determined as the first time, and the refresh state of the first video frame is determined as the target refresh state.
[0036] Secondly, this application provides a page refresh device, comprising:
[0037] The acquisition module is used to acquire the current refresh state of the display device, wherein the current refresh state is a partial refresh state or a global refresh state;
[0038] The determination module is used to determine the first moment when the refresh state of the display device is about to change, and the target refresh state to be switched to at the first moment, wherein the first moment is a moment after the current moment;
[0039] The processing module is configured to update the hardware information of the display device according to the current refresh state and the target refresh state before the first moment, and to refresh the page according to the target refresh state at the first moment.
[0040] In one possible implementation, the processing module is specifically used for:
[0041] Based on the current refresh state and the target refresh state, the content stored in the preset memory is updated. The preset memory is used to store static data, which is data that is not refreshed in the partial refresh state.
[0042] Update the operating state of the image enhancement component of the display device to the target refresh state;
[0043] The hardware of the display device includes the preset memory and the image enhancement component.
[0044] In one possible implementation, the target refresh state is the local refresh state, the global refresh state, or the updated local refresh state.
[0045] In one possible implementation, the current refresh state is a global refresh state, and the target refresh state is the local refresh state; the processing module is specifically used for:
[0046] Determine the target video frame, which is the video frame to be displayed at the first moment;
[0047] Determine static data in the target video frame;
[0048] The static data is stored in the preset memory.
[0049] In one possible implementation, the current refresh state is a partial refresh state, and the target refresh state is the global refresh state; the processing module is specifically used for:
[0050] Delete the data in the preset memory.
[0051] In one possible implementation, the current refresh state is a partial refresh state, and the target refresh state is the updated partial refresh state; the processing module is specifically used for:
[0052] Determine the target video frame, which is the video frame to be displayed at the first moment;
[0053] Determine static data in the target video frame;
[0054] Delete existing data from the preset memory and store the static data in the preset memory.
[0055] In one possible implementation, the processing module is specifically used for:
[0056] If the target refresh state is a global refresh state, then the target video frame is determined and displayed in a global refresh mode;
[0057] If the target refresh state is the partial refresh state or the updated partial refresh state, then static data is obtained from the preset memory and displayed in a static manner, and dynamic data in the target video frame is determined and displayed in a dynamic manner.
[0058] In one possible implementation, the determining module is specifically used for:
[0059] Determine multiple video frames following the current time.
[0060] Determine the refresh state corresponding to each video frame, wherein the refresh state is the local refresh state, the global refresh state, or the updated local refresh state;
[0061] Based on the refresh status corresponding to the plurality of video frames, a first video frame is determined among the plurality of video frames, wherein the refresh status of the first video frame is different from the current refresh status.
[0062] The playback time of the first video frame is determined as the first time, and the refresh state of the first video frame is determined as the target refresh state.
[0063] Thirdly, this application provides a display device, including: a processor, and a memory communicatively connected to the processor;
[0064] The memory stores computer-executed instructions;
[0065] The processor executes computer execution instructions stored in the memory to implement the page refresh method as described in the first aspect.
[0066] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a computer, are used to implement the page refresh method as described in the first aspect.
[0067] Fifthly, this application provides a computer program product, including a computer program, which, when executed by a computer, is used to implement the page refresh method described in the first aspect.
[0068] In a sixth aspect, embodiments of this application provide a chip on which a computer program is stored, and when the computer program is executed by the chip, the page refresh method described in the first aspect is executed.
[0069] In one possible implementation, the chip is a chip in a chip module.
[0070] In a seventh aspect, embodiments of this application provide a module device, the module device including a power module, a storage module, and a chip module;
[0071] The power module is used to provide electrical energy to the module device;
[0072] The storage module is used to store data and instructions;
[0073] The chip module is used to execute the page refresh method described in the first aspect.
[0074] This application provides a page refresh method, apparatus, display device, storage medium, and program product. By acquiring the current refresh state of the display device, it then determines the first moment when the refresh state of the display device is about to change, and the target refresh state to which it is to switch at that first moment, where the first moment is a moment after the current moment. Before the first moment, the display device hardware is updated based on the current refresh state and the target refresh state. At the first moment, the page is refreshed based on the target refresh state, which can improve the accuracy of the display device in processing image data and displaying images, thereby enhancing the screen display effect. Attached Figure Description
[0075] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0076] Figure 1 This is a schematic diagram of a display interface as an example of this application;
[0077] Figure 2 This is a schematic diagram of the structure of a display device as an example of this application;
[0078] Figure 3 This is a schematic diagram illustrating the interaction between the control driver module 203 and the hardware of the display device.
[0079] Figure 4 A flowchart illustrating a page refresh method provided in Embodiment 1 of this application;
[0080] Figure 5 This is a schematic diagram illustrating a change in the refresh area, as exemplified in this application.
[0081] Figure 6 This is a schematic diagram of a display area of an example display interface in this application;
[0082] Figure 7 A flowchart illustrating another page refresh method provided in Embodiment 2 of this application;
[0083] Figure 8 This is a schematic diagram of the structure of a page refresh device provided in Embodiment 3 of this application;
[0084] Figure 9 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of this application.
[0085] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation
[0086] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0087] Display power consumption is a significant issue in many electronic devices with screens. This is especially true for power-sensitive devices like smartphones, tablets, and commercial displays, where reducing display power consumption is crucial. Typically, screens refresh by continuously displaying several frames per second (e.g., 30 or 60 frames per second), which results in substantial power consumption.
[0088] In related technologies, for a specific display interface, such as Figure 1 The display interface is showing a video playing, and the shaded area represents the video playback area, i.e., the refresh area. For Figure 1 In this type of display interface, the terminal device can reduce power consumption by using partial refresh on a portion of the screen, while keeping the content in other areas static. This partial refresh method reduces the amount of data refreshed, thereby lowering the power consumption of the display chip and panel.
[0089] However, in real-world scenarios, global refresh and partial refresh often alternate. If an electronic device switches directly to a partial refresh mode while performing a global refresh, the significant differences between the two refresh methods may lead to incorrect processing of image data and image display, resulting in poor screen display quality.
[0090] Therefore, this application provides a page refresh method that can obtain the current refresh state of the display device, and then determine the time when the refresh state of the display device is about to change and the target refresh state to be switched to at that time. Before that time, the display device can update its hardware according to the current refresh state and the target refresh state, and at that time, perform page refresh according to the target refresh state. This can improve the accuracy of the display device in processing image data and displaying images, thereby enhancing the screen display effect.
[0091] To facilitate understanding, the following will be combined with... Figure 2 The following example illustrates the structure of the display device to which the page refresh method of this application is applied.
[0092] Figure 2 For a schematic diagram of a display device as an example of this application, please refer to [link / reference]. Figure 2 The display device includes a preset memory 201, an image enhancement component 202, and a control driver module 203 for receiving upper-level commands. The control driver module 203 can receive upper-level commands, which may include the moment when the refresh state of the display device is about to change, and the target refresh state to which the display device is to switch at that moment. The control driver module 203 can then send instructions to the preset memory 201 and the image enhancement component 202, causing the preset memory 201 to update its stored content and the image enhancement component 202 to update its operating state to the target refresh state indicated by the upper-level command. This ensures that the display device hardware is prepared before the refresh state switch. The preset memory 201 and the image enhancement component 202 are part of the display hardware of the display device.
[0093] For example, Figure 3 This is a schematic diagram illustrating the interaction between the control driver module 203 and the hardware of the display device.
[0094] exist Figure 3 middle:
[0095] Status query: refers to the control driver module 203 querying the current refresh status of the hardware, which is either a partial refresh status or a global refresh status.
[0096] Status response: The hardware receives a status query from the control driver module 203 and responds with the current refresh status of the hardware.
[0097] Command issuance: The control driver module 203 issues relevant commands based on the target refresh status. The target refresh status is indicated in the upper-level command received by the control driver module 203. The upper-level command can be sent by the application corresponding to the video player.
[0098] Data Request: Based on the received command and the current refresh status of the hardware, the hardware updates its information and requests the static and dynamic data of the target video frame from the control driver module 203.
[0099] Data transmission: After receiving a data request from the hardware, the control driver module 203 sends the required static and dynamic data of the target video frame to the hardware. The static and dynamic data of the target video frame can be sent by the application corresponding to the video player.
[0100] Status feedback: The hardware sends the current refresh status to the control driver module 203, enabling the control driver module 203 to determine whether the hardware has successfully refreshed the page to the target refresh status.
[0101] In this embodiment, the display device can be any device with a display screen. This device includes, but is not limited to: User Equipment (UE), mobile device, user terminal, terminal, wireless communication device, handheld device, vehicle-mounted device, etc. Examples of terminals include: mobile phones, tablets, computers with wireless transceiver capabilities (such as laptops, PDAs, etc.), mobile internet devices (MIDs), virtual reality (VR) devices, augmented reality (AR) devices, extended reality (XR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical care, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, etc.
[0102] The technical solutions of this application and how they solve the aforementioned technical problems are described in detail below with specific embodiments. These specific embodiments may exist independently or in combination with each other. Identical or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0103] Figure 4 This is a flowchart illustrating a page refresh method provided in Embodiment 1 of this application. This method can be executed by a display device or by a page refresh device installed in the display device. This device can be a chip, a chip module, an integrated development environment (IDE), etc. (See reference...) Figure 4 The method includes the following steps:
[0104] S401. Obtain the current refresh status of the display device. The current refresh status is either a partial refresh status or a global refresh status.
[0105] The display device can obtain the current refresh status, which is the current refresh status of the page being refreshed by the display device. The current refresh status can be a partial refresh status or a global refresh status.
[0106] S402, determine the first moment when the refresh state of the display device is about to change, and the target refresh state to be switched to at the first moment, wherein the first moment is the moment after the current moment.
[0107] The display device can determine the first moment when its refresh state is about to change, and the target refresh state to which it is to switch at the first moment. The first moment is the moment after the current moment.
[0108] In other words, before the first moment, the display device refreshes the page in the current refresh state; at and after the first moment, the display device refreshes the page in the target refresh state.
[0109] For example, the target refresh state can be a partial refresh state, a global refresh state, or an updated partial refresh state.
[0110] Partial refresh mode refers to a state where only the content of the active area of the display device is refreshed, while the content of other static areas is not refreshed.
[0111] Global refresh state refers to the state where the entire content of the display interface on the display device is being refreshed.
[0112] Updating the partial refresh state refers to a change in the active area of the display interface relative to the current moment. For example, assuming the current refresh state of the display device is partial refresh state, and the target refresh state is updated partial refresh state, then... Figure 5 For example, Figure 5 This is a diagram illustrating the changes in the refreshed area.
[0113] S403. Before the first moment, update the hardware information of the display device according to the current refresh state and the target refresh state, and refresh the page according to the target refresh state at the first moment.
[0114] After the display device determines the first moment and the target refresh state to be switched to at the first moment, the display device can update the hardware information of the display device according to the current refresh state and the target refresh state before the first moment, so that the display device can prepare to deal with the target refresh state before the state switch. Then the display device can refresh the page according to the target refresh state at the first moment.
[0115] For example, the hardware of the display device may include the contents of a preset memory and an image enhancement component. The preset memory stores static data, which is data that is not refreshed during partial refresh. That is, the static data represents the content of the static area during the partial refresh state of the display device, and this static data is used to display the static area on the display interface. The image enhancement component is used to enhance the image, such as image sharpening and backlight control.
[0116] In this embodiment, by acquiring the current refresh state of the display device, the first moment when the refresh state of the display device is about to change, and the target refresh state to which it is to switch at the first moment, wherein the first moment is a moment after the current moment. Before the first moment, the hardware of the display device is updated according to the current refresh state and the target refresh state, and at the first moment, the page is refreshed according to the target refresh state. This can improve the accuracy of the display device in processing image data and displaying images, thereby enhancing the screen display effect.
[0117] In this embodiment of the application, the video frame corresponding to the display interface can be divided into three regions: a static region, an active region, and a transition region. For example, Figure 6 This is a schematic diagram of the display area of the example display interface of this application. The transition area is located between the static area and the active area, and the active area overlaps the static area. The data in the transition area is used by the image enhancement component to enhance the image, and the data in the transition area is not displayed on the page.
[0118] In one possible implementation, the display device can determine the data for the transition region based on data from the static region and data from the active region. For ease of description, ... Figure 6 The display interface is divided into multiple rows with the same row width. The display device can acquire the data of the 7th row in the active area and use the data of the 7th row as the data of transition area 1. As shown in the figure, transition area 1 overlaps with the area corresponding to the 6th row of static area 1. Similarly, the display device can acquire the data of the 12th row in the active area and use the data of the 12th row as the data of transition area 2. As shown in the figure, transition area 2 overlaps with the area corresponding to the 13th row of static area 2.
[0119] When the image enhancement component enhances the display interface, for data processing of the active area, when processing the data of the first row of the active area, for example... Figure 6 Line 7 in the code allows you to obtain data from the transition region for data augmentation, such as averaging pixel values. Compared to obtaining data from the static region or 0 pixels, using data from the transition region for data augmentation improves the accuracy of data augmentation.
[0120] The following describes another page refresh method provided in this application through Embodiment 2.
[0121] Figure 7 This is a flowchart illustrating another page refresh method provided in Embodiment 2 of this application. This method can be executed by a display device or by a page refresh device installed in the display device. This device can be a chip, a chip module, an IDE, etc. (See reference...) Figure 7 The method includes the following steps:
[0122] S701. Obtain the current refresh status of the display device. The current refresh status is either a partial refresh status or a global refresh status.
[0123] S702, determine the first moment when the refresh state of the display device is about to change, and the target refresh state to which it is to switch at the first moment.
[0124] The display device can determine the first moment when the refresh state is about to change, and the target refresh state to which it is to switch at that first moment.
[0125] Specifically, the display device can determine multiple video frames after the current moment, and then determine the refresh state corresponding to each video frame. The refresh state can be a partial refresh state, a global refresh state, or an updated partial refresh state. Based on the refresh states corresponding to multiple video frames, the first video frame is determined among the multiple video frames. The refresh state of the first video frame is different from the current refresh state.
[0126] For example, multiple video frames are: a, b, c, d, e, f. If the current refresh state is a partial refresh state, the refresh states of the four video frames a, b, c, and d are all partial refresh states, and the refresh state of video frame e is a global refresh state, then video frame e can be determined as the first video frame.
[0127] After determining the first video frame, the display device can determine the playback time of the first video frame as the first moment and the refresh state of the first video frame as the target refresh state.
[0128] S703. Before the first moment, update the content stored in the preset memory according to the current refresh state and the target refresh state.
[0129] After determining the first moment, the display device can update the contents of the preset memory before the first moment, based on the current refresh state and the target refresh state.
[0130] For example, the display device updates the contents of the preset memory based on the current refresh state and the target refresh state, and there are several possible scenarios:
[0131] In one possible implementation, if the current refresh state is a global refresh state and the target refresh state is a partial refresh state, it means that the display device needs to switch from the global refresh state to the partial refresh state at the first moment. The display device can determine the target video frame, which is the video frame to be displayed at the first moment. In other words, the display device needs to refresh in the partial refresh state starting from the target video frame.
[0132] Then, the display device can determine static data in the target video frame and store the static data in a preset memory.
[0133] In another possible implementation, if the current refresh state is a partial refresh state and the target refresh state is a global refresh state, it means that the display device needs to switch from the partial refresh state to the global refresh state at the first moment. Since the global refresh state is a full-screen refresh, the display device needs to delete the data stored in the preset memory. That is, in the global refresh state, there is no data that is not refreshed.
[0134] In another possible implementation, if the current refresh state is a partial refresh state and the target refresh state is an update partial refresh state, it means that the display device needs to switch from the partial refresh state to the update partial refresh state at the first moment. That is, the partial refresh area changes at the first moment, and the display device can determine the target video frame, which is the video frame to be displayed at the first moment. Then, the display device can determine the static data in the target video frame, delete the existing data in the preset memory, and store the static data of the target video frame in the preset memory. It can be understood that the existing data is the static data stored in the preset memory when the display device is in the partial refresh state, that is, the data of the static area of the video frame before the target video frame.
[0135] S704. Before the first moment, the working status of the image enhancement component of the display device will be updated to the target refresh status.
[0136] Before the first moment, the display device can also update the working status of the display device's image enhancement components to the target refresh state.
[0137] For example, if the current refresh state is a global refresh state and the target refresh state is a local refresh state, the image enhancement component can perform image enhancement processing on the active region, such as image sharpening, based on the data of the active region and the transition region of the target video frame.
[0138] If the current refresh state is a partial refresh state and the target refresh state is a global refresh state, the image enhancement component can enhance the entire target video frame based on the global data of the target video frame (i.e., the data of the entire target video frame), such as reducing backlight.
[0139] If the current refresh state is a partial refresh state and the target refresh state is an update of the global refresh state, the image enhancement component can perform image enhancement processing on the active region based on the data of the active region and the transition region of the target video frame.
[0140] It is understandable that the execution of S703 and S704 is not in any particular order.
[0141] S705: Refresh the page at the first moment according to the target refresh status.
[0142] Before the first moment, the display device updates its hardware information based on the current refresh state and the target refresh state. Then, at the first moment, the display device can refresh the page according to the target refresh state.
[0143] Specifically, if the target refresh state is global refresh state, the display device can determine the target video frame and display the target video frame in a global refresh mode.
[0144] If the target refresh state is a partial refresh state or an update partial refresh state, then static data is retrieved from the preset memory and displayed in a static manner, and dynamic data in the target video frame is determined and displayed in a dynamic manner.
[0145] The dynamic data in the target video frame can be the data of the active area in the target video frame. The display device can refresh the current video frame based on the data of the active area and the static data obtained from the preset memory in order to display the target video frame.
[0146] It is understandable that for multiple video frames following the target video frame, for each of these video frames, the display device can obtain static data stored in a preset memory and display that static data in a static manner. Then, it can obtain the dynamic data of these video frames, i.e., the data of the active area, and display that dynamic data in a dynamic manner, meaning that only the data of the active area is refreshed. The refresh state of the multiple video frames following the target video frame is the same as that of the target video frame.
[0147] In this embodiment, by acquiring the current refresh state of the display device, the first moment when the refresh state of the display device is about to change, and the target refresh state to which it is to switch at the first moment, wherein the first moment is a moment after the current moment. Before the first moment, the content stored in the preset memory is updated according to the current refresh state and the target refresh state, and the working state of the image enhancement component of the display device is updated to the target refresh state. At the first moment, the page is refreshed according to the target refresh state, which can improve the accuracy of the display device in processing image data and displaying images, thereby enhancing the screen display effect.
[0148] Figure 8 This is a schematic diagram of a page refresh device provided in Embodiment 3 of this application. (Reference) Figure 8 The device 80 includes: an acquisition module 801, a determination module 802, and a processing module 803.
[0149] The acquisition module 801 is used to acquire the current refresh status of the display device, which can be either a partial refresh status or a global refresh status.
[0150] The determination module 802 is used to determine the first moment when the refresh state of the display device is about to change, and the target refresh state to be switched to at the first moment. The first moment is the moment after the current moment.
[0151] The processing module 803 is used to update the hardware information of the display device according to the current refresh state and the target refresh state before the first moment, and to refresh the page according to the target refresh state at the first moment.
[0152] In one possible implementation, the processing module 803 is specifically used for:
[0153] Based on the current refresh state and the target refresh state, the content stored in the preset memory is updated. The preset memory is used to store static data, which is data that is not refreshed in the partial refresh state.
[0154] The operating status of the display device's image enhancement components will be updated to the target refresh status.
[0155] The hardware of the display device includes a pre-set memory and an image enhancement component.
[0156] In one possible implementation, the target refresh state is a partial refresh state, a global refresh state, or an updated partial refresh state.
[0157] In one possible implementation, the current refresh state is a global refresh state, and the target refresh state is a local refresh state.
[0158] Processing module 803 is specifically used for:
[0159] The target video frame is determined; the target video frame is the video frame to be displayed at the first moment.
[0160] Determine static data in the target video frame.
[0161] Static data is stored in a preset memory.
[0162] In one possible implementation, the current refresh state is a partial refresh state, and the target refresh state is a global refresh state.
[0163] Processing module 803 is specifically used for:
[0164] Delete the data in the preset memory.
[0165] In one possible implementation, the current refresh state is a partial refresh state, and the target refresh state is to update the partial refresh state.
[0166] Processing module 803 is specifically used for:
[0167] The target video frame is determined; the target video frame is the video frame to be displayed at the first moment.
[0168] Determine static data in the target video frame.
[0169] Delete existing data in the preset memory and store static data in the preset memory.
[0170] In one possible implementation, the processing module 803 is specifically used for:
[0171] If the target refresh state is global refresh, then the target video frame is determined and displayed in a global refresh mode.
[0172] If the target refresh state is a partial refresh state or an update partial refresh state, then static data is retrieved from the preset memory and displayed in a static manner, and dynamic data in the target video frame is determined and displayed in a dynamic manner.
[0173] In one possible implementation, the determining module 802 is specifically used for:
[0174] Determine multiple video frames following the current moment.
[0175] Determine the refresh state corresponding to each video frame, which can be a partial refresh state, a global refresh state, or an update of the partial refresh state.
[0176] Based on the refresh status of multiple video frames, the first video frame is determined among the multiple video frames, and the refresh status of the first video frame is different from the current refresh status.
[0177] The playback time of the first video frame is determined as the first moment, and the refresh state of the first video frame is determined as the target refresh state.
[0178] The apparatus in this embodiment can be used to execute the technical solutions of the above method embodiments. The specific implementation methods and technical effects are similar, and will not be described again here.
[0179] Figure 9 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of this application, as shown below. Figure 9 As shown, the electronic device 90 may include at least one processor 901 and a memory 902.
[0180] The memory 902 is used to store programs. Specifically, the program may include program code, which includes computer-executable instructions.
[0181] The memory 902 may include random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device.
[0182] The processor 901 is used to execute computer execution instructions stored in the memory 902 to implement the method described in the foregoing method embodiments. The processor 901 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0183] Optionally, the electronic device 90 may also include a communication interface 903. In specific implementations, if the communication interface 903, memory 902, and processor 901 are implemented independently, they can be interconnected via a bus to complete communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc., but this does not imply that there is only one bus or one type of bus.
[0184] Optionally, in a specific implementation, if the communication interface 903, memory 902, and processor 901 are integrated on a single chip, then the communication interface 903, memory 902, and processor 901 can communicate through an internal interface.
[0185] Electronic devices 90 can include chips, chip modules, integrated development environments (IDEs), smart home devices, smart wearable devices, smart vehicles, etc.
[0186] The electronic device in this embodiment can be used to execute the technical solutions of the above method embodiments. The specific implementation methods and technical effects are similar, and will not be repeated here.
[0187] Embodiment 5 of this application provides a computer-readable storage medium, which may include various media capable of storing computer-executable instructions, such as USB flash drives, portable hard drives, read-only memory (ROM), RAM, disks, or optical discs. Specifically, the computer-readable storage medium stores computer-executable instructions, which, when executed by a computer, cause the technical solution shown in the above method embodiment to be executed. The specific implementation and technical effects are similar and will not be repeated here.
[0188] Embodiment 6 of this application provides a computer program product, including a computer program. When the computer program is executed by a computer, the technical solution shown in the above method embodiment is executed. The specific implementation method and technical effect are similar, and will not be repeated here.
[0189] Embodiment 7 of this application provides a chip on which a computer program is stored. When the computer program is executed by the chip, the technical solution shown in the above method embodiment is executed.
[0190] In one possible implementation, the chip can also be a chip module.
[0191] The chip in this embodiment can be used to execute the technical solution shown in the above method embodiment. The specific implementation method and technical effect are similar, and will not be described again here.
[0192] Embodiment 8 of this application provides a module device, which includes a power module, a storage module, and a chip module.
[0193] The power module is used to provide power to the module devices.
[0194] Storage modules are used to store data and instructions.
[0195] The chip module in this embodiment can be used to execute the technical solution shown in the above method embodiment. The specific implementation method and technical effect are similar, and will not be repeated here.
[0196] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0197] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
[0198] In this application, "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document indicates that the preceding and following related objects have an "or" relationship.
[0199] "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or a, b, and c, where each of a, b, and c can be an element itself or a set containing one or more elements.
[0200] In this application, "at least one" means one or more. "More than one" means two or more. The descriptions of "first," "second," etc., appearing in the embodiments of this application are only for illustration and to distinguish the described objects, and have no order, nor do they indicate a special limitation on the number of devices in the embodiments of this application, and cannot constitute any limitation on the embodiments of this application. For example, "first threshold" and "second threshold" are only used to distinguish different thresholds, and do not indicate that the size, priority, or importance of these two thresholds are different.
[0201] In this application, terms such as "exemplary," "in some embodiments," and "in other embodiments" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Rather, the term "exemplary" is used to present the concept in a specific manner.
[0202] In this application, the terms "of," "corresponding (relevant)," "corresponding," and "related" may sometimes be used interchangeably. It should be noted that, unless a distinction is emphasized, their intended meanings are consistent. Similarly, in the embodiments of this application, "communication" and "transmission" may sometimes be used interchangeably. It should be noted that, unless a distinction is emphasized, their intended meanings are consistent. For example, transmission can include sending and / or receiving, and can be a noun or a verb.
[0203] In this application, "equal to" can be used with "less than" or "greater than", but not simultaneously with both. When "equal to" is used with "less than", it applies to the technical solution adopted by "less than". When "equal to" is used with "greater than", it applies to the technical solution adopted by "greater than".
Claims
1. A page refresh method, characterized in that, include: The current refresh state of the display device is obtained. The current refresh state is either a partial refresh state or a global refresh state. The partial refresh state is when only the dynamic data in the active area of the display device is refreshed, while the static data in the static area remains unrefreshed. The first moment when the refresh state of the display device is about to change and the target refresh state to be switched to at the first moment are determined. The first moment is a moment after the current moment. The target refresh state is the local refresh state, the global refresh state, or the updated local refresh state. The updated local refresh state is the state in which the active area of the local refresh changes. Before the first moment, the hardware information of the display device is updated according to the current refresh state and the target refresh state, and the page is refreshed according to the target refresh state at the first moment; the hardware of the display device includes a preset memory and an image enhancement component; Based on the current refresh state and the target refresh state, update the hardware information of the display device, including: Based on the current refresh state and the target refresh state, the content stored in the preset memory is updated. The preset memory is used to store static data, which is data that is not refreshed in the partial refresh state. Update the operating state of the image enhancement component of the display device to the target refresh state.
2. The method according to claim 1, characterized in that, The current refresh state is the global refresh state, and the target refresh state is the local refresh state; Based on the current refresh state and the target refresh state, the content stored in the preset memory is updated, including: Determine the target video frame, which is the video frame to be displayed at the first moment; Determine static data in the target video frame; The static data is stored in the preset memory.
3. The method according to claim 1, characterized in that, The current refresh state is a partial refresh state, and the target refresh state is the global refresh state; Based on the current refresh state and the target refresh state, the content stored in the preset memory is updated, including: Delete the data in the preset memory.
4. The method according to claim 1, characterized in that, The current refresh state is a partial refresh state, and the target refresh state is the updated partial refresh state; Based on the current refresh state and the target refresh state, the content stored in the preset memory is updated, including: Determine the target video frame, which is the video frame to be displayed at the first moment; Determine static data in the target video frame; Delete existing data from the preset memory and store the static data in the preset memory.
5. The method according to any one of claims 1-4, characterized in that, Refreshing the page according to the target refresh state includes: If the target refresh state is a global refresh state, then the target video frame is determined and displayed in a global refresh mode; If the target refresh state is the partial refresh state or the updated partial refresh state, then static data is obtained from the preset memory and displayed in a static manner, and dynamic data in the target video frame is determined and displayed in a dynamic manner.
6. The method according to any one of claims 1-4, characterized in that, Determining the first moment when the refresh state of the display device is about to change, and the target refresh state to be switched to at the first moment, includes: Determine multiple video frames following the current time. Determine the refresh state corresponding to each video frame, wherein the refresh state is the local refresh state, the global refresh state, or the updated local refresh state; Based on the refresh status corresponding to the plurality of video frames, a first video frame is determined among the plurality of video frames, wherein the refresh status of the first video frame is different from the current refresh status. The playback time of the first video frame is determined as the first time, and the refresh state of the first video frame is determined as the target refresh state.
7. A page refresh device, characterized in that, include: The acquisition module is used to acquire the current refresh state of the display device. The current refresh state is either a partial refresh state or a global refresh state. The partial refresh state is a state in which only the dynamic data in the active area of the display device is refreshed, while the static data in the static area remains unrefreshed. The determination module is used to determine the first moment when the refresh state of the display device is about to change, and the target refresh state to be switched to at the first moment. The first moment is a moment after the current moment. The target refresh state is the local refresh state, the global refresh state, or the updated local refresh state. The updated local refresh state is the state in which the active area of the local refresh changes. The processing module is configured to update the hardware of the display device according to the current refresh state and the target refresh state before the first moment, and to refresh the page according to the target refresh state at the first moment; the hardware of the display device includes a preset memory and an image enhancement component; The processing module is specifically used to update the content stored in the preset memory according to the current refresh state and the target refresh state. The preset memory is used to store static data, which is data that is not refreshed in the partial refresh state. Update the operating state of the image enhancement component of the display device to the target refresh state.
8. A display device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the page refresh method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the page refresh method as described in any one of claims 1-6.
10. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the page refresh method according to any one of claims 1-6.