CN110308783B - Time display method and device and electronic equipment - Google Patents

Time display method and device and electronic equipment Download PDF

Info

Publication number
CN110308783B
CN110308783B CN201910615163.3A CN201910615163A CN110308783B CN 110308783 B CN110308783 B CN 110308783B CN 201910615163 A CN201910615163 A CN 201910615163A CN 110308783 B CN110308783 B CN 110308783B
Authority
CN
China
Prior art keywords
time
image
determining
information
application processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910615163.3A
Other languages
Chinese (zh)
Other versions
CN110308783A (en
Inventor
吴国强
兰传艳
冯雷
袁世兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Chengdu BOE Optoelectronics Technology Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Chengdu BOE Optoelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd, Chengdu BOE Optoelectronics Technology Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201910615163.3A priority Critical patent/CN110308783B/en
Publication of CN110308783A publication Critical patent/CN110308783A/en
Application granted granted Critical
Publication of CN110308783B publication Critical patent/CN110308783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a time display method and device and electronic equipment, and relates to the technical field of display. Wherein, the method comprises the following steps: receiving target time image information of an application processor; determining image updating information corresponding to the preset time length from the starting time; generating a time image according to the target time image information and the image updating information, and outputting the time image when a preset time length is reached so as to display the time image; and taking the time when the starting time is added with the preset time length as the starting time, taking the time image information corresponding to the time image as the target time image information, and returning to the step of determining the image updating information corresponding to the time when the preset time length passes from the starting time. Therefore, the application processor only needs to send the target time image information to the display driving chip once, and the subsequent display driving chip can automatically update the time image in a circulating mode, so that the application processor does not need to be kept in a working state all the time, and the power consumption of the mobile terminal is reduced.

Description

Time display method and device and electronic equipment
Technical Field
The present invention relates to the field of display technologies, and in particular, to a time display method and apparatus, and an electronic device.
Background
Many mobile terminals on the market all have the power saving mode at present, and when the power saving mode was opened, mobile terminal can show time information on the screen to make the user can look over the time under the condition that need not to carry out bright screen operation.
In the related art, when time needs to be displayed without a screen-on operation, the mobile terminal may update time information in real time through an Application Processor (AP), and send the updated time information to the display driver chip in real time, and then the display driver chip may drive the display screen to display according to the time information received in real time.
However, the inventor finds that, in the process of applying the above technology, since the time information needs to be updated in real time, the application processor needs to be kept in an operating state all the time, and thus, the power consumption of the mobile terminal is large.
Disclosure of Invention
The invention provides a time display method and device and electronic equipment, and aims to solve the problem that the power consumption is high when the time is displayed without the need of screen-on operation of the conventional mobile terminal.
In order to solve the above problem, the present invention discloses a time display method, which is applied to a display driving chip of a time display device, wherein the time display device further comprises an application processor, and the method comprises:
receiving target time image information sent by the application processor;
determining image updating information corresponding to the preset time length from the starting time;
generating a time image corresponding to the preset time duration from the starting time according to the target time image information and the image updating information;
when the time is counted from the starting time and the preset time length is passed, outputting the time image for displaying;
and taking the time obtained by adding the starting time and the preset time length as the starting time, taking the time image information corresponding to the time image as the target time image information, and returning to the step of determining the image updating information corresponding to the time when the preset time length is passed from the starting time.
Optionally, the determining of the image update information corresponding to a preset time period from the starting time includes at least one of the following sub-steps:
determining an hour hand rotation angle corresponding to a preset duration from the starting moment to obtain image updating information corresponding to the hour hand;
determining a minute hand rotation angle corresponding to a preset duration from the starting moment to obtain image updating information corresponding to the minute hand;
and determining a second hand rotation angle corresponding to the preset time duration from the starting time to obtain image updating information corresponding to the second hand.
Optionally, the target time image information includes at least one of a first minute position where the start time corresponds to a dial clock, a first minute position where the start time corresponds to the dial clock, and a first second minute position where the start time corresponds to the dial clock;
generating a time image corresponding to the preset time duration from the starting time according to the target time image information and the image updating information, wherein the time image comprises:
determining a second hour hand position corresponding to the first hour hand position after the hour hand rotating angle is rotated;
determining a corresponding second minute hand position after the first minute hand position rotates by the minute hand rotating angle;
determining a second hand position corresponding to the first second hand position after the second hand rotation angle is rotated;
generating a time image with an hour hand in the second hour hand position, a minute hand in the second minute hand position, and a second hand in the second hand position.
Optionally, after generating, according to the target time image information and the image update information, a time image corresponding to a time when the preset duration elapses from the start time, the method further includes:
synthesizing the time image and a pre-stored first background image to obtain a synthesized image;
when the preset time length is passed after the time is counted from the starting time, outputting the time image for display, including:
and outputting the composite image for display when the preset time length is passed after the time is counted from the starting time.
Optionally, the first background image includes date information therein; before the synthesizing the time image and the pre-stored first background image to obtain the synthesized image, the method further includes:
receiving a first background image sent by the application processor; the first background image is generated and obtained according to current date information when the date of the application processor changes;
and replacing the second background image stored before the date is changed with the first background image.
Optionally, the first background image includes electric quantity information; before the synthesizing the time image and the pre-stored first background image to obtain the synthesized image, the method further includes:
receiving a first background image sent by the application processor; the first background image is generated and obtained according to current electric quantity information when the electric quantity of the application processor changes;
and replacing the second background image stored before the electric quantity is changed with the first background image.
In order to solve the above problem, the present invention further discloses a time display device, which includes a display driver chip and an application processor, wherein the display driver chip includes:
the first receiving module is used for receiving the target time image information sent by the application processor;
the determining module is used for determining image updating information corresponding to the preset time length from the starting time;
the generating module is used for generating a time image corresponding to the preset time length from the starting time according to the target time image information and the image updating information;
the output module is used for outputting the time image for display when the preset time length is passed after the timing is started from the starting time;
and the calling module is used for taking the moment obtained by adding the starting moment and the preset time length as the starting moment, taking the time image information corresponding to the time image as the target time image information, and calling the determining module to execute the step of determining the image updating information corresponding to the preset time length from the starting moment.
Optionally, the determining module comprises at least one of the following sub-modules:
the first determining submodule is used for determining the corresponding hour hand rotation angle after the preset time length from the starting time to obtain the image updating information corresponding to the hour hand;
the second determining submodule is used for determining the corresponding minute hand rotation angle when the preset time length is passed from the starting time to obtain the image updating information corresponding to the minute hand;
and the third determining submodule is used for determining the corresponding second hand rotation angle after the preset time length from the starting time to obtain the image updating information corresponding to the second hand.
Optionally, the target time image information includes at least one of a first minute position where the start time corresponds to a dial clock, a first minute position where the start time corresponds to the dial clock, and a first second minute position where the start time corresponds to the dial clock;
the generation module comprises:
the fourth determining submodule is used for determining a second hour hand position corresponding to the first hour hand position after rotating the hour hand rotating angle;
the fifth determining submodule is used for determining a corresponding second minute hand position after the first minute hand position rotates by the minute hand rotating angle;
a sixth determining submodule for determining a second hand position to which the first second hand position should correspond after rotating the second hand rotation angle;
a generation submodule for generating a time image with the hour hand in the second hour hand position, the minute hand in the second minute hand position, and the second hand in the second hand position.
Optionally, the display driving chip further includes:
the synthesis module is used for synthesizing the time image and a pre-stored first background image to obtain a synthesized image;
the output module is specifically configured to output the composite image for display when the preset duration elapses since the start time.
Optionally, the first background image includes date information therein; the display driving chip further includes:
the second receiving module is used for receiving the first background image sent by the application processor; the first background image is generated and obtained according to current date information when the date of the application processor changes;
and the first replacing module is used for replacing the second background image stored before the date is changed with the first background image.
Optionally, the first background image includes electric quantity information; the display driving chip further includes:
the third receiving module is used for receiving the first background image sent by the application processor; the first background image is generated and obtained according to current electric quantity information when the electric quantity of the application processor changes;
and the second replacing module is used for replacing the second background image stored before the electric quantity is changed with the first background image.
In order to solve the above problem, the invention also discloses an electronic device comprising the above time display device.
In order to solve the above problem, the present invention further discloses a computer readable storage medium, on which a computer program is stored, and when the computer program is executed by a display driver chip, the steps of the time display method are implemented.
Compared with the prior art, the invention has the following advantages:
in the embodiment of the present invention, when receiving target time image information sent by an application processor, a display driver chip may determine image update information corresponding to a preset time period from a start time, and then may generate a time image corresponding to the preset time period from the start time according to the target time image information and the image update information, and when timing is started from the start time and the preset time period passes, the display driver chip may output the time image for display, and further the display driver chip may use a time obtained by adding the start time and the preset time period as a new start time, use the time image information corresponding to the time image as new target time image information, and return to perform the step of determining the image update information corresponding to the preset time period from the start time. Therefore, the application processor only needs to send target time image information to the display driving chip once at the starting time, and the subsequent display driving chip can perform self-updating of the time image in a circulating mode, so that the application processor does not need to be kept in a working state all the time, and the power consumption of the mobile terminal is reduced.
Drawings
FIG. 1 is a flow chart illustrating the steps of a time display method according to a first embodiment of the present invention;
FIG. 2 is a flow chart illustrating the steps of a time display method according to a second embodiment of the present invention;
fig. 3 shows a first background image according to a second embodiment of the present invention;
FIG. 4 shows a composite image according to a second embodiment of the invention;
fig. 5 is a block diagram showing a time display device according to a third embodiment of the present invention;
fig. 6 is a block diagram showing another time display device according to a third embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example one
Fig. 1 shows a flowchart of steps of a time display method according to a first embodiment of the present invention, where the method may be applied to a display driver chip of a time display device, where the time display device further includes an application processor, and referring to fig. 1, the method may specifically include the following steps:
step 101: and receiving target time image information sent by the application processor.
In the embodiment of the present invention, the mobile terminal may include at least one mode capable of displaying time without performing a screen-up operation, for example, a power saving mode, and the user may start such a mode by clicking a virtual button for starting the mode, or long pressing an off key.
When a certain mode is turned on, the application processor may determine target time image information corresponding to the current time, where the current time may be used as a starting time, where the target time image information may include image information corresponding to the current time displayed in a preset pattern, for example, an hour hand position, a minute hand position, a second hand position, and the like corresponding to the current time displayed in a dial clock pattern, and this is not specifically limited in the embodiment of the present invention. And the application processor can send the target time image information corresponding to the current time to the display driving chip, so that the display driving chip receives the target time image information.
Then, the application processor can enter a sleep state without sending time-related information to the display driver chip, and the application processor can be awakened until the mobile terminal exits the power saving mode or other information needing to be updated is sent.
Step 102: and determining image updating information corresponding to the preset time length from the starting time.
After receiving the target time image information sent by the application processor, the display driver chip may determine image update information corresponding to a preset time period from the start time, where the image update information is a variation that should be generated when the time image corresponding to the start time passes the preset time period, for example, a pointer angle variation corresponding to a dial clock, or a digital variation corresponding to an electronic clock.
Step 103: and generating a time image corresponding to the preset time duration from the initial time according to the target time image information and the image updating information.
In this step, the display driver chip may generate a time image corresponding to a preset duration from the start time according to the target time image information corresponding to the start time and a variation that should be generated when the time image corresponding to the start time passes the preset duration.
Step 104: and outputting the time image for display when the preset time length is passed after the time is counted from the starting time.
In the embodiment of the present invention, when receiving the target time image information sent by the application processor, the display driver chip may start timing from the start time, and when the preset time length elapses from the start time, the display driver chip may output the time image corresponding to the lapse of the preset time length from the start time to the display panel, and the display panel may display the time image.
Step 105: and taking the time obtained by adding the starting time and the preset time length as the starting time, taking the time image information corresponding to the time image as the target time image information, and returning to the step of determining the image updating information corresponding to the time when the preset time length passes from the starting time.
After the display driver chip outputs the time image, the display driver chip may use a time obtained by adding the start time and the preset time length as a new start time, use time image information corresponding to the time image as new target time image information, and then may return to the step of determining image update information corresponding to the time when the preset time length elapses from the start time. Therefore, the application processor only needs to send target time image information to the display driving chip once at the starting time, and the subsequent display driving chip can perform self-updating of the time image in a circulating mode, so that the application processor does not need to be kept in a working state all the time, and the power consumption of the mobile terminal is reduced.
In the embodiment of the present invention, when receiving target time image information sent by an application processor, a display driver chip may determine image update information corresponding to a preset time period from a start time, and then may generate a time image corresponding to the preset time period from the start time according to the target time image information and the image update information, and when timing is started from the start time and the preset time period passes, the display driver chip may output the time image for display, and further the display driver chip may use a time obtained by adding the start time and the preset time period as a new start time, use the time image information corresponding to the time image as new target time image information, and return to perform the step of determining the image update information corresponding to the preset time period from the start time. Therefore, the application processor only needs to send target time image information to the display driving chip once at the starting time, and the subsequent display driving chip can perform self-updating of the time image in a circulating mode, so that the application processor does not need to be kept in a working state all the time, and the power consumption of the mobile terminal is reduced.
Example two
Fig. 2 is a flowchart illustrating steps of a time display method according to a second embodiment of the present invention, where the method may be applied to a display driver chip of a time display device, and the time display device further includes an application processor, and referring to fig. 2, the method may specifically include the following steps:
step 201: and the display driving chip receives the target time image information sent by the application processor.
In this embodiment of the present invention, when a user triggers a mode capable of displaying time without performing a screen-up operation in a mobile terminal, the application processor may first send a control command to the display driver chip to instruct the display driver chip to enter a corresponding display mode, and then the application processor may send target time image information to the display driver chip, and then the display driver chip may store the target time image information in a specific Memory for subsequent retrieval, for example, may store the target time image information in a Font Memory, which is not specifically limited in this embodiment of the present invention. Optionally, in a specific application, the control command and the target time image information may be transmitted in a form of an MIPI (Mobile Industry Processor Interface) signal, and a transmission process follows an MIPI protocol.
In an alternative implementation, in a case where the user presets in advance that the time is displayed in the dial clock style, the target time image information may include at least one of a start time corresponding to a first minute position in the dial clock, and a start time corresponding to a first second minute position in the dial clock. Further, in a case where the user presets at least one of an hour hand pattern, a minute hand pattern, and a second hand pattern of the dial clock in advance, the target time image information may further include at least one of an hour hand pattern, a minute hand pattern, and a second hand pattern corresponding to the dial clock. The pointer pattern may specifically include at least one of pattern parameters such as a pointer color, a pointer shape, and a pointer pattern, which is not specifically limited in this embodiment of the present invention.
In another alternative implementation, in a case where the user presets in advance that the time is displayed in the electronic clock style, the target time image information may include at least one of a first hour value at which the start time corresponds to the electronic clock, a first minute value at which the start time corresponds to the electronic clock, and a first second value at which the start time corresponds to the electronic clock. Further, in a case where the user presets at least one of an hour digit pattern, a minute digit pattern, and a second digit pattern of the electronic clock in advance, the target time image information may further include at least one of an hour digit pattern, a minute digit pattern, and a second digit pattern corresponding to the electronic clock. The digital style may specifically include at least one of style parameters such as a digital color, a digital font, a digital size, and the like, which is not specifically limited in this embodiment of the present invention.
After the application processor sends the target time image information to the display driving chip, the application processor can enter a sleep state without sending time-related information to the display driving chip, and the application processor can be awakened until the mobile terminal exits a mode of displaying time without performing a bright screen operation or other information needing to be updated needs to be sent.
Step 202: and the display driving chip determines corresponding image updating information when a preset time length passes from the starting time.
In the embodiment of the present invention, in the case where the time needs to be displayed in the dial clock style, the step may specifically include at least one of the following sub-steps:
determining an hour hand rotation angle corresponding to a preset duration from the starting moment to obtain image updating information corresponding to the hour hand;
determining a minute hand rotation angle corresponding to a preset duration from the starting moment to obtain image updating information corresponding to the minute hand;
and determining a second hand rotation angle corresponding to the preset time duration from the starting time to obtain image updating information corresponding to the second hand.
Because there are intervals between the scales of the dial clock and there is a certain time difference between the time when the display driver chip receives the target time image information and the time when the display driver chip finally displays the time image, the display driver chip needs to determine how much variation should be made in the pointer position from the start time to the time when the time image is finally displayed, so as to finally display the accurate time image. In practical applications, the preset time period may be 0.5 second, 1 second, 3 seconds, and the like, which is not specifically limited in the embodiment of the present invention.
In the case where the time needs to be displayed in an electronic clock format, the step may specifically include at least one of the following sub-steps:
determining the corresponding hour value variation when a preset time length passes from the starting time to obtain image updating information corresponding to the hour;
determining the corresponding minute value variable quantity when a preset time length passes from the starting time, and obtaining image updating information corresponding to minutes;
and determining the second value variable quantity corresponding to the preset time duration from the starting time to obtain the image updating information corresponding to the second.
Step 203: and the display driving chip generates a time image corresponding to the preset time length from the initial time according to the target time image information and the image updating information.
In the embodiment of the present invention, when time needs to be displayed in a dial clock style, the step may be specifically implemented in the following manner, including: determining a second hour hand position corresponding to the first hour hand position after rotating the hour hand rotating angle; determining a corresponding second minute hand position after the first minute hand position rotates by the minute hand rotating angle; determining a second hand position corresponding to the first second hand position after the second hand rotating angle is rotated; a time image is generated with the hour hand in a second hour hand position, the minute hand in a second minute hand position, and the second hand in a second hand position. That is, the display driver chip may determine a second pointer position corresponding to the first pointer position corresponding to the start time after the preset duration, and then the display driver chip may generate a time image in which the pointer is located at the second pointer position, that is, the time image corresponding to the preset duration from the start time.
In the case that the time needs to be displayed in an electronic clock style, the step may be specifically implemented in a manner including: determining a second hour value corresponding to the first hour value after the first hour value is added with the hour value variation; determining a second minute value corresponding to the first minute value and the minute value variation after the first minute value and the minute value variation are added; determining a second value corresponding to the sum of the first second value and the second value variable quantity; and generating a time image corresponding to the second hour value, the second minute value and the second value. That is, the display driver chip may determine a second time value corresponding to the first time value corresponding to the start time after the preset duration, and then the display driver chip may generate a time image corresponding to the second time value, that is, a time image corresponding to the preset duration from the start time.
Step 204: and the display driving chip synthesizes the time image and a pre-stored first background image to obtain a synthesized image.
In the embodiment of the invention, the mobile terminal can display time on a specific background, and correspondingly, the application processor can transmit a first background image required by the display time to the display driving chip in advance. Illustratively, fig. 3 shows a first background image, which refers to an area a in fig. 3, the first background image may include a dial clock background, refer to an area B in fig. 3, the first background image may include date information, such as a calendar date of 5-21-month, a Tuesday, a lunar calendar date of seventeen-four-month, etc., refer to an area C in fig. 3, the first background image may include electric quantity information of 77%, refer to an area D in fig. 3, the first background image may further include at least one shortcut start icon, such as a shortcut start icon for turning on a flashlight, a shortcut start icon for making a call, etc., so that a user may quickly start some commonly used functions. Of course, in practical applications, the first background image may further include other information, and this is not specifically limited in this embodiment of the present invention. The display driving chip may superimpose the time image and the pre-stored first background image, so that a composite image may be obtained, as shown in fig. 4.
When the date information is included in the first background image, before this step, the display driving chip may further perform steps including: receiving a first background image sent by an application processor, wherein the first background image is generated and obtained according to current date information when the date of the application processor changes; and replacing the second background image stored before the date is changed with the first background image.
The application processor can be awakened when the date changes, then generates a first background image according to the current date information, and then the application processor can send the first background image to the display driving chip, and then the display driving chip can replace a second background image which is stored before the date changes with the updated first background image.
For example, the display driver chip stores a second background image corresponding to day 5/20, when the date changes from day 5/20 to day 5/21, the application processor may be awakened, and then generate a first background image according to date information corresponding to day 5/21, and then the application processor may send the first background image to the display driver chip, and then the display driver chip may replace the second background image corresponding to day 5/20 stored before the date changes with the first background image corresponding to day 5/21, so that the area B in fig. 3 may be updated.
When the first background image includes the electric quantity information, before this step, the display driving chip may further perform the following steps including: receiving a first background image sent by an application processor, wherein the first background image is generated and obtained according to current electric quantity information when the electric quantity of the application processor changes; and replacing the second background image stored before the change of the electric quantity with the first background image.
The application processor can be awakened when the electric quantity changes, then a first background image is generated according to the current electric quantity information, the application processor can send the first background image to the display driving chip, and the display driving chip can replace a corresponding second background image before the stored electric quantity changes with the updated first background image.
For example, the display driver chip stores a second background image corresponding to 78% of electric quantity, when the electric quantity changes from 78% to 77%, the application processor may be awakened, and then generates a first background image according to date information corresponding to 77% of electric quantity, and then the application processor may send the first background image to the display driver chip, and then the display driver chip may replace the second background image corresponding to 78% of electric quantity stored before the electric quantity changes with the first background image corresponding to 77% of electric quantity, so that the area C in fig. 3 may be updated.
In a specific application, the first background image may be stored in a RAM (random access memory) of the display driver chip until the date and/or the power is changed again.
Step 205: and when the timing is started from the initial moment and the preset time length is passed, the display driving chip outputs the synthesized image for displaying.
In the embodiment of the present invention, since the sending time difference between the control command and the target time image information is very short, when the display driver chip receives the control command or receives the target time image information sent by the application processor, the display driver chip may start timing from the current start time through an internal crystal oscillator, and when a preset time length elapses from the start time, the display driver chip may output a composite image corresponding to the elapse of the preset time length from the start time to the display panel, and the display panel may display the composite image.
Step 206: and the display driving chip takes the moment obtained by adding the starting moment and the preset duration as the starting moment, takes the time image information corresponding to the time image as the target time image information, and returns to the step of determining the image updating information corresponding to the preset duration from the starting moment.
After the display driver chip outputs the time image, the display driver chip may use a time obtained by adding the start time and the preset time length as a new start time, use time image information corresponding to the time image as new target time image information, and then may return to the step of determining image update information corresponding to the time when the preset time length elapses from the start time. Therefore, the application processor only needs to send target time image information to the display driving chip once at the starting time, and the subsequent display driving chip can perform self-updating of the time image in a circulating mode, so that the application processor does not need to be kept in a working state all the time, and the power consumption of the mobile terminal is reduced.
In the embodiment of the invention, when the display driving chip receives the target time image information sent by the application processor, it is possible to determine image update information corresponding to the lapse of a preset time period from the start time, then, a time image corresponding to the preset time duration from the starting time can be generated according to the target time image information and the image updating information, then the time image and a pre-stored first background image can be synthesized to obtain a synthesized image, when the preset time length is passed after the time is counted from the starting time, the display driving chip can output the composite image for display, and then the display driving chip can take the time obtained by adding the starting time and the preset time length as a new starting time, take the time image information corresponding to the time image as new target time image information, and return to the step of determining the image updating information corresponding to the time when the preset time length passes from the starting time. Therefore, the application processor only needs to send target time image information to the display driving chip once at the starting time, and the subsequent display driving chip can perform self-updating of the time image in a circulating mode, so that the application processor does not need to be kept in a working state all the time, and the power consumption of the mobile terminal is reduced.
EXAMPLE III
Fig. 5 shows a structural block diagram of a time display device according to a third embodiment of the present invention, and referring to fig. 5, the time display device 50 includes a display driver chip 51 and an application processor 52, where the display driver chip 51 may specifically include:
a first receiving module 511, configured to receive target time image information sent by the application processor;
a determining module 512, configured to determine image update information corresponding to a preset duration from a start time;
a generating module 513, configured to generate a time image corresponding to the preset time duration from the start time according to the target time image information and the image update information;
an output module 514, configured to output the time image for display when the preset time duration elapses since the start of timing;
a calling module 515, configured to use a time obtained by adding the starting time to the preset time length as a starting time, use time image information corresponding to the time image as target time image information, and call the determining module to perform the step of determining image update information corresponding to a preset time length after the starting time.
Optionally, referring to fig. 6, the determining module 512 includes at least one of the following sub-modules:
the first determining submodule 5121 is configured to determine an hour hand rotation angle corresponding to a preset time period from a start time, and obtain image update information corresponding to an hour hand;
the second determining submodule 5122 is configured to determine a minute hand rotation angle corresponding to a preset duration from the start time, and obtain image update information corresponding to the minute hand;
the third determining submodule 5123 is configured to determine a second hand rotation angle corresponding to a preset time period from the start time, and obtain image update information corresponding to the second hand.
Optionally, referring to fig. 6, the target time image information includes at least one of the start time corresponding to a first minute position in a dial clock, the start time corresponding to a first minute position in the dial clock, and the start time corresponding to a first second minute position in the dial clock;
the generating module 513 includes:
the fourth determining submodule 5131 is configured to determine a second hour hand position corresponding to the first hour hand position after the hour hand rotation angle is rotated;
a fifth determining submodule 5132, configured to determine a second minute hand position corresponding to the first minute hand position after the minute hand rotation angle is rotated;
a sixth determining submodule 5133 configured to determine a second hand position to which the second hand should be rotated after the first second hand position is rotated by the second hand rotation angle;
a generation sub-module 5134 for generating a time image with the hour hand in said second hour hand position, the minute hand in said second minute hand position and the second hand in said second hand position.
Optionally, referring to fig. 6, the display driving chip 51 further includes:
a synthesizing module 515, configured to synthesize the time image and a pre-stored first background image to obtain a synthesized image;
the output module 514 is specifically configured to output the composite image for display when the preset duration elapses since the start time.
Optionally, referring to fig. 6, the first background image includes date information therein; the display driving chip 51 further includes:
a second receiving module 517, configured to receive the first background image sent by the application processor; the first background image is generated and obtained according to current date information when the date of the application processor changes;
a first replacing module 518, configured to replace the first background image with the second background image stored before the date is changed.
Optionally, referring to fig. 6, the first background image includes electric quantity information; the display driving chip 51 further includes:
a third receiving module 519, configured to receive the first background image sent by the application processor; the first background image is generated and obtained according to current electric quantity information when the electric quantity of the application processor changes;
a second replacing module 5110, configured to replace the stored second background image with the first background image before the power change occurs.
In the embodiment of the present invention, when the display driver chip receives the target time image information sent by the application processor through the first receiving module, the determining module may determine image update information corresponding to a preset time period from a start time, and then the generating module may generate a time image corresponding to the preset time period from the start time according to the target time image information and the image update information, when the time is counted from the start time and the preset time period passes, the display driver chip may output the time image through the output module for displaying, and further the display driver chip may call the module, by taking a time obtained by adding the start time and the preset time period as a new start time, and by taking the time image information corresponding to the time image as new target time image information, the determining module is called, so as to execute the step of determining the image updating information corresponding to the preset time length from the starting time. Therefore, the application processor only needs to send target time image information to the display driving chip once at the starting time, and the subsequent display driving chip can perform self-updating of the time image in a circulating mode, so that the application processor does not need to be kept in a working state all the time, and the power consumption of the mobile terminal is reduced.
Example four
The embodiment of the invention also discloses electronic equipment comprising the time display device.
In the embodiment of the present invention, when the display driver chip receives the target time image information sent by the application processor through the first receiving module, the determining module may determine image update information corresponding to a preset time period from a start time, and then the generating module may generate a time image corresponding to the preset time period from the start time according to the target time image information and the image update information, when the time is counted from the start time and the preset time period passes, the display driver chip may output the time image through the output module for displaying, and further the display driver chip may call the module, by taking a time obtained by adding the start time and the preset time period as a new start time, and by taking the time image information corresponding to the time image as new target time image information, the determining module is called, so as to execute the step of determining the image updating information corresponding to the preset time length from the starting time. Therefore, the application processor only needs to send target time image information to the display driving chip once at the starting time, and the subsequent display driving chip can perform self-updating of the time image in a circulating mode, so that the application processor does not need to be kept in a working state all the time, and the power consumption of the mobile terminal is reduced.
EXAMPLE five
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program realizes the steps of the time display method when being executed by the display driving chip.
In the embodiment of the present invention, when receiving target time image information sent by an application processor, a display driver chip may determine image update information corresponding to a preset time period from a start time, and then may generate a time image corresponding to the preset time period from the start time according to the target time image information and the image update information, and when timing is started from the start time and the preset time period passes, the display driver chip may output the time image for display, and further the display driver chip may use a time obtained by adding the start time and the preset time period as a new start time, use the time image information corresponding to the time image as new target time image information, and return to perform the step of determining the image update information corresponding to the preset time period from the start time. Therefore, the application processor only needs to send target time image information to the display driving chip once at the starting time, and the subsequent display driving chip can perform self-updating of the time image in a circulating mode, so that the application processor does not need to be kept in a working state all the time, and the power consumption of the mobile terminal is reduced.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present invention is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently with other steps in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The time display method, the time display device and the electronic device provided by the invention are described in detail, specific examples are applied in the text to explain the principle and the implementation of the invention, and the description of the examples is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A time display method, characterized in that, applied to a display driving chip of a time display device, the time display device further comprises an application processor, the method comprises:
receiving a control instruction sent by the application processor to instruct the display driving chip to enter a time display mode; the control instruction is generated according to the triggering operation of a user under the condition that the screen is not required to be lightened; the triggering operation comprises clicking a virtual button or long-pressing a shutdown key under the condition of not needing to perform screen lightening;
receiving target time image information sent by the application processor;
determining image updating information corresponding to the preset time length from the starting time;
generating a time image corresponding to the preset time duration from the starting time according to the target time image information and the image updating information;
when the time is counted from the starting time and the preset time length is passed, outputting the time image for displaying;
taking the time obtained by adding the starting time and the preset time length as the starting time, taking the time image information corresponding to the time image as the target time image information, and returning to the step of determining the image updating information corresponding to the time when the preset time length passes from the starting time;
after generating the time image corresponding to the preset time duration from the starting time according to the target time image information and the image updating information, the method further includes:
synthesizing the time image and a pre-stored first background image to obtain a synthesized image;
when the preset time length is passed after the time is counted from the starting time, outputting the time image for display, including:
outputting the composite image for display when the preset time length is passed after the time is counted from the starting time;
the first background image comprises date information; before the synthesizing the time image and the pre-stored first background image to obtain the synthesized image, the method further includes:
receiving a first background image sent by the application processor; the first background image is generated and obtained according to current date information when the date of the application processor changes;
and replacing the second background image stored before the date is changed with the first background image.
2. The method according to claim 1, wherein the determining the image update information corresponding to the preset time period from the start time comprises at least one of the following sub-steps:
determining an hour hand rotation angle corresponding to a preset duration from the starting moment to obtain image updating information corresponding to the hour hand;
determining a minute hand rotation angle corresponding to a preset duration from the starting moment to obtain image updating information corresponding to the minute hand;
and determining a second hand rotation angle corresponding to the preset time duration from the starting time to obtain image updating information corresponding to the second hand.
3. The method of claim 2, wherein the target time image information includes at least one of the start time corresponding to a first minute position in a dial clock, the start time corresponding to a first minute position in the dial clock, and the start time corresponding to a first second minute position in the dial clock;
generating a time image corresponding to the preset time duration from the starting time according to the target time image information and the image updating information, wherein the time image comprises:
determining a second hour hand position corresponding to the first hour hand position after the hour hand rotating angle is rotated;
determining a corresponding second minute hand position after the first minute hand position rotates by the minute hand rotating angle;
determining a second hand position corresponding to the first second hand position after the second hand rotation angle is rotated;
generating a time image with an hour hand in the second hour hand position, a minute hand in the second minute hand position, and a second hand in the second hand position.
4. The method of claim 1, wherein the first background image includes power information; before the synthesizing the time image and the pre-stored first background image to obtain the synthesized image, the method further includes:
receiving a first background image sent by the application processor; the first background image is generated and obtained according to current electric quantity information when the electric quantity of the application processor changes;
and replacing the second background image stored before the electric quantity is changed with the first background image.
5. A time display device, comprising a display driver chip and an application processor, the display driver chip comprising:
the first receiving module is used for receiving a control instruction sent by the application processor so as to indicate the display driving chip to enter a time display mode; the application processor is also used for receiving target time image information sent by the application processor; the control instruction is generated according to the triggering operation of a user under the condition that the screen is not required to be lightened; the triggering operation comprises clicking a virtual button or long-pressing a shutdown key under the condition of not needing to perform screen lightening;
the determining module is used for determining image updating information corresponding to the preset time length from the starting time;
the generating module is used for generating a time image corresponding to the preset time length from the starting time according to the target time image information and the image updating information;
the output module is used for outputting the time image for display when the preset time length is passed after the timing is started from the starting time;
a calling module, configured to use a time obtained by adding the start time to the preset time length as a start time, use time image information corresponding to the time image as target time image information, and call the determining module to perform the step of determining image update information corresponding to a preset time length after the start time;
the synthesis module is used for synthesizing the time image and a pre-stored first background image to obtain a synthesized image;
the output module is specifically configured to output the composite image for display when the preset duration elapses since the start time is counted;
the first background image comprises date information; the display driving chip further includes:
the second receiving module is used for receiving the first background image sent by the application processor; the first background image is generated and obtained according to current date information when the date of the application processor changes;
and the first replacing module is used for replacing the second background image stored before the date is changed with the first background image.
6. The apparatus of claim 5, wherein the determining module comprises at least one of the following sub-modules:
the first determining submodule is used for determining the corresponding hour hand rotation angle after the preset time length from the starting time to obtain the image updating information corresponding to the hour hand;
the second determining submodule is used for determining the corresponding minute hand rotation angle when the preset time length is passed from the starting time to obtain the image updating information corresponding to the minute hand;
and the third determining submodule is used for determining the corresponding second hand rotation angle after the preset time length from the starting time to obtain the image updating information corresponding to the second hand.
7. The apparatus of claim 6, wherein the target time image information comprises at least one of the start time corresponding to a first minute position in a dial clock, the start time corresponding to a first minute position in the dial clock, and the start time corresponding to a first second minute position in the dial clock;
the generation module comprises:
the fourth determining submodule is used for determining a second hour hand position corresponding to the first hour hand position after rotating the hour hand rotating angle;
the fifth determining submodule is used for determining a corresponding second minute hand position after the first minute hand position rotates by the minute hand rotating angle;
a sixth determining submodule for determining a second hand position to which the first second hand position should correspond after rotating the second hand rotation angle;
a generation submodule for generating a time image with the hour hand in the second hour hand position, the minute hand in the second minute hand position, and the second hand in the second hand position.
8. The apparatus of claim 5, wherein the first background image comprises power information; the display driving chip further includes:
the third receiving module is used for receiving the first background image sent by the application processor; the first background image is generated and obtained according to current electric quantity information when the electric quantity of the application processor changes;
and the second replacing module is used for replacing the second background image stored before the electric quantity is changed with the first background image.
9. An electronic device characterized by comprising a time display apparatus according to any one of claims 5 to 8.
10. A computer-readable storage medium, on which a computer program is stored, which, when executed by a display driver chip, implements the steps of the time display method according to any one of claims 1 to 4.
CN201910615163.3A 2019-07-09 2019-07-09 Time display method and device and electronic equipment Active CN110308783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910615163.3A CN110308783B (en) 2019-07-09 2019-07-09 Time display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910615163.3A CN110308783B (en) 2019-07-09 2019-07-09 Time display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110308783A CN110308783A (en) 2019-10-08
CN110308783B true CN110308783B (en) 2021-12-21

Family

ID=68079343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910615163.3A Active CN110308783B (en) 2019-07-09 2019-07-09 Time display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110308783B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111477147B (en) * 2020-04-09 2023-06-27 昆山泰芯微电子有限公司 Image processing method and device and electronic equipment
CN112214274A (en) * 2020-10-14 2021-01-12 合肥芯颖科技有限公司 Clock display method and device of display system
CN115454230A (en) * 2022-10-10 2022-12-09 苇创微电子(上海)有限公司 Method for reducing power consumption of driving chip for information screen display and display system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NL1009817C2 (en) * 1998-08-07 2000-02-08 Oce Tech Bv Manipulation of energy savings with imaging devices in a network system.
DE102008013897A1 (en) * 2007-12-21 2009-06-25 Fujitsu Siemens Computers Gmbh Method for reduction of power consumption of electronic display unit, involves selecting operation of multiple possibilities and activating two, particularly almost all possibilities by taking energy saving mode
CN101539796A (en) * 2008-03-21 2009-09-23 旭丽电子(广州)有限公司 Method for automatically turning on or turning off display and display capable of being automatically turned on or turned off
CN106774811A (en) * 2016-12-30 2017-05-31 维沃移动通信有限公司 A kind of electricity saving method and mobile terminal
CN109388225A (en) * 2018-09-30 2019-02-26 深圳市致行科技有限公司 Key triggers energy-saving control method, storage medium, control device and its terminal

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5511776B2 (en) * 2011-11-29 2014-06-04 シャープ株式会社 Image forming apparatus having power saving mode learning function and control apparatus thereof
EP3102995B1 (en) * 2014-02-05 2020-11-04 Fujitsu Client Computing Limited Display device, computer system and method for managing the operating states of a computer system
CN106569573B (en) * 2015-10-09 2021-12-07 中兴通讯股份有限公司 Display method and device, display control method and device, and equipment
JP6085739B1 (en) * 2016-04-12 2017-03-01 株式会社セレブレクス Low power consumption display device
CN107589821A (en) * 2016-07-07 2018-01-16 上海中兴软件有限责任公司 A kind of time display method and intelligent watch
CN107121920A (en) * 2017-05-18 2017-09-01 青岛海信移动通信技术股份有限公司 A kind of clock display method and intelligent watch
CN107491280B (en) * 2017-08-22 2021-05-14 北京小米移动软件有限公司 Information updating method and device
CN108134869A (en) * 2017-11-29 2018-06-08 努比亚技术有限公司 Breath screen display methods, mobile terminal and computer readable storage medium
CN109189198B (en) * 2018-08-07 2021-04-06 Oppo广东移动通信有限公司 Image display method, device, terminal and storage medium
CN109493793B (en) * 2019-01-14 2021-01-26 京东方科技集团股份有限公司 Control method of display device and wearable device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NL1009817C2 (en) * 1998-08-07 2000-02-08 Oce Tech Bv Manipulation of energy savings with imaging devices in a network system.
DE102008013897A1 (en) * 2007-12-21 2009-06-25 Fujitsu Siemens Computers Gmbh Method for reduction of power consumption of electronic display unit, involves selecting operation of multiple possibilities and activating two, particularly almost all possibilities by taking energy saving mode
CN101539796A (en) * 2008-03-21 2009-09-23 旭丽电子(广州)有限公司 Method for automatically turning on or turning off display and display capable of being automatically turned on or turned off
CN106774811A (en) * 2016-12-30 2017-05-31 维沃移动通信有限公司 A kind of electricity saving method and mobile terminal
CN109388225A (en) * 2018-09-30 2019-02-26 深圳市致行科技有限公司 Key triggers energy-saving control method, storage medium, control device and its terminal

Also Published As

Publication number Publication date
CN110308783A (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN110308783B (en) Time display method and device and electronic equipment
CN106909064B (en) Time display device and time display method
US7232058B2 (en) Data displaying apparatus and method
US6266295B1 (en) System and method of displaying times corresponding to events on a calendar
CN103324395B (en) A kind of touch-screen clock application menu display methods and terminal
US8094105B2 (en) Navigation for a non-traditionally shaped liquid crystal display for mobile handset devices
CN106371700A (en) Determining method for interface display contents and mobile terminal
US7111251B2 (en) Schedule management apparatus, schedule management method, and computer-readable recording medium storing schedule management program
CN114741042A (en) Content display method and device
EP1062607A1 (en) System and method of displaying times corresponding to events on a calendar
CN112367242B (en) Information display method, device, equipment and medium
US20240168779A1 (en) Display method and electronic device
CN114244952B (en) Alarm clock processing method and device, electronic equipment and medium
JP2010107805A (en) Electronic device with display screen
CN113176833A (en) Electronic equipment control method and device and electronic equipment
JP3813568B2 (en) Display device and liquid crystal projector
TW200407785A (en) Method using software to implement multi-boot screen on a computer platform, the computer platform, and storage medium stored with computer program for executing the method
JP4926545B2 (en) Screen switching device, screen switching method, and wireless communication device
CN115639739A (en) Timing reminding method and device, electronic equipment and readable storage medium
US20170060347A1 (en) Information processing method and electronic device
KR20070068810A (en) Mobile communication terminal and method for establishing menu function thereof
JP3762736B2 (en) Gamma correction data rewriting device
JPH036724A (en) Information processor
CN113703628A (en) Interaction processing method and device
JPH11344692A (en) Contrast adjusting method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant