CN105786515B - Electronic book file, generation processing method and opening processing method thereof - Google Patents

Electronic book file, generation processing method and opening processing method thereof Download PDF

Info

Publication number
CN105786515B
CN105786515B CN201610114233.3A CN201610114233A CN105786515B CN 105786515 B CN105786515 B CN 105786515B CN 201610114233 A CN201610114233 A CN 201610114233A CN 105786515 B CN105786515 B CN 105786515B
Authority
CN
China
Prior art keywords
electronic book
file
software
opened
size
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
CN201610114233.3A
Other languages
Chinese (zh)
Other versions
CN105786515A (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201610114233.3A priority Critical patent/CN105786515B/en
Publication of CN105786515A publication Critical patent/CN105786515A/en
Application granted granted Critical
Publication of CN105786515B publication Critical patent/CN105786515B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an electronic book file, a generating processing method and an opening processing method thereof, wherein the electronic book comprises the following components: an electronic book head, an electronic book body; the electronic book head is provided with electronic book software type information which can be opened and is supported by the electronic book file and an address corresponding to each electronic book software: the electronic book main body is formed by sequentially storing original electronic book file contents which can be opened by various electronic book software. The invention can ensure that a user can open all electronic books by only installing at least one electronic book reading software in the mobile terminal, thereby providing convenience for the user and simultaneously saving the space for installing various electronic book software in the mobile terminal.

Description

Electronic book file, generation processing method and opening processing method thereof
Technical Field
The invention relates to the technical field of mobile terminals, in particular to an electronic book file, a generating processing method and an opening processing method thereof.
Background
At present, due to the portability of mobile terminals, more and more users use the mobile terminals to read electronic books during leisure time or waiting for cars, and common electronic book files have txt format, pdf format, word format and the like; different software is needed for correspondingly opening the formats; unless the user installs various reading software supporting all the formats in the mobile terminal, there may be a case where an electronic book of a certain format cannot be opened. Therefore, in the prior art, when a user obtains an electronic book file, the mobile terminal must have application software capable of opening the format installed therein, and the user can open the electronic book file, otherwise, the electronic book file cannot be opened, which is inconvenient for the user.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The invention provides an electronic book file, a generating and processing method and an opening processing method thereof, aiming at the technical problem that in the prior art, a mobile terminal must be provided with reading software supporting various electronic book formats to open various electronic book files downloaded by a user, so that the user can open all electronic books by only installing at least one electronic book reading software in the mobile terminal, convenience is provided for the user, and the space for installing various electronic book software in the mobile terminal is saved.
The technical scheme adopted by the invention for solving the technical problem is as follows:
an electronic book file, comprising: an electronic book head, an electronic book body;
the electronic book head is provided with electronic book software type information which can be opened and is supported by the electronic book file and an address corresponding to each electronic book software:
the electronic book main body is formed by sequentially storing original electronic book file contents which can be opened by various electronic book software.
An opening processing method for the electronic book file as described above includes:
j1, acquiring what type of electronic book software the electronic book file is currently opened;
j2, searching whether the electronic book software type exists in the electronic book head of the electronic book file, if so, executing a step J3, otherwise, prompting that the electronic book file cannot be opened;
j3, acquiring an address corresponding to the electronic book software in the electronic book head, and obtaining the corresponding electronic book content in the electronic book body from the address and opening the electronic book.
The method for processing opening of e-book files, wherein the step J1 includes: and acquiring a format supported by the used software for opening the electronic book, and converting the supported format into a corresponding label.
The method for processing opening of e-book files, wherein the step J2 includes:
j21, searching all content with mark head in the head of the electronic book, and adding the corresponding bytes to obtain a format label;
j22, judging which labels the electronic book file supports;
j23, when judging whether a label consistent with the format label of the electronic book software type of the currently opened electronic book file exists in the electronic book software formats of the labels supported by the electronic book file, if so, judging that the electronic book file can be opened by the current software; otherwise, prompting that the electronic book file cannot be opened.
The method for processing opening of e-book files, wherein the step J3 includes:
when the electronic book software format of the label supported by the electronic book file is judged to be consistent with the format label of the electronic book software type of the currently opened electronic book file;
acquiring the address after the corresponding label, then acquiring the byte number with the corresponding size, and controlling to open the electronic book content corresponding to the electronic main body; the byte number of the corresponding size is obtained by subtracting the content after the label from the content after the next label of the label.
A method for generating and processing the electronic book file as described above, wherein the method includes:
s1, respectively obtaining original electronic book files which can be opened on each electronic book software and software type information of each original electronic book file;
s2, synthesizing the obtained original electronic book files: sequentially generating the obtained software type information of each original electronic book file and the initial address of each electronic book main body to generate an electronic book head; the electronic book head includes: the electronic book head is provided with electronic book software type information which can be opened and is supported by the electronic book file and an address corresponding to each original electronic book software;
s3, generating an electronic book main body, and sequentially storing the main body contents of the obtained original electronic book files in sequence, wherein the electronic book main body comprises the original electronic book file main body which can be opened by various electronic book software; to complete the composition of the original e-book files.
The method for generating and processing electronic book files is characterized in that step S1 specifically includes:
acquiring original electronic book files which can be opened by various software: OS1_ sw _ file, OS2_ sw _ file, OS3_ sw _ file … OSn _ sw _ file, respectively, wherein OS1_ sw _ file can be opened by e-book OS1, OS2_ sw _ file can be opened by e-book OS2, OS3_ sw _ file can be opened by e-book OS3 and OS … OSn _ sw _ file can be opened by e-book OSn.
The method for generating and processing the electronic book file, wherein the step S2 specifically includes:
the e-book head is generated as follows:
OS1:sw_real_base + 0;
OS2:sw_real_base + OS1_sw_file_size;
OS3:sw_real_base + OS1_sw_file_size + OS2_sw_file_size;
OSn:sw_real_base + OS1_sw_file_size + OS2_sw_file_size…+ OSn-1_sw_file_size
wherein, sw _ real _ base is the initial address of the main body of the electronic book and is the size of the head of the electronic book; OS1_ sw _ file _ size is the file size of OS1_ sw _ file, OS2_ sw _ file _ size is the file size of OS2_ sw _ file, OS3_ sw _ file _ size is the file size of OS3_ sw _ file, and OSn _ sw _ file _ size is the file size of OSn _ sw _ file.
The method for generating and processing the electronic book file, wherein the step S3 specifically includes:
generating an electronic book main body:
OS1_sw_file;
OS2_sw_file;
OS3_sw_file;
the e-book body is the original e-book file content that can be opened by three e-book software: the OS1_ sw _ file, the OS2_ sw _ file and the OS3_ sw _ file are sequentially formed.
The method has the advantages that the electronic book file, the generating and processing method and the opening processing method thereof are provided, and the method obtains the electronic book software of the currently opened electronic book; searching whether the electronic book software exists in the electronic book head part of the electronic book file, if so, acquiring an address corresponding to the electronic book software in the electronic book head part, obtaining corresponding electronic book content in the electronic book main body from the address and opening the electronic book content, and otherwise, prompting that the electronic book file cannot be opened; and acquiring an address corresponding to the electronic book software in the head part of the electronic book, and obtaining and opening electronic book content corresponding to the electronic book main body from the address. Therefore, the mobile terminal of the user can open the electronic book file without installing various electronic book software, and convenience is provided for the user.
Drawings
FIG. 1 is a schematic diagram of a frame structure of an electronic book file according to a preferred embodiment of the invention.
FIG. 2 is a schematic diagram of a structure of an electronic book head and an electronic book main frame of an electronic book file according to a preferred embodiment of the invention.
Fig. 3 is a schematic structural diagram of an electronic book head and an electronic book body frame of an embodiment of an electronic book file according to the present invention.
FIG. 4 is a schematic diagram of a software header and label comparison structure of an electronic book file according to a preferred embodiment of the invention.
FIG. 5 is a flowchart illustrating a method for generating an electronic book file according to another preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides an electronic book file, a generating and processing method thereof and an opening processing method thereof aiming at the problem that in the prior art, a mobile terminal must be provided with reading software supporting various electronic book formats to open various electronic book files downloaded by a user, so that the user can open all electronic books by only installing at least one electronic book reading software in the mobile terminal, convenience is provided for the user, and the space for installing various electronic book software in the mobile terminal is saved.
The embodiment of the invention provides an electronic book file, a generation processing method and an opening processing method thereof, wherein the electronic book file specifically comprises the following steps:
referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic book file according to a preferred embodiment of the invention.
As shown in fig. 1, the electronic book file according to the embodiment of the present invention includes: an electronic book head; an electronic book body.
For example, a clear electronic book head and an electronic book body; fig. 2 shows an example, which is an electronic book file, the electronic book file supports three types of software (OS 1, OS2, OS3, and the OS is abbreviated as open software herein), and the electronic book header of the electronic book file is specific to the electronic book software supported by the electronic book file (i.e., the electronic book software in which the electronic book file is opened) and an address corresponding to each electronic book software.
Taking the example that the electronic book file shown in fig. 2 supports three types of software, generating the electronic book file that supports simultaneous opening of multiple electronic book software described herein includes the following steps:
a1, obtaining original electronic book files which can be opened on the three types of software: OS1_ sw _ file, OS2_ sw _ file, OS3_ sw _ file. The OS1_ sw _ file can be opened by the electronic book OS1, the OS2_ sw _ file can be opened by the electronic book OS2, and the OS3_ sw _ file can be opened by the electronic book OS 3.
A2, generating the head of the electronic book as follows:
OS1:sw_real_base + 0;
OS2:sw_real_base + OS1_sw_file_size;
OS3:sw_real_base + OS1_sw_file_size + OS2_sw_file_size;
wherein sw _ real _ base is the starting address of the main body of the electronic book (the position indicated by 1 in fig. 2 and the position indicated by 2 in fig. 3), and is also the size of the head of the electronic book; OS1_ sw _ file _ size is the file size of OS1_ sw _ file, OS2_ sw _ file _ size is the file size of OS2_ sw _ file, and OS3_ sw _ file _ size is the file size of OS3_ sw _ file.
A3, generating an electronic book main body:
OS1_sw_file;
OS2_sw_file;
OS3_sw_file;
the electronic book body is composed of three types of original electronic book files (hereinafter also referred to as electronic book contents) that can be opened by electronic book software: the OS1_ sw _ file, the OS2_ sw _ file and the OS3_ sw _ file are sequentially formed.
When the generated electronic book file is opened, the electronic book opening processing method comprises the following steps:
b1, acquiring what electronic book software the electronic book is currently opened;
b2, searching whether the electronic book software exists in the electronic book head of the electronic book file, if so, executing the step B3, otherwise, prompting that the electronic book file cannot be opened;
b3, acquiring the address corresponding to the electronic book software in the electronic book head, and obtaining the corresponding electronic book content in the electronic book body from the address and opening the electronic book.
In view of the above, the invention relates to an electronic book file, a generation processing method and an opening processing method thereof, wherein the method comprises the steps of acquiring which electronic book software currently opens the electronic book file; searching whether the electronic book software exists in the electronic book head part of the electronic book file, if so, acquiring an address corresponding to the electronic book software in the electronic book head part, obtaining corresponding electronic book content in the electronic book main body from the address and opening the electronic book content, and otherwise, prompting that the electronic book file cannot be opened; and acquiring an address corresponding to the electronic book software in the head part of the electronic book, and obtaining and opening electronic book content corresponding to the electronic book main body from the address. Therefore, the mobile terminal of the user can open the electronic book file without installing various electronic book software, and convenience is provided for the user.
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the electronic book file, the generation processing method thereof and the opening processing method thereof of the present invention are further described in detail by specific application embodiments as follows:
the following specific application embodiments of an electronic book file, a generation processing method thereof, and an opening processing method thereof are as follows:
in the specific application embodiment, the electronic book original files in the formats of word, pdf and txt form the electronic book file of the invention, and the electronic book file can be opened by any electronic book software supporting three formats (word, pdf and txt).
The electronic book file of the invention is composed of electronic book original files in the formats of word, pdf and txt as follows:
as shown in fig. 3, the electronic book file includes an electronic book header (software header) and an electronic book body (software body).
In the electronic book header (software header) of the embodiment shown in fig. 3, 0 xdeadbef 0026 is a reference number of a word format, as shown in fig. 4, that is, the word format is represented by 0 xdeadbef 0026 in the electronic book header; 0xdeadbeef0012 is a label of pdf format, that is, pdf format is represented by 0xdeadbeef0012 in the header of the electronic book; 0xdeadbeef0029 is the index of txt, i.e. the txt format is represented by 0xdeadbeef0029 in the header of the electronic book.
In the embodiment of fig. 3, in the electronic book header, sw _ real _ base is the starting address of the electronic book main body and is also the size of the electronic book header; word _ sw _ file _ size is the original ebook file size in word format, pdf _ sw _ file _ size is the original ebook file size in pdf format, and txt _ sw _ file _ size is the original ebook file size in txt format.
The electronic book body is composed of electronic book original files in the formats of word, pdf and txt in sequence; in the electronic book main body, word _ sw _ file is an electronic book original file in the existing word format; pdf _ sw _ file is an existing electronic book original file in pdf format; the txt _ sw _ file is an existing electronic book original file in txt format.
When the electronic book file shown in fig. 3 is opened, the steps are as follows:
step S10, obtaining the type of the e-book software (i.e. what kind of e-book software) of the currently opened e-book file.
Step S20, whether the electronic book software exists in the electronic book head of the electronic book file is searched, if yes, step S30 is executed, and if not, the electronic book file cannot be opened is prompted.
Step S30, obtaining an address corresponding to the electronic book software in the electronic book head, and obtaining the electronic book content corresponding to the electronic book main body from the address and opening the electronic book content.
Step S10, obtaining a format supported by the used software for opening the electronic book, and converting the format into a label corresponding to the supported software, for example, in this embodiment, the label 0xdeadbeef0012 represents pdf; as shown in fig. 4, when the format supported by the software for acquiring the used open e-book is pdf format, the reference number is 0xdeadbeef 0012.
The step S20 specifically includes:
j21, searching all content with mark head in the head of the electronic book, and adding the corresponding bytes to obtain a format label;
j22, judging which labels the electronic book file supports;
j23, when judging whether a label consistent with the format label of the electronic book software type of the currently opened electronic book file exists in the electronic book software formats of the labels supported by the electronic book file, if so, judging that the electronic book file can be opened by the current software; otherwise, prompting that the electronic book file cannot be opened.
Specifically, the content at the beginning of 0xdeadbe is searched in the electronic book body shown in fig. 3, and the format label is obtained by adding the following two bytes; looking up all the contents beginning with 0xdeadbeef in the main body of the electronic book shown in fig. 3 and adding the two bytes thereafter, it can know which label formats are supported by the electronic book file. By determining whether the label obtained in step S10 is present, it is possible to know whether the electronic book file can be opened by the current software.
The step S30 is specifically that when it is determined that the format label of the label supported by the electronic book file is consistent with the format label of the electronic book software type of the currently opened electronic book file;
acquiring the address after the corresponding label, then acquiring the byte number with the corresponding size, and controlling to open the electronic book content corresponding to the electronic main body; the byte number of the corresponding size is obtained by subtracting the content after the label from the content after the next label of the label.
For example, let word _ sw _ file _ size =0x111111 bytes, pdf _ sw _ file _ size =0x22222222 bytes, txt _ sw _ file _ size =0x3333 bytes;
the software header is as follows:
wherein, sw _ real _ base can be calculated in the following way:
the byte number of one label is 6, the byte number of word _ sw _ file _ size is 3, the byte number of pdf _ sw _ file _ size is 4, then
6 + 3+ [ sw _ real _ base/255] + [ (sw _ real _ base +0x111111)/255] + [ (sw _ real _ base +0x111111+0x 22222222222)/255 ] = sw _ real _ base, wherein [ ] represents an integer part; sw _ real _ base =26, i.e. 0x1a, is calculated.
The e-book body sequentially comprises a word _ sw _ file with 0x111111 bytes, a pdf _ sw _ file with 0x22222 bytes and a txt _ sw _ file with 0x3333 bytes.
A method for generating an electronic book file according to another embodiment, as shown in fig. 5, includes the following steps:
s100, original electronic book files which can be opened on electronic book software and software type information of the original electronic book files are obtained respectively.
For example: acquiring original electronic book files which can be opened by various software: OS1_ sw _ file, OS2_ sw _ file, OS3_ sw _ file … OSn _ sw _ file, respectively, wherein OS1_ sw _ file can be opened by e-book OS1, OS2_ sw _ file can be opened by e-book OS2, OS3_ sw _ file can be opened by e-book OS3 and OS … OSn _ sw _ file can be opened by e-book OSn.
In other words, in the embodiment of the present invention, the original electronic book files that can be opened on each electronic book software are obtained, and generally, the original electronic book files are electronic book files in common format, such as electronic book original files in the format of word, pdf, and txt.
S200, synthesizing the obtained original electronic book files: sequentially generating the obtained software type information of each original electronic book file and the initial address of each electronic book main body to generate an electronic book head; the electronic book head includes: the electronic book head is provided with electronic book software type information which can be opened and is supported by the electronic book file and an address corresponding to each original electronic book software;
wherein: the generation of the e-book head is specifically as follows:
OS1:sw_real_base + 0;
OS2:sw_real_base + OS1_sw_file_size;
OS3:sw_real_base + OS1_sw_file_size + OS2_sw_file_size;
OSn:sw_real_base + OS1_sw_file_size + OS2_sw_file_size…+ OSn-1_sw_file_size
wherein, sw _ real _ base is the initial address of the main body of the electronic book and is the size of the head of the electronic book; OS1_ sw _ file _ size is the file size of OS1_ sw _ file, OS2_ sw _ file _ size is the file size of OS2_ sw _ file, OS3_ sw _ file _ size is the file size of OS3_ sw _ file, and OSn _ sw _ file _ size is the file size of OSn _ sw _ file.
S300, generating an electronic book main body, and sequentially storing the main body contents of the obtained original electronic book files in sequence, wherein the electronic book main body comprises the original electronic book file main body which can be opened by various electronic book software; to complete the composition of the original e-book files.
Wherein, generating an electronic book main body:
OS1_sw_file;
OS2_sw_file;
OS3_sw_file;
the e-book body is the original e-book file content that can be opened by three e-book software: the OS1_ sw _ file, the OS2_ sw _ file and the OS3_ sw _ file are sequentially formed.
In summary, the electronic book file, the generation processing method thereof, and the opening processing method of the electronic book file are provided by the present invention, the method obtains what electronic book software is currently opened for the electronic book; searching whether the electronic book software exists in the electronic book head part of the electronic book file, if so, acquiring an address corresponding to the electronic book software in the electronic book head part, obtaining corresponding electronic book content in the electronic book main body from the address and opening the electronic book content, and otherwise, prompting that the electronic book file cannot be opened; and acquiring an address corresponding to the electronic book software in the head part of the electronic book, and obtaining and opening electronic book content corresponding to the electronic book main body from the address. Therefore, the mobile terminal of the user can open the electronic book file without installing various electronic book software, and convenience is provided for the user.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (8)

1. An opening processing method of an electronic book file, the electronic book file comprising: an electronic book head, an electronic book body;
the electronic book head is provided with electronic book software type information which can be opened and is supported by the electronic book file and an address corresponding to each electronic book software:
the electronic book main body is formed by sequentially storing original electronic book file contents which can be opened by various electronic book software; it is characterized by comprising:
j1, acquiring what type of electronic book software the electronic book file is currently opened;
j2, searching whether the electronic book software type exists in the electronic book head of the electronic book file, if so, executing a step J3, otherwise, prompting that the electronic book file cannot be opened;
j3, acquiring an address corresponding to the electronic book software in the electronic book head, and obtaining the corresponding electronic book content in the electronic book body from the address and opening the electronic book.
2. The method for processing opening of electronic book files according to claim 1, wherein the step J1 includes: and acquiring a format supported by the used software for opening the electronic book, and converting the supported format into a corresponding label.
3. The method for processing opening of electronic book files according to claim 1, wherein the step J2 includes:
j21, searching all content with mark head in the head of the electronic book, and adding the corresponding bytes to obtain a format label;
j22, judging which labels the electronic book file supports;
j23, judging whether a label consistent with a format label of the electronic book software type of the currently opened electronic book file exists in the electronic book software formats of the labels supported by the electronic book file, and if so, judging that the electronic book file can be opened by the current software; otherwise, prompting that the electronic book file cannot be opened.
4. The method for processing opening of electronic book files according to claim 1, wherein the step J3 includes:
when the electronic book software format of the label supported by the electronic book file is judged to be consistent with the format label of the electronic book software type of the currently opened electronic book file;
acquiring the address after the corresponding label, then acquiring the byte number with the corresponding size, and controlling to open the electronic book content corresponding to the electronic main body; the byte number of the corresponding size is obtained by subtracting the content after the label from the content after the next label of the label.
5. A method for generating and processing an electronic book file, wherein the electronic book file comprises: an electronic book head, an electronic book body;
the electronic book head is provided with electronic book software type information which can be opened and is supported by the electronic book file and an address corresponding to each electronic book software:
the electronic book main body is formed by sequentially storing original electronic book file contents which can be opened by various electronic book software; it is characterized by comprising:
s1, respectively obtaining original electronic book files which can be opened on each electronic book software and software type information of each original electronic book file;
s2, synthesizing the obtained original electronic book files: sequentially generating the obtained software type information of each original electronic book file and the initial address of each electronic book main body to generate an electronic book head;
and S3, generating an electronic book main body, and sequentially storing the main body contents of the obtained original electronic book files in sequence to complete the synthesis of the original electronic book files.
6. The method for generating and processing electronic book files according to claim 5, wherein the step S1 specifically includes: acquiring original electronic book files which can be opened by various software: OS1_ sw _ file, OS2_ sw _ file, respectively,
OS3_ sw _ file … OSn _ sw _ file; among them, OS1_ sw _ file can be opened by e-book OS1, OS2_ sw _ file can be opened by e-book OS2, OS3_ sw _ file can be opened by e-book OS3 …, and OSn _ sw _ file can be opened by e-book OSn.
7. The method for generating and processing the electronic book files according to claim 6, wherein the step S2 specifically includes: the e-book head is generated as follows:
OS1:sw_real_base+0;
OS2:sw_real_base+OS1_sw_file_size;
OS3:sw_real_base+OS1_sw_file_size+OS2_sw_file_size;
OSn:sw_real_base+OS1_sw_file_size+OS2_sw_file_size…+OSn-1_sw_file_size
wherein, sw _ real _ base is the initial address of the main body of the electronic book and is the size of the head of the electronic book; OS1_ sw _ file _ size is the file size of OS1_ sw _ file, OS2_ sw _ file _ size is the file size of OS2_ sw _ file, OSn-
1_ sw _ file _ size is the file size of OSn-1_ sw _ file.
8. The method for generating and processing the electronic book file according to claim 7, wherein the step S3 specifically includes generating an electronic book main body:
OS1_sw_file;
OS2_sw_file;
OS3_sw_file;
……
OSn_sw_file;
the content of original e-book files that the e-book body can open by various e-book software: OS1_ sw _ file,
OS2_ sw _ file, OS3_ sw _ file … OSn _ sw _ file.
CN201610114233.3A 2016-03-01 2016-03-01 Electronic book file, generation processing method and opening processing method thereof Active CN105786515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610114233.3A CN105786515B (en) 2016-03-01 2016-03-01 Electronic book file, generation processing method and opening processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610114233.3A CN105786515B (en) 2016-03-01 2016-03-01 Electronic book file, generation processing method and opening processing method thereof

Publications (2)

Publication Number Publication Date
CN105786515A CN105786515A (en) 2016-07-20
CN105786515B true CN105786515B (en) 2020-01-14

Family

ID=56386833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610114233.3A Active CN105786515B (en) 2016-03-01 2016-03-01 Electronic book file, generation processing method and opening processing method thereof

Country Status (1)

Country Link
CN (1) CN105786515B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006066446A1 (en) * 2004-12-21 2006-06-29 Zte Corporation A method and device for compatible loading of equipments software in distributed control system
KR20090016214A (en) * 2007-08-10 2009-02-13 에스케이 텔레콤주식회사 System for forming data format of electronic book, and apparatus for converting format applied to the same
CN101753529A (en) * 2008-12-09 2010-06-23 英华达(上海)电子有限公司 Method and system for providing self-adaption specification e-book and e-book reading device
CN102096752A (en) * 2009-12-10 2011-06-15 华为技术有限公司 Electronic book resource file downloading method and device
CN102768676A (en) * 2012-06-14 2012-11-07 腾讯科技(深圳)有限公司 Method and device for processing file with unknown format
CN102841750A (en) * 2012-07-18 2012-12-26 腾讯科技(深圳)有限公司 File opening method and device
CN103116586A (en) * 2011-11-17 2013-05-22 中国电信股份有限公司 Document reading achieving method, terminal, document conversion server and processing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140089779A1 (en) * 2012-09-26 2014-03-27 Chidopi Co., Ltd. Electronic Book Generation Method of Composite Layer and Hypertext Markup Language and Reading Program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006066446A1 (en) * 2004-12-21 2006-06-29 Zte Corporation A method and device for compatible loading of equipments software in distributed control system
KR20090016214A (en) * 2007-08-10 2009-02-13 에스케이 텔레콤주식회사 System for forming data format of electronic book, and apparatus for converting format applied to the same
CN101753529A (en) * 2008-12-09 2010-06-23 英华达(上海)电子有限公司 Method and system for providing self-adaption specification e-book and e-book reading device
CN102096752A (en) * 2009-12-10 2011-06-15 华为技术有限公司 Electronic book resource file downloading method and device
CN103116586A (en) * 2011-11-17 2013-05-22 中国电信股份有限公司 Document reading achieving method, terminal, document conversion server and processing system
CN102768676A (en) * 2012-06-14 2012-11-07 腾讯科技(深圳)有限公司 Method and device for processing file with unknown format
CN102841750A (en) * 2012-07-18 2012-12-26 腾讯科技(深圳)有限公司 File opening method and device

Also Published As

Publication number Publication date
CN105786515A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
CN103473067B (en) Built-in Linux subregion and data restoration method, system and system development method
CN105335137B (en) Method and apparatus for handling source file
WO2017067175A1 (en) Method, apparatus and device for loading elf file, and computer storage medium
US8707286B2 (en) Unique context-based code enhancement
CN107346284B (en) Application program detection method and detection device
JP2016519385A (en) Method for loading driver and embedded device
US10394756B2 (en) System and method for customizing archive of a device driver generator tool for a user
US20170139813A1 (en) Method and device for checking influence of deleting cache file, and mobile terminal
CN104011698B (en) Supplementary data is accessed based on the identifier derived from corresponding primary application program data
US20180364999A1 (en) Method and Device for Identifying File
CN109814948B (en) Method and device for hook on native layer function based on xposed framework and electronic device
CN110515641A (en) The update method of server firmware, apparatus and system
JP2009500770A (en) Apparatus, system and method for accessing persistent files in NON-EXECUTE-IN-PLACE flash memory
CN112817657B (en) Application program starting item loading method, device, system and storage medium
CN112198820B (en) Interrupt service implementation method, device, equipment and storage medium
CN112347142A (en) Data processing method and device
WO2019041891A1 (en) Method and device for generating upgrade package
CN107423291B (en) Data translation method and client device
CN110007945A (en) BIOS/firmware file method for refreshing, device, equipment and readable storage medium storing program for executing
CN105786515B (en) Electronic book file, generation processing method and opening processing method thereof
CN104484211A (en) Method and device for sharing mirror image document
CN111556127A (en) Wearable device upgrading method and related device
CN101777077B (en) Method for implementing file system of embedded device
CN113327639B (en) Firmware storage reading method and device based on LVGL
CN101770508B (en) Data access method in mobile communication terminal and equipment thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant