[go: up one dir, main page]

CN107247691B - Text information display method and device, mobile terminal and storage medium - Google Patents

Text information display method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN107247691B
CN107247691B CN201710374617.3A CN201710374617A CN107247691B CN 107247691 B CN107247691 B CN 107247691B CN 201710374617 A CN201710374617 A CN 201710374617A CN 107247691 B CN107247691 B CN 107247691B
Authority
CN
China
Prior art keywords
text information
displayed
display
page
controlling
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
CN201710374617.3A
Other languages
Chinese (zh)
Other versions
CN107247691A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710374617.3A priority Critical patent/CN107247691B/en
Publication of CN107247691A publication Critical patent/CN107247691A/en
Application granted granted Critical
Publication of CN107247691B publication Critical patent/CN107247691B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing 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)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for displaying text information, a mobile terminal and a storage medium, wherein the method for displaying the text information comprises the following steps: acquiring first text information and attributes to be displayed of the first text information; generating an objective function according to the attribute to be displayed of the first text information, wherein the objective function is used for controlling the display of the first text information; injecting the target function into the first text information, and loading the first text information injected into the target function into the view control; and controlling the first text information to form a plurality of pages to be displayed according to the target function, and controlling the display of the plurality of pages to be displayed. According to the method and the device, the first text information injected into the objective function is loaded into the view control, the view control of each reading platform is used for analyzing and rendering the first text information, the reader based on each reading platform does not need to analyze and render, the load of the reader is reduced, the load burden of a memory is reduced, and the reader is rapid, efficient and light.

Description

