CN113641279A - Android electronic paper book screen rapid display method and storage medium - Google Patents

Android electronic paper book screen rapid display method and storage medium Download PDF

Info

Publication number
CN113641279A
CN113641279A CN202110772660.1A CN202110772660A CN113641279A CN 113641279 A CN113641279 A CN 113641279A CN 202110772660 A CN202110772660 A CN 202110772660A CN 113641279 A CN113641279 A CN 113641279A
Authority
CN
China
Prior art keywords
displayed
page
display
screen
android
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.)
Pending
Application number
CN202110772660.1A
Other languages
Chinese (zh)
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.)
Rockchip Electronics Co Ltd
Original Assignee
Rockchip Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rockchip Electronics Co Ltd filed Critical Rockchip Electronics Co Ltd
Priority to CN202110772660.1A priority Critical patent/CN113641279A/en
Publication of CN113641279A publication Critical patent/CN113641279A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/025Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
    • G06F15/0291Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for reading, e.g. e-books
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method for quickly displaying an electronic paper book screen based on Android and a storage medium are disclosed, wherein the electronic paper book screen is driven by an Android architecture, the method comprises the following steps of obtaining a book opening instruction of a user, selecting a text file in a storage module according to the book opening instruction of the user, and reading contents to be displayed except display contents corresponding to a current page in the text file in advance when the display contents corresponding to the current page are displayed; through the technical scheme, the system can read the content to be displayed which possibly needs to be displayed in the next stage when the current content is displayed on the electronic paper book screen, waits for display through the synthesis operation in advance, can display in time when the content needs to be displayed, and finally achieves the technical effect of accelerating the display speed.

Description

Android electronic paper book screen rapid display method and storage medium
Technical Field
The invention relates to the field of electronic paper book processing, in particular to a method and a storage medium for rapidly displaying an Android electronic paper book screen.
Background
The electronic paper book is a paper-like reader and is short for electronic readers. The electronic book is considered to be an electronic reading product which provides a paper reading feeling by using an E-ink display technology.
The electronic book reading device is based on the latest display technology of electronic ink, is used for reading an electronic book just like a paper book, is comfortable and environment-friendly, and does not hurt eyes. While also possessing the characteristics of large capacity and portability.
Under the current technology, the refresh time reaches nearly 300ms due to the limitation of the physical characteristics of the electronic book eink screen itself. In addition, the interface of the system needs to be refreshed through drawing synthetic data conversion and android vsync synchronous frames, each frame needs 48ms for display, if the app is drawn slowly and exceeds 48ms, the time is up to 96ms later, and therefore user experience on refreshing the display is poor.
Disclosure of Invention
Therefore, a new display method and a storage medium of the e-book are needed to be provided to improve the display speed of the Android-based e-book screen.
In order to achieve the above object, the inventor provides an Android-based method for quickly displaying an electronic paper book screen, wherein the electronic paper book screen is driven by an Android architecture, the method comprises the following steps of obtaining a book opening instruction of a user, selecting a text file in a storage module according to the book opening instruction of the user, and reading contents to be displayed except for display contents corresponding to a current page in the text file in advance when the display contents corresponding to the current page are displayed;
and acquiring current display configuration information, calculating and configuring the read content to be displayed into a page to be displayed according to the current display configuration information, synthesizing the page to be displayed, and transmitting the page to be displayed to a screen for display through an eink interface.
And further, the method also comprises the steps of receiving a page changing instruction of a user, and transmitting the corresponding page to be displayed to a screen for display through an eink interface according to the page changing instruction of the user.
Specifically, the synthesizing of the page to be displayed includes the step of synthesizing the content to be displayed into the page to be displayed through a surfefinger function.
And further, the method also comprises the step of transmitting the page to be displayed to a screen for display through an eink interface after the page to be displayed is converted into the HWC data format.
A rapid display storage medium of an electronic paper book screen based on Android is stored with a computer program, wherein the electronic paper book screen is driven by an Android architecture, and the computer program is executed when the computer program is run, the method comprises the following steps of obtaining a book opening instruction of a user, selecting a text file in a storage module according to the book opening instruction of the user, and reading contents to be displayed except the display contents corresponding to the current page in the text file in advance when the display contents corresponding to the current page are displayed;
and acquiring current display configuration information, calculating and configuring the read content to be displayed into a page to be displayed according to the current display configuration information, synthesizing the page to be displayed, and transmitting the page to be displayed to a screen for display through an eink interface.
Further, when the computer program is operated, the computer program further executes the following steps of receiving a user page changing instruction, and transmitting the corresponding page to be displayed to a screen for display through an eink interface according to the user page changing instruction.
Specifically, the synthesizing of the page to be displayed includes the step of synthesizing the content to be displayed into the page to be displayed through a surfefinger function.
Further, when being executed, the computer program also executes the following steps of converting the HWC data format of the page to be displayed and transmitting the page to be displayed to a screen for display through an eink interface.
Through the technical scheme, the system can read the content to be displayed which possibly needs to be displayed in the next stage when the current content is displayed on the electronic paper book screen, waits for display through the synthesis operation in advance, can display in time when the content needs to be displayed, and finally achieves the technical effect of accelerating the display speed.
Drawings
Fig. 1 is a flowchart of an e-book display method according to an embodiment of the present invention.
Detailed Description
To explain technical contents, structural features, and objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Referring to fig. 1, fig. 1 shows a method for quickly displaying an electronic paper book screen based on Android, where the electronic paper book screen is driven by an Android architecture, any commercially available liquid crystal electronic paper book is selected from the electronic paper book screen, and due to a large screen refresh interval of the electronic paper book, in order to increase a screen display speed, the method includes the following steps, S100 obtains a book opening instruction of a user, S101 selects a text file in a storage module according to the book opening instruction of the user, and S102 also reads contents to be displayed other than display contents corresponding to a current page in the text file in advance when displaying the display contents corresponding to the current page;
s103, acquiring current display configuration information, calculating and configuring the read content to be displayed into a page to be displayed according to the current display configuration information, and synthesizing the page to be displayed, wherein the synthesis mainly refers to data format conversion and conversion into a data format required by an eink display interface. And S105, transmitting the page to be displayed to a screen for display through an eink interface. The configuration information includes page pixel size, font size, page margin, etc., and configures the content to be displayed into a page to be displayed according to the configuration information. The display contents of three pages before the current page, three pages after the current page and the tenth page before and after the current page can be configured in advance. And when the system needs to call different pages, sending the rendered page to be displayed to the eink interface for displaying.
Further, the method also comprises the step that S104 receives a user page changing instruction, and the corresponding page to be displayed is transmitted to a screen for display through an eink interface according to the user page changing instruction S105. The user page changing instruction can be collected through the touch screen module, and the user page changing instruction can be 'previous page', 'next page', 'previous 10 pages', 'next 10 pages', and the like. When the system receives a 'previous page' instruction, sending the previous page in the rendered pages to be displayed to a screen through an eink interface for displaying; and when a next page command is received, sending the next page in the rendered pages to be displayed to a screen through an eink interface for displaying, when a previous 10 pages command is received, sending the previous 10 th page in the rendered pages to be displayed to the screen through the eink interface for displaying, and when a next 10 pages command is received, sending the next 10 th page in the rendered pages to be displayed to the screen through the eink interface for displaying. The design scheme can also make the response more rapid after receiving the user instruction.
In other specific embodiments, the synthesizing of the page to be displayed includes synthesizing the content to be displayed into the page to be displayed through a surfefinger function. Or the page to be displayed is firstly converted through the Surfacefinger format, then is converted through the HWC data format, and then is transmitted to the screen for display through the eink interface. HWC (hwcomposer) is a HAL Layer module for window (Layer) synthesis and display in Android, used for color to black and white color window conversion in e-book, which may have no HWC data format conversion step when the default color matching of e-book does not need to be black and white.
The scheme also introduces an Android-based electronic paper book screen fast display storage medium, which stores a computer program, wherein the electronic paper book screen is driven by an Android architecture, and the computer program is executed when being operated, and comprises the following steps of obtaining a book opening instruction of a user, selecting a text file in a storage module according to the book opening instruction of the user, and reading contents to be displayed except for display contents corresponding to a current page in the text file in advance when displaying the display contents corresponding to the current page;
and acquiring current display configuration information, calculating and configuring the read content to be displayed into a page to be displayed according to the current display configuration information, synthesizing the page to be displayed, and transmitting the page to be displayed to a screen for display through an eink interface.
In a further embodiment, the computer program further executes the following steps when executed, and the steps include receiving a user page changing instruction, and transmitting a corresponding page to be displayed to a screen for display through an eink interface according to the user page changing instruction.
In other specific embodiments, the synthesizing of the page to be displayed includes synthesizing the content to be displayed into the page to be displayed through a surfefinger function.
In some further embodiments, the computer program when executed further performs the steps of converting the HWC data format of the page to be displayed and transmitting the converted page to the screen for display via the eink interface. It should be noted that, although the above embodiments have been described herein, the invention is not limited thereto. Therefore, based on the innovative concepts of the present invention, the technical solutions of the present invention can be directly or indirectly applied to other related technical fields by making changes and modifications to the embodiments described herein, or by using equivalent structures or equivalent processes performed in the content of the present specification and the attached drawings, which are included in the scope of the present invention.

