CN115509670A - Page display method and device, ink screen equipment and storage medium - Google Patents

Page display method and device, ink screen equipment and storage medium Download PDF

Info

Publication number
CN115509670A
CN115509670A CN202211394038.2A CN202211394038A CN115509670A CN 115509670 A CN115509670 A CN 115509670A CN 202211394038 A CN202211394038 A CN 202211394038A CN 115509670 A CN115509670 A CN 115509670A
Authority
CN
China
Prior art keywords
page
waveform data
display
current
predicted waveform
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.)
Granted
Application number
CN202211394038.2A
Other languages
Chinese (zh)
Other versions
CN115509670B (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.)
ONYX INTERNATIONAL Inc
Original Assignee
ONYX INTERNATIONAL 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 ONYX INTERNATIONAL Inc filed Critical ONYX INTERNATIONAL Inc
Priority to CN202211394038.2A priority Critical patent/CN115509670B/en
Publication of CN115509670A publication Critical patent/CN115509670A/en
Application granted granted Critical
Publication of CN115509670B publication Critical patent/CN115509670B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention discloses a page display method, a page display device, ink screen equipment and a storage medium, wherein the scheme is that display data of an associated page with a preset association relation with a current page is acquired, and predicted waveform data is correspondingly generated; caching the predicted waveform data into a buffer; when the page switching operation is received, whether the predicted waveform data corresponding to the target page corresponding to the page switching operation is cached in the buffer is determined; and when the predicted waveform data corresponding to the target page is cached in the buffer, reading the predicted waveform data corresponding to the target page from the buffer for displaying so as to refresh and display the target page as the current page. By generating and caching the waveform data of the page which is possibly displayed next in advance, the generated waveform data can be read directly to finish page display when the page is switched actually, so that the time for generating the waveform data is reduced, the refreshing speed is accelerated, and the use experience of a user is improved.

Description

