Clock display method, device, computer equipment, and storage medium

By independently realizing clock display in the display driver chip, using time calibration and graphics overlay technology, the high power consumption problem caused by imitating the clock dial hand clock display method is solved, reducing the overall power consumption of the device and improving CPU/GPU performance.

CN116256966BActive Publication Date: 2024-11-15GLENFLY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310251732.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-14
Publication Date
2024-11-15
Estimated Expiration
2043-03-14

AI Technical Summary

Technical Problem

The clock display method that imitates the clock dial hands in existing flat panel display devices leads to high operating loads of the equipment CPU/GPU and large overall power consumption, especially when the display is on the screen.

Method used

By independently realizing clock display in the display driver chip, using local time information and processor time information for time calibration, determining the rotation angle of the pointer pattern, and superimposing it with the pre-stored empty dial image and pointer pattern to generate the calibrated dial image , transmit to the display, reducing dependence on processors and graphics processors.

Benefits of technology

Reduces the overall power consumption of the device, reduces the operating load of the processor and graphics processor, improves the overall performance of the CPU/GPU, and increases the possibility of implementing other functions, such as sensor hub and health management functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116256966B_ABST
    Figure CN116256966B_ABST
Patent Text Reader

Abstract

The present application relates to a clock display method, device, computer equipment, storage medium and computer program product. The method includes: the display driver chip performs time calibration according to the local time information and the processor time information to obtain the calibrated time information; according to the calibrated time information, the rotation angle of each pointer graphic used to form the display dial is determined; the empty dial image and at least one pointer graphic stored locally are obtained, and according to the rotation angle of each pointer graphic, the empty dial image and at least one pointer graphic are superimposed to obtain the dial image corresponding to the calibrated time information; the background image sent by the video processor is obtained, the dial image and the background image are superimposed to obtain the display dial data, and the display dial data is transmitted to the display screen to display the calibrated time information. The display driver chip using this method can independently realize the clock display that imitates the hands of the clock dial, reducing the running load of the processor and the graphics processor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of display driver IC (Integrated Circuit), and in particular to a clock display method, device, computer equipment, storage medium and computer program product. Background Art

[0002] There are two methods for displaying clocks in current flat panel display devices, Arabic numerals and imitating clock dial hands. The Arabic numeral clock display method is relatively simple and can be solved using a local dot matrix font library. In the display method that imitates the hour, minute, second hand and dial, the system processor (AP / GPU) generally calculates and generates an image that imitates the hour, minute, second hand and dial, and then blends it with the background image and loads it into the GPU frame buffer, and then sends it to the display controller (scalar / monitor controller) or display driver IC (driver IC) through the high-speed port, and then displays it on the panel. This method has the advantage that customers can customize the hour, minute, second hand and dial at will, but in order to send it to the display driver IC (display driver IC) through the high-speed port, it is necessary to constantly refresh the local frame buffer (local frame buffer), and the high-speed port consumes a lot of power, resulting in a large amount of power consumption when the display screen is in the sleep in state.

[0003] In traditional technology, image generation and complex algorithm processing can only be completed by powerful processors or graphics processors (CPU / GPU for short). However, with the industrial upgrading of display driver integrated circuits, more and more functions need to be and are best to be implemented in display driver integrated circuits, which can also liberate the CPU / GPU, improve the overall performance of the CPU / GPU, and add more other functions, such as sensor hubs, health management, etc.

[0004] The current clock display method that imitates the hands of a clock face places a high load on the device's CPU / GPU and causes high overall power consumption. Summary of the invention

[0005] Based on this, it is necessary to provide a clock display method, device, computer equipment, computer-readable storage medium and computer program product that can reduce the overall power consumption of the device in order to address the above technical problems.

[0006] In a first aspect, the present application provides a clock display method, which is applied to a display driver chip of a display screen, and the display driver chip is connected and communicated with a video processor. The method comprises:

[0007] Perform time calibration according to the local time information and the processor time information to obtain the calibrated time information;

[0008] Determine the rotation angle of each pointer graphic constituting the display dial according to the calibrated time information;

[0009] Acquire a locally stored empty dial image and at least one pointer graphic, and superimpose the empty dial image and at least one pointer graphic according to the rotation angle of each pointer graphic to obtain a dial image corresponding to the calibrated time information;

[0010] The background image sent by the video processor is obtained, the dial image and the background image are superimposed to obtain display dial data, and the display dial data is transmitted to the display screen to display the calibrated time information.

[0011] In one embodiment, determining the rotation angle of each pointer graphic constituting a display dial according to the calibrated time information includes:

[0012] Obtain the corresponding relationship between the rotation angle of each pointer graphic and different time from the locally stored angle-time relationship table;

[0013] Based on the correspondence between the rotation angle of each pointer graphic and different time periods, the rotation angle of each pointer graphic corresponding to the calibrated time information is determined.

[0014] In one embodiment, according to the rotation angle of each pointer graphic, a blank dial image and at least one pointer graphic are superimposed to obtain a dial image corresponding to the calibrated time information, including:

[0015] According to the rotation angle of each pointer graphic corresponding to the calibrated time information, each pointer graphic is rotated respectively, and anti-aliasing processing is performed on each rotated pointer graphic to obtain each pointer layer;

