A kind of method and system of e-book resource information Network Synchronization
Technical field
The present invention relates to the digital processing technology field, be specifically related to a kind of method and system of e-book resource information Network Synchronization, be mainly used in the aid reading infosystem of e-book integrated.
Background technology
Be accompanied by the propelling of computer technology and cybertimes, e-book has obtained using very widely in the productive life process.Meanwhile, with the Internet resources of books correlated knowledge point also in swift and violent growth.How resource and the e-book content that these are relevant combines closely in so immense network, thereby helps reader the fine huge challenge that the knowledge of accepting books becomes the current knowledge big bang epoch of understanding soon.
Along with e-book is widely used, people no longer are satisfied with simple " reading " when the reading electronic book nationality.Particularly for some specific occasions, see tourism electric magazine etc. such as the student study textbook, technician's reading technique article, visitor, people are when reading related text, image, often wish to see corresponding expansion data, when for example reading the textbook "The Analects of Confucius", if can be with the video of Confucius's head portrait picture, the introduction of Confucius's life, introduce the text resource and be associated with on e-book, the reader can represent these resources by clicking relevant connection, will improve well reading quality and effect.
Technology commonly used, be generally the form and corresponding browser in conjunction with the specific electron books at present, such as CEB and browser, PDF and the Acrobat browser etc. of Founder, can realize some interpolation annotations and comments, note etc., and its form is simple, and effect is not ideal enough.And resource and the e-book of relevant video, image, word are put together simply, allow reader oneself go to search, its effect also can be had a greatly reduced quality.In the multimedia goods that some multimedia authoring tools are produced, there are abundant mutual, resource to connect texts to the multimedia goods, but in e-book, still lack the interrelating effect of similar books-multimedia body resource at present.
Summary of the invention
For existing deficiency in prior art, the object of the present invention is to provide a kind of method and system of e-book resource information Network Synchronization, the method and system can combine books and related resource well in reading system, and do not affect the content of books itself, and facilitate user's access data in network environment.
In order to realize the foregoing invention purpose, the technical solution used in the present invention is as follows, and a kind of method of e-book resource information Network Synchronization comprises the following steps:
(1) set up e-book chapters and sections infologic structure, and this chapters and sections infologic structure is inserted in the resource structures storage medium;
(2) press the chapters and sections information of the chapters and sections infologic structure typing e-book described in step (1);
(3) set up the resource information logical organization, resource information logical organization and the chapters and sections information of described e-book are carried out related, and should association insert in the resource structures storage medium;
(4) add resource file and resource information, carry out relatedly with chapters and sections information simultaneously, and be inserted in the resource structures storage medium;
When (5) opening the books chapters and sections, by chapters and sections information retrieval local client or the webserver, showing resource listed files, and the source of recording each resource file;
When (6) checking resource, open this resource information according to the source of resource file.
Further, the chapters and sections infologic structure described in step (1) comprises: No. ID, title, affiliated books, the beginning page number, finish the page number and under chapters and sections ID.
Further, the resource structures storage medium described in step (1) is database table or XML.
Further, the resource information logical organization described in step (3) comprises: No. ID, No. ID, affiliated chapters and sections, store path, resource type.
Further, in step (4), to needing the resource information of long distance deposits and withdrawals, resource file and the resource information of this locality synchronously uploaded on the webserver.
Further, the resource file information described in step (4) is picture, audio frequency, video and/or document.
Further, in step (6), if described resource file is stored in the webserver, first downloads again by network and open, if described resource file has downloaded to the local terminal, directly open.
The present invention also provides a kind of system of e-book resource information Network Synchronization, comprises with lower device:
Chapters and sections infologic structure apparatus for establishing: be used for setting up e-book chapters and sections infologic structure, and this chapters and sections infologic structure is inserted in the resource structures storage medium;
Chapters and sections Data Enter device: be used for the chapters and sections Data Enter of e-book is arrived described chapters and sections infologic structure;
Associated apparatus: be used for setting up the resource information logical organization, resource information logical organization and the chapters and sections information of described e-book carried out related, and should association insert in the resource structures storage medium;
Adding set: be used for to add resource file and resource information, carry out relatedly with chapters and sections information simultaneously, and be inserted in the resource structures storage medium;
Exhibiting device: when being used for opening the books chapters and sections, by chapters and sections information retrieval local client or the webserver, showing resource listed files, and the source of recording each resource file;
Check device: when being used for checking resource, open this resource information according to the source of resource file.
Further, described chapters and sections infologic structure comprises No. ID, title, affiliated books, the beginning page number, finish the page number and under chapters and sections ID, described resource information logical organization comprises: No. ID, No. ID, affiliated chapters and sections, store path, resource type, described resource structures storage medium is database table or XML.
Effect of the present invention is: adopt method and system of the present invention, and in the process of user's reading electronic book nationality, the selectable resource (as: picture, video, document etc.) that is associated with current reading content of checking.For example, when the reader is reading text " The Zhaozhou Bridge ", can check the up-to-date picture of associated The Zhaozhou Bridge, the drawing of arch design, relevant nursery rhymes " little grazing cattle " etc.In addition, consider in network environment, the reader may in all case carry out the reading of books.On the basis of the function that the present invention states in realization, realized again resource is carried out the function of long distance deposits and withdrawals, be user-friendly to the full extent.
Description of drawings
Fig. 1 sets up the e-book content process flow diagram related with resource;
Fig. 2 is that the reader uses the process flow diagram of books when the reading electronic book nationality;
Fig. 3 is one page " "The Analects of Confucius" " example schematic in e-book;
Fig. 4 is the process flow diagram of the method for the invention.
Embodiment
Present invention is described below in conjunction with the drawings and specific embodiments.
As shown in Figure 4, a kind of method of e-book resource information Network Synchronization comprises the following steps:
The first step is set up the logical organization of chapters and sections and resource information storage medium, and this structure must be able to reflect the chapters and sections information of books.
In the present embodiment, described chapters and sections infologic structure comprises: No. ID, No. ID, affiliated books, the beginning page number, finish the page number, affiliated chapters and sections ID, as the needs long distance deposits and withdrawals, also need to set up this storage organization at the webserver except setting up at local storage medium.Its storage medium can be database, XML etc.
In the present embodiment, the minimum logical block in the reading logic that chapter, joint and the books of e-book are relevant extracts, in the storage mediums such as data inserting storehouse or XML.
The chapters and sections information of the books that second step will use by the typing of structure shown in the first step.Such as the chapters and sections logical message of seven grades first volume Chinese language second unit the 10th classes of people education publishing house is as follows:
No. ID: 111001
Title: ten of "The Analects of Confucius"
No. ID, affiliated books: books are at No. ID of current system
The beginning page number: 43
Finish the page number: 46
Affiliated chapters and sections ID:111002 (ID of Unit the 2nd, this class belongs to Unit the 2nd).
The 3rd step was set up resource storage structure, this architecture logic information comprise resource type, title, path and with the related information of e-book chapters and sections information so that can be in the use procedure of e-book can association on.
In the present embodiment, described resource information logical organization comprises: No. ID, No. ID, affiliated chapters and sections, store path, resource type.Above structure has been arranged, just can find the chapters and sections information under the current page number in the process of e-book page turning, then showed the user by the chapters and sections information searching to corresponding resource.
When adding resource file to the chapters and sections information association of relevant books, and with resource information (title, classification, path etc.) the association storage medium such as data inserting storehouse or xml together in
The chapters and sections of the 4th step for corresponding books add resource file, and resource information is inserted local and the defined resource structures storage medium of the webserver (as database table).
For example will add resource " Confucius's story " .doc document to ten of the described text "The Analects of Confucius" of second step, corresponding resource information is as follows:
No. ID: 101
No. ID, affiliated chapters and sections: 111001
Store path: c: doc " Confucius's story " .doc
Resource format: doc
For the resource that needs long distance deposits and withdrawals, resource file and the resource information of this locality synchronously uploaded on the webserver, as shown in Figure 1.
The 5th step by information retrieval local client or the webservers such as numbering of chapters and sections, presented to the reader with the Resources list, and records the source of each resource, as shown in Figure 3 when opening a certain chapters and sections of e-book.
When the reader opens e-book and checks related resource, go out relevant resource according to the chapters and sections information of opening from local client or web server retrieves, and whether identify this resource in this locality be local resource.
The 6th step was opened this resource according to Data Source when the user checks resource.Download as need, first download and open again.
When the user checks resource, distinguish according to the source sign of resource whether this resource is remote resource, if so, download and open resource from the webserver of correspondence, as shown in Figure 2.
A kind of system of e-book resource information Network Synchronization comprises with lower device:
Chapters and sections infologic structure apparatus for establishing: be used for setting up e-book chapters and sections infologic structure, and this chapters and sections infologic structure is inserted in the resource structures storage medium;
Chapters and sections Data Enter device: be used for the chapters and sections Data Enter of e-book is arrived described chapters and sections infologic structure;
Associated apparatus: be used for setting up the resource information logical organization, resource information logical organization and the chapters and sections information of described e-book carried out related, and should association insert in the resource structures storage medium;
Adding set: be used for to add resource file and resource information, carry out relatedly with chapters and sections information simultaneously, and be inserted in the resource structures storage medium;
Exhibiting device: when being used for opening the books chapters and sections, by chapters and sections information retrieval local terminal or the webserver, showing resource listed files, and the source of recording each resource file;
Check device: when being used for checking resource, open this resource information according to the source of resource file.
To sum up, main idea of the present invention is 2 key elements.The first point, resource is related with books according to the chapters and sections information of e-book.Second point, when net environment was safeguarded and use this association, the present invention also was intended to be included.
It should be noted that; above-mentioned specific embodiment is only exemplary; under above-mentioned instruction of the present invention, those skilled in the art can carry out various improvement and distortion on the basis of above-described embodiment, and these improvement or distortion drop in protection scope of the present invention.It will be understood by those skilled in the art that top specific descriptions just in order to explain purpose of the present invention, is not for restriction the present invention.Protection scope of the present invention is limited by claim and equivalency range thereof.