Page display method and device, ink screen equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of display, in particular to a page display method and device, ink screen equipment and a storage medium.
Background
The surface of the electronic ink screen is attached with a plurality of microcapsules with small volumes, and pigment particles with different charges are encapsulated in the microcapsules. In the initial state, different pigment particles are suspended in the microcapsules, after an electric field in a certain direction is applied, the corresponding pigment particles are pushed to the top, the microcapsules can display different colors, the microcapsules with different colors form various characters and patterns, and the display effect can still be maintained after the power is off.
Because the display of the electronic ink screen is actually the display formed by arranging physical entities, the electronic ink screen has more obvious advantages in energy consumption and eye protection effect compared with optical imaging such as liquid crystal, OLED and the like. Therefore, when the electronic ink screen is largely used for reading equipment, more and more intelligent terminal equipment starts to carry the electronic ink screen.
The intelligent terminal equipment based on the electronic ink screen can meet various use requirements of users based on various applications, and can have corresponding display modes to adapt to the display refreshing requirements of different applications under various use requirements. However, in any display mode, the basic display process of displaying an electronic ink screen-based intelligent terminal device (hereinafter referred to as an ink screen device) is to query a waveform table according to a current refresh mode after confirming a picture to be displayed, so as to generate waveform data (working voltage) to drive a pixel to change to complete display. And the higher the resolution, the more the number of pixels, the longer the time required to generate the waveform data, the slower the refresh rate, and the poorer the user experience.
Disclosure of Invention
The invention provides a page display method, a page display device, ink screen equipment and a storage medium, and aims to solve the technical problems that the longer the time required for generating waveform data is, the slower the refreshing speed is and the poorer the user experience in the prior art.
In a first aspect, an embodiment of the present invention provides a page display method, including:
when a current page is displayed, acquiring display data of an associated page with a preset association relation with the current page, and correspondingly generating predicted waveform data;
caching the predicted waveform data into a buffer;
when a page switching operation is received, determining whether the cache buffers predicted waveform data corresponding to a target page corresponding to the page switching operation;
and when the predicted waveform data corresponding to the target page is cached in the cache, reading the predicted waveform data corresponding to the target page from the cache for displaying so as to refresh and display the target page as a current page.
The page display method further comprises the following steps:
acquiring a current interaction state, wherein the interaction state is confirmed according to the running state of the ink screen equipment and/or the interval state of the interaction operation;
correspondingly, when the current page is displayed, acquiring display data of an associated page having a preset association relationship with the current page, and correspondingly generating predicted waveform data, including:
when a current page is displayed, the current interactive state is confirmed to be a preset display interactive state, display data of an associated page with a preset association relation with the current page are obtained, and predicted waveform data are correspondingly generated, wherein the preset display interactive state comprises a standby state and a starting running state.
In the standby state, the associated pages with the preset association relationship in the current page comprise all window pages for starting the application before entering the standby state; in the starting-up running state, the current page is a window page of an application running in a foreground, and the associated pages with the preset association relationship in the current page comprise window pages of applications running in a background and frozen in the background.
After determining whether the buffer caches predicted waveform data corresponding to a target page corresponding to the page switching operation when the page switching operation is received, the method further includes:
and if the predicted waveform data corresponding to the target page is not cached in the cache, generating corresponding waveform data in real time to display the target page, and caching the corresponding waveform data into the cache.
The current page is a document page, and the preset incidence relation comprises a page structure relation;
correspondingly, when the current page is displayed, acquiring display data of an associated page having a preset association relationship with the current page, and correspondingly generating predicted waveform data, including:
when a current page is displayed, display data of a page within a preset adjacent page number range of the current page and a page pointed by a page jump link are obtained, and predicted waveform data are correspondingly generated.
When the current page is displayed, acquiring display data of an associated page having a preset association relationship with the current page, and correspondingly generating predicted waveform data, further comprising:
when a current page is displayed, acquiring display data of an associated page with a preset association relation with the current page;
confirming a to-be-processed page in an associated page with a preset association relation in the current page, wherein predicted waveform data corresponding to the to-be-processed page is not cached in the cache currently;
and generating predicted waveform data corresponding to the display data of the page to be processed.
The page display method further comprises the following steps:
and when the exit of the current application is detected, emptying the corresponding predicted waveform data of the application in the buffer.
In a second aspect, an embodiment of the present invention provides a page display apparatus, including:
the device comprises a waveform data generating unit, a waveform data generating unit and a waveform data generating unit, wherein the waveform data generating unit is used for acquiring display data of an associated page with a preset association relation with a current page when the current page is displayed and correspondingly generating predicted waveform data;
a waveform data caching unit for caching the predicted waveform data into a cache;
the page switching judging unit is used for confirming whether the buffer caches predicted waveform data corresponding to a target page corresponding to the page switching operation when the page switching operation is received;
and the data reading and displaying unit is used for reading the predicted waveform data corresponding to the target page from the buffer for displaying when the predicted waveform data corresponding to the target page is cached in the buffer, so that the target page is refreshed and displayed as a current page.
Wherein, the page display device further comprises:
the interactive state judging unit is used for acquiring the current interactive state, and the interactive state is confirmed according to the running state of the ink screen equipment and/or the interval state of interactive operation;
correspondingly, the waveform data generation unit comprises:
the first waveform data generation module is used for confirming that the current interaction state is a preset display interaction state when a current page is displayed, acquiring display data of an associated page with a preset association relation with the current page, and correspondingly generating predicted waveform data, wherein the preset display interaction state comprises a standby state and a starting-up running state.
In the standby state, the associated pages with the preset association relationship in the current page comprise all window pages for starting the application before entering the standby state; in the starting-up running state, the current page is a window page of an application running in a foreground, and the associated pages with the preset association relationship in the current page comprise window pages of applications running in a background and frozen in the background.
Wherein, the page display device further comprises:
and the second waveform data generating unit is used for generating corresponding waveform data in real time to display the target page and caching the corresponding waveform data into the buffer if the predicted waveform data corresponding to the target page is not cached in the buffer.
The current page is a document page, and the preset association relationship comprises a page structure relationship;
correspondingly, the waveform data generation unit comprises:
and the document page waveform data generation module is used for acquiring display data of a page in a preset adjacent page number range of the current page and a page pointed by a page jump link when the current page is displayed, and correspondingly generating predicted waveform data.
Wherein the waveform data generation unit includes:
the display data acquisition module is used for acquiring display data of an associated page with a preset association relation with a current page when the current page is displayed;
the cache state confirmation module is used for confirming a page to be processed in an association page with a preset association relation in the current page, and the predicted waveform data corresponding to the page to be processed is not cached in the cache currently;
and the third waveform data generation module is used for generating predicted waveform data corresponding to the display data of the page to be processed.
Wherein, the page display device further comprises:
and the cache data clearing unit is used for clearing the corresponding predicted waveform data in the cache when the current application exits.
In a third aspect, embodiments of the present invention provide an ink screen apparatus, including:
an ink screen;
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the ink screen device to implement the page display method of any one of the first aspects.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the page display method according to any one of the first aspect.
The page display method comprises the steps of acquiring display data of an associated page with a preset association relation with a current page when the current page is displayed, and correspondingly generating predicted waveform data; caching the predicted waveform data into a buffer; when page switching operation is received, whether the cache buffers predicted waveform data corresponding to a target page corresponding to the page switching operation is determined; and when the predicted waveform data corresponding to the target page is cached in the cache, reading the predicted waveform data corresponding to the target page from the cache for displaying so as to refresh and display the target page as a current page. By generating and caching the waveform data of the page which is possibly displayed next in advance, the generated waveform data can be read directly to finish page display when the page is switched actually, so that the time for generating the waveform data is reduced, the refreshing speed is accelerated, and the use experience of a user is improved.
Drawings
Fig. 1 is a flowchart of a page display method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a document page structure and corresponding predicted waveform data caching in a page display method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a document page structure and corresponding predicted waveform data cache after page turning based on FIG. 2 according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a page display device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an ink screen apparatus according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration and not limitation. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be noted that, for the sake of brevity, this description does not exhaust all alternative embodiments, and it should be understood by those skilled in the art after reading this description that any combination of features may constitute an alternative embodiment as long as the features are not mutually inconsistent.
The following provides a detailed description of various embodiments of the invention.
Fig. 1 is a flowchart of a method for displaying a page according to an embodiment of the present invention, where the page displaying method is used in a terminal device, especially a terminal device that uses an ink screen to display, that is, an ink screen device, and as shown in fig. 1, the page displaying method includes steps S110 to S140:
step S110: when a current page is displayed, display data of an associated page with a preset association relation with the current page are obtained, and predicted waveform data are correspondingly generated.
In the display process of the ink screen device, a processor of the ink screen device generates a display page according to an application window of a currently running application, and according to the operation of a user, the running application changes or the application window in the running application changes, and the display page needs to be regenerated correspondingly, that is, the display page may be a window change between different applications, or a change of display content in the same application window. For the ink screen device, a currently displayed picture is a current page, content to be displayed after the current page corresponds to a page to be displayed, and each displayed page corresponds to one frame of picture data. For different applications, different components and color combination modes are provided, the display page formed by the components is generally a picture with rich colors, namely, the original frame picture data correspondingly carries rich color contents, and the display controller completes the picture display process on the ink screen finally after processing based on the color frame picture data.
During actual display, the pages to be displayed may be predictable, for example, during video playing, since the content of video data and the playing sequence of video are generally fixed, without the user operating the playing progress, the video played sequentially frame by frame can predict the pages to be displayed. The page to be displayed may also be unpredictable, for example, the ink screen device may not predict the handwriting input by the user during writing, and accordingly, the page to be displayed may not be predicted.
In the scheme, the predictable situation is mainly processed, corresponding waveform data is generated in advance for the pages which are possibly displayed next after the current page, and the specific pages which are possibly displayed are confirmed through the preset association relation. For example, a window page corresponding to an application running simultaneously (including foreground running and background running) is a preset association relationship, and a user may switch from one application to another application in the process of using an ink screen device, so that based on the possibility of switching, the window pages corresponding to all running applications are used as association pages, and waveform data is generated corresponding to display data of the association pages.
In the specific implementation of the present solution, considering that some interactions are frequent, the change of the display page may be fast, and the time required for generating the predicted waveform data may not be met, and the generated predicted waveform data may also be very likely to be unused, in order to reduce the data processing pressure and improve the effectiveness of data processing, before step S110 is executed, the current interaction state of the ink screen device is obtained first, the interaction state is determined according to the running state of the ink screen device and/or the interval state of the interaction operation, the determination of the interaction state is performed first in the process of actually predicting the waveform data, that is, when the current page is displayed, the current interaction state is determined to be the preset display interaction state, the display data of the associated page having the preset association relationship with the current page is obtained, and the predicted waveform data is generated correspondingly, where the preset display interaction state includes a standby state and a startup running state. The method comprises the steps that no operation is performed in a standby state, but the ink screen device can keep page display, a current page displayed at the moment does not need data processing support of the ink screen device actually, the current page is equivalent to that the current page is displayed in a state of being separated from an application, after the current page is awakened from the standby state, the application corresponding to the previous displayed page may need to be switched to another application, before the current page enters the standby state, all window pages for starting the application can be used as associated pages to correspondingly generate predicted waveform data, and all starting applications refer to applications which do not exit from a process after being started. The ink screen device may have a concurrent processing capability, and in the using process, while maintaining the running of an application corresponding to a current page, other applications may be concurrently maintained in a starting state, only windows of the applications are not displayed, the applications are defined as background applications according to a state in which the windows are not displayed, the specific states include a background running state and a background freezing state, pages (applications running in the background or frozen in the background) of the background applications (including desktop management applications) are likely to be switched to the current display state, and in the process of actually using the ink screen device, the switching frequency between the applications is generally low, at this time, the background applications that are likely to be switched to the current applications may be processed in advance, that is, associated pages having a preset association relationship with the current page include window pages of applications running in the background and frozen in the background.
In a selectable preset association relationship in an application, particularly for a document page, for example, a display page in an application window of an electronic book application, when an electronic book is displayed, a corresponding current page is a document page, and the preset association relationship includes a page structure relationship; when displaying the document page based on the page structure relationship, step S110 may include: when a current page is displayed, display data of a page within a preset adjacent page number range of the current page and a page pointed by a page jump link are obtained, and predicted waveform data are correspondingly generated. Specifically, the preset association relationship is set based on a page structure relationship, and may mainly be pages of 1 page or 2 pages before and after the current page in the page number sequence, and pages pointed by the page jump links in the current page, such as directory pages.
Based on the page structure relationship, step S110 may further include the following steps: when a current page is displayed, acquiring display data of an associated page with a preset association relation with the current page; confirming a to-be-processed page in an associated page with a preset association relation in the current page, wherein predicted waveform data corresponding to the to-be-processed page is not cached in the cache currently; and generating predicted waveform data corresponding to the display data of the page to be processed. Namely, the predicted waveform data is not completely regenerated every time, but the waveform data is generated only when the associated page of the current page is confirmed according to the page relation and the waveform data is not cached in the associated page, so that the repeated generation of the waveform data is reduced.
In a specific implementation process, the associated page can be confirmed according to the page structure relationship all the time when the ink screen device is in the open operation state, or can be confirmed according to the page structure relationship only in the low-frequency interaction state. The low frequency interactive state in the low frequency interactive state means that the interactive operation frequency in the process of using the application is low. According to the functions realized by the application, the interactive operation frequency of some applications may be low, for example, reading the application needs to take a period of time to read the content of one page before switching to the next page, and the content of the page remains unchanged for a period of time; some applications, such as communication applications, may have a high frequency of interaction, and may require continuous input of content and updating of received content, and the page content may change continuously and frequently. Of course, in the present solution, the type of the application may not be considered, but the preset association relationship may be constructed according to the interaction change that can be predicted in the application if the distance from the previous operation has reached the preset duration directly according to the interval of the user operation, and the association page may be confirmed from the application based on the preset association relationship. In a low-frequency interaction state, the frequency of obtaining the predicted waveform data is low, the actual display proportion is high, and the overall processing has a more economic effect.
In the actual processing process, the preset display interaction state may be overlapped, for example, the preset display interaction state is currently in a low-frequency interaction state, and then the preset display interaction state may be simultaneously in a power-on running state, and then the associated page of the current page may include a page outside the current application (i.e., a window page of a background application), and may also include a page inside the current application (e.g., a neighboring page of a currently displayed document page and other hyperlink pages).
Step S120: and buffering the predicted waveform data to a buffer.
Caching the waveform data, and correlating and caching the corresponding page identification for subsequent reading and possible data judgment in the middle.
Step S130: and when a page switching operation is received, determining whether the buffer caches predicted waveform data corresponding to a target page corresponding to the page switching operation.
When receiving the page switching operation, in order to quickly display, firstly confirming whether a target page corresponding to the page switching operation is an associated page of the current page, wherein the specific confirmation mode can be confirmation through a preset association relation, namely confirming that associated prediction waveform data is possibly cached; or confirming from the buffer, that is, confirming that the predicted waveform data corresponding to the target page corresponding to the page switching operation is actually cached, and associating the page identifier corresponding to the cache when the predicted waveform data is cached, specifically, confirming by matching the page identifier. For example, each electronic book has a corresponding book number, each page in the electronic book has a corresponding page number, and a corresponding unique page identifier can be generated through the book number and the page number. For example, each application has a corresponding application number, and each background application can only display one page at a time, so that the application number is used for identification in the buffer, and the page before being switched to the background running can be directly recovered when being re-opened.
Step S140: and when the predicted waveform data corresponding to the target page is cached in the cache, reading the predicted waveform data corresponding to the target page from the cache for displaying so as to refresh and display the target page as a current page.
And when the predicted waveform data corresponding to the target page is read from the buffer, performing display control according to the existing ink screen display control process.
Of course, in the actual execution process, there may be a case that the predicted waveform data corresponding to the target page cannot be obtained due to uncached or cache error, and if the predicted waveform data corresponding to the target page is uncached by the cache, the corresponding waveform data is generated in real time to display the target page, and the corresponding waveform data is cached in the cache, so that while basic display is realized, the subsequent page display process is facilitated.
In addition, when the exit of the current application is detected, the corresponding predicted waveform data in the buffer of the application can be emptied, so that the buffer space is saved.
Further referring to FIGS. 2 and 3, taking a document page as an example, FIG. 2 shows a document structure 10, a current page 20 and a buffer 30, wherein the document structure 10 shows the contents of an electronic book page, where C1 is a catalog page and P4-P7 are consecutive 4 pages; the current page 20 is the display of the electronic ink screen, which is currently shown as page P5 in fig. 2; the buffer 30 stores prediction waveform data corresponding to 1 page (P4 page and P6 page) adjacent to P5 in front and rear, and P5 page and directory page C1 (P4 page, P5 page, P6 page and C1 are related pages of P5 page). When a page switching operation occurs, the current page 20 is switched from the P5 page to the P6 page, and when the P6 page is displayed, the current page is determined to be a related page of the P5 page, the predicted waveform data of the P6 page can be directly acquired from the buffer 30 to complete the display of the P6 page, and when the P6 page is taken as the current page, the predicted waveform data corresponding to the related page (the P5 page, the P6 page, the P7 page, and the C1 page) is buffered in the buffer 30.
In the page display method, when a current page is displayed, display data of an associated page having a preset association relation with the current page is acquired, and predicted waveform data is correspondingly generated; caching the predicted waveform data into a buffer; when a page switching operation is received, determining whether the cache buffers predicted waveform data corresponding to a target page corresponding to the page switching operation; and when the predicted waveform data corresponding to the target page is cached in the cache, reading the predicted waveform data corresponding to the target page from the cache for displaying so as to refresh and display the target page as a current page. By generating and caching the waveform data of the page which is possibly displayed next in advance, the generated waveform data can be read directly to finish page display when the page is switched actually, so that the time for generating the waveform data is reduced, the refreshing speed is accelerated, and the use experience of a user is improved.
Fig. 4 is a schematic structural diagram of a page display device according to an embodiment of the present invention. As shown in fig. 4, the page display apparatus includes a waveform data generating unit 210, a waveform data buffering unit 220, a page switching determining unit 230, and a data reading display unit 240.
The waveform data generating unit 210 is configured to, when a current page is displayed, obtain display data of an associated page having a preset association relationship with the current page, and generate predicted waveform data correspondingly; a waveform data buffering unit 220 for buffering the predicted waveform data into a buffer; a page switching determining unit 230, configured to determine whether the buffer caches predicted waveform data corresponding to a target page corresponding to a page switching operation when the page switching operation is received; a data reading and displaying unit 240, configured to, when the predicted waveform data corresponding to the target page is cached in the buffer, read the predicted waveform data corresponding to the target page from the buffer for displaying, so as to refresh and display the target page as a current page.
On the basis of the above embodiment, the page display device further includes:
the interactive state judging unit is used for acquiring the current interactive state, and the interactive state is confirmed according to the running state of the ink screen equipment and/or the interval state of interactive operation;
correspondingly, the waveform data generating unit 210 includes:
the first waveform data generation module is configured to, when a current page is displayed, determine that the current interaction state is a preset display interaction state, acquire display data of an associated page having a preset association relationship with the current page, and generate predicted waveform data correspondingly, where the preset display interaction state includes a standby state, a startup operation state, and a low-frequency interaction state.
On the basis of the above embodiment, in the standby state, the associated pages of the current page having the preset association relationship include all window pages of the started application before entering the standby state; in the starting running state, the current page is a window page of an application running in a foreground, and the associated pages with the preset association relationship in the current page comprise window pages of applications running in the background and applications frozen in the background.
On the basis of the above embodiment, the page display device further includes:
and the second waveform data generation unit is used for generating corresponding waveform data in real time to display the target page and caching the corresponding waveform data into the buffer if the predicted waveform data corresponding to the target page is not cached in the buffer.
On the basis of the above embodiment, the current page is a document page, and the preset association relationship includes a page structure relationship in the low-frequency interaction state;
correspondingly, the waveform data generating unit 210 includes:
and the document page waveform data generation module is used for acquiring display data of a page in a preset adjacent page number range of the current page and a page pointed by a page jump link when the current page is displayed, and correspondingly generating predicted waveform data.
On the basis of the above embodiment, the waveform data generation unit 210 includes:
the display data acquisition module is used for acquiring display data of an associated page with a preset association relation with a current page when the current page is displayed;
the cache state confirmation module is used for confirming a to-be-processed page in an associated page with a preset association relation in the current page, and the predicted waveform data corresponding to the to-be-processed page is not cached in the cache currently;
and the third waveform data generation module is used for generating predicted waveform data corresponding to the display data of the page to be processed.
On the basis of the above embodiment, the page display device further includes:
and the cache data emptying unit is used for emptying the corresponding predicted waveform data of the application in the cache when the current application is detected to exit.
The page display device provided by the embodiment of the invention is contained in the ink screen equipment, can be used for executing any page display method provided by the embodiment, and has corresponding functions and beneficial effects.
It should be noted that, in the embodiment of the page display apparatus, each unit and each module included in the page display apparatus are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Fig. 5 is a schematic structural diagram of an ink screen apparatus according to an embodiment of the present invention. As shown in fig. 5, the ink screen apparatus includes a processor 310, a memory 320, an input device 330, an output device 340, and a communication device 350; the number of processors 310 in the ink screen device may be one or more, and one processor 310 is taken as an example in fig. 5; the processor 310, the memory 320, the input device 330, the output device 340, and the communication device 350 in the ink screen apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 5.
The memory 320 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the text display edge processing method in the embodiment of the present invention (for example, the waveform data generating unit 210, the waveform data buffering unit 220, the page switching determining unit 230, and the data reading and displaying unit 240 in the page display device). The processor 310 executes various functional applications and data processing of the ink screen device by running software programs, instructions and modules stored in the memory 320, so as to implement the above-mentioned text display edge processing method.
The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the ink screen device, and the like. Further, the memory 320 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 320 may further include memory located remotely from processor 310, which may be connected to the ink screen device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 330 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the ink screen apparatus. The output device 340 in this embodiment is an ink screen, and may further include a sound output device or other display devices.
The ink screen equipment comprises a page display device, can be used for executing any page display method, and has corresponding functions and beneficial effects.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements related operations in the page display method provided in any embodiment of the present application, and has corresponding functions and beneficial effects.
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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
It is to be noted that the foregoing description is only exemplary of the invention and that the principles of the technology may be employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A page display method, comprising:
when a current page is displayed, acquiring display data of an associated page with a preset association relation with the current page, and correspondingly generating predicted waveform data;
caching the predicted waveform data into a buffer;
when page switching operation is received, whether the cache buffers predicted waveform data corresponding to a target page corresponding to the page switching operation is determined;
and when the predicted waveform data corresponding to the target page is cached in the cache, reading the predicted waveform data corresponding to the target page from the cache for displaying so as to refresh and display the target page as a current page.
2. The page display method according to claim 1, further comprising:
acquiring a current interaction state, wherein the interaction state is confirmed according to the running state of the ink screen equipment and/or the interval state of the interaction operation;
correspondingly, when the current page is displayed, acquiring display data of an associated page having a preset association relationship with the current page, and correspondingly generating predicted waveform data, including:
when a current page is displayed, the current interactive state is confirmed to be a preset display interactive state, display data of an associated page with a preset association relation with the current page are obtained, and predicted waveform data are correspondingly generated, wherein the preset display interactive state comprises a standby state and a starting running state.
3. The page display method according to claim 2, wherein in the standby state, the associated pages having the preset association relationship with the current page include all window pages of the started application before entering the standby state; in the starting-up running state, the current page is a window page of an application running in a foreground, and the associated pages with the preset association relationship in the current page comprise window pages of applications running in a background and frozen in the background.
4. The method according to claim 1, wherein after determining whether the buffer stores the predicted waveform data corresponding to the target page corresponding to the page switching operation when receiving the page switching operation, the method further comprises:
and if the predicted waveform data corresponding to the target page is not cached in the cache, generating corresponding waveform data in real time to display the target page, and caching the corresponding waveform data into the cache.
5. The page display method according to any one of claims 1 to 4, wherein said current page is a document page, and said preset association relationship includes a page structure relationship;
correspondingly, when the current page is displayed, obtaining display data of an associated page having a preset association relationship with the current page, and correspondingly generating predicted waveform data, including:
when a current page is displayed, display data of a page within a preset adjacent page number range of the current page and a page pointed by a page jump link are obtained, and predicted waveform data are correspondingly generated.
6. The page display method according to any one of claims 1 to 4, wherein, when displaying the current page, acquiring display data of an associated page having a preset association with the current page, and generating predicted waveform data correspondingly, further comprises:
when a current page is displayed, acquiring display data of an associated page with a preset association relation with the current page;
confirming a to-be-processed page in an associated page with a preset association relation in the current page, wherein predicted waveform data corresponding to the to-be-processed page is not cached in the cache currently;
and generating predicted waveform data corresponding to the display data of the page to be processed.
7. The page display method according to any one of claims 1 to 4, further comprising:
and when the exit of the current application is detected, emptying the corresponding predicted waveform data of the application in the buffer.
8. A page display apparatus, comprising:
the device comprises a waveform data generating unit, a waveform data generating unit and a waveform data generating unit, wherein the waveform data generating unit is used for acquiring display data of an associated page with a preset association relation with a current page when the current page is displayed and correspondingly generating predicted waveform data;
a waveform data caching unit for caching the predicted waveform data into a cache;
the page switching judging unit is used for confirming whether the buffer caches predicted waveform data corresponding to a target page corresponding to the page switching operation when the page switching operation is received;
and the data reading and displaying unit is used for reading the predicted waveform data corresponding to the target page from the buffer for displaying when the predicted waveform data corresponding to the target page is cached in the buffer, so that the target page is refreshed and displayed as a current page.
9. An ink screen apparatus, comprising:
an ink screen;
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the ink screen device to implement the page display method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a page display method as claimed in any one of claims 1 to 7.
CN202211394038.2A 2022-11-08 2022-11-08 Page display method, page display device, ink screen device and storage medium Active CN115509670B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211394038.2A CN115509670B (en) 2022-11-08 2022-11-08 Page display method, page display device, ink screen device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211394038.2A CN115509670B (en) 2022-11-08 2022-11-08 Page display method, page display device, ink screen device and storage medium