Text information display method and device, mobile terminal and storage medium
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a text information display method and device, a mobile terminal and a storage medium.
Background
With the development of network technology and the improvement of the intelligent degree of the terminal device, a user can realize more and more functions through an application program in the terminal device, such as reading novels at a mobile phone end by using a reader.
The prior art exists for a variety of reading platforms, such as: the reader based on the above platforms can open EPub (Electronic Publication) format files. The method for opening the EPub format file mainly comprises the following steps: the method comprises the steps of firstly analyzing a section HTML (HyperText Markup Language) file of the EPub through a DOM (Document Object Model), obtaining the content and the attribute of each node, further obtaining text information and picture information, then typesetting the text information and the picture information to obtain paragraph information, and finally rendering the text information and the picture information through the DOM to obtain a page to be read.
However, in the course of research and practice on the prior art, the inventors of the present invention found that, due to the various kinds of HTML tags, the workload of the reader in DOM parsing is large, and the load of the reader is increased. Moreover, because interfaces of the platforms during DOM rendering are different, a plurality of sets of data structures to be rendered are required, the workload of rendering is huge, and the load burden of a memory is increased.
Disclosure of Invention
The invention aims to provide a text information display method, a text information display device, a mobile terminal and a storage medium, and aims to reduce the workload of a reader for analyzing and rendering an HTML file, reduce the load of the reader and reduce the load of a memory.
The invention provides a method for previewing an EPub file efficiently and quickly.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
a display method of text information comprises the following steps:
acquiring first text information and attributes to be displayed of the first text information;
generating an objective function according to the attribute to be displayed of the first text information, wherein the objective function is used for controlling the display of the first text information;
injecting the target function into the first text information, and loading the first text information injected into the target function into a view control; and
and controlling the first text information to form a plurality of pages to be displayed according to the target function, and controlling the display of the plurality of pages to be displayed.
In order to solve the above technical problems, embodiments of the present invention further provide the following technical solutions:
a display device of text information, comprising:
the first text information acquisition module is used for acquiring first text information and attributes to be displayed of the first text information;
the target function generating module is used for generating a target function according to the attribute to be displayed of the first text information, wherein the target function is used for controlling the display of the first text information;
the target function injection module is used for injecting the target function into the first text information;
the first text information loading module is used for loading the first text information injected into the target function into the view control;
and the page display module is used for controlling the first text information to form a plurality of pages to be displayed according to the target function and controlling the display of the plurality of pages to be displayed.
In order to solve the above technical problems, embodiments of the present invention further provide the following technical solutions:
a mobile terminal comprising a memory, a processor and a computer program stored in said memory and executable in said process, said processor implementing the steps in the method of displaying text information as described in any one of the above when executing said computer program.
In order to solve the above technical problems, embodiments of the present invention further provide the following technical solutions:
a storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the method for displaying text information as claimed in any one of the above.
Compared with the prior art, the method and the device for displaying the text information have the advantages that first text information and the attribute to be displayed of the first text information are obtained, and the target function is generated according to the attribute to be displayed of the first text information and is used for controlling the display of the first text information; then injecting a target function into first text information, and loading the first text information injected into the target function into a view control; and finally, controlling the first text information to form a plurality of pages to be displayed according to the target function, and controlling the display of the plurality of pages to be displayed. Therefore, the embodiment of the invention loads the first text information injected into the objective function into the view control, analyzes and renders the first text information by using the view control of each reading platform, and the reader based on each reading platform does not need to analyze and render, thereby reducing the load of the reader, reducing the load burden of the memory, and enabling the reader to be fast, efficient and light.
Drawings
The technical solution and other advantages of the present invention will become apparent from the following detailed description of specific embodiments of the present invention, which is to be read in connection with the accompanying drawings.
Fig. 1a is a scene schematic diagram of a display method of text information according to a first embodiment of the present invention;
fig. 1b is a schematic diagram of a display interface of a mobile terminal according to a first embodiment of the present invention;
FIG. 1c is a schematic diagram of a display interface of a reader according to a first embodiment of the present invention;
fig. 2a is a schematic flowchart of a method for displaying text information according to a second embodiment of the present invention;
FIG. 2b is a flowchart illustrating a text message display method according to a second embodiment of the present invention;
FIG. 3a is a schematic diagram of a main interface of a reader according to a third embodiment of the present invention;
FIG. 3b is a schematic diagram of a display interface of a reader according to a third embodiment of the present invention;
FIG. 3c is a schematic diagram of a display interface of a reader according to a third embodiment of the present invention;
fig. 4a is a schematic structural diagram of a display device for displaying text information according to a fourth embodiment of the present invention;
fig. 4b is a schematic structural diagram of a display device for displaying text information according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present invention are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.
In the description that follows, specific embodiments of the present invention are described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the invention have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, but on the contrary, it is to be understood that various steps and operations described hereinafter may be implemented in hardware.
The term "module" as used herein may be considered a software object executing on the computing system. The various components, modules, engines, and services described herein may be viewed as objects implemented on the computing system. The apparatus and method described herein are preferably implemented in software, but may also be implemented in hardware, and are within the scope of the present invention.
First embodiment
Referring to fig. 1a to fig. 1c, fig. 1a is a schematic view of a scene of a display method of text information according to an embodiment of the present invention, fig. 1b is a schematic view of a display interface of a mobile terminal according to an embodiment of the present invention, where the mobile terminal in fig. 1b is a mobile terminal 10 in the scene of the display method of text information in fig. 1a, and fig. 1c is a schematic view of a display interface of a reader according to an embodiment of the present invention, where the scene includes the mobile terminal 10, and the mobile terminal 10 may be a mobile phone client or a Personal Computer (PC) terminal, etc.
In the embodiment of the present invention, the mobile terminal 10 includes a reader 11 and a view control 12. The reader 11 is an application on the mobile terminal 10, such as a QQ reader, as shown in fig. 1b, the QQ reader 11 is displayed in a display interface 13 of the mobile terminal 10. The view control 12 is located in the mobile terminal 10, and the view control 12 is specifically used for loading a web page and an HTML file, for example, the view control 12 is a Webview view control.
In the method for displaying text information according to the embodiment of the present invention, first, the reader 11 on the mobile terminal 10 obtains an EPub file. The reader 11 on the mobile terminal 10 may directly download the EPub file from the server side of the reader 11, and the reader 11 on the mobile terminal 10 may also directly call the EPub file stored in the mobile terminal 10. The EPub file wraps the content in a zip compressed format. The EPub file may be applied to different reading platforms, such as a Windows reading platform, a Mac OS X reading platform, an iOS reading platform, an Android reading platform, a Windows Phone reading platform, and the like, where each reading platform includes a view control, such as a Webview view control.
In the specific implementation process, after the reader 11 on the mobile terminal 10 acquires the EPub file, the EPub file is decompressed, the publishing information, the directory information, the encryption information and the like of the EPub file are obtained according to the structure of the EPub file, the address of the HTML file corresponding to one or more chapters is obtained, and the HTML file is loaded according to the selection of the chapters by the user and the address of the HTML file corresponding to the chapters.
In a specific implementation process, after the reader 11 on the mobile terminal 10 obtains the HTML file, the reader 11 on the mobile terminal 10 obtains an attribute to be displayed of the HTML file, where the HTML file is specifically displayed in the reader 11, and the attribute to be displayed may also be an attribute displayed in the reader 11. Further, the HTML file is displayed in the reader 11 through the view control 12, and therefore, the attribute to be displayed may also be an attribute of a display area in the view control 12.
In the embodiment of the present invention, the attributes to be displayed include, but are not limited to: typesetting format, paragraph format, font, background, content search, display area jump, display area size, etc.
In a specific implementation process, the reader 11 on the mobile terminal 10 generates an objective function according to the display attribute of the HTML file, where the objective function is used to control the display of the first text information. The target function is specifically a CSS function, and the CSS (Cascading Style Sheets) is a Style sheet language and is used for describing the presentation of the HTML file. The CSS can not only statically modify the web page, but also dynamically format elements of the web page in coordination with various scripting languages.
In the embodiment of the present invention, the objective function corresponds to the attribute to be displayed, and the objective function includes, but is not limited to: a layout format setting function, a paragraph format setting function, a font setting function, a background setting function, a content search function, a display area skip function, a display area size setting function, and the like. Specifically, the objective function corresponds to the attribute to be displayed. The layout format setting function is used for controlling the layout format of the first text information, the paragraph format setting function is used for controlling the paragraph format of the first text information, the font setting function is used for controlling the font of the first text information, the background setting function is used for controlling the background of the first text information, the content searching function is used for controlling the content searching of the first text information, the display area skipping function is used for controlling the display area skipping of the first text information, and the display area size setting function is used for controlling the display area size of the first text information.
Such as: referring to fig. 1b and fig. 1c, the size of the display area of the display interface 14 of the reader 11 includes a display length and a display width, and the size of the visible area of the mobile terminal 10, that is, the size of the screen of the mobile terminal 10, which includes the display length and the display width, may be obtained first. In the embodiment of the present invention, the size of the display area is set as the size of the screen by the display area size setting function, and the size of the display interface 13 of the mobile terminal in fig. 1b is the same as the size of the display interface 14 of the reader in fig. 1 c. That is, the display length of the display area is the same as the display length of the screen, and the display width of the display area is the same as the display width of the screen. Accordingly, the display area of the reader 11 is the same size as the screen of the mobile terminal 10 when displaying the HTML file, so that the display area is maximized for the user to view the contents of the display area.
In a specific implementation process, after the reader 11 on the mobile terminal 10 maps the mutual correspondence between the attribute to be displayed and the objective function, the reader 11 on the mobile terminal 10 injects the objective function into the HTML file, so as to control the content display in the HTML file by controlling the objective function. Specifically, a typesetting format setting function, a paragraph format setting function, a font setting function, a background setting function, a content search function, a display area skip function, a display area size setting function, and the like are injected into the HTML file, and the typesetting and the display of the HTML file are controlled through an objective function.
In a specific implementation process, after the reader 11 on the mobile terminal 10 injects the target function into the HTML file, the reader 11 on the mobile terminal 10 loads the first text information injected into the target function into the Webview view control 12, and analyzes and renders the content in the HTML file through the Webview view control, without the need of analyzing and rendering the HTML file by the reader 11. Therefore, the embodiment of the invention uses the Webview control as a carrier, realizes the display of the EPub file by controlling the display area and the typesetting style of the Webview control in a mode of injecting a CSS function, and can ensure the realization of the EPub reader with high speed and light weight because a large amount of analysis and rendering of labels of the EPub file are avoided, and the development time, the later maintenance and other aspects are greatly improved compared with the existing method.
In a specific implementation process, the reader 11 on the mobile terminal 10 controls the first text information to form a plurality of pages to be displayed according to the objective function, and controls the display of the plurality of pages to be displayed.
Specifically, firstly, the content in the HTML file is loaded into the view control through the target function, then the view control analyzes and renders the content in the HTML file, the view control analyzes and renders the HTML file, and compared with the method that the DOM is adopted to analyze the complex data of the HTML file of sections of the EPub and render the complex typesetting, the method avoids the complex data analysis and rendering of the complex typesetting of the HTML file, does not need the reader to execute the analysis and rendering process, and saves the analysis and rendering process of the reader. And finally, executing an objective function, controlling the HTML file to form a plurality of pages 21 to be displayed, and controlling the display of the plurality of pages 21 to be displayed. Setting the HTML file through the target function, analyzing and rendering the HTML file through the view control, and directly loading the page 21 to be displayed in the HTML file into the view control 12 for displaying. Or the view control 12 is moved to the page to be displayed 21 to display the content in the page to be displayed 21.
Such as: and setting the content in the HTML file to be displayed in multiple columns by injecting the target function. The view control can be set to be one, and the page to be displayed is directly loaded into the view control to be displayed. The number of the view controls can be set to two, so that page turning operation is realized, and specifically, one view control is a view control which is displayed and is loaded with a page which is displayed; and the other view control is a view control to be displayed and is used for loading the page to be displayed.
Such as: the view control comprises a first view control and a second view control, the first view control is used for loading the page being displayed, and the second view control is used for loading the page to be displayed, so that the user can conveniently perform page turning operation. Specifically, in the reading process of the user, the first view control loads the page being displayed, the second view control loads the page to be displayed, the user turns over the page being displayed in the first view control when turning the page, the reader 11 displays the page to be displayed in the second view control, and at this time, the first view control loads the page to be displayed. The operation of page turning is realized by circulating in sequence.
It should be noted that, when a user reads a certain novel by using the reader 11, if the user reads the novel, the page to be displayed is loaded into the view control according to the instruction of the user. If the user reads a certain novel using the reader 11, if the user reads the same novel for the second time or the third time, the user automatically jumps to the page read last time when reading again. Specifically, the display attribute comprises a last displayed page, wherein the last displayed page is a last displayed page; and the reader 11 acquires the last displayed page and controls the display of the last displayed page according to the target function.
The method comprises the steps of firstly obtaining an EPub file, decompressing the EPub file to obtain an HTML file of a corresponding chapter, obtaining attributes to be displayed of the HTML file, and generating a target function according to the attributes to be displayed of the HTML file, wherein the target function is used for controlling the display of the HTML file; then injecting the target function into an HTML file, and loading the HTML file injected with the target function into the Webview control; and finally, controlling the HTML file to form a plurality of pages to be displayed according to the target function, and controlling the display of the pages to be displayed. The embodiment of the invention loads the HTML file injected with the objective function into the Webview control, analyzes and renders the HTML file by utilizing the Webview control of each reading platform, and the reader based on each reading platform does not need to analyze and render, thereby reducing the load of the reader, reducing the load of a memory and ensuring that the reader is fast, efficient and light.
Second embodiment
Referring to fig. 2a, fig. 2a is a flowchart illustrating a method for displaying text information according to an embodiment of the present invention. The display method of the text information comprises the following steps:
step S101: acquiring first text information and attributes to be displayed of the first text information.
Step S102: and generating an objective function according to the attribute to be displayed of the first text information, wherein the objective function is used for controlling the display of the first text information.
Step S103: and injecting the target function into the first text information, and loading the first text information injected into the target function into a view control.
Step S104: and controlling the first text information to form a plurality of pages to be displayed according to the target function, and controlling the display of the plurality of pages to be displayed.
In step S101, the reader 11 of the mobile terminal 10 obtains the first text information and the display attribute of the first text information, where the first text information is specifically an HTML file. The HTML file may be obtained by downloading the EPub file from the server side of the reader 11 and decompressing the EPub file, or may be obtained by directly calling the EPub file stored in the mobile terminal 10 and decompressing the EPub file. Please refer to the content of the HTML file obtained in the first embodiment for details, which are not described herein again. The display attribute may refer to the first embodiment, and is not described herein again. The HTML file is obtained, and the process proceeds to step S102.
In step S102, the reader 11 generates an objective function according to the attribute to be displayed of the first text message, where the objective function is used to control the display of the first text message. Please refer to the first embodiment for the objective function, which is not described herein. Please refer to the first embodiment for the corresponding relationship between the target function and the display attribute, which is not described herein again.
In step S103, the reader 11 injects the target function into the first text message, and loads the first text message injected into the target function into the view control. Wherein the view control is a Webview control. It should be noted that each reading platform includes a view control, and the analysis and rendering of the content in the HTML file are realized by injecting an objective function and using the view control provided in the reading platform, and the analysis and rendering of the content in the HTML file by the reader are not required, so that the process of analyzing and rendering the content in the HTML file by the reader is omitted. Please refer to the first embodiment, which is not described herein again for details of injecting the target function into the first text information and loading the first text information injected into the target function into the view control.
In step S104, the reader 11 controls the first text information to form a plurality of pages to be displayed according to the objective function, and controls the display of the plurality of pages to be displayed. The reader 11 controls the target function to directly load the page to be displayed in the HTML file into the view control for displaying. For details, please refer to the first embodiment, which is not described herein again.
In the embodiment of the present invention, the display attribute further includes a picture operation, such as picture editing, saving, sending and sharing. Correspondingly, the target function comprises a picture operation function, and the picture operation function is used for controlling picture editing, storage, sending and sharing and the like. Referring to fig. 2b, fig. 2b is a specific flowchart of a method for displaying text information according to an embodiment of the present invention, where the method for displaying text information further includes the steps of:
s201, the reader 11 obtains a click command. Such as: the user directly clicks on the display page of the reader 11.
S202, the reader 11 judges whether the selected object of the click command is a picture. Such as: in the clicking process, if the selected object of the user clicking instruction is a picture, the step S203 is executed; if the selected object of the user click command is not a picture but a text content, the text content can be directly edited, complicated and the like. Of course, if the selected object of the user click command is not a picture, the operation may not be performed.
S203, if the selected object of the click command is a picture, the reader 11 acquires the local address of the picture and displays the operation type for the user to select. During the reading process by the reader 11, the user downloads the read content to the mobile terminal 10, so that during the process of obtaining the picture, the user can directly obtain the local address of the picture without downloading again. The reader 11 acquires the local address of the picture, and also displays the operation type, for example, the operation type is: editing pictures, saving pictures, sharing pictures, etc. for selection by the user.
S204, the reader 11 executes corresponding operation according to the operation type selected by the user. Such as: and if the user selects the operation type for saving the picture, saving the picture into the folder selected by the user. For another example: and the user shares the pictures to the WeChat friends by selecting to share the pictures in the mode of the WeChat friends.
According to the embodiment of the invention, a user may have the requirement of editing and storing some pictures in the process of reading the EPub file, and the embodiment of the invention can execute corresponding operation types according to the requirement of the user, such as storing the pictures, sharing the pictures in a mode of WeChat friends or QQ friends, and the like.
The specific interaction process pseudo-function is as follows:
Figure BDA0001303680060000111
the method includes the steps that first text information and attributes to be displayed of the first text information are obtained, and a target function is generated according to the attributes to be displayed of the first text information, wherein the target function is used for controlling display of the first text information; then injecting a target function into first text information, and loading the first text information injected into the target function into a view control; and finally, controlling the first text information to form a plurality of pages to be displayed according to the target function, and controlling the display of the plurality of pages to be displayed. Therefore, the embodiment of the invention loads the first text information injected into the objective function into the view control, analyzes and renders the first text information by using the view control of each reading platform, and the reader based on each reading platform does not need to analyze and render, thereby reducing the load of the reader, reducing the load burden of the memory, and enabling the reader to be fast, efficient and light.
Third embodiment
The method described in the first and second embodiments will be described in further detail below by way of example.
Referring to fig. 3a to 3c, fig. 3a is a schematic diagram of a main interface of a reader according to a third embodiment of the present invention; FIG. 3b is a schematic diagram of a display interface of a reader according to a third embodiment of the present invention; fig. 3c is a schematic diagram of a display interface of a reader according to a third embodiment of the present invention. The display method of the text information comprises the following steps:
first, referring to fig. 3a, a user enters a main interface 111 of the reader 11, and selects an EPub file novel, such as "major Qin empire State (set edition)". The reader 11 obtains the fiction, "major Qin empire nations (outfit), decompresses the fiction," major Qin empire nations (outfit), through a decompression module, obtains publication information, directory information, encryption information and the like of the "major Qin empire nations (outfit), according to the constitution of the" major Qin empire nations (outfit), obtains addresses of HTML files corresponding to one or more chapters, and loads the HTML files according to selections of the chapters of a user and the addresses of the HTML files of the corresponding chapters.
Then, the reader 11 acquires the display attributes of the HTML, injects the initialized CSS function corresponding to the display attributes into the corresponding HTML file, loads the HTML file with the CSS function injected into the Webview view control, and analyzes and renders the content in the HTML file after the Webview view control is loaded. The reader based on each reading platform does not need to be analyzed and rendered, so that the load of the reader is reduced, the load burden of a memory is reduced, and the reader is rapid, efficient and light.
Finally, the reader 11 controls the HTML to form a plurality of pages to be displayed according to the CSS function, and controls the display of the plurality of pages to be displayed. Thus, the reader 11 loads the contents of the chapter in the empire of great Qin (jacket edition) so that the user can read the chapter in the empire of great Qin (jacket edition). The reader 11 calculates the paging through the CSS function to obtain the total page display length, generates a width setting CSS function according to the width displayed on a single page, injects the width setting CSS function, calculates the total number of chapters according to the width, and then displays the chapters.
When the user reads the novel < Daqin empire State (jacket edition) > for the first time, please refer to FIG. 3b, enter the copyright information interface 112 of the novel < Daqin empire State (jacket edition) > for the first time.
When the user has read the novel, "the capital of the Qin empire (the set edition)", the user executes the page jump CSS function according to the jump instruction, and jumps to the selected page, for example, referring to FIG. 3c, and jumps to the first chapter interface 113. Of course, if some chapters or dozens of chapters in the capital of the Qin empire (the suit edition) have been read, the last page read last time can be skipped to.
Fourth embodiment
In order to better implement the method for displaying the text information according to the embodiment of the present invention, an embodiment of the present invention further provides a device based on the method for displaying the text information. The terms are the same as in the above-described method for displaying text information, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 4a, fig. 4a is a schematic structural diagram of a display device for text information according to an embodiment of the present invention. Referring to fig. 1a to fig. 3c, a display device for text information according to an embodiment of the present invention may include: the system comprises a first text information acquisition module 301, an objective function generation module 302, an objective function injection module 303, a first text information loading module 304 and a page display module 305.
In this embodiment of the present invention, the first text information obtaining module 301 is configured to obtain first text information and an attribute to be displayed of the first text information. The first text information is specifically an HTML file, and the first text information obtaining module 301 may first download an EPub file from the server side of the reader 11, and decompress the EPub file to obtain the HTML file, or may directly call the EPub file stored in the mobile terminal 10, and decompress the EPub file to obtain the HTML file. Please refer to the content of the HTML file obtained in the first embodiment for details, which are not described herein again. And the attribute to be displayed can also refer to the first embodiment, which is not described herein again.
In this embodiment of the present invention, the objective function generating module 302 is configured to generate an objective function according to the attribute to be displayed of the first text information, where the objective function is used to control display of the first text information. Please refer to the first embodiment for the objective function, which is not described herein. Please refer to the first embodiment for the corresponding relationship between the target function and the display attribute, which is not described herein again.
It should be noted that the apparatus for displaying text information according to the embodiment of the present invention further includes a visible area obtaining module 306, and the visible area obtaining module 306 is configured to obtain a display height and a display width of a visible area in the display device. The display device is a mobile terminal in the embodiment of the present invention, and please refer to the first embodiment for details, which are not described herein again. The visible area obtaining module 306 obtains the display height and the display width of the visible area, so that the size of the display area is set to the size of the visible area by the display area size setting function in the objective function, that is, the size of the display area is set to the size of the screen.
In this embodiment of the present invention, the objective function injection module 303 is configured to inject the objective function into the first text message. Please refer to the first embodiment for the content of the objective function injected into the first text message, which is not described herein again.
In the embodiment of the present invention, the first text information loading module 304 is configured to load the first text information injected into the target function into the view control. Wherein the view control is a Webview control. It should be noted that each reading platform includes a view control, and the analysis and rendering of the content in the HTML file are realized by injecting an objective function and using the view control provided in the reading platform, and the analysis and rendering of the content in the HTML file by the reader are not required, so that the process of analyzing and rendering the content in the HTML file by the reader is omitted. Please refer to the first embodiment for details, which are not described herein.
In this embodiment of the present invention, the page display module 305 is configured to control the first text information to form a plurality of pages to be displayed according to the objective function, and control display of the plurality of pages to be displayed. The first text information loading module 304 controls the target function to directly load the page to be displayed in the HTML file into the view control for displaying. For a specific application, please refer to the first embodiment, which is not described in detail herein.
Please refer to fig. 4b, where fig. 4b is a schematic structural diagram of a display apparatus for text information according to an embodiment of the present invention, the display apparatus for text information according to the embodiment of the present invention further includes: a click command obtaining module 307, a judging module 308, a local address obtaining module 309 and an executing module 310.
In the embodiment of the present invention, the click command obtaining module 307 is configured to obtain a click command. Such as: the user directly clicks on the display page of the reader 11.
In the embodiment of the present invention, the determining module 308 is configured to determine whether a selected object of the click instruction is a picture. Such as: in the clicking process, if the selected object of the user clicking instruction is a picture, acquiring a local address of the picture, and displaying an operation type for the user to select; if the selected object of the user click command is not a picture but a text content, the text content can be directly edited, complicated and the like. Of course, if the selected object of the user click command is not a picture, the operation may not be performed.
In the embodiment of the present invention, the local address obtaining module 309 is configured to obtain a local address of the picture, and display the operation type for the user to select. Specifically, when the determining module 308 determines that the selected object of the click instruction is a picture, the local address obtaining module 309 obtains a local address of the picture, and displays an operation type for the user to select. During the reading process by the reader 11, the user downloads the read content to the mobile terminal 10, so that during the process of obtaining the picture, the user can directly obtain the local address of the picture without downloading again. The local address obtaining module 309 of the reader 11 obtains the local address of the picture, and simultaneously displays the operation type, for example, the operation type is: editing pictures, saving pictures, sharing pictures, etc. for selection by the user. When the judging module 308 judges that the selected object of the click command is not a picture but a text content, the text content can be directly edited, complicated, and the like. Of course, if the selected object of the user click command is not a picture, the local address obtaining module 309 may not operate.
And the execution module 310 is configured to execute a corresponding operation according to the operation type selected by the user. Such as: if the user selects the operation type of saving the picture, the execution module 310 saves the picture in the folder selected by the user. For another example: if the user selects to share the picture in the way of the WeChat friend, the execution module 310 shares the picture to the WeChat friend of the user.
According to the embodiment of the invention, a user may have the requirement of editing and storing some pictures in the process of reading the EPub file, and the embodiment of the invention can execute corresponding operation types according to the requirement of the user, such as storing the pictures, sharing the pictures in a mode of WeChat friends or QQ friends, and the like. Thereby executing the corresponding operation type according to the user requirement.
In the embodiment of the present invention, first, a first text information obtaining module 301 obtains first text information and an attribute to be displayed of the first text information, and an objective function generating module 302 generates an objective function according to the attribute to be displayed of the first text information, where the objective function is used to control display of the first text information; then, the target function injection module 303 injects a target function into the first text information, and the first text information loading module 304 loads the first text information injected into the target function into the view control; finally, the page display module 305 controls the first text information to form a plurality of pages to be displayed according to the objective function, and controls the display of the plurality of pages to be displayed. Therefore, the embodiment of the invention loads the first text information injected into the objective function into the view control, analyzes and renders the first text information by using the view control of each reading platform, and the reader based on each reading platform does not need to analyze and render, thereby reducing the load of the reader, reducing the load burden of the memory, and enabling the reader to be fast, efficient and light.
Fifth embodiment
An embodiment of the present invention further provides a mobile terminal, in which the display device of text information according to the embodiment of the present invention may be integrated, as shown in fig. 5, which shows a schematic structural diagram of the mobile terminal according to the embodiment of the present invention, specifically:
the mobile terminal may include Radio Frequency (RF) circuitry 401, memory 402 including one or more computer-readable storage media, input module 403, display module 404, sensor 405, audio circuitry 406, Wireless Fidelity (WiFi) module 407, processor 408 including one or more processing cores, and power supply 409. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 5 is not intended to limit the mobile terminal embodiments of the present invention and may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 401 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink information of a base station and then sending the received downlink information to the one or more processors 408 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 401 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 401 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 402 may be used to store software programs and modules, and the processor 408 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, an application program (such as a reader text display, a reader voice playing, etc.) required by at least one function, and the like; the storage data area may store data created according to the use of the application mobile terminal, and the like. Further, the memory 402 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 volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 408 and the input module 403 access to the memory 402.
The input module 403 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. Specifically, in one particular embodiment, input module 403 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 408, and can receive and execute commands from the processor 408. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to touch-sensitive surfaces, input module 403 may include other input devices. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display module 404 may be used to display information entered by or provided to the user as well as various graphical user interfaces of the application mobile terminal, which may be composed of graphics, text, icons, video, and any combination thereof. The Display module 404 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 408 to determine the type of touch event, and then the processor 408 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 5 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The mobile terminal may also include at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the application mobile terminal moves 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), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 406, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 406 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 406 and converted into audio data, which is then processed by the audio data output processor 408, and then transmitted to, for example, a terminal via the RF circuit 401, or the audio data is output to the memory 402 for further processing. The audio circuitry 406 may also include an ear-bud jack to provide communication of a peripheral headset with the application mobile terminal.
WiFi belongs to short distance wireless transmission technology, and the terminal can help the user to send and receive e-mail, browse web page and access streaming media etc. through WiFi module 407, it provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 407, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 408 is a control center of the mobile terminal, connects various parts of the mobile terminal through various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the mobile phone. Optionally, processor 408 may include one or more processing cores; preferably, the processor 408 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily the wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 408.
The mobile terminal also includes a power supply 409 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 408 via a power management system that may be configured to manage charging, discharging, and power consumption. The power supply 409 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the mobile terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 408 in the mobile terminal loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 408 runs the application program stored in the memory 402, thereby implementing various functions: acquiring first text information and attributes to be displayed of the first text information; generating an objective function according to the attribute to be displayed of the first text information, wherein the objective function is used for controlling the display of the first text information; injecting the target function into the first text information, and loading the first text information injected into the target function into a view control; and controlling the first text information to form a plurality of pages to be displayed according to the target function, and controlling the display of the plurality of pages to be displayed.
Preferably, the processor 408 is further configured to obtain a display height and a display width of a visible area in the display device; and controlling the display height and the display width of the page to be displayed according to the display height and the display width of the visible area in the display equipment.
Preferably, the processor 408 is further configured to obtain the last displayed page; and controlling the display of the last displayed page according to the target function.
Preferably, the processor 408 is further configured to obtain a click command; judging whether the selected object of the click command is a picture or not; if the selected object of the click instruction is a picture, acquiring a local address of the picture, and displaying an operation type for a user to select; and executing corresponding operation according to the operation type selected by the user.
As can be seen from the above, in the mobile terminal provided in this embodiment, first text information and an attribute to be displayed of the first text information are obtained, and an objective function is generated according to the attribute to be displayed of the first text information, where the objective function is used to control display of the first text information; then injecting a target function into first text information, and loading the first text information injected into the target function into a view control; and finally, controlling the first text information to form a plurality of pages to be displayed according to the target function, and controlling the display of the plurality of pages to be displayed. Therefore, the embodiment of the invention loads the first text information injected into the objective function into the view control, analyzes and renders the first text information by using the view control of each reading platform, and the reader based on each reading platform does not need to analyze and render, thereby reducing the load of the reader, reducing the load burden of the memory, and enabling the reader to be fast, efficient and light.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the display method for text information, and are not described herein again.
The mobile terminal provided in the embodiment of the present invention is, for example, a computer, a tablet computer, a mobile phone with a touch function, and the like, the display apparatus of the text information and the display method of the text information in the above embodiment belong to the same concept, and any method provided in the display method embodiment of the text information can be run on the display apparatus of the text information, and a specific implementation process thereof is described in the display method embodiment of the text information, and is not described herein again.
It should be noted that, for the method for displaying text information according to the present invention, a person skilled in the art may understand that all or part of the process of implementing the method for displaying text information according to the embodiment of the present invention may be completed by controlling related hardware through a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory of an application mobile terminal, and executed by at least one processor in the mobile terminal, and during the execution process, the process of implementing the embodiment of the method for displaying text information may be included. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the text information display device according to the embodiment of the present invention, each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
Sixth embodiment
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the methods for displaying text information provided by the embodiments of the present invention. For example, the instructions can be loaded by a processor to perform the steps of:
acquiring first text information and attributes to be displayed of the first text information; generating an objective function according to the attribute to be displayed of the first text information, wherein the objective function is used for controlling the display of the first text information; injecting the target function into the first text information, and loading the first text information injected into the target function into a view control; and controlling the first text information to form a plurality of pages to be displayed according to the target function, and controlling the display of the plurality of pages to be displayed.
Preferably, the following steps may also be performed: acquiring the display height and the display width of a visual area in display equipment; and controlling the display height and the display width of the page to be displayed according to the display height and the display width of the visible area in the display equipment.
Preferably, the following steps may also be performed: acquiring the last displayed page; and controlling the display of the last displayed page according to the target function.
Preferably, the following steps may also be performed: acquiring a click instruction; judging whether the selected object of the click command is a picture or not; if the selected object of the click instruction is a picture, acquiring a local address of the picture, and displaying an operation type for a user to select; and executing corresponding operation according to the operation type selected by the user.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any text information display method provided in the embodiment of the present invention, the beneficial effects that can be achieved by any text information display method provided in the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The method and the device for displaying text information provided by the embodiment of the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for displaying text information, comprising:
acquiring first text information and attributes to be displayed of the first text information, wherein the attributes to be displayed comprise the display height and the display width of a page to be displayed;
generating an objective function according to the attribute to be displayed of the first text information, wherein the objective function is used for controlling the display of the first text information;
injecting the target function into the first text information, and loading the first text information injected into the target function into a view control, wherein the view control is used for analyzing and rendering the content in the first text information injected into the target function; and
controlling the first text information to form a plurality of pages to be displayed according to the objective function, and controlling the display of the plurality of pages to be displayed, wherein the controlling the display of the plurality of pages to be displayed comprises: and controlling the display height and the display width of the page to be displayed according to the display height and the display width of the visible area in the display equipment.
2. The method according to claim 1, wherein the display attribute includes a last displayed page, wherein the last displayed page is a last displayed page;
the step of controlling the first text information to form a plurality of pages to be displayed according to the objective function and controlling the display of the plurality of pages to be displayed comprises the following steps:
acquiring the last displayed page;
and controlling the display of the last displayed page according to the target function.
3. The method for displaying the text information according to claim 1, wherein the view control includes a first view control and a second view control, the first view control is used for loading the page being displayed, and the second view control is used for loading the page to be displayed.
4. The method according to claim 1, wherein after the step of controlling the first text information to form a plurality of pages to be displayed according to the objective function and controlling the display of the plurality of pages to be displayed, the method further comprises:
acquiring a click instruction;
judging whether the selected object of the click command is a picture or not;
if the selected object of the click instruction is a picture, acquiring a local address of the picture, and displaying an operation type for a user to select;
and executing corresponding operation according to the operation type selected by the user.
5. A display device for text information, comprising:
the device comprises a first text information acquisition module, a second text information acquisition module and a display control module, wherein the first text information acquisition module is used for acquiring first text information and attributes to be displayed of the first text information, and the attributes to be displayed comprise the display height and the display width of a page to be displayed;
the target function generating module is used for generating a target function according to the attribute to be displayed of the first text information, wherein the target function is used for controlling the display of the first text information;
the target function injection module is used for injecting the target function into the first text information;
the first text information loading module is used for loading the first text information injected into the target function into a view control, and the view control is used for analyzing and rendering the content in the first text information injected into the target function;
a page display module, configured to control the first text information according to the objective function to form a plurality of pages to be displayed, and to control display of the plurality of pages to be displayed, where the controlling display of the plurality of pages to be displayed includes: and controlling the display height and the display width of the page to be displayed according to the display height and the display width of the visible area in the display equipment.
6. The apparatus for displaying text information according to claim 5, wherein the display attribute comprises a last displayed page, wherein the last displayed page is a last displayed page;
and the page display module is further used for acquiring the last displayed page and controlling the display of the last displayed page according to the objective function.
7. The apparatus of claim 5, wherein the view control comprises a first view control and a second view control, the first view control is used for loading the page being displayed, and the second view control is used for loading the page to be displayed.
8. The apparatus for displaying text information according to claim 5, further comprising:
the click command acquisition module is used for acquiring a click command;
the judging module is used for judging whether the selected object of the click command is a picture or not;
the local address acquisition module is used for acquiring the local address of the picture and displaying the operation type if the selected object of the click command is the picture;
and the execution module is used for executing corresponding operation according to the operation type selected by the user.
9. A mobile terminal, characterized by comprising a memory, a processor, and a computer program stored in the memory and executable in the process, the processor implementing the steps in the method of displaying text information according to any one of claims 1 to 4 when executing the computer program.
10. A storage medium storing a plurality of instructions adapted to be loaded by a processor for performing the steps of the method for displaying text information according to any one of claims 1 to 4.
CN201710374617.3A 2017-05-24 2017-05-24 Text information display method and device, mobile terminal and storage medium Active CN107247691B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710374617.3A CN107247691B (en) 2017-05-24 2017-05-24 Text information display method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710374617.3A CN107247691B (en) 2017-05-24 2017-05-24 Text information display method and device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107247691A CN107247691A (en) 2017-10-13
CN107247691B true CN107247691B (en) 2021-10-08

Family

ID=60016691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710374617.3A Active CN107247691B (en) 2017-05-24 2017-05-24 Text information display method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107247691B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388465A (en) * 2018-09-29 2019-02-26 五八有限公司 Method for drafting, device, computer equipment and the readable storage medium storing program for executing of view control
CN109634579B (en) * 2018-10-29 2023-08-22 平安科技(深圳)有限公司 Code generation method, device, computer device and storage medium
CN111626017A (en) * 2019-02-28 2020-09-04 阿里巴巴集团控股有限公司 Mobile terminal presentation method and device of EPub file
CN111899042B (en) * 2019-05-06 2024-04-30 广州腾讯科技有限公司 Malicious exposure advertisement behavior detection method and device, storage medium and terminal
US11714807B2 (en) * 2019-12-24 2023-08-01 Sap Se Platform for conversation-based insight search in analytics systems
CN113849249A (en) * 2020-06-28 2021-12-28 Oppo(重庆)智能科技有限公司 Text information display method and device, storage medium and electronic equipment
CN113157649B (en) * 2021-05-24 2025-04-25 北京字节跳动网络技术有限公司 A document search method, device, equipment, medium, and program product
CN114115777A (en) * 2021-11-19 2022-03-01 武汉虹信技术服务有限责任公司 Enhanced text display method based on android system
CN114442897B (en) * 2021-12-24 2023-12-15 北京幻想纵横网络技术有限公司 Text processing method and device, electronic equipment and storage medium
CN115759000B (en) * 2023-01-10 2023-05-12 深圳市英唐数码科技有限公司 Processing method and device of multi-format reader based on single engine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521280A (en) * 2011-11-26 2012-06-27 华为技术有限公司 Loading method and loading device of EPub electronic book
CN103761277A (en) * 2014-01-09 2014-04-30 北京掌阔技术有限公司 ePub electronic book loading method and system
CN104217037A (en) * 2012-04-23 2014-12-17 北京奇虎科技有限公司 Method and device for displaying web page in mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7228496B2 (en) * 2002-07-09 2007-06-05 Kabushiki Kaisha Toshiba Document editing method, document editing system, server apparatus, and document editing program
US8990219B2 (en) * 2011-12-21 2015-03-24 Peking University Founder Group Co., Ltd. Processing and publishing digital contents including encyclopedia
CN106682009B (en) * 2015-11-06 2020-03-06 北大方正集团有限公司 Method, device and mobile phone for generating EPUB browser page

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521280A (en) * 2011-11-26 2012-06-27 华为技术有限公司 Loading method and loading device of EPub electronic book
CN104217037A (en) * 2012-04-23 2014-12-17 北京奇虎科技有限公司 Method and device for displaying web page in mobile terminal
CN103761277A (en) * 2014-01-09 2014-04-30 北京掌阔技术有限公司 ePub electronic book loading method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
android epub 阅读器;iteye;《https://www.iteye.com/resource/d200605010426-4134217》;20120312;第1页 *
android 的 epub 用什么来排版渲染?;给立乐;《https://segmentfault.com/q/1010000000525944》;20140530;第1页 *

