CN112509524B - Ink screen quick refreshing method, device, equipment and computer readable storage medium - Google Patents

Ink screen quick refreshing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112509524B
CN112509524B CN202011299415.5A CN202011299415A CN112509524B CN 112509524 B CN112509524 B CN 112509524B CN 202011299415 A CN202011299415 A CN 202011299415A CN 112509524 B CN112509524 B CN 112509524B
Authority
CN
China
Prior art keywords
picture
screen
refreshing
pixel point
refresh
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
CN202011299415.5A
Other languages
Chinese (zh)
Other versions
CN112509524A (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.)
Shenzhen Huiwei Intelligent Technology Inc
Original Assignee
Shenzhen Huiwei Intelligent Technology Inc
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 Shenzhen Huiwei Intelligent Technology Inc filed Critical Shenzhen Huiwei Intelligent Technology Inc
Priority to CN202011299415.5A priority Critical patent/CN112509524B/en
Publication of CN112509524A publication Critical patent/CN112509524A/en
Application granted granted Critical
Publication of CN112509524B publication Critical patent/CN112509524B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/393Arrangements for updating the contents of the bit-mapped memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention discloses a quick refreshing method of a wash ink screen, which comprises the following steps: when a screen refreshing instruction is received, acquiring a current frame image corresponding to the screen refreshing instruction, and a previous frame image and a next frame image corresponding to the current frame image; calculating absolute difference of the current frame picture, the previous frame picture and the next frame picture to obtain a first difference picture and a second difference picture, and determining a first pixel point in the first difference picture and a second pixel point in the second difference picture; and if the first pixel point and the second pixel point are not overlapped, refreshing the second pixel point after the first pixel point is refreshed. The invention also discloses a quick refreshing device and equipment for the ink screen and a computer readable storage medium. The invention improves the refreshing speed of the electronic ink screen by simplifying the refreshing flow of the electronic ink screen.

Description

Ink screen quick refreshing method, device, equipment and computer readable storage medium
Technical Field
The invention relates to the field of ink screen display, in particular to a method, a device and equipment for quickly refreshing an ink screen and a computer readable storage medium.
Background
At present, the known device with an electronic ink screen, such as an electronic book, has a complex application display flow of an operating system, which increases the difficulty in refreshing a display picture desired by a user at an accurate timing at a frame rate as high as possible, and the fast refreshing of the handwriting of an external device (such as an electromagnetic stylus) and the automatic refreshing of the electronic ink screen are mutually exclusive, and at present, there is no method for optimizing the mutually exclusive portion, and the writing effect of the stylus that can be provided at present is not uniform with the handwriting effect actually used by the application.
Disclosure of Invention
The invention mainly aims to provide a quick refreshing method, a quick refreshing device, quick refreshing equipment and a computer readable storage medium for an ink screen, and aims to solve the technical problem that the existing electronic ink screen is slow in refreshing.
In addition, in order to achieve the above object, the present invention further provides a method for quickly refreshing an ink-water screen, where the method for quickly refreshing an ink-water screen includes the following steps:
when a screen refreshing instruction is received, acquiring a current frame image corresponding to the screen refreshing instruction, and a previous frame image and a next frame image corresponding to the current frame image;
calculating absolute difference of the current frame picture, the previous frame picture and the next frame picture to obtain a first difference picture and a second difference picture, and determining a first pixel point in the first difference picture and a second pixel point in the second difference picture;
and if the first pixel point and the second pixel point are not overlapped, refreshing the second pixel point after the first pixel point is refreshed.
Optionally, when a screen refresh command is received, before the step of obtaining a current frame picture corresponding to the screen refresh command, and a previous frame picture and a next frame picture corresponding to the current frame picture, the method includes:
when the preset operating system is detected to be started, creating a system service, and switching a working mode corresponding to the system service into a peripheral mounting mode so as to enable a preset application to generate an updating picture;
creating an image storage area in the system service, and storing a screen picture displayed last before the working mode is switched into the image storage area;
and when the updated picture is detected, storing the updated picture in the image storage area, and generating a screen refreshing instruction through the preset application.
Optionally, the step of acquiring, when a screen refresh command is received, a current frame corresponding to the screen refresh command, and a previous frame and a next frame corresponding to the current frame includes:
and when a screen refreshing instruction sent by the preset application is received, acquiring the updated picture and the screen picture, and taking the screen picture as a previous frame picture, wherein the current frame picture and a next frame picture belong to the updated picture.
Optionally, after the step of creating an image storage area in the system service and saving the last displayed screen before the switching of the operation mode to the image storage area, the method includes:
creating a system interface service in the system service, wherein the system interface service comprises a refresh mode switching service, a peripheral detection service and a manual image data transfer service;
and if the refresh mode is determined to be the manual refresh mode according to the detection result obtained by the peripheral detection service, acquiring manual image data corresponding to the manual image data transmission service, and taking the manual image data as the update picture.
Optionally, if it is determined that the refresh mode is the manual refresh mode according to the detection result obtained by the peripheral detection service, the step of obtaining manual image data corresponding to the manual image data transfer service and using the manual image data as the update screen includes:
if the refreshing mode is a manual refreshing mode, when a black-white pixel point is detected, determining a refreshing area corresponding to the black-white pixel point in unit frame time, wherein the black-white pixel point is a pixel point which is changed in black and white;
and inquiring a target time point when the refreshing of the black-and-white pixel points in the refreshing area is completed, acquiring a target picture generated by the preset application at the target time point, and overlapping the refreshed black-and-white pixel points with the target picture to obtain a picture as the updated picture.
Optionally, the creating a system interface service in the system service, where the system interface service includes, after the steps of the refresh mode switching service, the peripheral detection service, and the manual image data transfer service, the creating a system interface service includes:
if the refresh mode is determined to be the automatic refresh mode according to the detection result obtained by the peripheral detection service, judging whether a target pixel point in a preset refresh period exists or not when a screen refresh event is triggered;
if the target pixel point exists, when the target pixel point is refreshed, extracting a latest picture from the image storage area, and taking the latest picture as the updated picture;
and if the target pixel point does not exist, acquiring an image corresponding to the screen refreshing event, and taking the image corresponding to the screen refreshing event as the updating picture.
Optionally, after the step of calculating an absolute difference between the current frame picture, the previous frame picture and the next frame picture, the method includes:
if the current frame picture is determined to be the same as the previous frame picture according to the calculation result of the absolute difference calculation, performing an ignoring operation on a screen refreshing event corresponding to the current frame picture, and taking the next frame picture as the current frame picture after the ignoring operation;
and acquiring the next frame of picture after the neglect operation, and returning to the step of calculating the absolute difference between the current frame of picture, the previous frame of picture and the next frame of picture.
In addition, in order to achieve the above object, the present invention further provides a device for rapidly refreshing an ink-and-wash screen, including:
the device comprises a screen refreshing module, a picture acquiring module and a picture processing module, wherein the screen refreshing module is used for acquiring a current frame picture corresponding to a screen refreshing instruction, and a previous frame picture and a next frame picture corresponding to the current frame picture when the screen refreshing instruction is received;
a difference picture calculation module, configured to perform absolute difference calculation on the current frame picture, the previous frame picture, and the next frame picture to obtain a first difference picture and a second difference picture, and determine a first pixel point in the first difference picture and a second pixel point in the second difference picture;
and the pixel refreshing module is used for executing refreshing operation on the second pixel point after the first pixel point is refreshed if the first pixel point and the second pixel point are not overlapped.
In addition, in order to achieve the above object, the present invention further provides an ink-and-wash screen quick refresh apparatus, including: the system comprises a memory, a processor and an ink screen quick refreshing program which is stored on the memory and can run on the processor, wherein when the ink screen quick refreshing program is executed by the processor, the steps of the ink screen quick refreshing method are realized.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, having an ink-wash screen fast refresh program stored thereon, where the ink-wash screen fast refresh program, when executed by a processor, implements the steps of the ink-wash screen fast refresh method as described above.
The embodiment of the invention provides a quick refreshing method, a quick refreshing device, quick refreshing equipment and a computer readable storage medium for an ink screen. In the embodiment of the invention, when a rapid ink-water screen refreshing program receives a screen refreshing instruction, a current frame picture corresponding to the screen refreshing instruction is obtained from a preset image storage area, namely, a picture to be displayed currently of the ink-water screen, and a previous frame picture and a next frame picture corresponding to the current frame picture, absolute difference calculation is further carried out on the current frame picture, the previous frame picture and the next frame picture to obtain a first difference picture and a second difference picture, then a first pixel point in the first difference picture and a second pixel point in the second difference picture are determined, finally, whether the first pixel point and the second pixel point are overlapped is judged, if the first pixel point and the second pixel point are not overlapped, refreshing operation is carried out on the second pixel point after refreshing of the first pixel point is finished, the refreshing operation is directly carried out on the second pixel point after refreshing of the first pixel point is finished by the rapid ink-water screen refreshing program when the first pixel point and the second pixel point are not overlapped, the second pixel points can execute the refreshing operation without waiting for the first pixel points to go through the whole refreshing period, the refreshing flow of the electronic ink screen is simplified, and the refreshing speed of the electronic ink screen is improved.
Drawings
Fig. 1 is a schematic hardware structure diagram of an implementation manner of a quick refresh apparatus for an ink-water screen according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a fast refresh method for an ink-wash screen according to a first embodiment of the present invention;
FIG. 3 is a flow chart illustrating a fast refresh method for an ink-wash screen according to a second embodiment of the present invention;
fig. 4 is a schematic functional block diagram of an embodiment of a quick refresh apparatus for an ink-wash screen according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal (also called terminal, equipment or terminal equipment) for quickly refreshing the ink screen can be an electronic book, a PC (personal computer), or a mobile terminal equipment with the ink screen display function, such as a smart phone, a tablet personal computer, a portable computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and an ink-screen quick refresh program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke an ink screen fast refresh program stored in the memory 1005, and when executed by the processor, implement the operations in the ink screen fast refresh method provided by the following embodiments.
Based on the hardware structure of the equipment, the embodiment of the quick refreshing method for the ink screen is provided.
Referring to fig. 2, in a first embodiment of the ink-water screen fast refreshing method of the present invention, the ink-water screen fast refreshing method includes:
step S10, when a screen refresh command is received, acquiring a current frame corresponding to the screen refresh command, and a previous frame and a next frame corresponding to the current frame.
The quick ink screen refreshing method in the present embodiment is applied to a device with an ink screen, for example, an electronic book, and an optimal device with an ink screen (hereinafter, collectively referred to as an ink screen device) in the present embodiment is an electronic ink screen supporting handwriting.
When the quick ink and water screen refreshing program receives a screen refreshing instruction, acquiring a current frame picture corresponding to the screen refreshing instruction, wherein the screen refreshing instruction can be sent by an application (or a system) in equipment with an ink and water screen, the current frame picture corresponding to the screen refreshing instruction refers to a picture which needs to be displayed by the electronic ink and water screen after the screen refreshing instruction is received, for example, when a clock program of the ink and water screen equipment needs to refresh a clock for display, a screen refreshing instruction is generated, and the screen refreshing instruction is sent to the quick ink and water screen refreshing program, for example, a picture which is refreshed from 12:26:50 to 12:26:51, 12:26:51 is the current frame picture in the embodiment, and the picture does not consider picture changes at other positions of the ink and the last frame picture in the embodiment refers to a picture displayed on the ink and water screen when the screen refreshing instruction is received, if the screen refresh command is received at the instant after the ink and wash screen device is started, the previous frame of picture is the start-up display picture of the ink and wash screen device, and the next frame of picture in this embodiment means that the application generally sends a plurality of frames of pictures to be displayed to the ink and wash screen fast refresh program in advance, and the picture next to and after the current frame of picture is the next frame of picture in this embodiment.
Step S20, performing absolute difference calculation on the current frame, the previous frame, and the next frame to obtain a first difference frame and a second difference frame, and determining a first pixel point in the first difference frame and a second pixel point in the second difference frame.
After a previous frame picture, a previous frame picture and a next frame picture are obtained, an ink-wash screen quick refreshing program can carry out absolute difference calculation on the previous frame picture, the previous frame picture and the next frame picture, specifically, the absolute difference calculation means that all pixel points forming the pictures of two adjacent frames are correspondingly compared, if the comparison results of the corresponding pixel points in the two adjacent frames are equal, the pixel point cannot exist in the difference picture obtained after the two adjacent frames are compared, particularly, if the two adjacent frames are completely same, no difference picture exists or the difference picture is empty, specifically, the absolute difference calculation is carried out on the current frame picture and the previous frame picture to obtain a first difference picture, the absolute difference calculation is carried out on the next frame picture and the current frame picture to obtain a second difference picture, and after the difference between the first difference picture and the second picture is obtained, the quick ink screen refreshing program can determine a first pixel point in the first difference picture and a second pixel point in the second difference picture.
Step S30, if the first pixel point and the second pixel point are not overlapped, performing a refresh operation on the second pixel point after the refresh of the first pixel point is completed.
In the electronic ink screen, the pixel points are actually electronic ink composed of tiny transparent particles, the time required for refreshing from one color to another color is very short, but the refreshing period of each piece of electronic ink is longer than the color refreshing time, that is, in one refreshing period, one pixel point can refresh the color only once, in this embodiment, the first pixel point and the second pixel point are not overlapped, that is, the position of the first pixel point and the position of the second pixel point are not intersected, and in this way, each pixel point in the ink screen has a fixed position, whether the first pixel point and the second pixel point are overlapped can be determined by determining the positions of the first pixel point and the second pixel point in the ink screen, if the first pixel point and the second pixel point are overlapped, the refreshing operation is performed on the second pixel point after the refreshing of the first pixel point is completed, the second pixel point is refreshed after the first pixel point finishes the whole refreshing period, the refreshing speed of the ink screen is visually improved, and therefore, if the first pixel point is overlapped with the second pixel point, one pixel point can refresh the color once in one refreshing period, and the second pixel point can only perform refreshing operation after the first pixel point finishes the whole refreshing period.
Specifically, the step of step S20 refinement includes:
step a1, if it is determined that the current frame is the same as the previous frame according to the calculation result of the absolute difference calculation, performing an ignoring operation on the screen refresh event corresponding to the current frame, and taking the next frame as the current frame after the ignoring operation.
Step a2, obtaining the next frame after the neglect operation, and returning to the step of calculating the absolute difference between the current frame, the previous frame and the next frame.
It can be known that, if it is determined that the current frame is the same as the previous frame according to the calculation result of the absolute difference calculation, that is, the first difference frame is empty, and there is no first pixel point, there is no judgment process for determining whether the first pixel point and the second pixel point coincide with each other, in this case, the rapid ink-wash screen refresh program ignores the screen refresh event corresponding to the current frame, specifically, the refresh of each frame corresponds to one screen refresh event, and the application or system refreshes the current frame by calling the screen refresh event, and after the screen refresh event is ignored, the rapid ink-wash screen refresh program ignores the refresh of the current frame corresponding to the screen refresh event, and then obtains the next frame of the next frame in the above-mentioned contents from the image storage area, that is, the next frame after the operation is ignored in this embodiment, then, the next frame of picture in the content is taken as the current frame of picture in the content, and it can be understood that the above operation is similar to queuing, when one frame of picture in the team is removed, the following pictures will be sequentially supplemented with the vacant positions, and the steps of performing the absolute difference calculation on the current frame of picture, the previous frame of picture and the next frame of picture are circularly performed on the respective positions until the first difference picture and the second difference picture which are not vacant are obtained.
In this embodiment, when the rapid ink-wash screen refresh program receives a screen refresh command, a current frame picture corresponding to the screen refresh command is obtained from a preset image storage area, that is, a picture to be displayed currently on the ink-wash screen, and a previous frame picture and a next frame picture corresponding to the current frame picture, and further, absolute difference calculation is performed on the current frame picture, the previous frame picture and the next frame picture to obtain a first difference picture and a second difference picture, then, a first pixel point in the first difference picture and a second pixel point in the second difference picture are determined, and finally, whether the first pixel point and the second pixel point are overlapped is determined, and if the first pixel point and the second pixel point are not overlapped, a refresh operation is performed on the second pixel point after the refresh of the first pixel point is completed. The second pixel points can execute the refreshing operation without waiting for the first pixel points to go through the whole refreshing period, the refreshing flow of the electronic ink screen is simplified, and the refreshing speed of the electronic ink screen is improved.
Further, referring to fig. 3, a second embodiment of the quick refresh method for the ink-jet screen according to the present invention is provided on the basis of the above-mentioned embodiment of the present invention.
This embodiment is a step before step S10 in the first embodiment, and the difference between this embodiment and the above-described embodiment of the present invention is:
step S40, when it is detected that the preset operating system is started, creating a system service, and switching a working mode corresponding to the system service to a peripheral mounting mode, so that the preset application generates an update screen.
Step S50, creating an image storage area in the system service, and saving the last displayed screen before the switching of the operation mode to the image storage area.
And step S60, when the updated picture is detected, saving the updated picture to the image storage area, and generating a screen refresh command through the preset application.
It should be noted that, the preset operating system in this embodiment refers to an operating system supported by the ink screen device, and is generally an android system, the system service in this embodiment refers to a program (application) that executes a specified system function, and the operating modes of the system service driver chip include a direct drive mode and a USB peripheral mounting mode, where the direct drive mode is not described in detail in this embodiment, the USB peripheral mounting mode is the peripheral mounting mode in the embodiment, when the ink screen device is powered on, the preset operating system is started and creates a system service, and then the operating mode of the system service driver chip is adjusted to the USB peripheral mounting mode, as can be appreciated, the operating modes of the two driver chips are mutually exclusive, and a delay of approximately 1.5 seconds is required to switch the two operating modes, therefore, when the preset operating system is started, the operating mode of the system service driver chip is immediately switched to the peripheral mounting mode, therefore, the updated picture in the embodiment includes a picture which is generated by the application autonomously to refresh the display picture of the ink-jet screen, and also includes a picture which is generated by the user using the external device to refresh the display picture of the ink-jet screen, for example, the user performs handwriting operation on the ink-jet screen by using electromagnetism, and a track handwritten by the user will cause the refresh of the display picture of the ink-jet screen. Therefore, after the system service is created, the ink and wash screen quick refresh program creates an image storage area in the system service for storing the picture to be updated, when the ink and wash screen quick refresh program detects the updated picture generated by the preset application, the updated picture generated by the preset application is stored in the image storage area, and then a screen refresh command is generated through the preset application.
Specifically, the step of step S10 refinement includes:
step b1, when receiving a screen refresh command sent by the preset application, acquiring the updated picture and the screen picture, and taking the screen picture as a previous frame picture, wherein the current frame picture and the next frame picture belong to the updated picture.
It should be noted that the updated frame in this embodiment is a frame to be displayed generated by a preset application, and it is understood that the updated frame includes more than one frame, and generally includes several frames of frames to be updated, and the frames of two adjacent frames in the updated frame do not necessarily change, the screen in this embodiment refers to a last frame displayed by the ink screen before the system service driver chip is switched to the peripheral mounting mode, if the operating mode of the system service driver chip is the peripheral mounting mode when the preset operating system is started, that is, there is no mode switching, the screen is a last frame displayed by the ink screen before the updated frame generated by the preset application after the preset operating system is started, and it is known that after the ink screen fast refresh program acquires the screen and the updated frame, the screen is taken as a previous frame in the above embodiment, and the current frame and the next frame belong to the updated frame, and the current frame picture is adjacent to the next frame picture and arranged at the front position in the updated picture.
Specifically, steps subsequent to step S50 include:
step c1, creating system interface service in the system service, wherein the system interface service comprises refresh mode switching service, peripheral detection service and manual image data transfer service.
Step c2, if the refresh mode is determined to be the manual refresh mode according to the detection result obtained by the peripheral detection service, obtaining manual image data corresponding to the manual image data transmission service, and using the manual image data as the update picture.
The system interface service in this embodiment is an interface definition language, and can implement services provided by free access between application programs, and the system interface service in this embodiment includes a refresh mode switching service, a peripheral detection service, and a manual image data transfer service, and specifically, the refresh mode switching service is a function of switching between an automatic refresh mode and a manual refresh mode, where the refresh mode switching service is a function of manually refreshing an ink screen by a user through a peripheral device, and the peripheral detection service is a function of detecting whether the ink screen device is connected to an external device, such as an electromagnetic pen, and the manual image data transfer service is a function of transferring a manually generated writing track screen. And if the refresh mode is determined to be the manual refresh mode according to the detection result obtained by the peripheral detection service, acquiring manual image data corresponding to the manual image data transmission service, and taking the manual image data as an update picture.
Specifically, the steps after step c2 include:
and d1, if the refresh mode is a manual refresh mode, determining a refresh area corresponding to the black-white pixel point in unit frame time when the black-white pixel point is detected, wherein the black-white pixel point is a pixel point which is changed in black and white.
Step d2, querying a target time point when the black-and-white pixel point in the refresh area is refreshed, obtaining a target picture generated by the preset application at the target time point, and overlapping the refreshed black-and-white pixel point with the target picture to obtain a picture as the updated picture.
It should be noted that the black and white pixel point in this embodiment is a pixel point that changes from black to white or from white to black, specifically, in this embodiment, the color change triggered by the electromagnetic pen is a black and white change, when the electromagnetic pen is used as a writing pen, the color change on the writing track is from white to black, when the electromagnetic pen is used as an eraser, the color change on the writing track is from black to white, if the refresh mode is a manual refresh mode, and a black and white pixel point with a black and white change is detected, a refresh area corresponding to the black and white pixel point within a unit frame time is determined, where the unit frame time is a time required for refreshing a frame of picture, for example, if the frame rate for refreshing the screen of the ink screen is 40, i.e., 40 times per second, the unit frame time is 25 milliseconds, a refresh area corresponding to the black and white stroke pixel point within the unit frame time is an electromagnetic track within 25 milliseconds, after a target time point when the refreshing of the black and white pixel points in the refreshing area is completed is inquired, the quick refreshing program of the ink-water screen acquires a target picture generated by the preset application at the target time point, and finally, a picture obtained by overlapping the refreshed black and white pixel points with the target picture is used as an updated picture, wherein the frequency of the updated picture generated by the preset application in the embodiment can be 40 per second, each updated picture is provided with a time label for determining the target picture generated by the preset application at the target time point, wherein the target picture belongs to the updated picture, and it can be understood that the overlapping of the refreshed black and white pixel points and the target picture is simple pixel coverage, namely the refreshed black and white pixel points cover pixel points at the same positions as the refreshed black and white pixel points in the target picture.
Specifically, the steps after step c1 include:
step e1, if the refresh mode is determined to be the auto-refresh mode according to the detection result obtained by the peripheral detection service, when it is detected that the screen refresh event is triggered, it is determined whether there is a target pixel point within a preset refresh period.
And e2, if the target pixel exists, when the target pixel is refreshed, extracting the latest picture from the image storage area, and taking the latest picture as the updated picture.
Step e3, if the target pixel point does not exist, acquiring an image corresponding to the screen refreshing event, and taking the image corresponding to the screen refreshing event as the updated picture.
The peripheral detection service determines that the refresh mode is the automatic refresh mode if the peripheral detection service does not detect that the ink and wash screen device is connected to the external device, the screen refresh event in this embodiment corresponds to each frame of the refresh picture one by one, that is, when one frame of the refresh picture exists, the corresponding screen refresh event is triggered, when the screen refresh event is triggered, the ink and wash screen fast refresh program will judge whether a target pixel point in a preset refresh period exists in a frame of the refresh picture corresponding to the screen refresh event, wherein the preset refresh period is the refresh period in the above embodiment, it is known that in one preset refresh period, one pixel point can refresh color only once, if the screen refresh event is triggered, the target pixel point in the preset refresh period exists, the screen refresh event corresponding to the frame of the refresh picture will be ignored, and if the target pixel point in the preset refreshing period does not exist when the screen refreshing event is detected to be triggered, acquiring an image corresponding to the screen refreshing event, and taking the image corresponding to the screen refreshing event as an updating image.
In the embodiment, the refreshing speed of the electronic ink screen in the handwriting environment is improved by simplifying the refreshing flow of the handwriting picture.
In addition, referring to fig. 4, an embodiment of the present invention further provides a device for quickly refreshing an ink-and-wash screen, where the device for quickly refreshing an ink-and-wash screen includes:
the image obtaining module 10 is configured to, when a screen refresh command is received, obtain a current frame image corresponding to the screen refresh command, and a previous frame image and a next frame image corresponding to the current frame image;
a difference picture calculating module 20, configured to perform absolute difference calculation on the current frame picture, the previous frame picture, and the next frame picture to obtain a first difference picture and a second difference picture, and determine a first pixel point in the first difference picture and a second pixel point in the second difference picture;
and a pixel refreshing module 30, configured to, if the first pixel point and the second pixel point are not overlapped, perform a refreshing operation on the second pixel point after the refreshing of the first pixel point is completed.
Optionally, the apparatus for rapidly refreshing an ink-and-water screen further includes:
the system service creating module is used for creating a system service when the preset operating system is detected to be started, and switching a working mode corresponding to the system service into an external mounting mode so as to enable a preset application to generate an updating picture;
the image storage area creating module is used for creating an image storage area in the system service and storing the last displayed screen picture before the working mode is switched into the image storage area;
and the updated picture storage module is used for storing the updated picture into the image storage area when the updated picture is detected, and generating a screen refreshing instruction through the preset application.
Optionally, the picture acquiring module 10 includes:
and the picture acquisition unit is used for acquiring the updated picture and the screen picture when receiving a screen refreshing instruction sent by the preset application, and taking the screen picture as a previous frame picture, wherein the current frame picture and the next frame picture belong to the updated picture.
Optionally, the apparatus for rapidly refreshing an ink-and-water screen further includes:
the system interface service creating module is used for creating system interface services in the system services, wherein the system interface services comprise a refresh mode switching service, a peripheral detection service and a manual image data transmission service;
and the manual image data acquisition module is used for acquiring manual image data corresponding to the manual image data transmission service and taking the manual image data as the update picture if the refresh mode is determined to be the manual refresh mode according to the detection result acquired by the peripheral detection service.
Optionally, the manual image data acquisition module includes:
a refresh area determining unit, configured to determine, when a black-and-white pixel is detected, a refresh area corresponding to the black-and-white pixel in a unit frame time if the refresh mode is a manual refresh mode, where the black-and-white pixel is a pixel that changes from black to white;
and the target picture acquiring unit is used for inquiring a target time point when the refreshing of the black-and-white pixel points in the refreshing area is finished, acquiring a target picture generated by the preset application at the target time point, and overlapping the refreshed black-and-white pixel points with the target picture to obtain a picture as the updated picture.
Optionally, the system interface service creation module includes:
the judging unit is used for judging whether a target pixel point in a preset refreshing period exists or not when a screen refreshing event is triggered if the refreshing mode is determined to be the automatic refreshing mode according to a detection result obtained by the peripheral detection service;
the latest picture extracting unit is used for extracting the latest picture from the image storage area when the target pixel point is refreshed if the target pixel point exists, and taking the latest picture as the updated picture;
and the image acquisition unit is used for acquiring the image corresponding to the screen refreshing event if the target pixel point does not exist, and taking the image corresponding to the screen refreshing event as the updating picture.
Optionally, the apparatus for rapidly refreshing an ink-and-water screen further includes:
the ignoring operation module is used for performing an ignoring operation on a screen refreshing event corresponding to the current frame if the current frame is determined to be the same as the previous frame according to the calculation result of the absolute difference calculation, and taking the next frame as the current frame after the ignoring operation;
and the circulating module is used for acquiring the next frame of picture after the neglect operation and returning to the step of calculating the absolute difference of the current frame of picture, the previous frame of picture and the next frame of picture.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores an ink-wash screen fast refresh program, and when the ink-wash screen fast refresh program is executed by a processor, the ink-wash screen fast refresh program implements operations in the ink-wash screen fast refresh method provided in the foregoing embodiment.
The method executed by each program module can refer to each embodiment of the method of the present invention, and is not described herein again.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity/action/object from another entity/action/object without necessarily requiring or implying any actual such relationship or order between such entities/actions/objects; the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. 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 system that comprises the element.
For the apparatus embodiment, since it is substantially similar to the method embodiment, it is described relatively simply, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, in that elements described as separate components may or may not be physically separate. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method for quickly refreshing an ink-wash screen according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A quick refresh method for an ink-water screen is characterized by comprising the following steps:
when a screen refreshing instruction is received, acquiring a current frame image corresponding to the screen refreshing instruction, and a previous frame image and a next frame image corresponding to the current frame image;
calculating the absolute difference between the current frame picture and the previous frame picture to obtain a first difference picture, calculating the absolute difference between the current frame picture and the next frame picture to obtain a second difference picture, and determining a first pixel point in the first difference picture and a second pixel point in the second difference picture;
if the first pixel point and the second pixel point are not overlapped, after the first pixel point is refreshed, refreshing operation is carried out on the second pixel point before the whole refreshing period is completed.
2. The method for quickly refreshing an ink-wash screen according to claim 1, wherein the steps of obtaining a current frame picture corresponding to the screen refresh command and a previous frame picture and a next frame picture corresponding to the current frame picture when the screen refresh command is received, comprise: when the preset operating system is detected to be started, creating a system service, and switching a working mode corresponding to the system service into a peripheral mounting mode so as to enable a preset application to generate an updating picture;
creating an image storage area in the system service, and storing a screen picture displayed last before the working mode is switched into the image storage area;
and when the updated picture is detected, storing the updated picture in the image storage area, and generating a screen refreshing instruction through the preset application.
3. The method for quickly refreshing the ink-wash screen as claimed in claim 2, wherein when a screen refreshing command is received, the current frame picture corresponding to the screen refreshing command and the previous frame picture corresponding to the current frame picture and the previous frame picture are obtained
The step of the next frame of picture comprises:
and when a screen refreshing instruction sent by the preset application is received, acquiring the updated picture and the screen picture, and taking the screen picture as a previous frame picture, wherein the current frame picture and a next frame picture belong to the updated picture.
4. The method for quickly refreshing the ink-wash screen as claimed in claim 2, wherein after the step of creating an image storage area in the system service and saving the last displayed screen picture before the switching of the working mode to the image storage area, the method comprises the following steps:
creating a system interface service in the system service, wherein the system interface service comprises a refresh mode switching service, a peripheral detection service and a manual image data transfer service;
and if the refresh mode is determined to be the manual refresh mode according to the detection result obtained by the peripheral detection service, acquiring manual image data corresponding to the manual image data transmission service, and taking the manual image data as the update picture.
5. The method for quickly refreshing an ink-jet screen according to claim 4, wherein if the refresh mode is determined to be the manual refresh mode according to the detection result obtained by the peripheral detection service, the step of obtaining manual image data corresponding to the manual image data transmission service and using the manual image data as the update screen comprises:
if the refreshing mode is a manual refreshing mode, when a black-white pixel point is detected, determining a refreshing area corresponding to the black-white pixel point in unit frame time, wherein the black-white pixel point is a pixel point which is changed in black and white;
and inquiring a target time point when the refreshing of the black-and-white pixel points in the refreshing area is completed, acquiring a target picture generated by the preset application at the target time point, and overlapping the refreshed black-and-white pixel points with the target picture to obtain a picture as the updated picture.
6. The ink-jet screen fast refresh method of claim 4, wherein said creating a system interface service in said system service, wherein said system interface service comprises, after the steps of a refresh mode switching service, a peripheral detection service, and a manual image data transfer service, comprising:
if the refresh mode is determined to be the automatic refresh mode according to the detection result obtained by the peripheral detection service, judging whether a target pixel point in a preset refresh period exists or not when a screen refresh event is triggered;
if the target pixel point exists, when the target pixel point is refreshed, extracting a latest picture from the image storage area, and taking the latest picture as the updated picture;
and if the target pixel point does not exist, acquiring an image corresponding to the screen refreshing event, and taking the image corresponding to the screen refreshing event as the updating picture.
7. The method for quickly refreshing an ink-wash screen as claimed in claim 1, wherein said step of calculating the absolute difference of said current frame, said previous frame and said next frame comprises:
if the current frame picture is determined to be the same as the previous frame picture according to the calculation result of the absolute difference calculation, performing an ignoring operation on a screen refreshing event corresponding to the current frame picture, and taking the next frame picture as the current frame picture after the ignoring operation;
and acquiring the next frame of picture after the neglect operation, and returning to the step of calculating the absolute difference between the current frame of picture, the previous frame of picture and the next frame of picture.
8. A quick refresh device of ink and water screen, characterized in that, the quick refresh device of ink and water screen includes:
the device comprises a screen refreshing module, a picture acquiring module and a picture processing module, wherein the screen refreshing module is used for acquiring a current frame picture corresponding to a screen refreshing instruction, and a previous frame picture and a next frame picture corresponding to the current frame picture when the screen refreshing instruction is received;
a difference picture calculation module, configured to perform absolute difference calculation on the current frame picture and the previous frame picture to obtain a first difference picture, perform absolute difference calculation on the current frame picture and the next frame picture to obtain a first difference picture and a second difference picture, and determine a first pixel point in the first difference picture and a second pixel point in the second difference picture;
and the pixel refreshing module is used for executing refreshing operation on the second pixel point after the first pixel point is refreshed and before the whole refreshing period is completed if the first pixel point and the second pixel point are not overlapped.
9. An ink-and-wash screen fast refresh apparatus, characterized in that the ink-and-wash screen fast refresh apparatus comprises: a memory, a processor and an ink screen fast refresh program stored on the memory and executable on the processor, the ink screen fast refresh program when executed by the processor implementing the steps of the ink screen fast refresh method of any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon an ink-wash screen fast refresh program which, when executed by a processor, implements the steps of the ink-wash screen fast refresh method of any one of claims 1 to 7.
CN202011299415.5A 2020-11-18 2020-11-18 Ink screen quick refreshing method, device, equipment and computer readable storage medium Active CN112509524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011299415.5A CN112509524B (en) 2020-11-18 2020-11-18 Ink screen quick refreshing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011299415.5A CN112509524B (en) 2020-11-18 2020-11-18 Ink screen quick refreshing method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112509524A CN112509524A (en) 2021-03-16
CN112509524B true CN112509524B (en) 2021-10-29

