Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method for controlling screen-turning display and the terminal can effectively reduce the power consumption of the terminal.
The technical scheme adopted by the invention for solving the technical problems is as follows: a control method of screen-displaying is applied to a terminal, the terminal comprises an application processor, a display screen, a driving IC module and a real-time clock module, and particularly, the control method comprises the following steps:
when the terminal enters a screen-off display state, the application processor sends all data required by screen-off information to the drive IC module at one time; meanwhile, starting a part of display functions of the drive IC module, sending current screen information to the drive IC module by the application processor, and then entering a dormant state by the application processor;
the memory control module in the drive IC module stores all data required by screen information in a non-display area of a frame cache, writes data information corresponding to the current screen information into a display area of the frame cache, and displays the current screen information on the display screen;
and a real-time clock module in the terminal sends a trigger signal to the drive IC module once per cycle, the drive IC module updates screen information in a display area of the frame cache, and the display screen displays the updated screen information.
Preferably, the memory control module of the driver IC module may change the write address of the information of the screen displaying area of the frame buffer after receiving the trigger signal of the real-time clock module, so as to change the position of the screen displaying information on the display screen.
Preferably, all data required by the screen-off information can be preset, and the write address of the screen-off information in the display area of the frame buffer can be preset.
Preferably, the screen-turning information is time information or incoming call information.
A terminal adopts the control method of information screen display.
Preferably, the application processor of the terminal is in bidirectional data connection with the driver IC module, the driver IC module is in bidirectional data connection with the display screen, and the real-time clock module sends data to the driver IC module.
Preferably, the driver IC module of the terminal converts the digital signal input by the application processor into an analog signal to drive the display screen for display, and the driver IC module has an interface module, a register, a frame buffer, a memory control module, a source output module, and a gate array module.
The interface module is responsible for communicating with the application processor and the real-time clock module.
The register is responsible for receiving and storing the operation command sent by the application processor and executing corresponding logic operation.
The frame cache is used for storing complete data to be displayed of one frame, the frame cache module is divided into a display area and a non-display area, the data in the display area can be displayed on the display screen, and the non-display area is not displayed.
The memory control module is responsible for writing and reading operations of the frame buffer.
And the source output module is responsible for outputting the analog signal to the display screen.
And the gate array module is responsible for scanning and refreshing the display screen.
Preferably, the memory control module is responsible for writing and reading operations to and from the frame buffer specifically: and the memory control module reads and writes the data in the non-display area of the frame buffer into the display area of the frame buffer.
Preferably, the driving IC module further includes an image scaling module, and the image scaling module is responsible for reducing or enlarging the size of the image in the frame buffer and outputting the reduced or enlarged image to the source output module.
The invention has the beneficial effects that: in the invention, the application processor does not need to be frequently awakened after sleeping, and the drive IC module updates the screen information in the display area of the frame cache every period, thereby reducing the power consumption of the whole terminal. And no extra DRAM memory is needed to be added in the drive IC module, so that the cost is saved. The invention can also prevent image residue caused by fixed position of the screen information, and the user can define the font and color of the screen information, thereby realizing diversification of display styles.
Detailed Description
The invention will now be further described with reference to the accompanying drawings. These drawings are simplified schematic diagrams only illustrating the basic structure of the present invention in a schematic manner, and thus show only the constitution related to the present invention.
As shown in fig. 1, a terminal includes an application processor 101, a display screen 104, a driver IC module 102, and a Real Time Clock (RTC) module 103. The application processor of the terminal is in bidirectional data connection with the drive IC module, the drive IC module is in bidirectional data connection with the display screen, and the real-time clock module sends data to the drive IC module. The real-time clock module 103 belongs to a module on a PMIC (Power management IC) and is powered by a battery to record a current time value in the real-time clock. The time values may include year, month, day, hour, minute, and second.
The Display screen 104 may be specifically an OLED (Organic Light-Emitting Diode) Display module, and may also be an LCD (Liquid Crystal Display) Display module.
The driving IC module 102 is responsible for converting a digital signal input by the application processor into an analog signal, and driving the display screen 104 to display image data, and the internal structure of the driving IC module is shown in fig. 2.
The driving IC module comprises an interface module 201, a register 202, a frame buffer 203, a memory control module 204, a Source Output (Source Output) module 206, and a gate array (GOA) module 207; the driver IC module further comprises an image scaling module 205.
The interface module is responsible for communicating with the application processor and the real-time clock module; the interface types include: MIPI, SPI, MPU, I2C, GPIO and the like.
The register is used for receiving and storing the operation command sent by the application processor and executing corresponding logic operation;
the frame buffer is responsible for storing a complete frame of data to be displayed, in this example, since a part of the display function is turned on, the data in the display area is divided into a display area and a non-display area, the data in the display area can be displayed on the display screen 104, and the non-display area is not displayed, that is, the area corresponding to the display screen is displayed in black.
The memory control module is responsible for writing and reading operations of the frame buffer; in this example, the memory control module is responsible for reading and writing data in the non-display area of the frame buffer into the display area of the frame buffer.
The source output module is responsible for outputting analog signals to the display screen 104;
the gate array module is responsible for the scanning refresh of the display screen 104.
The image scaling module 205 is responsible for reducing or enlarging the size of the image in the frame buffer and outputting the image to the source output module 206, and this module outputs the original size image by default, that is, input and output 1: 1 conversion. As shown in fig. 8, when necessary, for example, the wearable device: the frame buffer size of the intelligent watch, the bracelet and the like is small so that the image data of all large-size numbers and symbols cannot be stored, so that small-size images can be stored in advance and displayed on a display screen after being amplified by the module.
In a possible implementation manner, the terminal may include various terminal devices configured with screens, such as a mobile phone, a wearable device, a desktop computer, a notebook computer, and an information display terminal.
When the terminal enters the information screen display state, the information screen display area of the screen can display the information screen. The information of the screen can include any preset display information such as time information, incoming call information and the like. Whether the display screen of the terminal enters a screen-off display state may be determined by an application processor of the terminal.
As shown in fig. 3 and 4, a control method for screen saver display is applied to a terminal, and the control method includes the following steps:
step 301: after entering the standby state, the terminal enters a rest screen display state, the application processor transmits all data required for the rest screen information, such as image data of all numbers and symbols required for displaying time information, to the driver IC module at once (step 403), and current time information to the driver IC module (step 405), and at the same time, turns on part of the display function of the driver IC module (step 401), and the application processor then enters a sleep state (step 406).
Specifically, step 401: the AOD mode and partial display function of the starting drive IC module are mainly realized as follows: the application processor sends a command to enter the AOD mode and a partial display on command to the driver IC module. The driver IC module writes the command parameters into a register (step 402)
FIG. 5 is a schematic diagram of a display function of a portion of a driver IC module according to an exemplary embodiment of the present invention; the application processor can set parameters of a part of display starting line and a part of display ending line of the drive IC module, and starts a part of display functions of the drive IC module, after the drive IC module is started, the display screen only displays the content of a display area, and the non-display area is black when not displayed.
Specifically, step 403: image data of all numbers and symbols required for time information such as 0 to 9, ": "waiting time to display the required image information. The style of the numbers and symbols can be customized by the user, i.e. the font and color can be preset, drawn by the application processor. The image size may be 50x50, 100x100, 200x200, etc. non-full frame sizes.
Specifically, step 405: and transmitting the current time information. The current time information refers to digital information of the current time, not image information.
Specifically, step 406: the application processor enters the sleep state after executing steps 401, 403 and 405.
Specifically, step 302: the driving IC module stores all data required for information of the information screen, i.e., all numbers and symbol information required for time information in this embodiment, in a non-display area of the frame buffer, writes the numbers and symbol information corresponding to the current time information into a frame buffer display area, and the display screen displays the current time information. This flow corresponds to steps 404 and 407 in fig. 4.
The non-display area of the frame buffer is the area outside the partial display set in step 401, and the area is displayed as black on the display screen.
As shown in fig. 6, the number and symbol information corresponding to the current time information includes:
for example, if the current time information acquired by the driver IC module is "10: 00", the corresponding numeric and symbol information includes "1", "0": ".
The memory control module of the drive IC module buffers the data of ' 1 ', ' 0 ', ' which are pre-stored in the frame buffer non-display area: the picture information is read and written into the preset position of the display area of the frame buffer, so that the picture information is displayed as 10: 00.
The non-display area is displayed in black, and all the number and symbol information required by time display are prestored in the non-display area.
Alternatively, the starting address of the predetermined position of the frame buffer display area may be determined by a horizontal sync signal (HSYNC), for example, the current writing address may be at the 100 th HSYNC.
Specifically, step 303: the real-time clock module in the terminal sends a trigger signal to the drive IC module every whole minute (in this example, the period is set to 1 minute), the drive IC module updates the time information in the frame buffer, and the display screen displays the updated time information. This flow corresponds to steps 408, 409, 410 and 411 in fig. 4.
In general, the screen-off display shows the time of a whole minute, and in this example, the real-time clock module may send a trigger signal to the driving IC module once every whole minute, for example, the current time is 10:00, after 1 minute, the real-time clock module sends the 1 st trigger signal, and the drive IC module receives the trigger signal and then stores the time information in the display area of the frame buffer from' 10:00 "update to" 10: 01', an ith trigger signal is sent after the ith minute, and the drive IC module updates the time information in the display area of the frame buffer to the time information after the ith minute.
Optionally, as shown in fig. 7, after receiving the trigger signal of the real-time clock module, the display position of the information on the screen in the frame buffer may be changed from the 100 th HSYNC to the 150 th HSYNC, so as to implement movement of the information on the screen on the display, and prevent the information on the screen from being displayed at the fixed position of the display all the time, which may cause image retention.
As shown in fig. 8, the present invention can be applied to a wearable device, and since the frame buffer size of the wearable device is small, and all the large-size data to be displayed cannot be prestored, the small-size data can be prestored, the image data in the frame buffer can be amplified by the image scaling module during displaying, and the amplified image data is displayed on the display screen.
In the invention, the application processor does not need to be frequently awakened after sleeping, and the drive IC module updates the screen information in the display area of the frame cache every period, thereby reducing the power consumption of the whole terminal. And no extra DRAM memory is needed to be added in the drive IC module, so that the cost is saved. The invention can also prevent image residue caused by fixed position of the screen information, and the user can define the font and color of the screen information, thereby realizing diversification of display styles.
In light of the foregoing description of the preferred embodiment of the present invention, many modifications and variations will be apparent to those skilled in the art without departing from the spirit and scope of the invention. The technical scope of the present invention is not limited to the content of the specification, and must be determined according to the scope of the claims.