[0016] The dial layer where the empty dial image is located is determined, and each pointer layer and the dial layer are superimposed to obtain a dial image corresponding to the calibrated time information.

[0017] In one embodiment, each pointer layer and the dial layer are superimposed, including:

[0018] Obtain the locally stored layer configuration parameters, and determine the display priority of each pointer layer and dial layer according to the layer configuration parameters;

[0019] Each pointer layer and dial layer are superimposed according to the display priority.

[0020] In one embodiment, the method further comprises:

[0021] Obtaining an empty dial image, at least one pointer graphic, and layer configuration parameters sent by a video processor;

[0022] At least one pointer graphic is stored in a local first storage area, an empty dial image is stored in a local second storage area, and layer configuration parameters are stored in a local configuration storage area.

[0023] In one embodiment, time calibration is performed according to the local time information and the processor time information to obtain the calibrated time information, including:

[0024] Obtain the local time information of the display driver chip, receive the processor time information sent by the video processor, and obtain the video synchronization signal generated by the display screen;

[0025] Time calibration is performed according to local time information, processor time information and video synchronization signal to obtain calibrated time information.

[0026] In one embodiment, before transmitting the display dial data to the display screen, the method further includes:

[0027] Get the data delay corresponding to the displayed dial data;

[0028] Regenerate a new video synchronization signal according to the video synchronization signal and data delay;

[0029] Accordingly, the display dial data is transmitted to the display screen, including:

[0030] Transmits new video sync signals and display dial data to the display.

[0031] In a second aspect, the present application also provides a clock display device. The device comprises:

[0032] A time calibration module, used to perform time calibration according to local time information and processor time information to obtain calibrated time information;

[0033] An angle calculation module, used to determine the rotation angle of each pointer graphic constituting the display dial according to the calibrated time information;

[0034] A first superposition module is used to obtain a locally stored empty dial image and at least one pointer graphic, and superimpose the empty dial image and the at least one pointer graphic according to a rotation angle of each pointer graphic to obtain a dial image corresponding to the calibrated time information;

[0035] The second superposition module is used to obtain the background image sent by the video processor, superimpose the dial image and the background image to obtain display dial data, and transmit the display dial data to the display screen to display the calibrated time information.

[0036] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0037] Perform time calibration according to the local time information and the processor time information to obtain the calibrated time information;

[0038] Determine the rotation angle of each pointer graphic constituting the display dial according to the calibrated time information;

[0039] Acquire a locally stored empty dial image and at least one pointer graphic, and superimpose the empty dial image and at least one pointer graphic according to the rotation angle of each pointer graphic to obtain a dial image corresponding to the calibrated time information;

[0040] The background image sent by the video processor is obtained, the dial image and the background image are superimposed to obtain display dial data, and the display dial data is transmitted to the display screen to display the calibrated time information.

[0041] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0042] Perform time calibration according to the local time information and the processor time information to obtain the calibrated time information;

[0043] Determine the rotation angle of each pointer graphic constituting the display dial according to the calibrated time information;

[0044] Acquire a locally stored empty dial image and at least one pointer graphic, and superimpose the empty dial image and at least one pointer graphic according to the rotation angle of each pointer graphic to obtain a dial image corresponding to the calibrated time information;

[0045] The background image sent by the video processor is obtained, the dial image and the background image are superimposed to obtain display dial data, and the display dial data is transmitted to the display screen to display the calibrated time information.

[0046] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0047] Perform time calibration according to the local time information and the processor time information to obtain the calibrated time information;

[0048] Determine the rotation angle of each pointer graphic constituting the display dial according to the calibrated time information;

[0049] Acquire a locally stored empty dial image and at least one pointer graphic, and superimpose the empty dial image and at least one pointer graphic according to the rotation angle of each pointer graphic to obtain a dial image corresponding to the calibrated time information;

[0050] The background image sent by the video processor is obtained, the dial image and the background image are superimposed to obtain display dial data, and the display dial data is transmitted to the display screen to display the calibrated time information.

[0051] In the clock display method, device, computer equipment, storage medium and computer program product, the display driver chip performs time calibration according to the local time information and the processor time information to obtain the calibrated time information; according to the calibrated time information, the rotation angle of each pointer graphic used to form the display dial is determined; the empty dial image and at least one pointer graphic stored locally are obtained, and according to the rotation angle of each pointer graphic, the empty dial image and at least one pointer graphic are superimposed to obtain the dial image corresponding to the calibrated time information; the background image sent by the video processor is obtained, the dial image and the background image are superimposed to obtain the display dial data, and the display dial data is transmitted to the display screen to display the calibrated time information. The display driver chip can independently realize the clock display that imitates the hands of the clock dial, greatly reducing the dependence on the processor and the graphics processor. The processor and the graphics processor only need to transmit the time information and the pointer dial graphic to the display driver chip, and the data processing process of generating the dial image is completed by the display driver chip, which can reduce the running load of the processor and the graphics processor, thereby reducing the overall power consumption of the device. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A diagram showing an application environment of a clock display method in an embodiment;

[0053] Figure 2 A schematic diagram of a flow chart of a clock display method in one embodiment;