Family

ID=74958119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011299415.5A Active CN112509524B (en) 2020-11-18 2020-11-18 Ink screen quick refreshing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112509524B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988303B (en) * 2021-03-23 2021-11-26 广州文石信息科技有限公司 Electronic ink screen refreshing method and device, electronic equipment and storage medium
CN113672188A (en) * 2021-08-26 2021-11-19 广东瑞德智能科技股份有限公司 Low-end MCU (micro control unit) -based OLED (organic light emitting diode) screen efficient display method and household appliance
CN115731829B (en) * 2021-08-30 2024-08-27 广州视源电子科技股份有限公司 Image quality adjusting method, storage medium and display device
CN113851091A (en) * 2021-09-28 2021-12-28 北京大上科技有限公司 Electronic ink display screen refreshing method and display system
CN113867676A (en) * 2021-09-28 2021-12-31 北京大上科技有限公司 Display system, electronic ink display screen refreshing method and electronic equipment
CN113793571A (en) * 2021-09-28 2021-12-14 北京大上科技有限公司 Electronic ink display screen refreshing method and display system
CN113867674A (en) * 2021-09-28 2021-12-31 北京大上科技有限公司 Electronic ink display screen refreshing method and display system
CN114489545B (en) * 2022-01-28 2022-08-02 广州文石信息科技有限公司 Screen updating request scanning method and device, storage medium and related equipment
CN116229909B (en) * 2023-02-28 2023-11-24 广州文石信息科技有限公司 Device running state switching method and device, terminal device and storage medium
CN117275422B (en) * 2023-10-09 2024-07-09 深圳市大我云读写科技有限公司 Ink screen refreshing method, device, equipment and computer readable storage medium
CN117975912B (en) * 2024-03-28 2024-08-23 深圳市善之能科技有限公司 Image refreshing method and system for display screen in equipment

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02201493A (en) * 1989-01-31 1990-08-09 Hitachi Chem Co Ltd Driving method for electrophoretic display device
US7289084B2 (en) * 2005-02-22 2007-10-30 John Michael Lesniak Computer display apparatus
US8416197B2 (en) * 2007-06-15 2013-04-09 Ricoh Co., Ltd Pen tracking and low latency display updates on electronic paper displays
US8203527B2 (en) * 2009-04-24 2012-06-19 Seiko Epson Corporation Minimizing pen stroke capture latency
JP5640451B2 (en) * 2010-05-13 2014-12-17 セイコーエプソン株式会社 Display device control method, display device, and display device control device
US8665280B2 (en) * 2010-05-21 2014-03-04 Seiko Epson Corporation Controlling display updates for electro-optic displays
TWI430006B (en) * 2010-10-29 2014-03-11 Chunghwa Picture Tubes Ltd Driving method for an electrophoretic display
CN102810294A (en) * 2012-08-01 2012-12-05 京东方科技集团股份有限公司 Displaying method, displaying device and displaying system
US9256064B1 (en) * 2014-06-13 2016-02-09 Amazon Technologies, Inc. Angled orientation of sub-pixels in an electrowetting display
KR101725193B1 (en) * 2015-08-19 2017-04-11 주식회사 썬다이오드코리아 Display Driving Method
CN105912290B (en) * 2016-05-09 2018-12-11 珠海全志科技股份有限公司 A kind of display methods and its device for electronic ink screen

