Summary of the invention
The object of the invention is to overcome weak point of the prior art, a kind of minimizing is provided to borrow the loss of books, improve and borrow the fail safe of books, user checks out by using the mobile phone with NFC function to complete, the also using method of the street corner Self-service Library based on NFC that continues of scribe and system.
The object of the invention is to be achieved through the following technical solutions:
Based on a using method for the street corner Self-service Library of NFC, comprising: book borrowing method and also book method;
Described book borrowing method is:
Step 1, user select to want the books borrowed, and " checking out " instruction utilizing mobile phone to receive the NFC " check out label " on these books to send;
Step 2, mobile phone send to Cloud Server and are somebody's turn to do " checking out " instruction;
Step 3, cloud server are somebody's turn to do " checking out " instruction, and judge whether this user is registered user, if "Yes", enters " step 4 ", if "No", enters " step 8 ";
Step 4, Cloud Server judge whether the account balance of this registered user is greater than the price of these books, if "Yes", enter " step 5 ", if "No", enter " step 8 ";
Step 5, Cloud Server deduct the single-candidate expense of this books price from account remaining sum;
Step 6, Cloud Server send " books propelling movement " instruction and to street corner Self-service Library, and start charging;
Step 7, street corner Self-service Library receive and are somebody's turn to do " books propelling movement " instruction, and these books are pushed to user;
Step 8, end check out;
Described also book method is:
Step 9, user select to want the books given back, and " also book " instruction utilizing the mobile phone NFC received on these books " to go back book label " to send;
Step 10, mobile phone send to Cloud Server and are somebody's turn to do " also book " instruction;
Step 11, cloud server are somebody's turn to do " also book " instruction, and judge whether this user is registered user, if "Yes", enters " step 12 ", if "No", enters " step 19 ";
Whether step 12, Cloud Server judge to be somebody's turn to do " also book " registered user consistent with " checking out " registered user, if "Yes", enter " step 13 ", if "No", enter " step 19 ";
Step 13, Cloud Server send " books reception " instruction to street corner Self-service Library;
Step 14, street corner Self-service Library receive and are somebody's turn to do " books reception " instruction, and are received by these books;
Step 15, street corner Self-service Library carry out the check and correction of ISBN code to these books, and judge whether these books are same books, if "Yes", enter " step 16 ", if "No", these books are returned to user by street corner Self-service Library, and enter " step 19 ";
Step 16, street corner Self-service Library carry out number of pages, page check to these books, and judge whether qualified, if "Yes", enter " step 17 ", if "No", these books are returned to user by street corner Self-service Library, and then enter " step 19 ";
Step 17, Cloud Server terminate charging, calculate required expense, then the single-candidate expense calculating this books price deducts the remaining sum after required expense, and return in user account by this remaining sum;
Expense managing detailed catalogue is sent to user mobile phone by step 18, Cloud Server;
Step 19, terminate also book.
A kind of system of the street corner Self-service Library based on NFC, comprise: be pasted with books, street corner Self-service Library, the mobile phone with NFC function, Cloud Server that NFC " check out label " and NFC " goes back book label ", described books are connected with described mobile phone by NFC signal, described mobile phone is connected with described Cloud Server by wireless network, and described Cloud Server is connected with described street corner Self-service Library by wireless mesh;
Described NFC " check out label " is in order to send " checking out " instruction to described mobile phone by NFC signal, described mobile phone is in order to receive described " checking out " instruction, and send described " checking out " instruction to described Cloud Server, " check out " described in described cloud server instruction, analyzing and processing command information, and control described street corner Self-service Library and push described books;
Described NFC " goes back book label " in order to send " also book " instruction to described mobile phone by NFC signal, described mobile phone is in order to receive described " also book " instruction, and send described " also book " instruction to described Cloud Server, " also book " instruction described in described cloud server, analyzing and processing command information, and control described street corner Self-service Library and receive described books;
Described mobile phone comprises: the NFC antenna connected successively, NFC chip, the first wireless communication module, the first central processing unit; Described NFC antenna is for " checking out " instruction that receives described NFC " check out label " and send or receive " also book " instruction that described NFC " goes back book label " and send; Described NFC chip is used for " checking out " instruction or described " also book " instruction described in analyzing and processing; Described first wireless communication module is used for sending to described Cloud Server or receiving data; Described first central processing unit is used for the data that described in analyzing and processing, NFC chip, described first wireless communication module produce;
Described Cloud Server comprises: information storage module, the second wireless communication module, accounting module, Charging Module, the second central processing unit, and described information storage module, the second wireless communication module, accounting module, Charging Module are connected with described second central processing unit respectively; Described information storage module for store NFC " check out label " and NFC " go back book label " corresponding to book information, also for storing the accounts information of registered user; Described second wireless communication module is used for sending to described mobile phone or receiving data, also for sending to described street corner Self-service Library or receiving data; Described accounting module to check out required expense for calculating user; Described Charging Module is used for collecting user and checks out required expense; Described second central processing unit is used for the data that described in analyzing and processing, information storage module, described second wireless communication module, described accounting module, described Charging Module produce;
Described street corner Self-service Library comprises: the 3rd wireless communication module, pushing module, receiver module, ISBN code checking module, number of pages checking module, page check module, the 3rd central processing unit, and described 3rd wireless communication module, pushing module, receiver module, ISBN code checking module, number of pages checking module, page check module are connected with described 3rd central processing unit respectively; Described 3rd wireless communication module is used for sending to described Cloud Server or receiving data; Described pushing module is used for needing the books borrowed to be pushed to user; Described receiver module is for receiving the books needing to give back; Described ISBN code checking module is used for needing the books given back to carry out the check and correction of ISBN code; Described number of pages checking module is used for needing the books given back to carry out number of pages inspection; Described page check module is used for needing the books given back to carry out page check; Described 3rd central processing unit is used for the data that described in analyzing and processing, the 3rd wireless communication module, described pushing module, described receiver module, described ISBN code checking module, described number of pages checking module, described page check module produce.
Preferably, described book information comprises: pricing information, ISBN code information, number of pages information.
Preferably, described accounts information comprises: balance amount information.
The invention provides a kind of using method of the street corner Self-service Library based on NFC, the system of the street corner Self-service Library based on NFC simultaneously also providing a kind of and described using method corresponding, it effectively reduces the loss of borrowing books, improve the fail safe of borrowing books, user checks out by using the mobile phone with NFC function to complete, also scribe is continuous, improves convenience.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
Based on a using method for the street corner Self-service Library of NFC, it comprises: book borrowing method and also book method;
Fig. 1 is the book borrowing method flow chart of steps of one embodiment of the invention based on the street corner Self-service Library of NFC.
Described book borrowing method is:
Step 1, user select to want the books borrowed, and " checking out " instruction utilizing mobile phone to receive the NFC " check out label " on these books to send;
Stick NFC " check out label " and NFC by needing the books being positioned over street corner Self-service Library and " go back book label ", NFC " check out label " sends " checking out " instruction by NFC signal to the mobile phone with NFC function, and it is then send " also book " instruction by NFC signal to the mobile phone with NFC function that NFC " goes back book label ".Explanation, NFC " check out label " and NFC " goes back book label " and includes the information corresponding with these these books, for follow-up this book of Cloud Server identification and transfer corresponding data provide basis, as information such as ISBN code, books price, numbers of pages.
Step 2, mobile phone send to Cloud Server and are somebody's turn to do " checking out " instruction;
Step 3, cloud server are somebody's turn to do " checking out " instruction, and judge whether this user is registered user, if "Yes", enters " step 4 ", if "No", enters " step 8 ";
User must register, and provides individual relevant information, and carries out the operations such as account charging, after becoming registered user, could check out to street corner Self-service Library, otherwise can not carry out the service of checking out.
Step 4, Cloud Server judge whether the account balance of this registered user is greater than the price of these books, if "Yes", enter " step 5 ", if "No", enter " step 8 ";
Step 5, Cloud Server deduct the single-candidate expense of this books price from account remaining sum;
In step 4 and step 5, effectively solve the problem preventing losing books, ensured that the safety of books is borrowed.Because user is when borrowing books, needs the demarcation price of first prepaying on these books, namely needing first deposit, when these books are returned by subsequent user, adjusted by the accounting module of Cloud Server, more a part of expense is returned to user.Thus, just can effectively prevent some users not phenomenon also that checks out from occurring.Even if user also checks out not, this is for the operator of street corner Self-service Library, does not also have loss economically.
Meanwhile, user often borrows a book, just can cash pledge needed for corresponding deduction, until account balance is not enough to deduct required cash pledge.Prevent user account remaining sum limited and borrow many books phenomenon occur, effectively prevent the economic loss of the operator of street corner Self-service Library.
Step 6, Cloud Server send " books propelling movement " instruction and to street corner Self-service Library, and start charging;
Step 7, street corner Self-service Library receive and are somebody's turn to do " books propelling movement " instruction, and these books are pushed to user;
Step 8, end check out;
Fig. 2 is the also book method step flow chart of one embodiment of the invention based on the street corner Self-service Library of NFC.
Described also book method is:
Step 9, user select to want the books given back, and " also book " instruction utilizing the mobile phone NFC received on these books " to go back book label " to send;
Step 10, mobile phone send to Cloud Server and are somebody's turn to do " also book " instruction;
Step 11, cloud server are somebody's turn to do " also book " instruction, and judge whether this user is registered user, if "Yes", enters " step 12 ", if "No", enters " step 19 ";
Whether step 12, Cloud Server judge to be somebody's turn to do " also book " registered user consistent with " checking out " registered user, if "Yes", enter " step 13 ", if "No", enter " step 19 ";
" also book " registered user must be consistent with " checking out " registered user, just can carry out also book service, prevent lawless person from will not be that the books oneself borrowed are returned in street corner Self-service Library, thus obtain illegal economic interests.
Step 13, Cloud Server send " books reception " instruction to street corner Self-service Library;
Step 14, street corner Self-service Library receive and are somebody's turn to do " books reception " instruction, and are received by these books;
Step 15, street corner Self-service Library carry out the check and correction of ISBN code to these books, and judge whether these books are same books, if "Yes", enter " step 16 ", if "No", these books are returned to user by street corner Self-service Library, and enter " step 19 ";
ISBN code is International Book classification number, has uniqueness, by proofreading the ISBN code of books, ensure that the fail safe of books to a great extent.Preventing lawless person from the NFC " check out label " on books and NFC " is gone back book label " attaches on another these books, avoids the generation of " stealthily substituting " phenomenon.
Step 16, street corner Self-service Library carry out number of pages, page check to these books, and judge whether qualified, if "Yes", enter " step 17 ", if "No", these books are returned to user by street corner Self-service Library, and then enter " step 19 ";
After ISBN code collate program, confirm that the books borrowed are after same books with the books given back, also will check the number of pages of books, the page.Check the number of number of pages, the generation of the phenomenon that prevents from skipping leaf, checks the integrality of the page, prevents the phenomenon of page breakage from occurring.Effectively can improve the love degree of user to the books borrowed like this, and then improve the useful life of books, reduce the loss of street corner Self-service Library operator.
Step 17, Cloud Server terminate charging, calculate required expense, then the single-candidate expense calculating this books price deducts the remaining sum after required expense, and return in user account by this remaining sum;
Expense managing detailed catalogue is sent to user mobile phone by step 18, Cloud Server;
Step 19, terminate also book.
Fig. 3 is the overall structure block diagram of one embodiment of the invention based on the system of the street corner Self-service Library of NFC.
Corresponding with the using method of the above-mentioned street corner Self-service Library based on NFC, a kind of system of the street corner Self-service Library based on NFC is also provided, it comprises: be pasted with books, street corner Self-service Library, the mobile phone with NFC function, Cloud Server that NFC " check out label " and NFC " goes back book label ", described books are connected with described mobile phone by NFC signal, described mobile phone is connected with described Cloud Server by wireless network, and described Cloud Server is connected with described street corner Self-service Library by wireless mesh.
Described NFC " check out label " is in order to send " checking out " instruction to described mobile phone by NFC signal, described mobile phone is in order to receive described " checking out " instruction, and send described " checking out " instruction to described Cloud Server, " check out " described in described cloud server instruction, analyzing and processing command information, and control described street corner Self-service Library and push described books;
Described NFC " goes back book label " in order to send " also book " instruction to described mobile phone by NFC signal, described mobile phone is in order to receive described " also book " instruction, and send described " also book " instruction to described Cloud Server, " also book " instruction described in described cloud server, analyzing and processing command information, and control described street corner Self-service Library and receive described books.
Fig. 4 is the handset structure block diagram of one embodiment of the invention based on the system of the street corner Self-service Library of NFC.
Described mobile phone comprises: the NFC antenna connected successively, NFC chip, the first wireless communication module, the first central processing unit.Described NFC antenna is for " checking out " instruction that receives described NFC " check out label " and send or receive " also book " instruction that described NFC " goes back book label " and send; Described NFC chip is used for " checking out " instruction or described " also book " instruction described in analyzing and processing; Described first wireless communication module is used for sending to described Cloud Server or receiving data; Described first central processing unit is used for the data that described in analyzing and processing, NFC chip, described first wireless communication module produce.
Fig. 5 is the Cloud Server structured flowchart of one embodiment of the invention based on the system of the street corner Self-service Library of NFC.
Described Cloud Server comprises: information storage module, the second wireless communication module, accounting module, Charging Module, the second central processing unit, and described information storage module, the second wireless communication module, accounting module, Charging Module are connected with described second central processing unit respectively.Described information storage module for store NFC " check out label " and NFC " go back book label " corresponding to book information, also for storing the accounts information of registered user; Described second wireless communication module is used for sending to described mobile phone or receiving data, also for sending to described street corner Self-service Library or receiving data; Described accounting module to check out required expense for calculating user; Described Charging Module is used for collecting user and checks out required expense; Described second central processing unit is used for the data that described in analyzing and processing, information storage module, described second wireless communication module, described accounting module, described Charging Module produce.
In the present embodiment, described book information comprises: pricing information, ISBN code information, number of pages information; Described accounts information comprises: balance amount information.
Fig. 6 is the street corner Self-service Library structured flowchart of one embodiment of the invention based on the system of the street corner Self-service Library of NFC.
Described street corner Self-service Library comprises: the 3rd wireless communication module, pushing module, receiver module, ISBN code checking module, number of pages checking module, page check module, the 3rd central processing unit, and described 3rd wireless communication module, pushing module, receiver module, ISBN code checking module, number of pages checking module, page check module are connected with described 3rd central processing unit respectively.Described 3rd wireless communication module is used for sending to described Cloud Server or receiving data; Described pushing module is used for needing the books borrowed to be pushed to user; Described receiver module is for receiving the books needing to give back; Described ISBN code checking module is used for needing the books given back to carry out the check and correction of ISBN code; Described number of pages checking module is used for needing the books given back to carry out number of pages inspection; Described page check module is used for needing the books given back to carry out page check; Described 3rd central processing unit is used for the data that described in analyzing and processing, the 3rd wireless communication module, described pushing module, described receiver module, described ISBN code checking module, described number of pages checking module, described page check module produce.
The invention provides a kind of system of the street corner Self-service Library based on NFC, it effectively reduces the loss of borrowing books, improves the fail safe of borrowing books, user checks out by using the mobile phone with NFC function to complete, also scribe continue, improve convenience.
Above-described embodiment is the present invention's preferably execution mode; but embodiments of the present invention are not restricted to the described embodiments; change, the modification done under other any does not deviate from Spirit Essence of the present invention and principle, substitute, combine, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.