Display control method, processor, device, medium, program product and chip
By setting up independent control, calculation, and display processing modules in the processor, the electronic clock interface achieves efficient display refresh, solves the problems of high power consumption and large resource consumption, improves display effect and battery life, and meets users' needs for time viewing.
Patent Information
- Application Number
- CN202611087849.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-21
- Publication Date
- 2026-11-06
AI Technical Summary
In existing technologies, when using a graphics processing unit (GPU) to control the display refresh of an electronic clock interface, the power consumption is high, the resource consumption is large, it is difficult to guarantee battery life and personalized design, and low computing power processing devices cannot guarantee display smoothness.
The processor is equipped with a control module, a computing module, and a display processing module, each responsible for a single task: scheduling control, data processing, and display refresh control, respectively. The target display information is determined by adjusting the interface information and the initial display information, and the display screen is controlled to refresh the electronic clock interface.
It reduces power consumption and resource usage during the refresh process of the electronic clock interface, improves the smoothness and versatility of the display effect, meets the requirements of battery life, and enhances the user experience.
Smart Images

Figure CN123047820A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of display control, specifically to a display control method, processor, device, medium, program product, and chip. Background Technology
[0002] Always-on display (AOD) technology, which allows devices to continuously display information even when the screen is off, improves information retrieval efficiency, ensures energy saving and battery life, and enables personalized interaction. It is widely used in display devices such as smart bracelets. Electronic clocks, as a type of analog clock face that provides time information, can meet users' needs for time viewing through display refresh, function expansion, and customized design. Summary of the Invention
[0003] To overcome the problems existing in related technologies, this disclosure provides a display control method, processor, device, medium, program product, and chip.
[0004] According to a first aspect of the present disclosure, a display control method is provided, applied to a processor, the processor including a control module, a computing module, and a display processing module, the display control method comprising: The control module periodically determines the interface adjustment information corresponding to the electronic clock interface at a preset frequency, and sends the interface adjustment information and calculation instructions to the calculation module. The interface adjustment information includes the rotation angle information of the target pointer of the electronic clock interface. The calculation module responds to the calculation instruction and determines the target display information of the electronic clock interface based on the interface adjustment information and the initial display information of the electronic clock interface; The display processing module controls the display screen to refresh the electronic clock interface based on the target display information.
[0005] In this embodiment, the control module determines interface adjustment information and sends the interface adjustment information and calculation instructions to the calculation module. Upon receiving the calculation instructions, the calculation module determines the target display information based on the interface adjustment information and the initial display information. Then, the display processing module controls the display screen to refresh the electronic clock interface based on the target display information, thus achieving display refresh control of the electronic clock interface. This ensures that the electronic clock interface can continuously provide users with accurate time information to meet their time viewing needs. By setting up a control module, a calculation module, and a display processing module in the processor, each serving as an independent module with a single responsibility for scheduling control, data processing, and display refresh control, respectively, it ensures that each module can achieve display control of the electronic clock interface with simple algorithms and hardware deployment. This reduces the power consumption and resource consumption of the electronic clock interface display refresh process, which is beneficial for simultaneously meeting the requirements for smooth and diverse display effects as well as battery life, thereby improving the user experience.
[0006] In some embodiments of this disclosure, the electronic clock interface includes multiple pointer layers, with different target pointers corresponding to different pointer layers.
[0007] In this embodiment, the electronic clock interface is configured as multiple pointer layers, with different target pointers corresponding to different pointer layers. This enables independent and precise control of each target pointer, which helps reduce the difficulty of software development and hardware deployment of the electronic clock interface. It also facilitates personalized design, functional expansion, and effect optimization of the electronic clock interface, further enhancing the user experience.
[0008] In some embodiments of this disclosure, determining the target display information of the electronic clock interface based on the interface adjustment information and the initial display information of the electronic clock interface includes: Based on the interface adjustment information and the initial display information corresponding to each pointer layer, the target display information corresponding to each pointer layer is determined; The step of controlling the display screen to refresh the electronic clock interface based on the target display information includes: Based on the target display information corresponding to each pointer layer, generate each refreshed pointer layer; Based on the refreshed pointer layers, the screen is generated and controlled to display the refreshed electronic clock interface.
[0009] In this embodiment, the target display information corresponding to each pointer layer is determined based on the interface adjustment information and initial display information corresponding to each pointer layer. Then, based on the target display information, refreshed pointer layers are generated. Finally, based on the refreshed pointer layers, the display screen is generated and controlled to show the refreshed electronic clock interface. The complete refresh of the electronic clock interface is achieved through independent layer refresh and composite display. This allows each target pointer to independently execute the process of determining the target display information and the layer refresh process, avoiding interference between data processing or layer refresh processes of different target pointers. This further reduces the computational load and hardware burden on the calculation module and display processing module, facilitating personalized design, functional expansion, and effect optimization of the electronic clock interface, and further enhancing the user experience.
[0010] In some embodiments of this disclosure, different target pointers correspond to different preset frequencies.
[0011] In this embodiment, by configuring different preset frequencies for different target pointers, different target pointers can correspond to different refresh frequencies according to their needs, which can further realize independent and precise control of each target pointer, and help reduce the amount of computation and power consumption in the display control process.
[0012] In some embodiments of this disclosure, the rotation angle information includes at least one of the rotation angle of the target pointer, the trigonometric function value corresponding to the rotation angle, and the fixed-point value of the trigonometric function corresponding to the rotation angle.
[0013] In this embodiment, at least one of the rotation angle of the target pointer, the trigonometric function value corresponding to the rotation angle, and the fixed point value of the trigonometric function corresponding to the rotation angle is used as the rotation angle information, which provides a basis for determining the target display information and refreshing the electronic clock interface. It can utilize the characteristics of data forms such as rotation angle, trigonometric function value, and trigonometric function fixed point value to optimize the display control process, which is beneficial to reducing the amount of calculation and power consumption of the display control process.
[0014] In some embodiments of this disclosure, the interface adjustment information further includes at least one of the following: the read address of the initial display information, the storage address of the target display information, the image size of the electronic clock interface, and the interrupt instruction configuration parameters.
[0015] In this embodiment, at least one of the following is used together with the rotation angle information: the reading address of the initial display information, the storage address of the target display information, the image size of the electronic clock interface, and the interrupt instruction configuration parameters. This provides a guarantee for the determination of the target display information and its subsequent use, which is beneficial to improving the efficiency and stability of the display control process.
[0016] In some embodiments of this disclosure, the interface adjustment information further includes interrupt instruction configuration parameters, and the display control method further includes: In response to determining the target display information, the calculation module generates an interrupt command based on the interrupt command configuration parameters and sends it to the control module. In response to the interrupt command, the control module generates a display command and display configuration parameters and sends them to the display processing module.
[0017] In this embodiment, when the interface adjustment information also includes interrupt command configuration parameters, the calculation module generates an interrupt command based on the interrupt command configuration parameters and sends it to the control module when determining the target display information. This notifies the control module that the determination of the target display information has been completed. When the control module receives the interrupt command, it generates a display command and display configuration parameters and sends them to the display processing module. This provides an indication and basis for the display processing module to control the display screen to refresh the electronic clock interface, realizing the scheduling and control of the display processing module, which is beneficial to improving the efficiency and stability of the display control process.
[0018] In some embodiments of this disclosure, the initial display information includes the initial pixel information of each pixel of the electronic clock interface; Determining the target display information of the electronic clock interface based on the interface adjustment information and the initial display information of the electronic clock interface includes: The pixels of the electronic clock interface are divided into a first pixel corresponding to the target pointer and a second pixel other than the first pixel; Based on the initial pixel information of each first pixel and the interface adjustment information, the target pixel information of each first pixel is determined; The target display information is determined based on the target pixel information of each first pixel and the initial pixel information of each second pixel.
[0019] In this embodiment, the pixels of the electronic clock interface are divided into a first pixel corresponding to the target pointer and a second pixel other than the first pixel. Based on the initial pixel information of each first pixel and interface adjustment information, the target pixel information of each first pixel is determined. Then, based on the target pixel information of each first pixel and the initial pixel information of each second pixel, the target display information is determined, providing a basis for refreshing the electronic clock interface. By selecting the first pixel related to the target pointer for calculating the target pixel information, the calculation of the second pixels unrelated to the electronic clock interface can be directly skipped, significantly reducing the actual computational load of the calculation module and further reducing power consumption and resource consumption during the display refresh process.
[0020] In some embodiments of this disclosure, the first pixel is configured as a pixel whose transparency channel value is greater than 0.
[0021] In this embodiment, pixels with a transparency channel value greater than 0 are used as the first pixel, enabling the calculation module to quickly and accurately divide the first pixel into the second pixel, further reducing the actual computational load of the calculation module, thereby reducing the power consumption and resource consumption of the display refresh process.
[0022] In some embodiments of this disclosure, the initial pixel information includes the initial position information of the pixel; Determining the target pixel information of each first pixel based on the initial pixel information of each first pixel and the interface adjustment information includes: Based on the initial position information of each first pixel and the interface adjustment information, the target position information of each first pixel is determined as the target pixel information of each first pixel.
[0023] In this embodiment, the initial position information of the pixel is used as the initial pixel information. Based on the initial position information of each first pixel and the interface adjustment information, the target position information of each first pixel is determined and used as the target pixel information of each first pixel. The rotation of the target pointer can be reflected by the position adjustment of the first pixel, so as to provide a basis for determining the target display information and refreshing the electronic clock interface. The calculation method is simple and has a small error, which improves the efficiency and accuracy of determining the target display information.
[0024] In some embodiments of this disclosure, the display control method further includes: In response to enabling the always-on display mode, the display processing module controls the display screen to display the electronic clock interface.
[0025] In this embodiment, when the always-on display mode is detected, the display processing module controls the display screen to display the electronic clock interface, so that the electronic clock interface can start displaying when the always-on display mode is enabled and refresh in real time during the always-on display mode. Since the control module, computing module and display processing module can reduce the power consumption and resource consumption of the display refresh process, which matches the requirements of the always-on display mode for low power consumption and low resource consumption, there is no need for high-power processors such as GPUs or APs to participate in the display control process during the always-on display mode.
[0026] In some embodiments of this disclosure, the control module includes a microprocessor unit.
[0027] In some embodiments of this disclosure, the computing module includes a visual digital signal processor.
[0028] In some embodiments of this disclosure, the display processing module includes a display processing unit.
[0029] In some embodiments of this disclosure, the processor includes a system-on-a-chip (SoC).
[0030] In this embodiment, the microprocessor unit, visual digital signal processor, and display processing unit are respectively used as the control module, computing module, and display processing module, and integrated into the system-on-a-chip. This provides hardware support for the execution of the display control process, and can utilize the characteristics of the three to achieve single responsibility and standardized interface, as well as optimization of power consumption and resource utilization. It can simultaneously meet the requirements for smoothness and diversity of display effects and battery life, thereby improving the user experience.
[0031] According to a second aspect of the present disclosure, a processor is provided, the processor including a control module, a computing module, and a display processing module; The control module is used to periodically determine the interface adjustment information corresponding to the electronic clock interface at a preset frequency, and send the interface adjustment information and calculation instructions to the calculation module. The interface adjustment information includes the rotation angle information of the target pointer of the electronic clock interface. The calculation module is used to respond to the calculation instruction and determine the target display information of the electronic clock interface based on the interface adjustment information and the initial display information of the electronic clock interface; The display processing module is used to control the display screen to refresh the electronic clock interface based on the target display information.
[0032] In some embodiments of this disclosure, the electronic clock interface includes multiple pointer layers, with different target pointers corresponding to different pointer layers.
[0033] In some embodiments of this disclosure, the computing module is further configured to: Based on the interface adjustment information and the initial display information corresponding to each pointer layer, the target display information corresponding to each pointer layer is determined; The display processing module is also used for: Based on the target display information corresponding to each pointer layer, generate each refreshed pointer layer; Based on the refreshed pointer layers, the screen is generated and controlled to display the refreshed electronic clock interface.
[0034] In some embodiments of this disclosure, the initial display information includes the initial pixel information of each pixel of the electronic clock interface, and the calculation module is further configured to: The pixels of the electronic clock interface are divided into a first pixel corresponding to the target pointer and a second pixel other than the first pixel; Based on the initial pixel information of each first pixel and the interface adjustment information, the target pixel information of each first pixel is determined; The target display information is determined based on the target pixel information of each first pixel and the initial pixel information of each second pixel.
[0035] According to a third aspect of the present disclosure, an electronic device is provided, the electronic device comprising: processor; Memory used to store processor-executable instructions; The processor is configured to execute the display control method as described in the first aspect.
[0036] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the display control method as described in the first aspect.
[0037] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the display control method as described in the first aspect.
[0038] According to a sixth aspect of the present disclosure, a chip is provided, the chip being configured to perform the display control method as described in the first aspect.
[0039] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects: by setting a control module, a computing module and a display processing module in the processor, so as to be independent modules that undertake single responsibilities such as scheduling control, data processing and display refresh control respectively, it is ensured that each module can realize the display control of the electronic clock interface with simple algorithms and hardware deployment, reducing the power consumption and resource occupation of the electronic clock interface display refresh process, which is conducive to simultaneously meeting the requirements of smoothness and diversity of display effects and battery life, and improving the user experience.
[0040] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0042] Figure 1 This is a block diagram illustrating a processor and a display screen according to an exemplary embodiment.
[0043] Figure 2This is a flowchart illustrating a display control method according to an exemplary embodiment.
[0044] Figure 3 This is a flowchart illustrating, according to an exemplary embodiment, a process of controlling the display screen to refresh the electronic clock interface based on target display information.
[0045] Figure 4 This is a flowchart illustrating a display control method according to another exemplary embodiment.
[0046] Figure 5 This is a flowchart illustrating, according to an exemplary embodiment, the determination of target display information for an electronic clock interface based on interface adjustment information and initial display information of the electronic clock interface.
[0047] Figure 6 This is a block diagram of an electronic device according to an exemplary embodiment.
[0048] In the picture: 10-Control module; 20-Computing module; 30-Display processing module; 40-Application processing module; 400-Electronic device; 402-Processing component; 404-Memory; 406-Power supply component; 408-Multimedia component; 410-Audio component; 412-Input / output interface; 414-Sensor component; 416-Communication component; 420-Processor. Detailed Implementation
[0049] 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 numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0050] In recent years, with the rapid development of display technology and the continuous iteration of display devices, always-on display technology, also known as screen-off display technology, has been widely used in display devices such as smart bracelets, mobile phones, and smart home appliances due to its advantages of improving information acquisition efficiency, ensuring energy saving and battery life, and enabling personalized interaction. An electronic clock interface is a display interface that simulates a physical pointer dial. It can display time information to users as the content displayed when the screen is off, and can meet users' needs for time viewing through refresh control, function expansion, and customized design of the electronic clock interface.
[0051] In related technologies, the display refresh of an electronic clock interface can be achieved through the rendering capabilities of a Graphics Processing Unit (GPU). However, when using a GPU to control the display refresh of an electronic clock interface, a full-frame refresh frequency of 60 times per second or higher is required. This large amount of redundant data not only consumes memory bandwidth but also leads to excessive power consumption, which will negatively impact the battery life of the display device. Using pre-rendering requires reserving a large amount of storage space, resulting in poor applicability and high hardware costs. Using low-performance processing devices cannot guarantee the smoothness of the electronic clock interface display and is difficult to adapt to specific shapes or styles, limiting the personalized design of the electronic clock interface.
[0052] Based on this, this disclosure provides a display control method. The control module determines interface adjustment information and sends the interface adjustment information and calculation instructions to the calculation module. Upon receiving the calculation instructions, the calculation module determines the target display information based on the interface adjustment information and the initial display information. Then, the display processing module controls the display screen to refresh the electronic clock interface according to the target display information, thus realizing the display refresh control of the electronic clock interface. This ensures that the electronic clock interface can continuously provide users with accurate time information to meet their time viewing needs. By setting the control module, calculation module, and display processing module in the processor, each serving as an independent module with a single responsibility for scheduling control, data processing, and display refresh control, it is ensured that each module can achieve display control of the electronic clock interface with simple algorithms and hardware deployment. This reduces the power consumption and resource occupation of the electronic clock interface display refresh process, which is beneficial for simultaneously meeting the requirements for smooth and diverse display effects as well as battery life, thereby improving the user experience.
[0053] In one exemplary embodiment, a display control method is provided, applied to, for example... Figure 1 The processor shown is an electronic device, such as a wristband, mobile phone, or smart home appliance, equipped with a processor and display function. The processor includes a control module 10, a computing module 20, and a display processing module 30. Both the computing module 20 and the display processing module 30 are communicatively connected to the control module 10. Exemplarily, the processor may include a system-on-a-chip (SOC) integrating the above modules as a hardware architecture for executing the display control process. The processor can be deployed together with the display screen in the electronic device and control the display screen through the display processing module. (Reference) Figure 2 As shown, the display control method includes: S100: The control module periodically determines the interface adjustment information corresponding to the electronic clock interface at a preset frequency, and sends the interface adjustment information and calculation instructions to the calculation module. The interface adjustment information includes the rotation angle information of the target pointer of the electronic clock interface.
[0054] In step S100, the display processing module 30 controls the display screen to show an electronic clock interface. The electronic clock interface may include a dial and multiple target hands to provide time information to the user. The control module 10 periodically determines the interface adjustment information of the electronic clock interface at a preset frequency. This adjustment information includes the rotation angle information of the target hands, reflecting the angle each target hand needs to rotate during the next refresh, serving as the basis for subsequent display refreshes. After determining the interface adjustment information, the control module 10 sends the adjustment information and calculation instructions to the calculation module 20. The control module 10 only needs to handle the scheduling and control of the electronic clock interface, allowing it to ensure efficient and stable execution of the display control process with a low wake-up frequency, short runtime, and low power consumption.
[0055] For example, the calculation module 20 may include a microcontroller unit (MCU), and a real-time clock (RTC) that generates a hardware interrupt at a preset frequency of once per second to start the control module 10. The control module 10 reads the current precise time from the real-time clock register and calculates the rotation angles of the second and minute hands according to the time interval between the current precise time and the last refresh of the electronic clock interface. The rotation angles of the second and minute hands can be determined at 6° per second and 6° per minute, respectively. The determined rotation angle information and the generated calculation instructions are then sent to the register of the calculation module 20.
[0056] S200: The calculation module responds to the calculation command and determines the target display information of the electronic clock interface based on the interface adjustment information and the initial display information of the electronic clock interface.
[0057] In step S200, the electronic clock interface has corresponding display information to serve as data support for displaying the electronic clock interface, which can determine the display content of the electronic clock interface. The initial display information of the electronic clock interface is the display information corresponding to the last refresh of the electronic clock interface, which can reflect the angle of each target hand at the last refresh of the electronic clock interface. The interface adjustment information can reflect the angle that each target hand needs to rotate at the next refresh of the electronic clock interface. The angle of each target hand after the next refresh can be calculated based on the two.
[0058] Therefore, when the calculation module 20 receives the calculation command and interface adjustment information sent by the control module 10, it can determine the target display information of the electronic clock interface according to the trigger indication of the calculation command and the interface adjustment information and initial display information of the electronic clock interface. This target display information reflects the display content of the electronic clock interface after the next refresh, providing a basis for refreshing the electronic clock interface. The calculation module 20 only needs to handle the data processing of the electronic clock interface, allowing the control module 10 to ensure efficient and stable execution of the display control process with a lower wake-up frequency, shorter runtime, and lower power consumption.
[0059] For example, the calculation module 20 may include a Vector Digital Signal Processor (VDSP). The calculation module 20 can read the initial display information from the buffer, perform pixel-by-pixel filtering and rotation processing on the initial display information according to the rotation angle of the target pointer reflected by the interface adjustment information to obtain the target display information, and store the target display information in the buffer. S300, the display processing module controls the display screen to refresh the electronic clock interface based on the target display information.
[0060] In step S300, the display processing module 30 has image generation capabilities such as layer compositing. Based on the target display information, it generates image data corresponding to the electronic clock interface after the target pointer rotates, and sends the data to the display screen for display, thereby controlling the display screen to refresh the electronic clock interface. This allows the user to view the precise time in real time through the continuously refreshed electronic clock interface. The display processing module 30 only needs to be responsible for controlling the display refresh of the electronic clock interface, enabling it to ensure efficient and stable execution of the display control process through a low wake-up frequency, short runtime, and low power consumption.
[0061] For example, the display processing module 30 may include a display processing unit (DPU). The display processing module 30 can automatically generate the corresponding image according to the target display information through its hardware logic, and transmit the image to the display screen through the display buffer area and the display serial interface (DSI), and control the display screen to display the image to complete the refresh of the electronic clock interface.
[0062] In this embodiment, the control module 10 determines the interface adjustment information and sends the interface adjustment information and calculation instructions to the calculation module 20. Upon receiving the calculation instructions, the calculation module 20 determines the target display information based on the interface adjustment information and the initial display information. Then, the display processing module 30 controls the display screen to refresh the electronic clock interface based on the target display information, thus achieving display refresh control of the electronic clock interface. This ensures that the electronic clock interface continuously provides accurate time information to the user, meeting the user's time viewing needs. By setting the control module 10, calculation module 20, and display processing module 30 in the processor, each serving as an independent module with a single responsibility for scheduling control, data processing, and display refresh control, it ensures that each module can achieve display control of the electronic clock interface with simple algorithms and hardware deployment. This reduces the power consumption and resource consumption of the electronic clock interface display refresh process, which is beneficial for simultaneously meeting the requirements for smooth and diverse display effects as well as battery life, thereby improving the user experience.
[0063] In some embodiments, the electronic clock interface includes multiple pointer layers, with different target pointers corresponding to different pointer layers.
[0064] Multiple pointer layers constitute all or part of the electronic clock interface, and different target pointers are located on different pointer layers, so that each target pointer and each pointer layer has corresponding interface adjustment information, initial display information and target display information. Each target pointer can independently execute the process of determining the target display information, which can reduce the amount of calculation of the target display information per time and avoid mutual interference in the data processing processes of different target pointers.
[0065] For example, the electronic clock interface may include a dial layer, an hour hand layer, a minute hand layer, and a second hand layer. The dial layer can be a static layer, and the electronic clock interface can be refreshed by refreshing the hour hand layer, minute hand layer, and second hand layer. Alternatively, the electronic clock interface may include an hour hand layer, a minute hand layer, and a second hand layer. The hour hand layer includes a static dial and a pre-rendered hour hand, which does not need to be refreshed in real time. The refresh of the electronic clock interface can be achieved by refreshing the minute hand layer and the second hand layer.
[0066] In this embodiment, the electronic clock interface is configured as multiple pointer layers, with different target pointers corresponding to different pointer layers. This enables independent and precise control of each target pointer, which helps reduce the difficulty of software development and hardware deployment of the electronic clock interface. It also facilitates personalized design, functional expansion, and effect optimization of the electronic clock interface, further enhancing the user experience.
[0067] In some embodiments, determining the target display information of the electronic clock interface based on interface adjustment information and initial display information of the electronic clock interface includes: determining the target display information corresponding to each pointer layer based on the interface adjustment information and initial display information corresponding to each pointer layer.
[0068] Since different target pointers are located in different pointer layers, each target pointer and each pointer layer has corresponding interface adjustment information, initial display information, and target display information. For each target pointer and its corresponding pointer layer that needs to be refreshed, the target display information corresponding to that pointer layer needs to be determined based on the interface adjustment information and initial display information of that pointer layer.
[0069] refer to Figure 3 As shown, based on the target display information, the display screen is controlled to refresh the electronic clock interface, including: S310. Based on the target display information corresponding to each pointer layer, generate each refreshed pointer layer.
[0070] S320 generates and controls the display screen to show the refreshed electronic clock interface based on the refreshed pointer layers.
[0071] In steps S310 and S320, after obtaining the target display information corresponding to each pointer layer, for each pointer layer, the display processing module 30 can use its image generation capability to generate a refreshed pointer layer based on the target display information, enabling the corresponding target pointer to rotate within the refreshed pointer layer. Then, the display processing module 30 uses its layer compositing capability to composite the refreshed pointer layers to obtain the refreshed electronic clock interface, and controls the display screen to display the refreshed electronic clock interface, thereby achieving a complete refresh of the electronic clock interface.
[0072] In this embodiment, the target display information corresponding to each pointer layer is determined based on the interface adjustment information and initial display information corresponding to each pointer layer. Based on the target display information corresponding to each pointer layer, the refreshed pointer layers are generated. Then, based on the refreshed pointer layers, the display screen is generated and controlled to display the refreshed electronic clock interface. The complete refresh of the electronic clock interface is achieved through the independent refresh and composite display of the layers. This allows each target pointer to independently execute the process of determining the target display information and the layer refresh process, avoiding mutual interference between the data processing or layer refresh processes of different target pointers. This further reduces the computational load and hardware load of the calculation module 20 and the display processing module 30, making it easier to realize the personalized design, functional expansion and effect optimization of the electronic clock interface, and further improving the user experience.
[0073] In some embodiments, each target pointer corresponds to the same preset frequency, so that each target pointer needs to refresh the pointer layer at the same frequency, that is, each target pointer is synchronously adjusted every time the electronic clock interface is refreshed.
[0074] In other embodiments, different target pointers correspond to different preset frequencies.
[0075] Different preset frequencies can be configured for different target hands, allowing each target hand to refresh its corresponding hand layer at a different preset frequency. Each time the electronic clock interface is refreshed, some target hands rotate and change, while others remain relatively stationary. The preset frequency for each target hand can be adaptively set or adjusted as needed, ensuring that the refresh frequency of the target hand matches its corresponding rotation rate. For example, a preset frequency of once per second can be configured for the second hand, once per minute for the minute hand, and once per hour for the hour hand.
[0076] In this embodiment, by configuring different preset frequencies for different target pointers, different target pointers can correspond to different refresh frequencies according to their needs, which can further realize independent and precise control of each target pointer, and help reduce the amount of computation and power consumption in the display control process.
[0077] In some embodiments, the rotation angle information includes at least one of the following: the rotation angle of the target pointer, the trigonometric function value corresponding to the rotation angle, and the fixed-point value of the trigonometric function corresponding to the rotation angle.
[0078] At least one of the rotation angle of the target pointer, the trigonometric function value corresponding to the rotation angle, and the fixed point value of the trigonometric function corresponding to the rotation angle can be used as the rotation angle information included in the interface adjustment information, so as to reflect the angle that each target pointer needs to rotate when the electronic clock interface is refreshed next, providing a basis for determining the target display information and refreshing the electronic clock interface.
[0079] The rotation angle of the target pointer is the actual angle value without processing or conversion, which can be calculated based on the time interval between the current precise time and the last refresh of the electronic clock interface. The trigonometric function value corresponding to the rotation angle is the result of the trigonometric function operation on the rotation angle, such as a sine function value or a cosine function value, which can be directly used for subsequent pixel rotation calculations to determine the target display information and reduce the computational load of the calculation module 20. The fixed-point value of the trigonometric function is the fixed-point number obtained after multi-bit integer amplification of the trigonometric function value, which can reduce the power consumption generated by floating-point operations. For example, the rotation angle of the target pointer is θ, and the trigonometric function values corresponding to the rotation angle are sin(θ) and cos(θ). The fixed-point values of the trigonometric functions sin_val and cos_val corresponding to the rotation angle can be determined by the following formulas (1) and (2): sin_val=2 N ×sin(θ) (1) cos_val=2 N ×cos(θ) (2) N is a positive integer greater than 0.
[0080] It is understandable that, since the trigonometric function values and trigonometric function fixed-point values corresponding to the rotation angle have a fixed correspondence with the rotation angle, a trigonometric function value lookup table or a trigonometric function fixed-point value lookup table can be configured in the control module 10. The trigonometric function values and trigonometric function fixed-point values can be determined by indexing without real-time calculation, which is conducive to further improving the efficiency of determining the interface adjustment information.
[0081] In this embodiment, at least one of the rotation angle of the target pointer, the trigonometric function value corresponding to the rotation angle, and the fixed point value of the trigonometric function corresponding to the rotation angle is used as the rotation angle information, which provides a basis for determining the target display information and refreshing the electronic clock interface. It can utilize the characteristics of data forms such as rotation angle, trigonometric function value, and trigonometric function fixed point value to optimize the display control process, which is beneficial to reducing the amount of calculation and power consumption of the display control process.
[0082] In some embodiments, the interface adjustment information may further include at least one of the following: the read address of the initial display information, the storage address of the target display information, the image size of the electronic clock interface, and the interrupt instruction configuration parameters.
[0083] The control module 10 can send at least one of the following parameters—the initial display information read address, the target display information storage address, the image size of the electronic clock interface, and the interrupt instruction configuration parameters—along with the rotation angle information, to the register of the calculation module 20 as interface adjustment information, so as to provide a basis for determining the target display information and refreshing the electronic clock interface.
[0084] The address for reading the initial display information and the address for storing the target display information serve as the basis for the calculation module 20 to read the initial display information and store the target display information, thereby providing a data source for the calculation module 20 and enabling its data output. The image size of the electronic clock interface corresponds to the display width and height of the electronic clock interface, allowing the calculation module 20 to calculate the target display information according to the image size of the electronic clock interface. The interrupt instruction configuration parameters are used to generate interrupt instructions to notify the control module 10 of the completion of the target display information determination by the calculation module 20, thereby enabling subsequent scheduling and control.
[0085] In this embodiment, at least one of the following is used together with the rotation angle information: the reading address of the initial display information, the storage address of the target display information, the image size of the electronic clock interface, and the interrupt instruction configuration parameters. This provides a guarantee for the determination of the target display information and its subsequent use, which is beneficial to improving the efficiency and stability of the display control process.
[0086] In some embodiments, the interface adjustment information also includes interrupt instruction configuration parameters, referencing Figure 4 As shown, the display control method also includes: S410: In response to determining the target display information, the calculation module generates an interrupt command based on the interrupt command configuration parameters and sends it to the control module.
[0087] In step S410, after obtaining the target display information, the calculation module 20 can enable interruption according to the interrupt instruction configuration parameters in the interface adjustment information to generate an interrupt instruction, and send the interrupt instruction to the control module 10 to notify the control module 10 of the message that the calculation module 20 has completed the determination of the target display information.
[0088] S420. In response to the interrupt command, the control module generates a display command and display configuration parameters and sends them to the display processing module.
[0089] In step S420, when the control module 10 receives an interrupt command, it indicates that the calculation module 20 has completed the determination of the target display information. The display processing module 30 can then begin controlling the display screen to refresh the electronic clock interface according to the target display information. The control module 10 generates display commands and display configuration parameters and sends them to the display processing module 30. The display configuration parameters may include, for example, the storage address of the target display information, the transparency blending mode, and the position offset. This enables the display processing module 30 to read the target display information from its storage address upon receiving the display command and execute the refresh control process of the electronic clock interface according to the target display information and the display configuration parameters.
[0090] In this embodiment, when the interface adjustment information also includes interrupt command configuration parameters, the calculation module 20 generates an interrupt command based on the interrupt command configuration parameters and sends it to the control module 10 when determining the target display information. This notifies the control module 10 that the determination of the target display information has been completed. When the control module 10 receives the interrupt command, it generates a display command and display configuration parameters and sends them to the display processing module 30. This provides an indication and basis for the display processing module 30 to control the display screen to refresh the electronic clock interface, realizing the scheduling and control of the display processing module 30, which is beneficial to improving the efficiency and stability of the display control process.
[0091] In some embodiments, the initial display information includes the initial pixel information of each pixel of the electronic clock interface.
[0092] The initial display information of the electronic clock interface includes the initial pixel information of each pixel of the electronic clock interface at the time of the last refresh. The initial pixel information may include, for example, the position information of the pixel and the channel value of each channel.
[0093] refer to Figure 5 As shown, based on the interface adjustment information and the initial display information of the electronic clock interface, the target display information of the electronic clock interface is determined, including: S210. Divide each pixel of the electronic clock interface into a first pixel corresponding to the target pointer and a second pixel other than the first pixel.
[0094] In step S210, based on the initial pixel information, the pixels of the electronic clock interface are divided into first pixels and second pixels. The pixel corresponding to the target pointer is the first pixel, and all other pixels are the second pixels, such that the first pixel is the pixel at the location of the target pointer, and all first pixels together constitute the corresponding target pointer. For example, the calculation module 20 can read the initial pixel information pixel by pixel and filter the first pixels based on the pixel's channel value.
[0095] S220. Based on the initial pixel information and interface adjustment information of each first pixel, determine the target pixel information of each first pixel.
[0096] S230. Determine the target display information based on the target pixel information of each first pixel and the initial pixel information of each second pixel.
[0097] In steps S220 and S230, since refreshing the electronic clock interface only involves rotating the target pointer while other interface elements remain stationary, pixel adjustment only involves adjusting the first pixel. The target pixel information for each first pixel can be determined based on its initial pixel information and interface adjustment information, serving as the adjusted pixel information for each first pixel. Then, based on the target pixel information of each first pixel and the initial pixel information of the second pixel (i.e., the adjusted pixel information corresponding to the rotated target pointer) and the unadjusted pixel information corresponding to other stationary interface elements, the target display information is determined, providing a basis for refreshing the electronic clock interface.
[0098] In this embodiment, the pixels of the electronic clock interface are divided into first pixels corresponding to the target pointer and second pixels other than the first pixels. Based on the initial pixel information of each first pixel and interface adjustment information, the target pixel information of each first pixel is determined. Then, based on the target pixel information of each first pixel and the initial pixel information of each second pixel, the target display information is determined, providing a basis for refreshing the electronic clock interface. By selecting the first pixels related to the target pointer for calculating the target pixel information, the calculation of second pixels unrelated to the electronic clock interface can be directly skipped, significantly reducing the actual computational load of the calculation module 20. This is beneficial for further reducing power consumption and resource consumption during the display refresh process.
[0099] In some embodiments, the first pixel is configured as a pixel whose transparency channel value is greater than 0.
[0100] For each target pointer's corresponding pointer layer, the pixel corresponding to the target pointer needs to be displayed in the final electronic clock interface, while other pixels do not. Therefore, the alpha value of the pixel's transparency channel can be used as the basis for dividing the first and second pixels. Pixels with an alpha value greater than 0 (not fully transparent) are designated as the first pixel, and pixels with an alpha value of 0 (fully transparent) are designated as the second pixel. When determining the target display information, only the target pixel information of pixels with an alpha value greater than 0 can be calculated, while the initial pixel information of pixels with an alpha value of 0 can be retained.
[0101] In this embodiment, pixels with a transparency channel value greater than 0 are used as the first pixel, enabling the calculation module 20 to quickly and accurately divide the first pixel into the second pixel, further reducing the actual computational load of the calculation module 20, thereby reducing the power consumption and resource consumption of the display refresh process.
[0102] In some embodiments, the initial pixel information includes the initial position information of the pixel. Determining the target pixel information of each first pixel based on the initial pixel information and interface adjustment information includes: determining the target position information of each first pixel based on the initial position information and interface adjustment information, and using this as the target pixel information of each first pixel.
[0103] The initial pixel information corresponding to each pixel can include the initial position information of the pixel, such as the pixel's coordinates in the two-dimensional coordinate system corresponding to the display area. When determining the target pixel information of the first pixel, the target position information of each first pixel can be determined based on the initial position information and interface adjustment information, and used as the target pixel information of each first pixel, so that the rotation change of the target pointer can be reflected by the position change of the first pixel.
[0104] For example, the initial position information of the first pixel is the initial coordinates (x, y), and the rotation angle information included in the interface adjustment information is the trigonometric function values sin(θ) and cos(θ) corresponding to the rotation angle. The target coordinates (x_new, y_new) of the first pixel after position adjustment can be determined as the target position information of the first pixel through the following formulas (3) and (4): x_new=x×cos(θ)- y×sin(θ) (3) y_new=x×sin(θ)+ y×cos(θ) (4) It should be noted that if the target coordinates are determined based on the magnified trigonometric function vertex values, the calculation results need to be scaled down according to the magnification factor of the trigonometric function vertex values to ensure that the coordinate transformation process is an integer operation. For the final target coordinates, if the target coordinates are not integers, the rotational jagged edges can be eliminated by using the bilinear interpolation algorithm in calculation module 20.
[0105] In this embodiment, the initial position information of the pixel is used as the initial pixel information. Based on the initial position information of each first pixel and the interface adjustment information, the target position information of each first pixel is determined and used as the target pixel information of each first pixel. The rotation of the target pointer can be reflected by the position adjustment of the first pixel, so as to provide a basis for determining the target display information and refreshing the electronic clock interface. The calculation method is simple and has a small error, which improves the efficiency and accuracy of determining the target display information.
[0106] In some embodiments, the display control method further includes: in response to enabling the always-on display mode, the display processing module 30 controls the display screen to display an electronic clock interface.
[0107] When the Always-On Display (AOD) mode is detected, the display processing module 30 controls the display screen to show the electronic clock interface and executes the display control process shown in the above embodiments to achieve real-time refreshing of the electronic clock interface in AOD mode, continuously providing users with accurate time information. For example, as... Figure 1 As shown, when the always-on display mode is enabled, the application processing module 40 of the processor can wake up the control module 10, so that the control module 10 sends a display command to the display processing module 30, so that the display processing module 30 controls the display screen to display the electronic clock interface.
[0108] When the always-on display processing module 30 is exited, the control module 10 can control the calculation module 20 and the display processing module 30 to stop their current tasks, so as to release the resources of the calculation module 20 and the display processing module 30, so that the calculation module 20 and the display processing module 30 can be used to perform other tasks other than refreshing the display of the electronic clock interface.
[0109] In this embodiment, when the always-on display mode is detected, the display processing module 30 controls the display screen to display the electronic clock interface, so that the electronic clock interface can start displaying when the always-on display mode is activated and refresh in real time during the always-on display mode. Since the control module 10, the calculation module 20 and the display processing module 30 can reduce the power consumption and resource consumption of the display refresh process, which matches the requirements of the always-on display mode for low power consumption and low resource consumption, there is no need for high-power processors such as GPUs or APs to participate in the display control process during the always-on display mode.
[0110] In some embodiments, the control module 10 includes a microprocessor unit, the computing module 20 includes a visual digital signal processor, the display processing module 30 includes a display processing unit, and the processor includes a system-on-a-chip that integrates the microprocessor unit, the visual digital signal processor, and the display processing unit.
[0111] The microprocessor unit (MCU) features low power consumption, low cost, fast response, and flexible adaptability, meeting the performance requirements of the control module 10 when it only needs to handle scheduling and control. The MCU can be used as the control module 10 to determine interface adjustment information and send interface adjustment information and calculation instructions. The visual digital signal processor (VDSP) features low power consumption and single-instruction multiple-data parallel processing, enabling it to process pixel information from multiple pixels simultaneously. This meets the performance requirements of the computing module 20 when it only needs to handle data processing. The VDSP can be used as the computing module 20 to determine target display information. The display processing unit (DPU) features image generation capabilities and hardware acceleration, meeting the performance requirements of the display processing module 30 when it needs to handle image synthesis and display refresh control. The DPU can be used as the display processing module 30 to control the display screen to refresh the electronic clock interface.
[0112] The microprocessor unit, visual digital signal processor, and display processing unit can be integrated into a system-on-a-chip (SoC) to achieve the integration of the control module 10, computing module 20, and display processing module 30 within the processor. Through the collaboration of the microprocessor unit, visual digital signal processor, and display processing unit, the display control process of the electronic clock interface is decomposed into stages of scheduling control, data processing, and display refresh control, so as to fully utilize the characteristics of the microprocessor unit, visual digital signal processor, and display processing unit to optimize the display control process.
[0113] In this embodiment, the microprocessor unit, the visual digital signal processor, and the display processing unit are respectively designated as the control module 10, the computing module 20, and the display processing module 30, and are integrated into a system-on-a-chip. This provides hardware support for the execution of the display control process, and can utilize the characteristics of the three components to achieve single responsibility and standardized interfaces, as well as optimization of power consumption and resource utilization. It can simultaneously meet the requirements for smoothness and diversity of display effects and battery life, thereby improving the user experience.
[0114] In one exemplary embodiment, a processor is provided for executing the display control method shown in the above embodiments, such as... Figure 1As shown, the processor includes a control module 10, a calculation module 20, and a display processing module 30. The control module 10 is used to periodically determine the interface adjustment information corresponding to the electronic clock interface at a preset frequency, and send the interface adjustment information and calculation instructions to the calculation module 20. The interface adjustment information includes the rotation angle information of the target pointer of the electronic clock interface. The calculation module 20 is used to determine the target display information of the electronic clock interface based on the interface adjustment information and the initial display information of the electronic clock interface in response to the calculation instructions. The display processing module 30 is used to control the display screen to refresh the electronic clock interface based on the target display information.
[0115] In this embodiment, the control module 10 determines the interface adjustment information and sends the interface adjustment information and calculation instructions to the calculation module 20. Upon receiving the calculation instructions, the calculation module 20 determines the target display information based on the interface adjustment information and the initial display information. Then, the display processing module 30 controls the display screen to refresh the electronic clock interface based on the target display information, thus achieving display refresh control of the electronic clock interface. This ensures that the electronic clock interface continuously provides accurate time information to the user, meeting the user's time viewing needs. By setting the control module 10, calculation module 20, and display processing module 30 in the processor, each serving as an independent module with a single responsibility for scheduling control, data processing, and display refresh control, it ensures that each module can achieve display control of the electronic clock interface with simple algorithms and hardware deployment. This reduces the power consumption and resource consumption of the electronic clock interface display refresh process, which is beneficial for simultaneously meeting the requirements for smooth and diverse display effects as well as battery life, thereby improving the user experience.
[0116] In one embodiment, the electronic clock interface includes multiple pointer layers, with different target pointers corresponding to different pointer layers.
[0117] In one embodiment, the calculation module 20 is further configured to: determine the target display information corresponding to each pointer layer based on the interface adjustment information and initial display information corresponding to each pointer layer; the display processing module 30 is further configured to: generate each pointer layer after refresh based on the target display information corresponding to each pointer layer; and generate and control the display screen to display the refreshed electronic clock interface based on each pointer layer after refresh.
[0118] In one embodiment, different target pointers correspond to different preset frequencies.
[0119] In one embodiment, the rotation angle information includes at least one of the rotation angle of the target pointer, the trigonometric function value corresponding to the rotation angle, and the fixed point value of the trigonometric function corresponding to the rotation angle.
[0120] In one embodiment, the interface adjustment information further includes at least one of the following: the read address of the initial display information, the storage address of the target display information, the image size of the electronic clock interface, and the interrupt instruction configuration parameters.
[0121] In one embodiment, the interface adjustment information also includes interrupt command configuration parameters. The calculation module 20 is further configured to: in response to determining the target display information, generate an interrupt command based on the interrupt command configuration parameters and send it to the control module 10; the control module 10 is further configured to: in response to the interrupt command, generate a display command and display configuration parameters and send them to the display processing module 30.
[0122] In one embodiment, the initial display information includes the initial pixel information of each pixel of the electronic clock interface; the calculation module 20 is further configured to: divide each pixel of the electronic clock interface into a first pixel corresponding to the target pointer and a second pixel other than the first pixel; determine the target pixel information of each first pixel based on the initial pixel information of each first pixel and the interface adjustment information; and determine the target display information based on the target pixel information of each first pixel and the initial pixel information of each second pixel.
[0123] In one embodiment, the first pixel is configured as a pixel whose transparency channel value is greater than 0.
[0124] In one embodiment, the initial pixel information includes the initial position information of the pixel; the calculation module 20 is further configured to: determine the target position information of each first pixel based on the initial position information of each first pixel and the interface adjustment information, and use it as the target pixel information of each first pixel.
[0125] In one embodiment, the display processing module 30 is further configured to control the display screen to display an electronic clock interface in response to enabling the always-on display mode.
[0126] In one embodiment, the control module 10 includes a microprocessor unit.
[0127] In one embodiment, the computing module 20 includes a visual digital signal processor.
[0128] In one embodiment, the display processing module 30 includes a display processing unit.
[0129] In one embodiment, the processor includes a system-on-a-chip.
[0130] In one exemplary embodiment, an electronic device is provided, which may include, for example, a wristband, mobile phone, smart home appliance, or other device with a display function, and is capable of performing the display control method described above.
[0131] refer to Figure 6As shown, the electronic device 400 may include one or more of the following components: processing component 402, memory 404, power supply component 406, multimedia component 408, audio component 410, input / output (I / O) interface 412, sensor component 414, and communication component 416.
[0132] Processing component 402 typically controls the overall operation of electronic device 400, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 402 may include one or more modules to facilitate interaction between processing component 402 and other components. For example, processing component 402 may include a multimedia module to facilitate interaction between multimedia component 408 and processing component 402.
[0133] Memory 404 is configured to store various types of data to support the operation of electronic device 400. Examples of such data include instructions for any application or method operating on electronic device 400, contact data, phonebook data, messages, pictures, videos, etc. Memory 404 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0134] Power supply component 406 provides power to various components of electronic device 400. Power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 400.
[0135] Multimedia component 408 includes a screen that provides an output interface between electronic device 400 and user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 408 includes a front-facing camera module and / or a rear-facing camera module. When electronic device 400 is in an operating mode, such as shooting mode or video mode, the front-facing camera module and / or rear-facing camera module may receive external multimedia data. Each front-facing camera module and rear-facing camera module may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0136] Audio component 410 is configured to output and / or input audio signals. For example, audio component 410 includes a microphone (MIC) configured to receive external audio signals when electronic device 400 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 404 or transmitted via communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
[0137] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0138] Sensor assembly 414 includes one or more sensors for providing state assessments of various aspects of electronic device 400. For example, sensor assembly 414 may receive the on / off state of electronic device 400, the relative positioning of components such as the display and keypad of electronic device 400, changes in position of electronic device 400 or a component of electronic device 400, the presence or absence of user contact with electronic device 400, orientation or acceleration / deceleration of electronic device 400, and temperature changes of electronic device 400. Sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 414 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0139] Communication component 416 is configured to facilitate wired or wireless communication between electronic device 400 and other terminals. Electronic device 400 can access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G, 5G, or combinations thereof. In one exemplary embodiment, communication component 416 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 416 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0140] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing terminals (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods shown in the above embodiments or combinations thereof.
[0141] In one exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, which can be executed by a processor 420 of an electronic device 400 to perform the methods shown in the above embodiments or combinations thereof. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage terminal, etc. When the instructions in the storage medium are executed by the processor of the terminal, the terminal is able to perform the methods shown in the above embodiments or combinations thereof.
[0142] In one exemplary embodiment, a computer program product is provided, including a computer program or instructions that, when executed by a processor, implement the methods shown in the above embodiments or combinations thereof.
[0143] In one exemplary embodiment, a chip is provided, which is configured to perform the methods shown in the above embodiments or combinations thereof.
[0144] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure 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 disclosure are indicated by the claims.
[0145] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this disclosure. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0146] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0147] It should be understood that the various forms of processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0148] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
[0149] The examples in this document may involve user data, data acquisition, and / or use. All of these aspects comply with relevant laws, regulations, and rules. In the examples, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, when implementing each example, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained through appropriate means, in accordance with relevant laws and regulations. The specific methods of notification and / or authorization can vary depending on the actual situation and application scenario; the scope of the solution is not limited in this regard.
[0150] In this manual and the sample solutions, any processing of personal information will be conducted only under legal grounds (such as obtaining the consent of the data subject or being necessary for the performance of a contract) and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information beyond what is necessary for basic functions will not affect the user's use of basic functions.
Claims
1. A display control method, characterized in that, Applied to a processor, the processor including a control module, a computing module, and a display processing module, the display control method includes: The control module periodically determines the interface adjustment information corresponding to the electronic clock interface at a preset frequency, and sends the interface adjustment information and calculation instructions to the calculation module. The interface adjustment information includes the rotation angle information of the target pointer of the electronic clock interface. The calculation module responds to the calculation instruction and determines the target display information of the electronic clock interface based on the interface adjustment information and the initial display information of the electronic clock interface; The display processing module controls the display screen to refresh the electronic clock interface based on the target display information.
2. The display control method according to claim 1, characterized in that, The electronic clock interface includes multiple pointer layers, with different target pointers corresponding to different pointer layers.
3. The display control method according to claim 2, characterized in that, The step of determining the target display information of the electronic clock interface based on the interface adjustment information and the initial display information of the electronic clock interface includes: Based on the interface adjustment information and the initial display information corresponding to each pointer layer, the target display information corresponding to each pointer layer is determined; The step of controlling the display screen to refresh the electronic clock interface based on the target display information includes: Based on the target display information corresponding to each pointer layer, generate each refreshed pointer layer; Based on the refreshed pointer layers, the screen is generated and controlled to display the refreshed electronic clock interface.
4. The display control method according to claim 2, characterized in that, Different target pointers correspond to different preset frequencies.
5. The display control method according to claim 1, characterized in that, The rotation angle information includes at least one of the rotation angle of the target pointer, the trigonometric function value corresponding to the rotation angle, and the fixed point value of the trigonometric function corresponding to the rotation angle.
6. The display control method according to claim 1, characterized in that, The interface adjustment information also includes at least one of the following: the read address of the initial display information, the storage address of the target display information, the image size of the electronic clock interface, and the interrupt instruction configuration parameters.
7. The display control method according to claim 1, characterized in that, The interface adjustment information also includes interrupt instruction configuration parameters, and the display control method further includes: In response to determining the target display information, the computing module generates an interrupt command based on the interrupt command configuration parameters and sends it to the control module. In response to the interrupt command, the control module generates a display command and display configuration parameters and sends them to the display processing module.
8. The display control method according to claim 1, characterized in that, The initial display information includes the initial pixel information of each pixel of the electronic clock interface; The step of determining the target display information of the electronic clock interface based on the interface adjustment information and the initial display information of the electronic clock interface includes: The pixels of the electronic clock interface are divided into a first pixel corresponding to the target pointer and a second pixel other than the first pixel; Based on the initial pixel information of each first pixel and the interface adjustment information, the target pixel information of each first pixel is determined; The target display information is determined based on the target pixel information of each first pixel and the initial pixel information of each second pixel.
9. The display control method according to claim 8, characterized in that, The first pixel is configured as a pixel whose transparency channel value is greater than 0.
10. The display control method according to claim 8, characterized in that, The initial pixel information includes the initial position information of the pixels; Determining the target pixel information of each first pixel based on the initial pixel information of each first pixel and the interface adjustment information includes: Based on the initial position information of each first pixel and the interface adjustment information, the target position information of each first pixel is determined as the target pixel information of each first pixel.
11. The display control method according to any one of claims 1 to 10, characterized in that, The display control method further includes: In response to enabling the always-on display mode, the display processing module controls the display screen to display the electronic clock interface.
12. The display control method according to any one of claims 1 to 10, characterized in that, The control module includes a microprocessor unit.
13. The display control method according to any one of claims 1 to 10, characterized in that, The computing module includes a visual digital signal processor.
14. The display control method according to any one of claims 1 to 10, characterized in that, The display processing module includes a display processing unit.
15. The display control method according to any one of claims 1 to 10, characterized in that, The processor includes a system-on-a-chip.
16. A processor, characterized in that, The processor includes a control module, a computing module, and a display processing module; The control module is used to periodically determine the interface adjustment information corresponding to the electronic clock interface at a preset frequency, and send the interface adjustment information and calculation instructions to the calculation module. The interface adjustment information includes the rotation angle information of the target pointer of the electronic clock interface. The calculation module is used to respond to the calculation instruction and determine the target display information of the electronic clock interface based on the interface adjustment information and the initial display information of the electronic clock interface; The display processing module is used to control the display screen to refresh the electronic clock interface based on the target display information.
17. The processor according to claim 16, characterized in that, The electronic clock interface includes multiple pointer layers, with different target pointers corresponding to different pointer layers.
18. The processor according to claim 17, characterized in that, The computing module is also used for: Based on the interface adjustment information and the initial display information corresponding to each pointer layer, the target display information corresponding to each pointer layer is determined; The display processing module is also used for: Based on the target display information corresponding to each pointer layer, generate each refreshed pointer layer; Based on the refreshed pointer layers, the screen is generated and controlled to display the refreshed electronic clock interface.
19. The processor according to claim 16, characterized in that, The initial display information includes the initial pixel information of each pixel of the electronic clock interface, and the calculation module is further used for: The pixels of the electronic clock interface are divided into a first pixel corresponding to the target pointer and a second pixel other than the first pixel; Based on the initial pixel information of each first pixel and the interface adjustment information, the target pixel information of each first pixel is determined; The target display information is determined based on the target pixel information of each first pixel and the initial pixel information of each second pixel.
20. An electronic device, characterized in that, The electronic device includes: processor; Memory used to store processor-executable instructions; The processor is configured to perform the display control method as described in any one of claims 1 to 15.
21. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the display control method as described in any one of claims 1 to 15.
22. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the display control method as described in any one of claims 1 to 15.
23. A chip, characterized in that, The chip is configured to perform the display control method as described in any one of claims 1 to 15.
