CN108476306B - Image display method and terminal equipment - Google Patents

Image display method and terminal equipment Download PDF

Info

Publication number
CN108476306B
CN108476306B CN201780004907.7A CN201780004907A CN108476306B CN 108476306 B CN108476306 B CN 108476306B CN 201780004907 A CN201780004907 A CN 201780004907A CN 108476306 B CN108476306 B CN 108476306B
Authority
CN
China
Prior art keywords
image
frame image
display
touch instruction
sending
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
CN201780004907.7A
Other languages
Chinese (zh)
Other versions
CN108476306A (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.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110320798.8A priority Critical patent/CN113225427B/en
Publication of CN108476306A publication Critical patent/CN108476306A/en
Application granted granted Critical
Publication of CN108476306B publication Critical patent/CN108476306B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3433Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices
    • G09G3/344Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices based on particles moving in a fluid or in a gas, e.g. electrophoretic devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Abstract

An image display method and terminal equipment are used for solving the problem that in the prior art, when an electronic ink screen displays an image of a third-party application which does not use an SDK, the display effect is poor. The method comprises the following steps: determining the sending time of the received second frame image, wherein the sending time is the time when the application layer sends the second frame image to the next processing module after drawing the second frame image; determining a difference value between the transmission time of the second frame image and the transmission time of the previously received first frame image; and if the difference value is judged to be larger than or equal to the set threshold value, sending the second frame image to a display buffer register.

Description

Image display method and terminal equipment
The present application claims priority of chinese patent application entitled "method and apparatus for a dual-screen mobile phone application display method" filed by the chinese patent office at 30/12/2016 under the application number 201611265369.0, the entire contents of which are incorporated herein by reference.
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method for displaying an image and a terminal device.
Background
With the progress of science and technology, the smart phone is developed from a front single screen supporting display and touch control into a front double screen supporting both front and back, and the back screen of the smart phone can also display and realize touch control. At present, the liquid crystal screen is adopted on the front side of the smart phone, the electronic Ink (E Ink) screen which is low in power consumption and high in visual identification is adopted on the back side of the smart phone compared with the liquid crystal screen, the E Ink screen uses the latest Carta panel technology, reading can be easily performed under sunlight, no flicker, no radiation and large visual angle exist, the fatigue of eyes is greatly reduced, and the smart phone is more and more favored by people. The latest E Ink screen comprehensively supports touch operation, multi-finger touch and various gestures, and the E Ink screen has wider application due to the increase of touch characteristics. The latest E Ink screen can comprehensively display the interface of the whole Android system, but because the refresh rate of the electronic Ink screen is 2-8 Hz, and the refresh rate of the front liquid crystal screen is 60Hz or even higher, the animation effect normally displayed on the front liquid crystal screen can be displayed as a few frames of split animation frames on the back E Ink screen, and a great delay exists, so that the user experience is poor, in order to fully utilize the E Ink screen, a third-party application used on the front liquid crystal screen must use a Software Development Kit (SDK) provided by a specific manufacturer, the third-party application can be normally used on the back E Ink screen, and the third-party application is really beneficial to the uniformity and the usability, but the application range of the E Ink screen is greatly reduced.
In summary, how to make the display effect of the back E Ink screen supporting the image of the third-party application that does not use the SDK have good applicability, and improve the user experience is a problem that needs to be solved at present.
Disclosure of Invention
The embodiment of the application provides an image display method and terminal equipment, which are used for solving the problem that in the prior art, when an electronic ink screen displays an image of a third-party application which does not use an SDK, the display effect is poor.
In a first aspect, the present application provides a method of image display, the method comprising: determining the sending time of a received second frame image, wherein the sending time is the time when the application layer sends the second frame image to a next processing module after drawing the second frame image, and then determining the difference value between the sending time of the second frame image and the sending time of a previously received first frame image; and if the difference value is larger than or equal to the set threshold value, sending the second frame image to a display buffer register, acquiring the image stored in the display buffer register according to the actual vertical synchronous clock signal, and sending the image to an electronic ink screen for display according to the storage sequence.
In the embodiment of the application, an image display method is provided, when the difference value between the sending time of a second frame image and the sending time of a first frame image is larger than or equal to a set threshold value, the second frame image is sent to a display buffer register so as to be displayed on an electronic ink screen, through the image display method, images with multi-frame animation effects, which are continuously sent with the difference value smaller than the set threshold value, can be filtered, only the images with the difference value larger than or equal to the set threshold value are displayed, it is ensured that a stable static picture appears on the electronic ink screen, and the use experience of a user is improved.
In one possible design, the method further includes:
and if the difference is smaller than the set threshold value, discarding the second frame image.
In one possible design, after the second frame image is sent to the display buffer, the method further includes:
receiving a touch instruction; drawing a set image triggered by the touch instruction; and performing layer superposition processing on the set image triggered by the touch instruction and the second frame image in the display buffer register.
In the embodiment of the application, when the electronic ink screen receives a touch instruction, positive feedback information needs to be displayed for a user, but the time of real-time feedback is possibly shorter than the time of one-frame display of the ink screen, so that the set image triggered by the touch instruction is drawn, the set image triggered by the touch instruction and the second frame image in the display buffer register are subjected to superposition processing, the user obtains the positive feedback information, the touch instruction sent by the user is determined to be effective, and the use experience of the user is improved.
In a possible design, the performing layer overlay processing on the set image triggered by the touch instruction and the second frame image in the display buffer register specifically includes:
and overlaying a setting image triggered by the touch instruction on the second frame image in the display buffer register.
In a possible design, after performing layer overlay processing on the setting image triggered by the touch instruction and the second frame image in the display buffer register, the method further includes:
and sending the image obtained after the superposition processing to the electronic ink screen, and refreshing a designated area on the electronic ink screen, wherein the designated area is a display area of a set image triggered by the touch instruction on the electronic ink screen.
In the embodiment of the application, the designated area is refreshed on the electronic ink screen instead of the full screen refreshing, so that the display efficiency can be improved, and the display speed can be improved.
The second aspect provides terminal equipment for image display, which comprises a first determining module, a second processing module and a display module, wherein the first determining module is used for determining the sending time of a received second frame image, and the sending time is the time when the application layer finishes drawing the second frame image and sends the second frame image to the next processing module; a second determining module, configured to determine a difference between a transmission time of the second frame image and a transmission time of a previously received first frame image; and the processing module is used for sending the second frame image to a display buffer register if the difference value is judged to be larger than or equal to a set threshold value.
In one possible design, the terminal device further includes:
and the display module is used for acquiring the images stored in the display buffer register according to the actual vertical synchronous clock signal and sending the images to the electronic ink screen for display according to the storage sequence.
In one possible design, the terminal device further includes:
the receiving module is used for receiving a touch instruction;
the generating module is used for drawing a set image triggered by the touch instruction;
and the processing module is further configured to perform layer superposition processing on the set image triggered by the touch instruction and the second frame image in the display buffer register.
In one possible design, the processing module is specifically configured to:
and overlaying a setting image triggered by the touch instruction on the second frame image in the display buffer register.
In one possible design, the display module is further configured to:
and sending the image obtained after the superposition processing to the electronic ink screen, and refreshing a designated area on the electronic ink screen, wherein the designated area is a display area of a set image triggered by the touch instruction on the electronic ink screen.
In a third aspect, an embodiment of the present application further provides a terminal device for displaying an image, where the terminal device includes a processor and a memory, where the memory is used to store a software program, and the processor is used to read the software program stored in the memory and implement the method provided in the first aspect or any one of the possible designs of the first aspect. The electronic device may be a mobile terminal, a computer, etc.
In one possible design, the processor is further to:
and acquiring the images stored in the display buffer register according to the actual vertical synchronous clock signal, and sending the images to the electronic ink screen for display according to the storage sequence.
In one possible design, the processor is further to:
and receiving a touch instruction, drawing a set image triggered by the touch instruction, wherein the processing module is further used for performing layer superposition processing on the set image triggered by the touch instruction and the second frame image in the display buffer register.
In one possible design, the processor is specifically configured to:
and overlaying a setting image triggered by the touch instruction on the second frame image in the display buffer register.
In one possible design, the processor is further to:
and sending the image obtained after the superposition processing to the electronic ink screen, and refreshing a designated area on the electronic ink screen, wherein the designated area is a display area of a set image triggered by the touch instruction on the electronic ink screen.
In a fourth aspect, this embodiment of the present application further provides a computer storage medium, where a software program is stored, and the software program, when read and executed by one or more processors, may implement the method provided by the first aspect or any one of the possible designs of the first aspect.
Drawings
FIG. 1 is a flowchart of a method for displaying an image on an LCD panel according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a process for combining different image layer overlays according to an embodiment of the present application;
FIG. 3 is a flowchart of a method for displaying an image on an electronic ink screen according to an embodiment of the present disclosure;
FIG. 4 is a flowchart of a method for displaying an image according to an embodiment of the present disclosure;
FIG. 5 is a flow chart of another method for displaying images according to an embodiment of the present disclosure;
FIG. 6 is a diagram illustrating an instruction area according to an embodiment of the present disclosure;
FIG. 7 is a flowchart of another method for displaying an image according to an embodiment of the present disclosure;
fig. 8 is a schematic apparatus diagram of a terminal device according to an embodiment of the present application;
fig. 9 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, the present application will be further described in detail with reference to the accompanying drawings.
The embodiment of the application provides an image display method and terminal equipment, which are used for solving the problem that in the prior art, when an electronic ink screen displays an image of a third-party application which does not use an SDK, the display effect is poor. The method and the terminal device are based on the same inventive concept, and because the principles of solving the problems of the method and the terminal device are similar, the implementation of the terminal device and the method can be referred to each other, and repeated parts are not described again.
In the description of the present application, the terms "plurality" or "a plurality" mean two or more, and are used only for the purpose of distinguishing between descriptions, and are not intended to indicate or imply relative importance, nor order to indicate or imply order.
The "terminal device" related to the present invention is a device that includes a built-in display system and can implement a human-computer interaction function, and the terminal device may be a computer, a mobile phone, a tablet computer, a Point of Sales (POS), a vehicle-mounted computer, or the like.
The layer, which is composed of many pixels, is a basic unit constituting an image. One frame of image can be one image layer, and also can be formed by a plurality of image layers in an up-and-down superposition mode. The layers are films containing elements such as characters or figures, and are stacked together in sequence to form the final effect of the image.
The frame rate is usually the number of frames displaying an image in 1 second, and in the embodiment of the present invention, the frame rate is 1 second per duration of a Vertical Synchronization (Vsync) period.
According to the front Liquid Crystal Display (LCD) screen or the Organic Light-Emitting Diode (OLED) screen of the existing double-sided smart phone, the refresh rate of the front Liquid Crystal screen or the OLED screen is 60Hz or even higher than the refresh rate of the back ELINK screen of 2 Hz-8 Hz, the animation effect designed by the third-party application program according to the refresh rate of the front Liquid Crystal screen can cause great delay if the third-party application program is displayed on the back ELINK screen, and the Display effect of the animation effect of the third-party application program on the back ELINK screen is poor. Firstly, describing the flow of the front liquid crystal display displaying images according to the vsync clock signal, as shown in fig. 1, firstly executing S101 application layer image drawing according to the vsync clock signal, then executing S102 combination (composite) different image layer superposition processing, and finally executing S103 display on the front liquid crystal display, wherein the process of the combination (composite) different image layer superposition processing is as shown in fig. 2, processing each frame of image strictly depends on the vsync pulse clock signal as a synchronous signal source, keeping different modules to perform synchronous processing on the images, and executing S201 application layer drawing a first frame of image when the vsync pulse clock is X; when the vsync pulse clock is X +1, executing step S202Compse layer superposition of a first frame, and simultaneously executing step S203 to draw a second frame image by the application layer; when the vsync pulse clock is X +2, executing step S204 to display a first frame on the LCD screen, simultaneously executing step S205 to superpose the Compse layer on a second frame, and simultaneously executing step S206 to draw a third frame image by the application layer; when the vsync pulse clock is X +3, step S2047 is performed to display the second frame on the LCD screen, and step S208 is performed to superimpose the third frame on the comp layer, and so on.
For example, the frequency of the LCD screen is 60Hz, the frequency of the electronic ink screen is 4Hz, and if the 4Hz vsync clock signal of the electronic ink screen is used as the display synchronization signal source, the third-party application will draw the image according to the frequency of the 4Hz vsync clock signal. 1S animation is drawn according to the frequency of a 60Hz vsync clock signal, 60 frames of images need to be drawn, 15S animation is required when the 60 frames of images are drawn according to the frequency of a 4Hz vsync clock signal, the animation displayed on the LCD screen by 1S needs to be displayed on the electronic ink screen for 15S, the animation effect of 'slow motion' of jumping of one frame is presented, and the extremely poor use experience of a user is caused. In order to solve the above problem, an embodiment of the present invention provides an image display method, as shown in fig. 3, a third party application displays an image on an electronic ink screen, but when an application layer draws an image in step S301, a virtual vsync clock signal is set, where the virtual vsync clock signal may be generated by an S302 virtual vsync clock signal generation module, so that the application layer draws an image according to the virtual vsync clock signal, the refresh rate of the virtual vsync clock signal is the same as that of the third party application when drawing an image on an LCD screen, different picture layers of the picture in step S303 are superimposed, in a plurality of drawn images, a frame to be displayed is selected according to an actual vsync clock signal of the electronic ink screen in step S304, and in step S305, the frame is displayed on the electronic ink screen. The method can improve the experience of the user when using the electronic ink screen, but the method also has the defect that the selected final frame cannot be displayed in time, and the displayed animation effect is poor. For example, an animation with a duration of 800ms, frames are selected according to a set duration, the set duration is 250ms, the electronic ink screen displays images of 250ms, 500ms and 750ms, and then displays a final static picture at 1000ms, and the duration of the animation is 800ms, so that the display delay of the final static picture is large. When the electronic book application is used, when page turning is processed, the application displays an animation page turning effect on the LCD screen to a final display page, but a few split animation frames are displayed on the electronic ink screen, then the display of a last frame of static picture is delayed, the experience effect of a user is poor, and the lower the refreshing rate of the electronic ink screen is, the worse the experience effect of the user is. In the above case, the optimal display effect should be to display the last frame of still picture directly for the first time without displaying the middle animation.
The following describes an image display method provided by the present application with reference to the accompanying drawings, so that when the electronic ink is applied by a functional third party, a last frame of static image is directly displayed in the first time without displaying an intermediate process animation.
Referring to fig. 4, a method for displaying an image provided by the present application includes:
s401, determining the sending time of the received second frame image, wherein the sending time is the time when the application layer sends the second frame image to the next processing module after drawing the second frame image.
S402, determining the difference value between the sending time of the second frame image and the sending time of the first frame image received before.
And S403, if the difference value is judged to be larger than or equal to the set threshold value, sending the second frame image to a display buffer register.
In a possible implementation manner, after S402, the method further includes:
and if the difference is smaller than the set threshold value, discarding the second frame image.
In a possible implementation manner, after S403, the method further includes:
and acquiring the images stored in the display buffer register according to the actual vertical synchronous clock signal, and sending the images to the electronic ink screen for display according to the storage sequence.
In the embodiment of the application, an image display method is provided, when the difference value between the sending time of a second frame image and the sending time of a first frame image is larger than or equal to a set threshold value, the second frame image is sent to a display buffer register so as to be displayed on an electronic ink screen, through the image display method, images with multi-frame animation effects, which are continuously sent with the difference value smaller than the set threshold value, can be filtered, only the images with the difference value larger than or equal to the set threshold value are displayed, it is ensured that a stable static picture appears on the electronic ink screen, and the use experience of a user is improved.
The following describes an image display method provided by the present application with reference to fig. 5 specifically, when an application layer draws an image in step S501, a virtual vsync clock signal is set, where the virtual vsync clock signal may be generated by the S502 virtual vsync clock signal generation module, then step S503 performs overlay processing according to different image layers of a virtual vsync clock signal combination (composite), step S504 obtains a sending time of a received second frame image, step S505 compares whether a difference between the sending time of the second frame image and a sending time of a previously received first frame image is greater than or equal to a set threshold value, for example, 40ms is greater than 2 frames, step S506 is executed to send the last frame image to a display buffer register, otherwise, step S507 is executed to discard the second frame image, an image in the display buffer register is obtained according to an actual vsync clock signal, step 508 displays onto the electronic ink screen.
In a possible implementation manner, after S403, if an operation of the screen by the user is received, the method further includes:
receiving a touch instruction; drawing a set image triggered by the touch instruction; and overlapping the set image triggered by the touch instruction with the second frame image in the display buffer register. The overlapping processing of the setting image triggered by the touch instruction and the second frame image in the display buffer register specifically comprises the step of covering the setting image triggered by the touch instruction on the second frame image in the display buffer register.
In a possible implementation manner, after performing layer overlay processing on the setting image triggered by the touch instruction and the second frame image in the display buffer register, the method further includes:
and sending the image obtained after the superposition processing to the electronic ink screen, and refreshing a designated area on the electronic ink screen, wherein the designated area is a display area of a set image triggered by the touch instruction on the electronic ink screen.
Specifically, the image obtained after the superposition processing is sent to the electronic ink screen by a module of the application layer for the composite superposition processing.
Specifically, different touch instructions trigger different setting images, as shown in fig. 6, the setting images are respectively corresponding to a click touch instruction and a slide touch instruction, where the setting images may be displayed in a frame on the electronic ink screen and then disappear. When the set image triggered by the touch instruction is superposed with the second frame image in the display buffer register, the first line judges the original color of the click position of the user, although the electronic ink screen has only black and white colors, the electronic ink screen has a color level, the original color information of the appointed area with the click position as the center is read, and if the original color displayed in the appointed area is judged to be light tone, the clicked appointed area is displayed as dark tone; if the original color displayed in the designated area is judged to be dark, the clicked designated area is displayed to be light; the designated area is refreshed on the electronic ink screen, the electronic ink screen is not refreshed on the full screen, the display speed can be increased, more real-time display can be achieved, and the use experience of a user is improved.
For example, as shown in fig. 7, when the application layer draws an image in step S701, a virtual vsync clock signal is set, where the virtual vsync clock signal may be generated by the virtual vsync clock signal generation module in step S702, then step S703 performs overlay processing according to different image layers of the virtual vsync clock signal composite, step S704 obtains the sending time of the currently received second frame image, step S705 compares whether the difference between the sending time of the second frame image and the sending time of the previously received first frame image is greater than or equal to a set threshold value, if yes, step S706 is executed to send the second frame image to the display buffer register, if no, step 707 is executed to discard the second frame image, step S708, when the electronic ink screen receives a touch instruction, step S709 the electronic ink screen draws a set image triggered by the touch instruction, and step S710 executes overlay processing on the set image and the image obtained from the display buffer register And step S711, sending the image after the superimposition processing to the electronic ink screen for displaying, where the operation embodied on the electronic ink screen is that a designated area is refreshed.
Based on the same inventive concept as the method embodiment, the present application further provides a schematic diagram of a terminal device, as shown in fig. 8, the terminal device includes:
a first determining module 801, configured to determine sending time of a received second frame image, where the sending time is a time when an application layer finishes drawing the second frame image and sends the second frame image to a next processing module.
A second determining module 802, configured to determine a difference between the sending time of the second frame image and the sending time of the first frame image received before.
The processing module 803 is configured to send the second frame image to a display buffer if the difference is greater than or equal to a set threshold.
In a possible implementation manner, the terminal device further includes:
and the display module is used for acquiring the images stored in the display buffer register according to the actual vertical synchronous clock signal and sending the images to the electronic ink screen for display according to the storage sequence.
In the embodiment of the application, the terminal device is provided, when the difference value between the sending time of the second frame image and the sending time of the first frame image is larger than or equal to the set threshold value, the second frame image is sent to the display buffer register so as to be displayed on the electronic ink screen, by the image display method, images with multi-frame animation effects, which are continuously sent with the difference value smaller than the set threshold value, can be filtered, only the images with the difference value larger than or equal to the set threshold value are displayed, it is ensured that the images on the electronic ink screen are a stable static image, and the use experience of a user is improved.
In a possible implementation manner, the terminal device further includes:
the receiving module is used for receiving a touch instruction;
the generating module is used for drawing a set image triggered by the touch instruction;
and the processing module is further configured to perform layer superposition processing on the set image triggered by the touch instruction and the second frame image in the display buffer register.
In a possible implementation manner, the processing module is specifically configured to:
and overlaying a setting image triggered by the touch instruction on the second frame image in the display buffer register.
In one possible implementation, the display module is further configured to:
and sending the image obtained after the superposition processing to the electronic ink screen, and refreshing a designated area on the electronic ink screen, wherein the designated area is a display area of a set image triggered by the touch instruction on the electronic ink screen.
The division of the modules in the embodiments of the present application is schematic, and only one logical function division is provided, and in actual implementation, there may be another division manner, and in addition, each functional module in each embodiment of the present application may be integrated in one processor, may also exist alone physically, or may also be integrated in one module by two or more modules. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
When the integrated module may be implemented in the form of hardware, as shown in fig. 9, the terminal device may include a processor 901. The hardware of the entity corresponding to the above modules may be the processor 901. The processor 901 may be a Central Processing Unit (CPU), a digital processing module, or the like. The terminal device further includes: a memory 902 for storing programs executed by the processor 901. The memory 902 may be a nonvolatile memory such as a hard disk (HDD) or a solid-state drive (SSD), and may also be a volatile memory such as a random-access memory (RAM). The memory 902 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such.
The processor 901 is configured to execute a program code stored in the memory 902, specifically invoke a program instruction stored in the first memory, determine a sending time of the received second frame image, where the sending time is a time when the application layer finishes drawing the second frame image and sends the second frame image to a next processing module, determine a difference between the sending time of the second frame image and a sending time of the previously received first frame image, and send the second frame image to the display buffer if it is determined that the difference is greater than or equal to a set threshold value.
The embodiment of the present application does not limit the specific connection medium between the processor 901 and the memory 902. In the embodiment of the present application, the processor 901 and the memory 902 are connected by the bus 903 in fig. 9, the bus is indicated by a thick line in fig. 9, and the connection manner between other components is merely illustrative and not limited thereto. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.

Claims (12)

1. A method of image display, the method comprising:
determining the sending time of the received second frame image, wherein the sending time is the time when the application layer sends the second frame image to the next processing module after drawing the second frame image;
determining a difference value between the transmission time of the second frame image and the transmission time of the previously received first frame image;
if the difference value is larger than or equal to the set threshold value, sending the second frame image to a display buffer register, acquiring the image stored in the display buffer register according to the actual vertical synchronous clock signal, and sending the image to an electronic ink screen for display according to the storage sequence; and if the difference is smaller than the set threshold value, discarding the second frame image.
2. The method of claim 1, wherein after the second frame image is sent to a display buffer, the method further comprises:
receiving a touch instruction;
drawing a set image triggered by the touch instruction;
and performing layer superposition processing on the set image triggered by the touch instruction and the second frame image in the display buffer register.
3. The method according to claim 2, wherein the performing layer overlay processing on the setting image triggered by the touch instruction and the second frame image in the display buffer register specifically includes:
and overlaying a setting image triggered by the touch instruction on the second frame image in the display buffer register.
4. The method according to claim 2, wherein after performing layer overlay processing on the setting image triggered by the touch instruction and the second frame image in the display buffer register, the method further comprises:
and sending the image obtained after the superposition processing to the electronic ink screen, and refreshing a designated area on the electronic ink screen, wherein the designated area is a display area of a set image triggered by the touch instruction on the electronic ink screen.
5. A terminal device for image display, characterized by comprising:
the first determining module is used for determining the sending time of the received second frame image, wherein the sending time is the time when the application layer sends the second frame image to the next processing module after drawing the second frame image;
a second determining module, configured to determine a difference between a transmission time of the second frame image and a transmission time of a previously received first frame image;
the processing module is used for sending the second frame image to a display buffer register if the difference value is judged to be larger than or equal to a set threshold value, and discarding the second frame image if the difference value is judged to be smaller than the set threshold value;
and the display module is used for acquiring the images stored in the display buffer register according to the actual vertical synchronous clock signal and sending the images to the electronic ink screen for display according to the storage sequence.
6. The terminal device of claim 5, wherein the terminal device further comprises:
the receiving module is used for receiving a touch instruction;
the generating module is used for drawing a set image triggered by the touch instruction;
and the processing module is further configured to perform layer superposition processing on the set image triggered by the touch instruction and the second frame image in the display buffer register.
7. The terminal device of claim 6, wherein the processing module is specifically configured to:
and overlaying a setting image triggered by the touch instruction on the second frame image in the display buffer register.
8. The terminal device of claim 6, wherein the display module is further configured to:
and sending the image obtained after the superposition processing to the electronic ink screen, and refreshing a designated area on the electronic ink screen, wherein the designated area is a display area of a set image triggered by the touch instruction on the electronic ink screen.
9. A terminal device for image display, characterized by comprising:
a memory for storing program instructions;
the processor is used for calling a program instruction stored in the memory, determining the sending time of a received second frame image, wherein the sending time is the time when the application layer sends the second frame image to a next processing module after drawing the second frame image, determining the difference value between the sending time of the second frame image and the sending time of a previously received first frame image, sending the second frame image to a display buffer register if the difference value is judged to be greater than or equal to a set threshold value, and discarding the second frame image if the difference value is judged to be less than the set threshold value;
and the processor is also used for acquiring the images stored in the display buffer register according to the actual vertical synchronous clock signal and sending the images to the electronic ink screen for display according to the storage sequence.
10. The terminal device of claim 9, wherein the processor is further configured to:
and receiving a touch instruction, drawing a set image triggered by the touch instruction, wherein the processing module is further used for performing layer superposition processing on the set image triggered by the touch instruction and the second frame image in the display buffer register.
11. The terminal device of claim 10, wherein the processor is specifically configured to:
and overlaying a setting image triggered by the touch instruction on the second frame image in the display buffer register.
12. The terminal device of claim 10, wherein the processor is further configured to:
and sending the image obtained after the superposition processing to the electronic ink screen, and refreshing a designated area on the electronic ink screen, wherein the designated area is a display area of a set image triggered by the touch instruction on the electronic ink screen.
CN201780004907.7A 2016-12-30 2017-04-27 Image display method and terminal equipment Active CN108476306B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110320798.8A CN113225427B (en) 2016-12-30 2017-04-27 Image display method and terminal equipment

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201611265369 2016-12-30
CN2016112653690 2016-12-30
PCT/CN2017/082240 WO2018120546A1 (en) 2016-12-30 2017-04-27 Image display method and terminal device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202110320798.8A Division CN113225427B (en) 2016-12-30 2017-04-27 Image display method and terminal equipment

Publications (2)

Publication Number Publication Date
CN108476306A CN108476306A (en) 2018-08-31
CN108476306B true CN108476306B (en) 2021-04-20

Family

ID=62706689

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110320798.8A Active CN113225427B (en) 2016-12-30 2017-04-27 Image display method and terminal equipment
CN201780004907.7A Active CN108476306B (en) 2016-12-30 2017-04-27 Image display method and terminal equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110320798.8A Active CN113225427B (en) 2016-12-30 2017-04-27 Image display method and terminal equipment

Country Status (2)

Country Link
CN (2) CN113225427B (en)
WO (1) WO2018120546A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865784B (en) * 2019-11-15 2024-03-15 合肥讯飞读写科技有限公司 Screen projection processing method, device, equipment, storage medium and screen projection system
CN113052749B (en) * 2021-03-02 2023-04-07 长沙景嘉微电子股份有限公司 Video display method and graphics processor
CN113596425B (en) * 2021-06-21 2023-02-07 深圳市沃特沃德信息有限公司 Image processing method and device for ink screen terminal, storage medium and intelligent device
CN113407029B (en) * 2021-06-25 2024-02-20 腾讯云计算(北京)有限责任公司 Page object state information determining method, device, equipment and readable medium
CN113870799B (en) * 2021-09-09 2022-11-18 瑞芯微电子股份有限公司 System display method and storage device of electronic ink screen device
CN113867674A (en) * 2021-09-28 2021-12-31 北京大上科技有限公司 Electronic ink display screen refreshing method and display system
CN115550709B (en) * 2022-01-07 2023-09-26 荣耀终端有限公司 Data processing method and electronic equipment
CN114489383B (en) * 2022-01-28 2022-11-18 广州文石信息科技有限公司 Electronic ink screen equipment and display method of electronic ink screen
CN114677974B (en) * 2022-02-25 2023-09-26 珠海读书郎软件科技有限公司 Refreshing control method, storage medium and device for electronic ink screen
CN115116403B (en) * 2022-08-29 2023-01-31 惠科股份有限公司 Electronic ink screen, control method and device thereof, and computer readable storage medium
CN116723416B (en) * 2022-10-21 2024-04-02 荣耀终端有限公司 Image processing method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827169A (en) * 2009-03-03 2010-09-08 Lg电子株式会社 Mobile terminal and method for displaying data in mobile terminal
CN102610198A (en) * 2012-03-05 2012-07-25 福州瑞芯微电子有限公司 Method for improving display effect of electronic ink display screen

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI437469B (en) * 2009-03-17 2014-05-11 Inventec Appliances Corp Electronic book apparatus and operating method thereof
JP5382528B2 (en) * 2009-12-28 2014-01-08 Nltテクノロジー株式会社 Image display control device, image display device, image display control method, and image display control program
KR102057502B1 (en) * 2013-03-07 2020-01-22 삼성전자주식회사 Display Drive IC and Image Display System
CN103258505B (en) * 2013-05-13 2015-05-13 福州瑞芯微电子有限公司 Electronic ink screen refreshing method and corresponding electronic device thereof
US20140340282A1 (en) * 2013-05-15 2014-11-20 Samsung Electronics Co., Ltd. Soc for supporting multiple display screens and configuration method thereof
CN103325332B (en) * 2013-06-14 2015-12-02 小米科技有限责任公司 Page furbishing method, device and equipment
KR20160099277A (en) * 2015-02-12 2016-08-22 삼성전자주식회사 Multi-display device
CN104951266B (en) * 2015-06-11 2018-10-12 联想(北京)有限公司 A kind of screen adjustment method and electronic equipment
CN105070253A (en) * 2015-08-28 2015-11-18 广州文石信息科技有限公司 Refreshing method of electronic ink screen

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827169A (en) * 2009-03-03 2010-09-08 Lg电子株式会社 Mobile terminal and method for displaying data in mobile terminal
CN102610198A (en) * 2012-03-05 2012-07-25 福州瑞芯微电子有限公司 Method for improving display effect of electronic ink display screen

Also Published As

Publication number Publication date
WO2018120546A1 (en) 2018-07-05
CN113225427B (en) 2022-03-18
CN113225427A (en) 2021-08-06
CN108476306A (en) 2018-08-31

Similar Documents

Publication Publication Date Title
CN108476306B (en) Image display method and terminal equipment
US9786255B2 (en) Dynamic frame repetition in a variable refresh rate system
US8775965B1 (en) Immersive mode for a web browser
CN109493814B (en) Picture compensation method, picture compensation device, display device and computer readable storage medium
EP2717590B1 (en) Display apparatus, user terminal apparatus, external apparatus, display method, data receiving method and data transmitting method
CN114648951B (en) Method for controlling dynamic change of screen refresh rate and electronic equipment
KR20190117635A (en) Method and apparatus for improving image fluency
US20180247613A1 (en) Display apparatus and control method thereof
CN108076665A (en) A kind of display methods and electronic equipment
US11145265B2 (en) Display device and driving method therefor
CN111951206A (en) Image synthesis method, image synthesis device and terminal equipment
CN112416231B (en) Scroll bar display method and device, electronic equipment and readable storage medium
CN109783043B (en) Method and device for displaying frequency of display and display
JP2012108512A (en) Display driver circuit and control method thereof
WO2015044716A1 (en) Head-up display warping controller
TWI698834B (en) Methods and devices for graphics processing
US10068549B2 (en) Cursor handling in a variable refresh rate environment
RU2616163C1 (en) Method and device for content display
CN102186097A (en) Three-dimensional (3D) image display method, device and equipment
CN104063192B (en) Display method and electronic equipment
CN107111982A (en) Method for displaying image and device
CN111273881B (en) Display control method and related product
CN111625311B (en) Control method, control device, electronic equipment and storage medium
CN112988294B (en) Method and device for optimizing virtual pointer of RH850 liquid crystal instrument
CN112911268B (en) Image display method and electronic equipment

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210429

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.