Also Published As

Publication number Publication date
CN112509524A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
CN112509524B (en) Ink screen quick refreshing method, device, equipment and computer readable storage medium
US10271268B2 (en) Method for presenting list of access points and device thereof
CN108989678B (en) Image processing method and mobile terminal
CN110516218B (en) Method for generating table, terminal and computer readable storage medium
CN110035181B (en) Method and terminal for setting theme of quick application card
CN112540696A (en) Screen touch control management method, intelligent terminal, device and readable storage medium
CN113126862A (en) Screen capture method and device, electronic equipment and readable storage medium
CN114640727B (en) Protocol analysis method, device and computer readable storage medium
CN109922457B (en) Information interaction method, device and system
CN113821417A (en) Lamp effect adaptation display processing method, intelligent terminal and storage medium
CN112363852A (en) Popup message processing method, device, equipment and computer readable storage medium
CN111949134A (en) Human-computer interaction method, device and computer-readable storage medium
CN112948045A (en) Picture display method, device, equipment and computer readable storage medium
CN111147790A (en) Auxiliary function starting method, mobile terminal and computer readable storage medium
CN112506384B (en) Interaction method, device and equipment based on laser signals and readable storage medium
CN114666634B (en) Picture quality detection result display method, device, equipment and storage medium
CN116610312A (en) Interface layout method, apparatus, device, readable storage medium, and program product
CN114518859A (en) Display control method, display control device, electronic equipment and storage medium
CN111147777A (en) Intelligent terminal voice interaction method and device and storage medium
CN111752563A (en) Method, device, terminal and computer readable storage medium for dynamically modifying interface
CN112332996A (en) Terminal network distribution method, device, equipment and computer readable storage medium
CN111556354B (en) Global interface display method, television and computer readable storage medium
CN112464825B (en) Drawing method, device and system of automobile signal waveform and mobile terminal
CN112587923B (en) Game target movement control method, device, equipment and readable storage medium
CN112925638B (en) Resource loading method, device, equipment and computer readable storage medium

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