Disclosure of Invention
The technical problem to be solved by the invention is as follows: the existing book sharing borrowing and returning system cannot achieve the expected effect that a user can return books borrowed from a library in a sharing book house, and the technical problem that if someone destroys book paper wrapped by the book cover borrowed from the sharing book house, the sharing book house cannot automatically verify whether the returned books are intact or not exists.
In order to solve the technical problems, the invention provides a book sharing borrowing and returning control method and a system using the method, wherein the book sharing borrowing and returning control method comprises a server and a shared book cabinet, the shared book cabinet comprises a book cabinet to be borrowed, a preset cabinet and cabinet doors respectively arranged on the book cabinet to be borrowed and the preset cabinet, the server is in data intercommunication with a local library, the server records the position information of the shared book cabinet and the book information in the book cabinet to be borrowed and the preset cabinet, the shared book cabinet is in communication connection with the server, and the control method comprises the following steps of
B1. The server receives a door opening request initiated by a user, performs user identity verification and book reservation verification, sends a door opening instruction to the shared bookcase if the identity verification is passed, does not send the door opening instruction to the shared bookcase if the identity verification is not passed, and sends a re-verification instruction to remind the user;
B2. after the server sends a door opening instruction, if the shared bookcase receives the door opening instruction sent by the server, the shared bookcase scans and uploads book information in the cabinet to be borrowed and a preset cabinet as M1, after uploading is completed, a cabinet door of the shared bookcase is opened and successful door opening is fed back to the server, and if the shared bookcase does not receive the door opening instruction sent by the server, the server sends information to a user and workers to remind the shared bookcase of being offline;
B3. the user takes or returns the books in the shared bookcase, and then sends a door closing request to the server;
B4. when a server receives a door closing request initiated by a user or after a cabinet door of the shared bookcase is opened for a time T1, the server sends a door closing instruction to the shared bookcase;
B5. after the shared bookcase receives a door closing instruction sent by the server, the shared bookcase scans and uploads book information in the book cabinet to be borrowed and a preset cabinet as M2, after uploading of M2 is completed, a cabinet door of the shared bookcase is closed, and if the M2 records that the book is less than X books, the server sends information to remind workers to replenish the books;
B6. and the server records the information of the books borrowed or returned by the user according to the comparison between the M2 and the M1, sends the information to the user for confirmation, and starts to calculate or settle the book borrowing time of the user after the confirmation is completed. By comparing the information of the books before opening and closing the door, the part of M2, which is less than that of M1, is marked as the books borrowed by the user, and the part of M2, which is more than that of M1, is marked as the books returned by the user. When the number of books recorded by the M2 is small and cannot meet the browsing and borrowing needs of a user near the book cabinet, the server informs workers to replenish the shared book cabinet lacking books, but not to replenish the shared book cabinet, so that the user can return books.
Preferably, the shared bookcase further comprises a book donation box, and the control method further comprises a step b71. a book donation request initiated by the user to the server, the user initiating the book donation request uploading own position information to the server, if the server successfully obtains the position information of the user initiating the book donation request, the user is required to upload book information M3 of the book to be donated to the server, and if the server fails to successfully obtain the position information of the user initiating the book donation request, the user is required to upload the position information again;
B72. the server carries out planning according to the distance between the user initiating the book donation request and the shared bookcase and the residual capacity of the shared bookcase to obtain an optimal solution; the optimal solution is the shared bookcase with the shortest distance between the shared bookcase with the residual capacity more than or equal to 30% and the scheduled user.
B73. The server sends the position information of the shared book house with the optimal solution to a user, the user puts books into the book donation box, the book donation box carries out information acquisition on the books and sends the obtained book information M4 to the server; B74. the server compares M3 with M4, if M3 is matched with M4, the book donation is completed, if M3 is not matched with M4, the server sends information to remind a user, and the book donation box returns wrong books. The preferred solution allows the shared bookstore to recover social activity books, which helps the host save money.
Preferably, in step B1 of the control method, the user scans the two-dimensional code through the mobile terminal or scans the magnetic card bound to the personal identity through the shared bookcase to initiate a door opening request to the server. The account number and the personal identity information of the user are also bound after the mobile terminal scans the two-dimensional code and logs in, so that the combination of a credit system is facilitated, and the responsibility for book damage or book loss is pursued.
Preferably, step B1 of the control method further includes:
B11. numbering the shared bookcases, and storing the numbers in the server, wherein the numbers correspond to the position information of the shared bookcases one by one;
B12. if the user initiates a book reservation request to the server and selects a shared bookcase number, the server inquires the state of the book reserved by the user, and if the book is in a state to be borrowed, the server sends allocation information to staff;
B13. the staff puts the books reserved by the user into a reservation cabinet of a shared bookcase selected by the user according to the allocation information, and the server sends information to the user to remind the user that the reserved books arrive;
B14. the server receives a door opening request initiated by a user, performs user identity verification and book reservation verification, and sends an instruction for opening a book borrowing cabinet door to the shared book cabinet if the identity verification is passed,
if the identity authentication fails, the server does not send a door opening instruction to the shared bookcase, and the server sends a re-authentication prompt to the user;
if the reservation is verified, the server sends an instruction for opening a preset cabinet door to the shared bookcase,
and if the reservation verification fails, the server does not send a command of opening a preset cabinet door to the shared bookcase. The reservation cabinet is provided with a plurality of book lattices, the book lattices can meet the storage requirements of books with different thicknesses, each book lattice is provided with a book lattice door and a book lattice lock matched with the book lattice door, and the server correspondingly opens the book lattice lock according to reservation information of a user. If the book is reserved in another shared book cabinet when the user makes a reservation, the server sends a borrowing prohibition instruction to the shared book cabinet for storing the book, and when the shared book cabinet for storing the book is closed and the book is detected to be taken away, the shared book cabinet for storing the book sends voice to remind the user not to take away the book which is reserved, and the server reminds the user of the book borrowing failure through information.
Preferably, step B2 of the control method specifically includes
B21. The shared bookcase receives a door opening instruction sent by the server;
B22. scanning ISBN codes of all books in a shared bookcase by utilizing radio frequency to obtain book names and version information of the books;
B23. detecting the weight W1 of the book;
B24. detecting the internal damage condition of the book according to an ultrasonic flaw detection principle;
B25. and uploading the information obtained by B22, B23 and B24 to the server and recording the information as M1, and opening a cabinet door of the shared bookcase after M1 is uploaded.
Preferably, step B5 of the control method specifically includes
B51. The shared bookcase receives a door closing instruction sent by the server, and a cabinet door of the shared bookcase is closed;
B52. scanning ISBN codes of all books in a shared bookcase by utilizing radio frequency to obtain book names and version information of the books;
B53. detecting the weight W2 of the book;
B54. detecting the internal damage condition of the book according to an ultrasonic flaw detection principle;
B55. and uploading the information obtained by B52, B53 and B54 to the server and recording the information as M2, and after the uploading of M2 is finished, if the record of M2 is less than that of the book X, the server sends out information to remind a worker to replenish the book.
Preferably, step B6 of the control method specifically includes
B61. Judging books borrowed by a user according to comparison of book names and version information scanned by radio frequency before and after the shared bookcase is opened and closed, uploading the book borrowing information of the user to the server, and sending a book borrowing prompt of the user to the user by the server and starting to calculate book borrowing time;
B62. judging books returned by a user according to comparison of book names and version information of the books scanned by radio frequency before and after the shared bookcase is opened and closed, calculating a difference value R between M2 and M1 according to a calculation formula R-AI + B delta W + CV for book returning verification, wherein I is an ISBN code comparison result between book borrowing and book returning, the book name and the version number are the same and 0, the book name and the version number are different and 1, delta W is an absolute value of weight difference W1-W2,
v is the difference degree of the ultrasonic flaw detection images,
A. b, C is weight value
If the difference value R is larger than the threshold Rmax, the server judges that the book returning is abnormal and sends information to remind the user of not settling the book borrowing time, and if the difference value R is smaller than or equal to the threshold Rmax, the server judges that the book returning is successful and sends information to remind the user of settling the book borrowing time. According to the experiment, the propagation speed of the sound wave in the book is obviously higher than that in the air.
Preferably, the book sharing borrowing and returning system adopting the control method comprises a server and a plurality of sharing bookcases, each sharing bookcase comprises a book to be borrowed cabinet, a preset cabinet and cabinet doors respectively installed on the book to be borrowed cabinet and the preset cabinet, the server is in data intercommunication with a local library, the server records position information of the sharing bookcases and book information in the book to be borrowed cabinet and the preset cabinet, the sharing bookcases are in communication connection with the server, and the sharing bookcases are provided with radio frequency scanning devices, weight detection devices and ultrasonic probes.
Preferably, the shared bookcase further comprises a donation bookcase.
Preferably, the shared bookcase comprises an ultraviolet disinfection module.
The substantial effects of the invention are as follows: 1) the library book borrowing and returning of the library books in the shared book cabinet are realized, 2) the book reservation function is added, 3) the technical problem that whether the returned books are good or not cannot be automatically verified in the shared book house is solved, 4) the borrowing demand of people can be met during closing of the local library, and 5) the disease propagation risk caused by crowd gathering and reading can be reduced.
Detailed Description
The following provides a more detailed description of the present invention, with reference to the accompanying drawings.
As shown in FIG. 1, the basic flow using the first embodiment is as follows
The method comprises the steps that a shared bookcase is numbered and the number and position information of the shared bookcase are stored in a server, the server receives a door opening request initiated by a user, user identity verification and book reservation verification are carried out, if the identity verification is passed, the server obtains the number of the shared bookcase which is requested to be opened by the user and carries out bookcase online verification, after the online verification is passed, the server sends a door opening instruction to the shared bookcase according to the book reservation verification of the user, if preset information is matched with the number of the shared bookcase, a door opening instruction 2 for opening a preset cabinet of the shared bookcase and a cabinet to be borrowed is sent, and if no preset information or the preset information is not matched with the number of the shared bookcase, a door opening instruction 1 for opening the cabinet to be borrowed of the shared bookcase is sent; if the identity authentication fails, the server does not send a door opening instruction to the shared bookcase, and the server sends a re-authentication instruction to remind the user. After the server sends out the instruction of opening the door, shared book cabinet receives the instruction of opening the door that the server sent out, and shared book cabinet scans and uploads the book information of waiting to borrow the book cabinet and reserving in the cabinet and marks as M1, and M1 includes: and scanning ISBN codes of all books in the shared bookcase by utilizing radio frequency to obtain book names and version information of the books, book weight W1 and damage conditions inside the books. Opening a cabinet door of the shared bookcase after the M1 finishes uploading; the user takes or returns the books in the shared bookcase, then sends a door closing request to the server,
when a server receives a door closing request initiated by a user or when a cabinet door of a shared book cabinet is opened for a time T1, the server sends a door closing instruction to the shared book cabinet, after the shared book cabinet receives the door closing instruction sent by the server, the shared book cabinet scans and uploads book information in a book borrowing cabinet and a preset cabinet as M2, after the uploading of the book information is completed, the cabinet door of the shared book cabinet is closed, if the record of the M2 is less than 20 books, the server sends information to remind workers to replenish the books, according to the comparison between the M2 and the M1, the server records the book borrowing or returning information of the user, sends the information to the user for confirmation, and after the confirmation is completed, the server starts to calculate or settle the book borrowing time of the user. Specifically, the book name returned by the user is judged according to the comparison between the book names and the version information scanned by radio frequency before and after the shared bookcase is opened and closed, and the difference value R between M2 and M1 is calculated according to a calculation formula R of 500I + delta W +10V for book returning verification, wherein in the formula
I is the comparison result of ISBN codes when borrowing and returning books, the book name and the version number are the same as 0, the book name and the version number are different from 1,
Δ W is the absolute value of the weight difference W1-W2, calculated in grams
V is the ultrasonic flaw detection image difference degree, and is calculated by taking percentage as unit
If the difference value R is larger than the threshold value 150, the server judges that the book return is abnormal, sends information to remind the user, does not settle the book borrowing time,
if the difference value R is smaller than or equal to the threshold value 150, the server judges that the book is successfully returned, sends information to remind the user, and settles the book borrowing time.
As shown in fig. 2, the shared bookcase includes a book to be borrowed cabinet 1, a bookkeeping cabinet, and a book donation box 2.
In the first embodiment shown in fig. 3, when performing ultrasonic flaw detection, a perfect book sample is taken, the length of the book sample is 33cm, the thickness of the book sample is 2cm, the book sample is vertically placed, and after the ultrasonic probe scans from top to bottom, the average return time of the sound wave is about 0.05 ms. Keeping the cover of the test book intact, cutting 2 gaps of about 3cm in the book body in the cover, weighing to obtain the cut book paper with the weight of 107g, and performing ultrasonic flaw detection again to find that the return time of sound waves at the gaps is obviously prolonged. When R is calculated to be 0+107+180 287, it can be determined that the returned book fails in the verification of the returned book, and the returned book has a problem.
The above-described embodiments are only preferred embodiments of the present invention, and are not intended to limit the present invention in any way, and other variations and modifications may be made without departing from the spirit of the invention as set forth in the claims.