Publications (2)

Publication Number Publication Date
CN115509670A true CN115509670A (en) 2022-12-23
CN115509670B CN115509670B (en) 2023-06-27

Family

ID=84513713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211394038.2A Active CN115509670B (en) 2022-11-08 2022-11-08 Page display method, page display device, ink screen device and storage medium

Country Status (1)

Country Link
CN (1) CN115509670B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116229909A (en) * 2023-02-28 2023-06-06 广州文石信息科技有限公司 Device running state switching method and device, terminal device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442809A (en) * 2019-07-10 2019-11-12 北京天眼查科技有限公司 Loading method, device, equipment and the storage medium of page data
CN110633434A (en) * 2019-07-19 2019-12-31 北京无限光场科技有限公司 Page caching method and device, electronic equipment and storage medium
CN113806653A (en) * 2021-09-22 2021-12-17 未鲲(上海)科技服务有限公司 Page preloading method and device, computer equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002486A (en) * 2018-06-25 2018-12-14 武汉斗鱼网络科技有限公司 A kind of processing method that the page is shown, device, terminal and storage medium
CN109543127B (en) * 2018-11-26 2020-12-11 杭州安恒信息技术股份有限公司 Page refreshing method, device and equipment and readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442809A (en) * 2019-07-10 2019-11-12 北京天眼查科技有限公司 Loading method, device, equipment and the storage medium of page data
CN110633434A (en) * 2019-07-19 2019-12-31 北京无限光场科技有限公司 Page caching method and device, electronic equipment and storage medium
CN113806653A (en) * 2021-09-22 2021-12-17 未鲲(上海)科技服务有限公司 Page preloading method and device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116229909A (en) * 2023-02-28 2023-06-06 广州文石信息科技有限公司 Device running state switching method and device, terminal device and storage medium
CN116229909B (en) * 2023-02-28 2023-11-24 广州文石信息科技有限公司 Device running state switching method and device, terminal device and storage medium