[0054] Figure 3 A schematic diagram of a structure framework of a display driver chip in one embodiment;

[0055] Figure 4 is a structural block diagram of a clock display device in an embodiment;

[0056] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0058] The clock display method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal is provided with a display driver chip 102, a video processor 104 and a display screen 106. The display driver chip 102 is configured on the display screen 106 and can communicate with the video processor 104. The video processor 104 can be a CPU, a GPU, or a CPU and a GPU. The terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc.

[0059] In one embodiment, Figure 2 As shown, a clock display method is provided, which is applied to Figure 1 Taking the display driver chip 102 in the embodiment as an example, the method includes the following steps:

[0060] Step 202: perform time calibration based on the local time information and the processor time information to obtain calibrated time information.

[0061] Optionally, the display driver chip obtains the current local time information using the local clock, and receives the current processor time information from the video processor as the standard time, and calibrates the local time information based on the processor time information to obtain the calibrated current time information.

[0062] The local clock of the display driver chip can be implemented based on a local crystal oscillator to form a local timing and counting function.

[0063] Step 204, determining the rotation angle of each pointer graphic constituting the display dial according to the calibrated time information.

[0064] Among them, the pointer graphics are divided into hour hand graphics, minute hand graphics and second hand graphics.

[0065] Optionally, each time the display driver chip obtains the calibrated time information, it reads the locally stored angle-time relationship table, which records the correspondence between the hour hand graphic rotation angle and different times, the minute hand graphic rotation angle and different times, and the second hand graphic rotation angle and different times. According to the current calibrated time information, the rotation angle of the hour hand graphic, the rotation angle of the minute hand graphic, and the second hand graphic that match the current time are obtained from the angle-time relationship table.

[0066] Step 206, obtain the empty dial image and at least one pointer graphic stored locally, and superimpose the empty dial image and at least one pointer graphic according to the rotation angle of each pointer graphic to obtain the dial image corresponding to the calibrated time information.

[0067] Among them, the empty dial image and pointer graphics can be customized in the video processor, and then pre-transmitted to the display driver chip for storage. When it is necessary to display a clock that imitates the hands of a clock dial on the display screen, the display driver chip directly obtains the empty dial image and pointer graphics from the local. The configurable pointer graphics types and corresponding parameters are: long stick needle, needle length and width, and needle color; Breguet needle, needle length, needle width on both short sides, needle decorative ring / dot radius, and needle color; needle center embedded shaft ring, large and small ring radius, ring color, etc.

[0068] Optionally, the display driver chip rotates each pointer graphic according to the rotation angle of each pointer graphic corresponding to the calibrated time information, and performs anti-aliasing processing on each rotated pointer graphic, and obtains each pointer layer according to each pointer graphic after rotation and anti-aliasing processing; determines the dial layer where the empty dial image is located, superimposes each pointer layer and the dial layer, and obtains the dial image corresponding to the calibrated time information.

[0069] Step 208, obtaining the background image sent by the video processor, superimposing the dial image and the background image to obtain display dial data, and transmitting the display dial data to the display screen to display the calibrated time information.

[0070] Optionally, the display driver chip receives the background image of the dial that currently needs to be displayed from the video processor, superimposes the dial image and the background image to obtain the display dial data to be displayed at the current moment, and transmits the display dial data to the display screen. The display screen displays the dial graphic, hour hand graphic, minute hand graphic, second hand graphic and background image together to indicate the current moment.

[0071] In the above clock display method, the display driver chip performs time calibration according to the local time information and the processor time information to obtain the calibrated time information; according to the calibrated time information, the rotation angle of each pointer graphic used to form the display dial is determined; the empty dial image and at least one pointer graphic stored locally are obtained, and according to the rotation angle of each pointer graphic, the empty dial image and at least one pointer graphic are superimposed to obtain the dial image corresponding to the calibrated time information; the background image sent by the video processor is obtained, the dial image and the background image are superimposed to obtain the display dial data, and the display dial data is transmitted to the display screen to display the calibrated time information. The display driver chip can independently realize the clock display that imitates the hands of the clock dial, greatly reducing the dependence on the processor and the graphics processor. The processor and the graphics processor only need to transmit the time information and the pointer dial graphic to the display driver chip. The data processing process of generating the dial image is completed by the display driver chip, which can reduce the operating load of the processor and the graphics processor, thereby reducing the overall power consumption of the device.

[0072] In one embodiment, the rotation angle of each pointer graphic used to form a display dial is determined based on the calibrated time information, including: obtaining the correspondence between the rotation angle of each pointer graphic and different time periods from a locally stored angle-time relationship table; based on the correspondence between the rotation angle of each pointer graphic and different time periods, determining the rotation angle of each pointer graphic corresponding to the calibrated time information.