Claims (8)

1. A method for quickly displaying an electronic paper book screen based on Android is characterized in that the electronic paper book screen is driven by an Android architecture, and the method comprises the following steps of obtaining a book opening instruction of a user, selecting a text file in a storage module according to the book opening instruction of the user, and reading contents to be displayed except display contents corresponding to a current page in the text file in advance when the display contents corresponding to the current page are displayed;
and acquiring current display configuration information, calculating and configuring the read content to be displayed into a page to be displayed according to the current display configuration information, synthesizing the page to be displayed, and transmitting the page to be displayed to a screen for display through an eink interface.
2. The Android-based e-book screen quick display method of claim 1, further comprising the steps of receiving a user page change instruction, and transmitting a corresponding page to be displayed to a screen for display through an eink interface according to the user page change instruction.
3. The Android-based e-book screen quick display method according to claim 1, wherein the synthesizing of the page to be displayed includes a step of synthesizing the content to be displayed into the page to be displayed through a Surfacefinger function.
4. The Android-based e-book screen quick display method of claim 1, further comprising the step of converting the HWC data format of the page to be displayed and transmitting the converted page to a screen through an eink interface for display.
5. A storage medium for quickly displaying an electronic paper book screen based on Android is characterized in that a computer program is stored, the electronic paper book screen is driven through an Android architecture, and the computer program is executed when the computer program is run, wherein the computer program comprises the following steps of obtaining a book opening instruction of a user, selecting a text file in a storage module according to the book opening instruction of the user, and reading contents to be displayed except display contents corresponding to a current page in the text file in advance when displaying the display contents corresponding to the current page;
and acquiring current display configuration information, calculating and configuring the read content to be displayed into a page to be displayed according to the current display configuration information, synthesizing the page to be displayed, and transmitting the page to be displayed to a screen for display through an eink interface.
6. The Android-based e-book screen fast display storage medium of claim 5, wherein the computer program, when executed, further performs the steps of receiving a user page change instruction, and transmitting a corresponding page to be displayed to a screen for display through an eink interface according to the user page change instruction.
7. The Android-based e-book screen quick display storage medium of claim 5, wherein the synthesizing of the page to be displayed comprises a step of synthesizing the content to be displayed into the page to be displayed through a Surfacefinger function.
8. The Android-based e-book screen quick display storage medium of claim 5, wherein the computer program, when executed, further performs the step of transferring the page to be displayed to a screen display through an eink interface after the page is converted into the HWC data format.
CN202110772660.1A 2021-07-08 2021-07-08 Android electronic paper book screen rapid display method and storage medium Pending CN113641279A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110772660.1A CN113641279A (en) 2021-07-08 2021-07-08 Android electronic paper book screen rapid display method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110772660.1A CN113641279A (en) 2021-07-08 2021-07-08 Android electronic paper book screen rapid display method and storage medium