Also Published As

Publication number Publication date
CN115509670B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
KR102323333B1 (en) Application data processing method and apparatus, and storage medium
US20170148422A1 (en) Refresh control method and apparatus of display device
CN108595242B (en) Page display method, electronic equipment and computer storage medium
JP2833546B2 (en) Liquid crystal display
CN103956145B (en) Terminal display mode determining method and apparatus
US11494071B2 (en) Method for displaying handwritten input content, electronic device and computer storage medium
US9880661B2 (en) Touch control driving method, touch control driving apparatus and touch control display device
CN115509670A (en) Page display method and device, ink screen equipment and storage medium
US9342450B2 (en) On-demand hypervisor memory mapping
CN114387930B (en) Data display system, method, device, equipment and readable storage medium
CN104020973A (en) Message display method and device
KR20190073350A (en) A method for dynamically reducing time from application rendering to on-screen in a desktop environment.
CN100378793C (en) Liquid crystal display displaying method and system
WO2023207903A1 (en) Lookup table processing method and apparatus
US8773442B2 (en) Aligning animation state update and frame composition
CN115588412B (en) Ink screen picture display method and device, terminal equipment and storage medium
CN112241303B (en) Image processing method and system, electronic device and storage medium
CN115312006A (en) Electronic ink screen driving method, ink screen equipment and storage medium
CN105159647A (en) Method and device for refreshing screen
CN116229909B (en) Device running state switching method and device, terminal device and storage medium
CN114928765A (en) Control method, control device, electronic equipment and readable storage medium
CN117153118A (en) Picture updating method, device and equipment of ink screen and storage medium
CN116560837A (en) Cache resource adjustment method and device, electronic equipment and readable storage medium
CN117290039A (en) Download control method and device and electronic equipment
CN117311967A (en) Memory processing method and device 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