[0073] Among them, the angle-time relationship table is pre-edited and stored locally in the display driver chip. The time relationship table records the corresponding relationship between the rotation angle of the hour hand graphic and different time periods, the corresponding relationship between the rotation angle of the minute hand graphic and different time periods, and the corresponding relationship between the rotation angle of the second hand graphic and different time periods. The rotation angle includes 0 to 360 degrees. For example, when the current time is 0 o'clock or 12 o'clock, the rotation angle corresponding to the hour hand graphic is 0 degree, the rotation angle corresponding to the minute hand graphic is 0 degree, and the rotation angle corresponding to the second hand graphic is 0 degree; when the current time is 3 o'clock, the rotation angle corresponding to the hour hand graphic is 90 degrees, the rotation angle corresponding to the minute hand graphic is 0 degree, and the rotation angle corresponding to the second hand graphic is 0 degree; when the current time is 6:30:10, the rotation angle corresponding to the hour hand graphic is 195 degrees, the rotation angle corresponding to the minute hand graphic is 30 degrees, and the rotation angle corresponding to the second hand graphic is 60 degrees.

[0074] Specifically, the display driver chip obtains the correspondence between the rotation angle of the hour hand graphic and different moments, the correspondence between the rotation angle of the minute hand graphic and different moments, and the correspondence between the rotation angle of the second hand graphic and different moments from the locally stored angle-time relationship table. Based on the correspondence between the rotation angle of the hour hand graphic and different moments, the hour hand rotation angle of the hour hand graphic corresponding to the calibrated moment information is determined. Based on the correspondence between the rotation angle of the minute hand graphic and different moments, the minute hand rotation angle of the minute hand graphic corresponding to the calibrated moment information is determined. Based on the correspondence between the rotation angle of the second hand graphic and different moments, the second hand rotation angle of the second hand graphic corresponding to the calibrated moment information is determined.

[0075] In a feasible implementation manner, the display driver chip obtains the angle-time relationship table sent by the video processor, and stores the angle-time relationship table in a local table storage area.

[0076] In this embodiment, the rotation angle of each pointer graphic and the corresponding relationship between different moments are obtained from the locally stored angle-time relationship table; based on the corresponding relationship between the rotation angle of each pointer graphic and different moments, the rotation angle of each pointer graphic corresponding to the calibrated moment information is determined. The display driver chip can calculate the rotation angle of each pointer image at each moment, greatly reducing the dependence on the processor and the graphics processor. The processor and the graphics processor only need to transmit time information and pointer dial graphics to the display driver chip, which can reduce the operating load of the processor and the graphics processor, thereby reducing the overall power consumption of the device.

[0077] In one embodiment, according to the rotation angle of each pointer graphic, an empty dial image and at least one pointer graphic are superimposed to obtain a dial image corresponding to the calibrated moment information, including: rotating each pointer graphic according to the rotation angle of each pointer graphic corresponding to the calibrated moment information, and performing anti-aliasing processing on each rotated pointer graphic to obtain each pointer layer; determining the dial layer where the empty dial image is located, obtaining the locally stored layer configuration parameters, and determining the display priority of each pointer layer and dial layer according to the layer configuration parameters; superimposing each pointer layer and dial layer according to the display priority. Superimposing each pointer layer and dial layer to obtain a dial image corresponding to the calibrated moment information.

[0078] Optionally, the display driver chip obtains the hour hand graphic, minute hand graphic and second hand graphic stored locally, and rotates the hour hand graphic according to the hour hand rotation angle, and performs anti-aliasing processing on the rotated hour hand graphic to obtain the hour hand layer; rotates the minute hand graphic according to the minute hand rotation angle, and performs anti-aliasing processing on the rotated minute hand graphic to obtain the minute hand layer; rotates the second hand graphic according to the second hand rotation angle, and performs anti-aliasing processing on the rotated hour hand graphic to obtain the second hand layer. The display driver chip obtains the empty dial image stored locally. If the empty dial image stored locally is compressed, the compressed empty dial image is first decompressed to obtain the dial layer where the empty dial image is located. Then the display driver chip determines the display priority of the hour hand layer, minute hand layer, second hand layer and dial layer according to the layer configuration parameters stored locally. The display priority of the dial layer is the lowest, and the layer with the highest display priority covers the layer with the lower display priority. The hour hand layer, minute hand layer, second hand layer and dial layer are superimposed according to the display priority to obtain a dial image representing the current moment. The rotated pointer graphic will have a strong sense of jagged edges, so anti-aliasing processing is required. The distance between the edge of the pointer graphic after rotation and the reverse original image lookup point is used as a blending coefficient to perform anti-aliasing blending with the empty dial image to eliminate the jagged edges.

[0079] In a feasible implementation manner, the layer configuration parameters also include the layer transparency of each of the hour hand layer, the minute hand layer, the second hand layer, and the dial layer.

[0080] In this embodiment, according to the rotation angle of each pointer graphic corresponding to the calibrated moment information, each pointer graphic is rotated respectively, and each rotated pointer graphic is anti-aliased to obtain each pointer layer; the dial layer where the empty dial image is located is determined, the layer configuration parameters stored locally are obtained, and the display priority of each pointer layer and dial layer is determined respectively according to the layer configuration parameters; each pointer layer and dial layer are superimposed according to the display priority. Each pointer layer and dial layer are superimposed to obtain a dial image corresponding to the calibrated moment information. The display driver chip can rotate each pointer graphic respectively, and perform anti-aliasing mixed processing on each rotated pointer graphic and the empty dial image, which greatly reduces the dependence on the processor and the graphics processor. The processor and the graphics processor only need to transmit the time information and the pointer dial graphic to the display driver chip, which can reduce the running load of the processor and the graphics processor, thereby reducing the overall power consumption of the device.