Publications (1)

Publication Number Publication Date
CN113641279A true CN113641279A (en) 2021-11-12

Family

ID=78416893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110772660.1A Pending CN113641279A (en) 2021-07-08 2021-07-08 Android electronic paper book screen rapid display method and storage medium

Country Status (1)

Country Link
CN (1) CN113641279A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005010828A (en) * 2003-06-16 2005-01-13 Fuji Xerox Co Ltd Electronic data distribution system and distribution management server and client terminal and program integrated into client terminal
CN102136251A (en) * 2010-01-26 2011-07-27 上海易狄欧电子科技有限公司 Electronic book page turning method and electronic book reader
CN106095258A (en) * 2016-06-07 2016-11-09 Tcl移动通信科技(宁波)有限公司 A kind of e-book based on mobile terminal is skipped method and system
CN107728988A (en) * 2017-10-12 2018-02-23 青岛海信移动通信技术股份有限公司 Content display method and device for ink screen
CN108595242A (en) * 2017-06-05 2018-09-28 掌阅科技股份有限公司 Page display method, electronic equipment and computer storage media
WO2021121052A1 (en) * 2019-12-17 2021-06-24 华为技术有限公司 Multi-screen cooperation method and system, and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005010828A (en) * 2003-06-16 2005-01-13 Fuji Xerox Co Ltd Electronic data distribution system and distribution management server and client terminal and program integrated into client terminal
CN102136251A (en) * 2010-01-26 2011-07-27 上海易狄欧电子科技有限公司 Electronic book page turning method and electronic book reader
CN106095258A (en) * 2016-06-07 2016-11-09 Tcl移动通信科技(宁波)有限公司 A kind of e-book based on mobile terminal is skipped method and system
CN108595242A (en) * 2017-06-05 2018-09-28 掌阅科技股份有限公司 Page display method, electronic equipment and computer storage media
CN107728988A (en) * 2017-10-12 2018-02-23 青岛海信移动通信技术股份有限公司 Content display method and device for ink screen
WO2021121052A1 (en) * 2019-12-17 2021-06-24 华为技术有限公司 Multi-screen cooperation method and system, and electronic device

Similar Documents

Publication Publication Date Title
CN105867931B (en) The variation and device at information displaying interface
JP4850277B2 (en) Scroll display program, apparatus and method, and electronic terminal equipped with scroll display apparatus
US9239696B2 (en) Controlling complementary bistable and refresh-based displays
WO2013051218A1 (en) Information processing apparatus, method, and program
US20130283157A1 (en) Digital comic viewer device, digital comic viewing system, non-transitory recording medium having viewer program recorded thereon, and digital comic display method
CN111586237B (en) Image display method and electronic equipment
JP5374873B2 (en) Information processing apparatus, information processing system, computer program, and information processing method
US11003680B2 (en) Method for providing e-book service and computer program therefor
WO2020221073A1 (en) Method for content translation and terminal
US20140368869A1 (en) Method of printing web page by using mobile terminal and mobile terminal for performing the method
CN101547252A (en) Communication device and information inputting method
CN112115678A (en) Information display method and device, storage medium and electronic equipment
CN105956133B (en) Method and device for displaying file on intelligent terminal
CN102222059A (en) Method, device and system for realizing multi-format information display of electronic reader
CN111338593B (en) Screen projection display information method, reading terminal and storage medium
CN113450733A (en) Screen refreshing method, display system and user equipment
CN113641279A (en) Android electronic paper book screen rapid display method and storage medium
CN116579296A (en) B/S architecture electronic document preview processing method, device, medium and equipment
CN102346538A (en) Computer system
US9727210B2 (en) User terminal device for supporting data share function and methods thereof
CN106873880A (en) Electronic writing method and device
US20210073458A1 (en) Comic data display system, method, and program
CN116795243A (en) Label printing method and system, computer equipment and medium
CN114237789A (en) Uni-app-based adaptive framework meeting appropriate aging and using method
CN113703699B (en) Real-time output method and device for electronic file

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