Also Published As

Publication number Publication date
CN107247691A (en) 2017-10-13

Similar Documents

Publication Publication Date Title
CN107247691B (en) Text information display method and device, mobile terminal and storage medium
CN111178012B (en) Form rendering method, device, equipment and storage medium
CN110795666B (en) Webpage generation method, device, terminal and storage medium
CN106775637B (en) Page display method and device for application program
US20180255346A1 (en) Bullet screen display method and apparatus
CN106780684B (en) Animation effect realization method and device
US20150301991A1 (en) Webapp startup method and device
CN105975190B (en) Graphical interface processing method, device and system
US20190213241A1 (en) Web page display method and apparatus, mobile terminal, and storage medium
US20150128033A1 (en) Method and apparatus for webpage browsing
US20150091935A1 (en) Method and device for browsing web under weak light with mobile terminal browser
CN110489679B (en) Browser kernel processing method and device and storage medium
CN108287918A (en) Method for playing music, device, storage medium based on five application page and electronic equipment
CN110020293B (en) Multimedia data display method, device and storage medium
CN105955739A (en) Graphical interface processing method, apparatus and system
CN104281568B (en) Paraphrasing display method and paraphrasing display device
CN115390707A (en) Sharing processing method and device, electronic equipment and storage medium
CN113313804A (en) Image rendering method and device, electronic equipment and storage medium
CN106156097B (en) Method and device for processing browser input records
CN108763544A (en) A display method and terminal
CN105095161B (en) Method and device for displaying rich text information
CN108182090B (en) Flash plug-in loading method and device based on blink kernel
CN106230919B (en) File uploading method and device
CN105631059B (en) Data processing method, data processing device and data processing system
CN114969588A (en) Document browsing method and device, electronic equipment and 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