[0081] In one embodiment, the method also includes: obtaining an empty dial image, at least one pointer graphic and layer configuration parameters sent by a video processor; storing at least one pointer graphic in a local first storage area, storing the empty dial image in a local second storage area, and storing the layer configuration parameters in a local configuration storage area.

[0082] Optionally, at least 4 storage areas are provided on the display driver chip, and an empty dial image, hour hand graphics, minute hand graphics, second hand graphics, layer configuration parameters and angle-time relationship table are obtained in advance from the video processor, and the hour hand graphics, minute hand graphics and second hand graphics are stored in a local first storage area, the empty dial image is stored in a local second storage area, the layer configuration parameters are stored in a local configuration storage area, and the angle-time relationship table is stored in a local table storage area.

[0083] In this embodiment, the processor and the graphics processor transmit the empty dial image, hour hand graphic, minute hand graphic, second hand graphic, layer configuration parameters and angle-time relationship table to the display driver chip in advance. During the process of the display driver chip generating the dial image of the analog clock, the processor and the graphics processor only need to transmit the time information to the display driver chip, which can reduce the operating load of the processor and the graphics processor, thereby reducing the overall power consumption of the device.

[0084] In one embodiment, time calibration is performed according to local time information and processor time information to obtain calibrated time information, including: obtaining local time information of a display driver chip, receiving processor time information sent by a video processor, and obtaining a video synchronization signal generated by a display screen; time calibration is performed according to local time information, processor time information, and video synchronization signal to obtain calibrated time information.

[0085] Optionally, the display driver chip uses the local clock to obtain the current local time information, and at the same time receives the current processor time information from the video processor, and receives a video synchronization signal from the display screen. The video synchronization signal carries the video clock. Based on the processor time information and the video clock, the local time information is calibrated to obtain the calibrated current time information.

[0086] In this embodiment, the local time information of the display driver chip is obtained, the processor time information sent by the video processor is received, and the video synchronization signal generated by the display screen is obtained; time calibration is performed according to the local time information, the processor time information and the video synchronization signal to obtain the calibrated time information. The display driver chip calibrates the local time based on the standard time of the processor and the video clock of the display, and can obtain more accurate time information.

[0087] In one embodiment, before transmitting the display dial data to the display screen, the method further includes: obtaining a data delay corresponding to the display dial data; and regenerating a new video synchronization signal according to the video synchronization signal and the data delay. Accordingly, transmitting the display dial data to the display screen includes: transmitting the new video synchronization signal and the display dial data to the display screen.

[0088] Optionally, after the pointer graphic rotates and is superimposed on the empty dial image, the data delay of the image changes, so a new video synchronization signal needs to be regenerated. The display driver chip synchronously transmits the new video synchronization signal and the display dial data to the display screen, and the display screen displays the dial graphic, hour hand graphic, minute hand graphic, second hand graphic and background image together to indicate the current moment.

[0089] In this embodiment, the data delay corresponding to the display dial data is obtained; and a new video synchronization signal is regenerated according to the video synchronization signal and the data delay. Accordingly, the display dial data is transmitted to the display screen, including: transmitting the new video synchronization signal and the display dial data to the display screen. The processor and the graphics processor do not need to process the video synchronization signal, which can reduce the operating load of the processor and the graphics processor, thereby reducing the overall power consumption of the device.

[0090] In one embodiment, a clock display method is applied to a display driver chip of a display screen, wherein the display driver chip is connected and communicated with a video processor, comprising:

[0091] Obtain the empty dial image, hour hand graphic, minute hand graphic, second hand graphic, layer configuration parameters and angle-time relationship table sent by the video processor; store the hour hand graphic, minute hand graphic and second hand graphic in the first local storage area, store the empty dial image in the second local storage area, store the layer configuration parameters in the local configuration storage area, and store the angle-time relationship table in the local table storage area.

[0092] Obtain the local time information of the display driver chip, receive the processor time information sent by the video processor, and obtain the video synchronization signal generated by the display screen; perform time calibration according to the local time information, the processor time information and the video synchronization signal to obtain the calibrated time information.

[0093] Obtain the corresponding relationship between the rotation angle of each pointer graphic and different time from the locally stored angle-time relationship table; based on the corresponding relationship between the rotation angle of each pointer graphic and different time, determine the rotation angle of each pointer graphic corresponding to the calibrated time information.

[0094] Obtain a locally stored empty dial image and at least one pointer graphic, rotate each pointer graphic according to the rotation angle of each pointer graphic corresponding to the calibrated time information, and perform anti-aliasing processing on each rotated pointer graphic to obtain each pointer layer; determine the dial layer where the empty dial image is located, obtain the locally stored layer configuration parameters, and determine the display priority of each pointer layer and dial layer according to the layer configuration parameters; superimpose each pointer layer and dial layer according to the display priority to obtain the dial image corresponding to the calibrated time information.

[0095] Get the background image sent by the video processor, superimpose the dial image and the background image, and obtain the display dial data.

[0096] The data delay corresponding to the display dial data is obtained; and a new video synchronization signal is regenerated according to the video synchronization signal and the data delay.

