Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to realize book borrowing in a digital library system, an embodiment of the present invention provides a method for realizing digital book borrowing, and as shown in fig. 1, the method for realizing digital book borrowing in the embodiment includes:
101. the reading terminal acquires lent digital book information from a digital library system;
for example, the reading terminal may browse related web pages or search related information to obtain borrowed digital book information when accessing the digital library system.
102. The reading terminal determines the digital book to be borrowed according to the digital book information;
103. the reading terminal acquires the digital book from a digital library system;
for example, the reading terminal may send a borrowing request to the digital library system, so that the digital library system sends the digital book to the reading terminal according to the borrowing request. Alternatively, the reading terminal may send a reservation request to the digital library system, so that the digital library system sends the digital book to the reading terminal at an appropriate time according to the reservation request.
104. And when the reading terminal determines that the digital book does not exceed the borrowing period, reading the content information of the digital book.
For example, the reading terminal may determine whether the digital book exceeds the borrowing time limit according to the determination result of the digital library system on whether the digital book is overdue. Or, the reading terminal may also determine whether the digital book exceeds the borrowing time limit according to a local time record of the borrowed time of the digital book. And only when the reading terminal determines that the digital book does not exceed the borrowing time limit, the reading terminal can open the digital book file and read the content of the digital book file.
According to the method for borrowing the digital books, provided by the embodiment of the invention, the borrowing digital book information is obtained from the digital library system through the reading terminal, the digital books needing to be borrowed are determined according to the digital book information, then the digital books are obtained from the digital library system, and the content information of the digital books is read when the digital books are determined not to exceed the borrowing period, so that the books are borrowed in the digital library system, the seamless combination of the reading terminal and the digital library system is realized, the reading requirement of a user is met, and the brand new reading experience of the user is increased.
The reading terminal is taken as a handheld reading terminal, and the previous embodiment is further described in detail below.
As shown in fig. 2, the method for borrowing digital books in the embodiment includes:
201. the handheld reading terminal accesses the digital library system through the network and checks the digital book information lent by the digital library system.
The handheld reading terminal can access the digital library system in at least two ways: connecting the handheld reading terminal to a PC (personal computer), and accessing the digital library system through the PC; the digital library system is directly accessed through a wireless network module of the handheld reading terminal.
The handheld reading terminal can check the digital book information lent by the digital library system in various ways. For example, a user may search for digital book information in a digital library system by a handheld reading terminal according to conditions to obtain digital book information in which the user is interested. The search condition may be set in various forms, such as title, author, publisher, category, etc. In addition, the digital library system can also establish various ranking lists such as download ranking, borrow ranking and the like of the digital books to recommend the digital books to the terminal user.
202. After the digital book to be borrowed is selected by the handheld reading terminal, whether the digital book which is not borrowed exists in the digital library system or not is judged according to the borrowing information of the digital book.
If the handheld reading terminal determines that the digital book that is not borrowed does not exist in the digital library system, i.e., the digital book is borrowed by other users, step 203 is entered. Otherwise, go to step 204.
203. The handheld reading terminal sends a reservation request to the digital library system, wherein the reservation request carries information such as the serial number of the digital book. Step 204 is entered.
204. After the digital library system receives the reservation request sent by the handheld reading terminal, the digital library system updates the reservation information corresponding to the digital book and proceeds to step 211.
205. The handheld reading terminal sends a borrowing request to the digital library system, and the borrowing request carries information such as the serial number of the digital book. Step 206 is entered.
206. After receiving the borrowing request of the handheld reading terminal, the digital library system judges whether the digital book which is not borrowed exists or not.
If the digital library system determines that there is a digital book that has not been borrowed, the digital library system determines that the handheld reading terminal has successfully borrowed the digital book, and proceeds to step 207. Otherwise, the digital library system notifies the handheld reading terminal of the information that the digital book has been borrowed, and the handheld reading terminal can only reserve the book at this time, and then the process goes to step 203.
In addition, the digital library system can also set certain limit on the number of books that can be borrowed by the handheld reading terminal. At this time, after receiving the borrowing request, the digital library system needs to determine whether the total number of digital books borrowed by the handheld reading terminal exceeds a specified number in addition to the above determination, and when determining that the total number of digital books borrowed by the handheld reading terminal exceeds the specified number, sends a borrowing rejection request to the handheld reading terminal. After the handheld reading terminal receives the borrowing rejection request, it is known that the borrowing number exceeds the limit, and at this time, the handheld reading terminal can only book the book, and the process goes to step 203. When it is determined that the total number of digital books borrowed by the handheld reading terminal does not exceed the specified number, the digital library system determines that the digital book borrowing behavior of the handheld reading terminal is successful, and then the process proceeds to step 207.
207. And the digital library system generates a digital certificate and sends the generated digital certificate and the digital book file to the handheld reading terminal. Step 208 is entered.
For example, the digital library system may generate a digital certificate according to the device number of the handheld reading terminal, where the digital certificate is used to implement copyright protection of a digital book, ensure that the digital book can only be opened through the handheld reading terminal, and prevent the digital book from being copied to other terminal devices for reading. The device number of the handheld reading terminal may be a unique device ID number of the handheld reading terminal itself. For example, the handheld reading terminal carries its device number in the lending request or the reservation request sent, and the digital library system obtains the device number unique to the handheld reading terminal from the received request. Alternatively, the device number of the handheld reading terminal may be a unique device ID number assigned to it by the digital library system. For example, when the handheld reading terminal registers with the digital library system, the digital library system assigns a unique device number to the handheld reading terminal according to the received registration request.
And after the digital library system generates the digital book, correspondingly encrypting the download address of the digital book file. Then, the digital library system sends the download address of the digital certificate and the download address of the encrypted digital book file to the handheld reading terminal. And the handheld reading terminal downloads the digital certificate to the local according to the download address of the digital certificate. The hand-held reading terminal decrypts the download address of the digital book file according to the digital certificate, and downloads the digital book file to the local according to the decrypted download address.
After the handheld reading terminal downloads the files of the digital book, the files of the digital book are encrypted and stored. The handheld reading terminal cannot modify the files of the digital book.
When the handheld reading terminal accesses the digital library system through the PC, the handheld reading terminal downloads the digital certificate, the digital book file and the like to the local through the PC. When the handheld reading terminal directly accesses the digital library system through the wireless network module, the handheld reading terminal downloads the digital certificate, the digital book file and the like to the local through the handheld terminal wireless module.
In addition, the digital library system can also send the borrowing time limit of the digital book to the handheld reading terminal. After receiving the borrowing time limit of the digital book, the handheld reading terminal encrypts and stores the digital book, and the handheld reading terminal cannot modify the borrowing time limit of the digital book.
208. The handheld reading terminal periodically performs information interaction with the digital library system platform to judge whether the digital book exceeds the borrowing time limit.
For example, a timer is installed on the handheld reading terminal, the borrowed time of the borrowed digital book is accumulated and calculated, and the borrowed time calculated by the timer is stored in an encrypted manner and cannot be modified by the handheld reading terminal. Meanwhile, the digital library system also calculates the borrowed time of each digital book borrowed for the user and records the calculated borrowed time. In addition, when the handheld reading terminal is connected with the network, the handheld reading terminal periodically synchronizes the borrowed time of the borrowed digital book with the digital library system, and the borrowed time of the digital book locally stored by the handheld reading terminal is covered.
The digital library system judges whether the borrowing time of the digital book exceeds the borrowing time limit or not according to the borrowed time and the borrowing time limit of the digital book which is recorded by the digital library system and borrowed to the user. Therefore, when the handheld reading terminal is connected with the network, the overdue judgment result is directly obtained from the digital library system, and whether the borrowed digital book exceeds the borrowing time limit or not is known.
And when the handheld reading terminal is disconnected from the network, the handheld reading terminal judges whether the borrowing time of the digital book exceeds the borrowing time limit according to the locally stored borrowing time and the borrowing time limit of the borrowed digital book.
Upon determining that the digital book being borrowed does not exceed the expiration limit, step 209 is entered. Otherwise, step 210 is entered.
209. The user can open and read the digital book file on the handheld reading terminal at any time.
In addition, when a user reads the contents of the digital book, the handheld reading terminal provides functions of inserting a bookmark, various settings (such as font setting, font size setting, automatic page turning and the like) and the like. After the user reads the digital books on the handheld reading terminal, the handheld reading terminal can perform interactive operations such as publishing book comments, scoring books and the like on the digital library system. Therefore, the personalized requirements of the user on the handheld reading terminal are fully met.
And moreover, when the borrowed digital book does not exceed the borrowing period and is close to the borrowing period, the handheld reading terminal prompts the user that the digital book is about to expire, so that the user can better master the reading progress and the like.
210. And the handheld reading terminal sends the return information to the digital library system and deletes the stored files of the digital book. The deleted digital book on the handheld reading terminal cannot be restored. Step 211 is entered.
For example, when the digital book to be borrowed does not exceed the time limit, the user can actively send the return information to the digital library system through the handheld reading terminal according to the actual situation, return the digital book to be borrowed, and delete the stored file of the digital book.
If the borrowed digital book exceeds the time limit, the handheld reading terminal can not open and read the digital book which exceeds the time limit when the network is disconnected, and the user is prompted that the digital book is expired. And the handheld reading terminal is required to force the digital book to be returned when connecting to the network. The method specifically comprises the following steps: the digital library system sends the overdue digital book forced returning information to the handheld reading terminal, and the handheld reading terminal sends the digital book returning information to the digital library system according to the received forced returning information and deletes the stored digital book file.
In addition, the digital book can be checked whether the digital book is reserved by other users or not under the condition that the term of the borrowed digital book is exceeded, and the digital book is renewed according to the checking result. The method specifically comprises the following steps: and when the handheld reading terminal determines that the borrowed digital book exceeds the borrowing period, acquiring the reservation information of the digital book from the digital library system. And if the digital book is determined not to be reserved by other users according to the reservation information, the handheld reading terminal prompts the user to renew the digital book, and the user can renew the digital book through the handheld reading terminal. If the digital book is determined to be reserved by other users according to the reservation information, the handheld reading terminal prompts the user that the resource is expired, and the handheld reading terminal is required to forcibly return the digital book.
211. And after the digital library system receives the return information sent by the handheld reading terminal, the borrowing information of the digital book is updated. The digital library system inquires the reservation information of the digital book, preferentially borrows the digital book to the user who has reserved, and the step 207 is entered.
In the embodiment, the borrowing digital book information is obtained from the digital library system through the reading terminal, the digital book to be borrowed is determined according to the digital book information, then the digital book is obtained from the digital library system, and when the digital book is determined not to exceed the borrowing period, the content information of the digital book is read, so that the book borrowing in the digital library system is really realized, the seamless combination of the reading terminal and the digital library system is realized, the reading requirement of a user is met, and the brand new reading experience of the user is increased.
Moreover, the security and the reliability of data interacted between the reading terminal and the digital library system are improved by encrypting the download address of the digital book. By using the digital certificate, the files of the digital book are encrypted and stored, so that the copyright protection of the digital book is realized, and the data of the digital book is prevented from being copied. In addition, the digital book which is not returned after the timeout is forced to be returned by the user besides the user makes a continuous borrowing request, so that the digital book is prevented from being lost.
An embodiment of the present invention further provides a method for implementing digital book borrowing, as shown in fig. 3, the method for implementing digital book borrowing of the present embodiment includes:
301. the digital library system informs the reading terminal of the lent digital book information;
for example, a digital library system may provide services such as digital book information browsing, or digital book letter searching for reading terminals accessing the digital library system.
302. The digital library system sends the digital books that the user needs to borrow to the reading terminal.
For example, the digital library system may send the digital book to the reading terminal according to a borrowing request after receiving the borrowing request sent by the reading terminal. Alternatively, the digital library system may receive a reservation request from the reading terminal and then transmit the digital book to the reading terminal at an appropriate time according to the reservation request.
In this embodiment, the digital library system notifies the reading terminal of the lent digital book information, so that the reading terminal determines the digital book to be borrowed according to the digital book information, acquires the digital book from the digital library system, and reads the content information of the digital book when it is determined that the digital book does not exceed the borrowing period, thereby truly realizing borrowing the book in the digital library system, and further realizing seamless combination of the reading terminal and the digital library system, meeting the reading requirement of a user, and increasing brand new reading experience of the user.
Correspondingly to the above method, an embodiment of the present invention further provides a reading terminal, as shown in fig. 4, the reading terminal of this embodiment includes:
a book information obtaining unit 401, configured to obtain lent digital book information from a digital library system;
a borrowing book determining unit 402, configured to determine a digital book to be borrowed according to the digital book information;
a borrowing book acquiring unit 403 for acquiring the digital book from the digital library system;
a book content reading unit 404, configured to read content information of the digital book when it is determined that the digital book does not exceed the borrowing period.
Further, the book borrowing acquisition unit 403 specifically includes:
a borrowing request sending subunit, configured to send a borrowing request to the digital library system;
and the book borrowing receiving subunit is used for receiving the digital books sent by the digital library system.
Further, the borrowing book acquiring unit 403 further includes:
the borrowing information acquisition subunit is used for acquiring borrowing information of the digital book from the digital book information;
the borrowing judging subunit is used for determining whether the digital library system has the digital books which are not borrowed according to the borrowing information;
a reservation request sending subunit, configured to send a reservation request to the digital library system when the borrowing judgment subunit determines that the digital library system does not have the digital book that is not borrowed;
and the book borrowing receiving subunit is used for receiving the digital books sent by the digital library system.
Further, the reading terminal specifically further includes:
a certificate acquisition unit for acquiring an encrypted certificate from the digital library system;
and the book encryption unit is used for encrypting and storing the received digital book.
Further, the reading terminal specifically further includes:
a rejection request receiving unit for receiving a borrowing rejection request transmitted by the digital library system when the number of borrowed digital books exceeds a prescribed number.
Further, the reading terminal specifically further includes:
a time limit acquisition unit for acquiring a borrowing time limit of the digital book from the digital library system;
further, the book content reading unit 404 specifically includes:
the networking overdue judging subunit is used for acquiring whether the digital book exceeds the borrowing time limit from the digital library system when the network is connected;
the borrowing time acquiring subunit is used for acquiring the recorded borrowed time of the digital book when the network is disconnected;
and the network breaking and expiration judging subunit is used for determining whether the digital book exceeds the borrowing time limit according to the borrowing time limit and the borrowed time acquired by the borrowing time acquiring subunit.
Further, the borrowing time acquiring subunit specifically includes:
the timing module is used for timing the borrowed time according to the borrowing time of the digital book;
the time storage module is used for encrypting and storing the borrowed time of the digital book obtained by timing of the timing module;
and the time synchronization module is used for synchronizing the borrowed time of the digital book recorded by the time storage module with the borrowed time of the digital book recorded by the digital library system when the digital library system is connected with a network.
Further, the reading terminal specifically further includes:
the return information sending unit is used for sending return information to the digital library system;
and the book deleting unit is used for deleting the stored digital book.
Further, the reading terminal specifically further includes:
the forced returning information receiving unit is used for receiving forced returning information sent by the digital library system;
and the lending request sending unit is used for sending a lending request to the digital library system.
The reading terminal can be a handheld reading terminal or a PC.
In the embodiment, the borrowing digital book information is obtained from the digital library system through the reading terminal, the digital book to be borrowed is determined according to the digital book information, then the digital book is obtained from the digital library system, and when the digital book is determined not to exceed the borrowing period, the content information of the digital book is read, so that the book borrowing in the digital library system is really realized, the seamless combination of the reading terminal and the digital library system is realized, the reading requirement of a user is met, and the brand new reading experience of the user is increased.
Moreover, the security and the reliability of data interacted between the reading terminal and the digital library system are improved by encrypting the download address of the digital book. By using the digital certificate, the files of the digital book are encrypted and stored, so that the copyright protection of the digital book is realized, and the data of the digital book is prevented from being copied. In addition, the digital book which is not returned after the timeout is forced to be returned by the user besides the user makes a continuous borrowing request, so that the digital book is prevented from being lost.
Corresponding to the reading terminal, an embodiment of the present invention further provides a digital library system, as shown in fig. 5, the digital library system of the embodiment includes:
a book information notification unit 501 for notifying the reading terminal of the lent digital book information;
a borrowing book sending unit 502, configured to send the digital book that needs to be borrowed by the user to the reading terminal.
Further, the book borrowing sending unit 502 specifically includes:
a borrowing request receiving subunit, configured to receive a borrowing request sent by the reading terminal;
the book borrowing determining subunit is used for determining the digital book to be borrowed by the user according to the borrowing request;
and the book borrowing sending subunit is used for sending the digital book to the reading terminal when the digital book which is not borrowed is determined to exist according to the borrowing information.
Further, the book borrowing sending unit 502 specifically includes:
a reservation request receiving subunit, configured to receive a reservation request sent by the reading terminal;
the book reservation determining subunit is used for determining the digital books to be borrowed by the user according to the reservation request;
the reservation information updating subunit is used for updating the reservation information of the digital book;
and the book reservation sending subunit is used for sending the digital book to the reading terminal according to the reservation information when the digital book is determined to be returned according to the borrowing information.
Further, the digital library system specifically further includes:
a number acquiring unit, configured to acquire a device number from the reading terminal;
the certificate generating unit is used for generating an encryption certificate according to the equipment number;
and the certificate sending unit is used for sending the encrypted certificate to the reading terminal.
Further, the digital library system specifically further includes:
the excess judging unit is used for judging whether the number of the digital books borrowed by the user exceeds the specified number;
and the rejection request sending unit is used for sending a borrowing rejection request to the reading terminal when the quantity judging unit judges that the quantity of the digital books borrowed by the user exceeds the specified quantity.
Further, the digital library system specifically further includes:
the time limit sending unit is used for sending the borrowing time limit of the digital book to the reading terminal;
and the overdue informing unit is used for informing the reading terminal that the digital book exceeds the borrowing time limit when the digital book exceeds the borrowing time limit and the reading terminal is connected with the network.
Further, the digital library system specifically further includes:
the timing recording unit is used for timing and recording the borrowed time according to the borrowed time of the digital book;
and the borrowed time notification unit is used for notifying the borrowed time of the digital book recorded by the timing recording unit to the reading terminal when the reading terminal is connected with a network.
Further, the digital library system specifically further includes:
a return information receiving unit for receiving the return information sent by the reading terminal;
and the borrowing information updating unit is used for updating the borrowing information of the digital book according to the return information.
Further, the digital library system specifically further includes:
an expiration judging unit for judging whether the digital book exceeds the borrowing time limit according to the borrowing time limit and the borrowed time
The forced returning information sending unit is used for sending forced returning information to the reading terminal when the overdue judging unit judges that the digital book exceeds the borrowing period;
a lending request receiving unit, configured to receive a lending request sent by the reading terminal.
In this embodiment, the digital library system notifies the reading terminal of the lent digital book information, so that the reading terminal determines the digital book to be borrowed according to the digital book information, acquires the digital book from the digital library system, and reads the content information of the digital book when it is determined that the digital book does not exceed the borrowing period, thereby truly realizing borrowing the book in the digital library system, and further realizing seamless combination of the reading terminal and the digital library system, meeting the reading requirement of a user, and increasing brand new reading experience of the user.
Moreover, the security and the reliability of data interacted between the reading terminal and the digital library system are improved by encrypting the download address of the digital book. By using the digital certificate, the files of the digital book are encrypted and stored, so that the copyright protection of the digital book is realized, and the data of the digital book is prevented from being copied. In addition, the digital book which is not returned after the timeout is forced to be returned by the user besides the user makes a continuous borrowing request, so that the digital book is prevented from being lost.
Corresponding to the method and apparatus, the embodiment of the present invention further provides a system for implementing digital book borrowing, as shown in fig. 6, the system for implementing digital book borrowing includes a reading terminal 601 and a digital library system 602. The reading terminal 601 has substantially the same functions as the reading terminal described in detail above, and the digital library system 602 has substantially the same functions as the digital library system described in detail above, and therefore, the description thereof is omitted.
In the embodiment, the borrowing digital book information is obtained from the digital library system through the reading terminal, the digital book to be borrowed is determined according to the digital book information, then the digital book is obtained from the digital library system, and when the digital book is determined not to exceed the borrowing period, the content information of the digital book is read, so that the book borrowing in the digital library system is really realized, the seamless combination of the reading terminal and the digital library system is realized, the reading requirement of a user is met, and the brand new reading experience of the user is increased.
Moreover, the security and the reliability of data interacted between the reading terminal and the digital library system are improved by encrypting the download address of the digital book. By using the digital certificate, the files of the digital book are encrypted and stored, so that the copyright protection of the digital book is realized, and the data of the digital book is prevented from being copied. In addition, the digital book which is not returned after the timeout is forced to be returned by the user besides the user makes a continuous borrowing request, so that the digital book is prevented from being lost.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.