[0097] Transmits new video sync signals and display dial data to the display.

[0098] In one embodiment, a clock display method is applied to Figure 3 Taking the display driver chip shown in the figure as an example, the display driver chip is connected and communicated with the video processor, and the display driver chip includes:

[0099] The display driver chip obtains the empty dial image, hour hand graphic, minute hand graphic, second hand graphic, layer configuration parameters and angle-time relationship table sent by the video processor; stores the hour hand graphic, minute hand graphic and second hand graphic in the first local storage area, stores the empty dial image in the second local storage area, stores the layer configuration parameters in the local configuration storage area, and stores the angle-time relationship table in the local table storage area.

[0100] The local timer obtains the local time information of the local clock of the display driver chip. The time calibrator receives the processor time information sent by the video processor. The synchronization counter obtains the video synchronization signal generated by the display. The time calibrator performs time calibration based on the local time information, the processor time information and the video synchronization signal to obtain the calibrated time information.

[0101] The matcher obtains the angle-time relationship table in the table storage area, and determines the rotation angle of each pointer graphic corresponding to the calibrated time information based on the corresponding relationship between the rotation angle of each pointer graphic and different time.

[0102] The arbitrator obtains the pixels of the pointer graphics from the first storage area, and each pixel processor rotates the pixels of each pointer graphics according to the rotation angle of each pointer graphics corresponding to the calibrated moment information. The decoder obtains the empty dial image from the second storage area and performs decoding and decompression. The mixer performs anti-aliasing processing on the rotated pointer graphics and the empty dial image to obtain each pointer layer and the empty dial layer. The mixer also obtains the layer configuration parameters from the configuration storage area, and determines the display priority of each pointer layer and the dial layer according to the layer configuration parameters; each pointer layer and the dial layer are superimposed according to the display priority to obtain the dial image corresponding to the calibrated moment information. The selector receives the background image sent by the video processor, and superimposes the dial image and the background image through the pixel processor and the mixer to obtain the display dial data. Figure 3The four pixel processors read out four pixels in parallel at a time for rotation processing. The number of pixel processors is not limited to four, and a larger number of pixel processors can also be configured, and each pixel processor is configured with a corresponding mixer. The more pixel processors there are, the higher the efficiency of parallel processing of pointer graphic pixels.

[0103] The synchronization signal generator obtains the data delay corresponding to the display dial data, and regenerates a new video synchronization signal according to the video synchronization signal and the data delay received from the display screen.

[0104] The display driver chip transmits the new video synchronization signal and display dial data to the display screen.

[0105] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0106] Based on the same inventive concept, the embodiment of the present application also provides a clock display device for implementing the clock display method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more clock display device embodiments provided below can refer to the limitations on the clock display method above, and will not be repeated here.

[0107] In one embodiment, Figure 4 As shown, a clock display device 400 is provided, comprising: a time calibration module 401, an angle calculation module 402, a first superposition module 403 and a second superposition module 404, wherein:

[0108] The time calibration module 401 is used to perform time calibration according to the local time information and the processor time information to obtain the calibrated time information.

[0109] The angle calculation module 402 is used to determine the rotation angle of each pointer graphic constituting the display dial according to the calibrated time information.

[0110] The first superposition module 403 is used to obtain the locally stored empty dial image and at least one pointer graphic, and superimpose the empty dial image and at least one pointer graphic according to the rotation angle of each pointer graphic to obtain the dial image corresponding to the calibrated time information.

[0111] The second superposition module 404 is used to obtain the background image sent by the video processor, superimpose the dial image and the background image to obtain display dial data, and transmit the display dial data to the display screen to display the calibrated time information.

[0112] In one embodiment, the angle calculation module 402 is also used to obtain the corresponding relationship between the rotation angle of each pointer graphic and different moments from the locally stored angle-time relationship table; based on the corresponding relationship between the rotation angle of each pointer graphic and different moments, determine the rotation angle of each pointer graphic corresponding to the calibrated moment information.

[0113] In one embodiment, the first overlay module 403 is also used to rotate each pointer graphic according to the rotation angle of each pointer graphic corresponding to the calibrated time information, and perform anti-aliasing processing on each rotated pointer graphic to obtain each pointer layer; determine the dial layer where the empty dial image is located, overlay each pointer layer and the dial layer to obtain the dial image corresponding to the calibrated time information.

[0114] In one embodiment, the first overlay module 403 is also used to obtain locally stored layer configuration parameters, determine the display priority of each pointer layer and dial layer according to the layer configuration parameters, and overlay each pointer layer and dial layer according to the display priority.

[0115] In one embodiment, the apparatus further comprises:

[0116] An acquisition module is used to acquire an empty dial image, at least one pointer graphic and layer configuration parameters sent by a video processor; store at least one pointer graphic in a local first storage area, store the empty dial image in a local second storage area, and store the layer configuration parameters in a local configuration storage area.

[0117] In one embodiment, the time calibration module 401 is also used to obtain the local time information of the display driver chip, receive the processor time information sent by the video processor, and obtain the video synchronization signal generated by the display screen; perform time calibration according to the local time information, the processor time information and the video synchronization signal to obtain the calibrated time information.

[0118] In one embodiment, the second overlay module 404 is further used to obtain the data delay corresponding to the display dial data; regenerate a new video synchronization signal according to the video synchronization signal and the data delay; and transmit the new video synchronization signal and the display dial data to the display screen.

[0119] Each module in the above clock display device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0120] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a clock display method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0121] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0122] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: performing time calibration according to local time information and processor time information to obtain calibrated time information; determining the rotation angle of each pointer graphic used to constitute a display dial according to the calibrated time information; obtaining a locally stored empty dial image and at least one pointer graphic, and superimposing the empty dial image and at least one pointer graphic according to the rotation angle of each pointer graphic to obtain a dial image corresponding to the calibrated time information; obtaining a background image sent by a video processor, superimposing the dial image and the background image to obtain display dial data, and transmitting the display dial data to a display screen to display the calibrated time information.

[0123] In one embodiment, when the processor executes the computer program, it also implements the following steps: obtaining the corresponding relationship between the rotation angle of each pointer graphic and different moments from the locally stored angle-time relationship table; based on the corresponding relationship between the rotation angle of each pointer graphic and different moments, determining the rotation angle of each pointer graphic corresponding to the calibrated moment information.

[0124] In one embodiment, the processor further implements the following steps when executing the computer program: rotating each pointer graphic according to the rotation angle of each pointer graphic corresponding to the calibrated time information, and performing anti-aliasing processing on each rotated pointer graphic to obtain each pointer layer; determining the dial layer where the empty dial image is located, superimposing each pointer layer and the dial layer to obtain the dial image corresponding to the calibrated time information.

[0125] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining locally stored layer configuration parameters, and determining the display priority of each pointer layer and dial layer according to the layer configuration parameters; and superimposing each pointer layer and dial layer according to the display priority.

[0126] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining an empty dial image, at least one pointer graphic and layer configuration parameters sent by the video processor; storing at least one pointer graphic in a local first storage area, storing the empty dial image in a local second storage area, and storing the layer configuration parameters in a local configuration storage area.

[0127] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the local time information of the display driver chip, receiving the processor time information sent by the video processor, and obtaining the video synchronization signal generated by the display screen; performing time calibration according to the local time information, the processor time information and the video synchronization signal to obtain the calibrated time information.

[0128] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the data delay corresponding to the display dial data; regenerating a new video synchronization signal based on the video synchronization signal and the data delay; and transmitting the new video synchronization signal and the display dial data to the display screen.

[0129] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: time calibration is performed according to local time information and processor time information to obtain calibrated time information; according to the calibrated time information, the rotation angle of each pointer graphic used to form a display dial is determined; locally stored empty dial image and at least one pointer graphic are obtained, and according to the rotation angle of each pointer graphic, the empty dial image and the at least one pointer graphic are superimposed to obtain a dial image corresponding to the calibrated time information; a background image sent by a video processor is obtained, the dial image and the background image are superimposed to obtain display dial data, and the display dial data is transmitted to a display screen to display the calibrated time information.

[0130] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the corresponding relationship between the rotation angle of each pointer graphic and different moments from the locally stored angle-time relationship table; based on the corresponding relationship between the rotation angle of each pointer graphic and different moments, determining the rotation angle of each pointer graphic corresponding to the calibrated moment information.

[0131] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the rotation angle of each pointer graphic corresponding to the calibrated time information, each pointer graphic is rotated separately, and each rotated pointer graphic is anti-aliased to obtain each pointer layer; the dial layer where the empty dial image is located is determined, and each pointer layer and the dial layer are superimposed to obtain the dial image corresponding to the calibrated time information.

[0132] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining locally stored layer configuration parameters, and determining the display priority of each pointer layer and dial layer according to the layer configuration parameters; and superimposing each pointer layer and dial layer according to the display priority.

[0133] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining an empty dial image, at least one pointer graphic and layer configuration parameters sent by the video processor; storing at least one pointer graphic in a local first storage area, storing the empty dial image in a local second storage area, and storing the layer configuration parameters in a local configuration storage area.

[0134] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the local time information of the display driver chip, receiving the processor time information sent by the video processor, and obtaining the video synchronization signal generated by the display screen; performing time calibration according to the local time information, the processor time information and the video synchronization signal to obtain the calibrated time information.

[0135] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the data delay corresponding to the display dial data; regenerating a new video synchronization signal based on the video synchronization signal and the data delay; and transmitting the new video synchronization signal and the display dial data to the display screen.

[0136] In one embodiment, a computer program product is provided, including a computer program, which implements the following steps when executed by a processor: performing time calibration according to local time information and processor time information to obtain calibrated time information; determining the rotation angle of each pointer graphic used to constitute a display dial according to the calibrated time information; obtaining a locally stored empty dial image and at least one pointer graphic, and superimposing the empty dial image and at least one pointer graphic according to the rotation angle of each pointer graphic to obtain a dial image corresponding to the calibrated time information; obtaining a background image sent by a video processor, superimposing the dial image and the background image to obtain display dial data, and transmitting the display dial data to a display screen to display the calibrated time information.

[0137] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the corresponding relationship between the rotation angle of each pointer graphic and different moments from the locally stored angle-time relationship table; based on the corresponding relationship between the rotation angle of each pointer graphic and different moments, determining the rotation angle of each pointer graphic corresponding to the calibrated moment information.

[0138] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the rotation angle of each pointer graphic corresponding to the calibrated time information, each pointer graphic is rotated separately, and each rotated pointer graphic is anti-aliased to obtain each pointer layer; the dial layer where the empty dial image is located is determined, and each pointer layer and the dial layer are superimposed to obtain the dial image corresponding to the calibrated time information.

[0139] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining locally stored layer configuration parameters, and determining the display priority of each pointer layer and dial layer according to the layer configuration parameters; and superimposing each pointer layer and dial layer according to the display priority.

[0140] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining an empty dial image, at least one pointer graphic and layer configuration parameters sent by the video processor; storing at least one pointer graphic in a local first storage area, storing the empty dial image in a local second storage area, and storing the layer configuration parameters in a local configuration storage area.

[0141] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the local time information of the display driver chip, receiving the processor time information sent by the video processor, and obtaining the video synchronization signal generated by the display screen; performing time calibration according to the local time information, the processor time information and the video synchronization signal to obtain the calibrated time information.

[0142] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the data delay corresponding to the display dial data; regenerating a new video synchronization signal based on the video synchronization signal and the data delay; and transmitting the new video synchronization signal and the display dial data to the display screen.

[0143] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0144] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0145] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0146] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A clock display method, characterized in that: A display driver chip applied to a display screen, wherein the display driver chip is connected and communicated with a video processor, and the method comprises: Perform time calibration according to the local time information and the processor time information to obtain the calibrated time information; Determining the rotation angle of each pointer graphic constituting the display dial according to the calibrated time information; Acquire a locally stored empty dial image and at least one pointer graphic, and superimpose the empty dial image and the at least one pointer graphic according to the rotation angle of each pointer graphic to obtain a dial image corresponding to the calibrated time information; the empty dial image and the pointer graphic are pre-stored in the display driver chip; The background image of the dial currently to be displayed sent by the video processor is obtained, the dial image and the background image are superimposed to obtain display dial data, and the display dial data is transmitted to the display screen to display the calibrated time information.

2. The method according to claim 1, characterized in that Determining the rotation angle of each pointer graphic used to form a display dial according to the calibrated time information includes: Obtain the corresponding relationship between the rotation angle of each pointer graphic and different time from the locally stored angle-time relationship table; Based on the correspondence between the rotation angle of each pointer graphic and different time periods, the rotation angle of each pointer graphic corresponding to the calibrated time information is determined.

3. The method according to claim 2, characterized in that The step of superimposing the empty dial image and the at least one pointer graphic according to the rotation angle of each pointer graphic to obtain the dial image corresponding to the calibrated time information includes: According to the rotation angle of each pointer graphic corresponding to the calibrated time information, each pointer graphic is rotated respectively, and anti-aliasing processing is performed on each rotated pointer graphic to obtain each pointer layer; The dial layer where the empty dial image is located is determined, and each pointer layer is superimposed on the dial layer to obtain a dial image corresponding to the calibrated time information.

4. The method according to claim 3, characterized in that The step of superimposing each pointer layer and the dial layer includes: Acquire locally stored layer configuration parameters, and determine the display priority of each pointer layer and the dial layer according to the layer configuration parameters; Each pointer layer and the dial layer are superimposed according to the display priority.

5. The method according to claim 4, characterized in that The method further comprises: Acquire the empty dial image, the at least one pointer graphic and the layer configuration parameters sent by the video processor; The at least one pointer graphic is stored in a local first storage area, the empty dial image is stored in a local second storage area, and the layer configuration parameters are stored in a local configuration storage area.

6. The method according to claim 1, characterized in that The step of performing time calibration according to the local time information and the processor time information to obtain the calibrated time information includes: Acquire the local time information of the display driver chip, receive the processor time information sent by the video processor, and acquire the video synchronization signal generated by the display screen; Time calibration is performed according to the local time information, the processor time information and the video synchronization signal to obtain the calibrated time information.

7. The method according to claim 6, characterized in that Before transmitting the display dial data to the display screen, the method further includes: Obtaining data delay corresponding to the display dial data; regenerating a new video synchronization signal according to the video synchronization signal and the data delay; Accordingly, the step of transmitting the display dial data to the display screen includes: The new video synchronization signal and the display dial data are transmitted to the display screen.

8. A clock display device, characterized in that: A display driver chip applied to a display screen, wherein the display driver chip is connected and communicated with a video processor; the device comprises: A time calibration module, used to perform time calibration according to local time information and processor time information to obtain calibrated time information; An angle calculation module, used to determine the rotation angle of each pointer graphic constituting the display dial according to the calibrated time information; A first superposition module is used to obtain a locally stored empty dial image and at least one pointer graphic, and to superimpose the empty dial image and the at least one pointer graphic according to a rotation angle of each pointer graphic to obtain a dial image corresponding to the calibrated time information; the empty dial image and the pointer graphic are pre-stored in the display driver chip; The second overlay module is used to obtain the background image of the dial currently to be displayed sent by the video processor, overlay the dial image and the background image to obtain display dial data, and transmit the display dial data to the display screen to display the calibrated time information.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.