CN110049114A - A kind of books shared system - Google Patents
A kind of books shared system Download PDFInfo
- Publication number
- CN110049114A CN110049114A CN201910264576.1A CN201910264576A CN110049114A CN 110049114 A CN110049114 A CN 110049114A CN 201910264576 A CN201910264576 A CN 201910264576A CN 110049114 A CN110049114 A CN 110049114A
- Authority
- CN
- China
- Prior art keywords
- book
- user
- bookcase
- terminal
- information
- 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.)
- Pending
Links
- 238000012544 monitoring process Methods 0.000 claims abstract description 11
- 238000012795 verification Methods 0.000 claims description 25
- 230000003993 interaction Effects 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 claims description 4
- 230000001939 inductive effect Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 description 5
- 238000000034 method Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000018109 developmental process Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000005096 rolling process Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F17/00—Coin-freed apparatus for hiring articles; Coin-freed facilities or services
- G07F17/0042—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
- G07F17/005—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects for the hiring of content carriers, e.g. of DVDs or CDs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
- H04L69/162—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of books shared systems, including at least one bookcase terminal, user terminal and server;Wherein bookcase terminal provides several book lattice and stores various books, and carried out in bookcase terminal for responding user by RFID tax book, check out or also book operates, and by the real-time upload server of the book information of the user information of active user and flowing, so that server updates the book information of bookcase terminal according to user information and book information;User terminal contributes book, checks out or also book is requested to server by sending, complete line on tax book, check out or also book operate, and it is online under complete tax book under line by way of scanning the two-dimensional code or sending identifying code, check out or also book operates so that server updates accordingly the book information of bookcase terminal;The present invention is able to solve current books and shares the big problem of limitation.The present invention more proposes the bookcase lock system of the automatic opening of control bookcase, closing and the condition monitoring shared suitable for books, it is ensured that the safety of books.
Description
Technical Field
The invention relates to the technical field of book Internet of things application, in particular to a book sharing system.
Background
Along with popularization of shared bicycles and shared automobiles, the public is more familiar with the sharing mode, development of the sharing mode of multiple industries is promoted, book sharing is gradually improved, shared books can play advantages in fixed places such as libraries or reading rooms, and a more convenient and richer reading way is provided for people who like reading through an efficient and safe sharing mode.
At present, a book sharing implementation mechanism is mainly based on a library or a reading room and other fixed places, book leasing or borrowing is achieved through handling of a user card, and book management is achieved through an internal network system.
And the book cabinet locking system for realizing automatic opening and closing of the book cabinet and state monitoring is not available in the existing book sharing system, so that the safety of books cannot be ensured.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a book sharing system, which can solve the problems that book sharing must be realized based on specific occasions and time at present, the limitation is large, and book sharing is not facilitated, and further provide a book cabinet lock system which is suitable for book sharing and controls automatic opening and closing of a book cabinet and state monitoring.
In order to solve the problems, the invention provides a book sharing system, which comprises at least one bookcase terminal, a user terminal and a server;
the bookcase terminal comprises a bookcase and a host, the bookcase is used for providing a plurality of book grids for storing books, the host is used for responding to book donation operation, book borrowing operation or book returning operation which is carried out on the bookcase terminal by a user through an RFID card, and uploading user information of the current user and flowing book information to the server in real time, so that the server updates the book information of the bookcase terminal according to the user information and the book information;
the user terminal is used for completing book donation operation, book borrowing operation or book returning operation on the line by sending a book donation request, a book borrowing request or a book returning request to the server, and completing the book donation operation, the book borrowing operation or the book returning operation on the line in an online mode by scanning a two-dimensional code or sending a verification code, so that the server correspondingly updates book information of the bookcase terminal;
the server stores basic information, flowing book information and user information of a plurality of pre-deployed bookcase terminals and is used for data interaction with the bookcase terminals and the user terminals;
each book lattice of the bookcase terminal is provided with a unique electromagnetic lock; the bookcase terminal also comprises a main control lock plate, the electromagnetic lock is connected with the main control lock plate, the main machine of the bookcase terminal is connected with the main control lock plate,
the server calculates the lock number of the bookcase and sends a data packet to a host of the bookcase terminal in a Socket connection mode; the host receives the unlocking instruction data packet, searches the corresponding master control lock plate number according to the lock number in the instruction data packet, generates a corresponding RS485 data packet, and sends the RS485 data packet to the corresponding master control lock plate through the serial port; after receiving the RS485 data packet, the master control lock board analyzes the data packet to obtain a lock number to be unlocked and sends an unlocking instruction to an electromagnetic lock corresponding to the lock number, and the electromagnetic lock opens the cabinet door and monitors whether the lock door is closed or not through an inductor; after the cabinet door is closed, the inductor captures a cabinet door closing signal and feeds the cabinet door closing signal back to the main control lock board, and the main control lock board generates an RS485 data packet and sends the data packet to the host through a serial port; and the host analyzes the RS485 data packet to obtain the state information of the lock, and returns the data to the server in a Socket connection mode.
Furthermore, when the user uses the user RFID card to donate books through the bookcase terminal, the bookcase terminal reads personal information on the user RFID card and enters a main page;
responding to a book donation instruction input by a user on the main page, judging whether the book cabinet has empty book grids for storing books or not by the book cabinet terminal, if not, prompting the user to go to other book cabinets to donate books, if so, generating a book donation request according to the ISBN (international serial bus) bar code of the books to be donated scanned at the book cabinet scanning position by the user, and sending the book donation request to the server, so that the server inquires and returns book information corresponding to the ISBN bar code, corresponding donation point information, distributed cabinet bodies and corresponding book grid information according to the book donation request;
the server generates an unlocking instruction according to the cabinet body and the corresponding book grid information and sends the unlocking instruction to the bookcase terminal, the bookcase terminal analyzes the unlocking instruction and then opens the corresponding book grid, and after a user deposits books and closes the book grids, a book donation success signal is fed back to the server.
Furthermore, when the user uses the user RFID card to borrow books through the bookcase terminal, the bookcase terminal reads personal information on the user RFID card and enters a main page;
responding to a book borrowing instruction input by a user on the main page, judging whether the book cabinet stores books to be borrowed by the user or not, if not, prompting the user to borrow the books from other book cabinets, if so, generating a book borrowing request according to the books to be borrowed by the user and sending the book borrowing request to the server so that the server inquires and returns book information corresponding to the book borrowing request, corresponding deduction point information, distributed cabinet bodies and corresponding book grid information;
the server generates an unlocking instruction according to the cabinet body and the corresponding book grid information and sends the unlocking instruction to the bookcase terminal, the bookcase terminal analyzes the unlocking instruction and then opens the corresponding book grid, and after the user takes out the book and closes the book grid, a book borrowing success signal is fed back to the server.
Furthermore, when the user returns the book through the bookcase terminal by using the user RFID card, the bookcase terminal reads personal information on the user RFID card and enters a main page;
responding to a book returning instruction input by a user on the main page, judging whether the book cabinet has empty book grids for storing books, if not, prompting the user to return the books to other book cabinets, if so, generating a book returning request according to an ISBN (international serial bus) bar code scanned at a scanning position after the user selects the books to be returned in the book cabinet, and sending the book returning request to the server so that the server inquires and returns book information corresponding to the ISBN bar code, distributed cabinet bodies and corresponding book grid information according to the book returning request;
the server generates an unlocking instruction according to the cabinet body and the corresponding book lattice information and sends the unlocking instruction to the bookcase terminal, the bookcase terminal analyzes the unlocking instruction and then opens the corresponding book lattice, and after a user stores books and closes the book lattice, a book returning success signal is fed back to the server, so that the server forwards the book returning information to the user terminal.
Furthermore, when a user donates books through the user terminal, a book donation request sent by the user terminal after the user terminal selects the books to be donated and scans the ISBN (international standard bank number) bar codes of the books to be donated is sent to the server, and the server feeds back book information of the books to be donated, corresponding estimated donation points, verification codes and distributed cabinets to the user terminal;
and opening a corresponding book lattice by scanning the two-dimensional code on the distributed cabinet body or inputting a verification code on a display screen of the distributed cabinet body by the user, and after the user finishes the book donation operation at the bookcase terminal, according to a book donation success signal fed back by the bookcase terminal.
Furthermore, when the user borrows books through the user terminal, the server feeds back book information of the books to be borrowed, corresponding pre-estimated deduction points, verification codes and distributed cabinets to the user terminal in response to a book borrowing request sent by the user terminal after the user terminal selects the books to be borrowed;
and after the user finishes the book borrowing operation at the bookcase terminal, the user can open the corresponding book lattice by scanning the two-dimensional code on the distributed cabinet body or inputting the verification code on the display screen of the distributed cabinet body according to a book borrowing success signal fed back by the bookcase terminal.
Furthermore, when a user returns a book through the user terminal, a book returning request sent by the user terminal after selecting a book to be returned is responded, and book information, a verification code and a distributed cabinet body of the book to be returned are fed back to the user terminal;
and after the user finishes the book returning operation at the bookcase terminal, the book returning prompt and the integral are dynamically fed back to the user terminal according to the book returning success signal fed back by the bookcase terminal.
Furthermore, the host comprises a network module, a monitoring module and a lock control module; wherein,
the network module is used for being connected with a server through a Socket protocol to perform data interaction;
the monitoring module is used for being connected with a plurality of externally arranged camera devices so as to acquire the ambient environment information of the bookcase terminal in real time;
and the lock control module is used for sending the related unlocking instruction to the master control lock plate, and the master control lock plate controls the unlocking of the corresponding electromagnetic lock.
Furthermore, the RS485 data packet includes 8 bytes of data, the first byte is a command header, and the value is 0xFF, which indicates that it is the start of a command; the second byte is a lock plate number, the numerical range is 0x00-0x0F, the second byte corresponds to a lock plate number of 0-15, the third byte is a control byte, if the numerical value is 0xAA, the third byte is an unlocking instruction, the data in the sixth byte is a lock number, at this time, the fourth byte and the fifth byte are invalid, if the numerical value is 0xBB, the fourth byte and the fifth byte are lock state acquiring instructions, at this time, the fourth byte and the fifth byte represent corresponding lock states acquired through the inductive switch, and the data in the sixth byte is a lock number; the seventh byte is a check bit, which is an exclusive-or value of the second to sixth bytes for correctness in data transmission, and the eighth byte is an instruction terminator and has a value of 0 xEE.
The embodiment of the invention has the following beneficial effects:
the book sharing system provided by the embodiment of the invention comprises at least one bookcase terminal, a user terminal and a server; the bookcase terminal comprises a bookcase and a host, the bookcase is used for providing a plurality of book lattices for storing various books, the host is used for responding to book donation operation, book borrowing operation or book returning operation which is carried out on the bookcase terminal by a user through RFID, and uploading user information of the current user and flowing book information to the server in real time, so that the server updates the book information of the bookcase terminal according to the user information and the book information; the user terminal is used for completing book donation operation, book borrowing operation or book returning operation on the line by sending a book donation request, a book borrowing request or a book returning request to the server by taking the WeChat public number as a window, and completing the book donation operation, the book borrowing operation or the book returning operation under the line by scanning a two-dimensional code or sending a verification code under the line, so that the server correspondingly updates the book information of the bookcase terminal; the server is used as a data background, stores basic information, flowing book information and user information of a plurality of bookcase terminals which are deployed in advance, and is used for data interaction with the bookcase terminals and the user terminals. The book cabinet lock system can solve the problems that book sharing must be realized based on specific occasions and time at present, the limitation is large, and book sharing is not facilitated, and further the book cabinet lock system which is suitable for book sharing and controls automatic opening and closing of a book cabinet and state monitoring is provided, so that the safety of books is ensured.
Drawings
FIG. 1 is a schematic structural diagram of a book sharing system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a bookcase terminal provided in the embodiment of the present invention;
fig. 3 is a schematic structural diagram of an RS485 data packet for unlocking and acquiring a lock state according to an embodiment of the present invention.
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.
Firstly, the application scene which can be provided by the invention, such as a shared book cabinet integrated platform based on WeChat public numbers, is introduced, so that the accessible sharing of books is realized.
At present, a book sharing implementation mechanism is mainly based on a library or a reading room and other fixed places, book leasing or borrowing is achieved through handling of a user card, and book management is achieved through an internal network system.
Please refer to fig. 1-3. As shown in fig. 1, the book sharing system provided in this embodiment includes at least one bookcase terminal 100, a user terminal 200, and a server 300;
the bookcase terminal 100 comprises a bookcase and a host, wherein the bookcase is used for providing a plurality of book grids for storing books, and the host is used for responding to book donation operation, book borrowing operation or book returning operation performed by a user on the bookcase terminal through an RFID card, and uploading user information of the current user and flowing book information to the server in real time, so that the server updates book information of the bookcase terminal according to the user information and the book information.
And the user terminal 200 is configured to complete the book donation operation, the book borrowing operation or the book returning operation on the line by sending the book donation request, the book borrowing request or the book returning request to the server, and complete the book donation operation, the book borrowing operation or the book returning operation on the line in an online manner by scanning the two-dimensional code or sending the verification code, so that the server updates the book information of the bookcase terminal accordingly.
The server 300 stores basic information of a plurality of bookcase terminals which are deployed in advance, flowing book information and user information of a user, and is used for data interaction with the bookcase terminals and the user terminals.
For the bookcase terminal 100, specifically, as shown in table 1-2, the bookcase adopts a sheet metal structure, includes 32-inch touch screens and 116 bookcases, and simultaneously supports a master-slave cabinet mode, and the master cabinet and the slave cabinet can perform linkage operation through a master control screen; the capacitive touch screen is configured, and users can perform operations such as inquiry, book borrowing, book returning, book donation and the like on the interface; a 4G communication module and a LAN network communication module are configured, and network transmission is carried out through the communication module; a code scanning gun module is arranged, so that two-dimensional codes and bar codes can be rapidly scanned; the bookcase is provided with an RFID module, and business handling can be performed through direct scanning of RFID; the bookcase hardware supports Windows and CentOS operating systems, and corresponding operating systems can be selected according to business requirements; the bookcase supports the functions of automatic cabinet opening, remote cabinet opening, cabinet door state identification and the like; the bookcase is provided with a camera module, and the short video can be shot and recorded in real time through the camera; the bookcase is also provided with a complete bookcase terminal system, a service system and a background management system.
TABLE 1
TABLE 2
It can be understood that the camera module can shoot and record short videos in real time through the camera, mainly when the book borrowing person operates in the bookcase, automatic shooting or video recording is carried out, and upload to the background server and carry out the filing storage, so as to be used as a certificate and guarantee for normal use of the bookcase and books, but privacy problems can exist in the action, the system can provide a switch to ensure that the requirements of regulations are met, and meanwhile, a real-time shooting or video recording control function is provided at the background, and the camera module is used as a means for maintaining the bookcase.
It can be understood that the software provided by the manufacturer needs to include an ISBN basic information database, when inquiring book information, the manufacturer firstly inquires its own ISBN library, if there is no relevant information, the manufacturer calls the ISBN basic database interface of the publishing office to inquire, and stores the inquiry result in its own ISBN library, so that when inquiring ISBN next time, the manufacturer can directly obtain book information through its own ISBN library, thereby reducing the inquiry cost.
It can be understood that the bookcase terminal system supports the function of idle recommended pages, and supports two modes, one mode is a rolling interface for displaying existing books in the bookcase in a rolling mode and corresponding introduction or evaluation, the other mode is a video interface for directly playing recommendation videos, and the recommended pages return to the main operation interface after clicking.
The book cabinet terminal system also supports an option of configuring a default/common book cabinet, wherein the common book cabinet is selected when the book is returned, and the book cabinet is positioned and searched when the user needs to search according to the position.
The bookcase business system supports the business statistics function, book borrowing and book storing operations in the bookcase are submitted to the background for processing and recording, the system can analyze existing book stock and book borrowing and storing records through database data, and statistical data of active time intervals, active areas, active users and active books can be obtained.
The bookcase service system also supports a charging policy management and control function, and the charging policy can be defined and controlled through background configuration, for example: the new registration sends 5 reading coins, 5 reading coins are borrowed once, each person can only borrow 2 books every day, 8 books can be borrowed every month, the book of borrowing returns 5 reading coins in a month, more than one month later, 1 reading coin is deducted every week, the balance of the reading coin is deducted, and other books can not be borrowed continuously.
As for the user terminal 200, it can be understood that attention is paid by paying attention to the WeChat public number, and the book borrowing can be performed only by recharging after the attention is paid; the system automatically distributes the cabinet body and the specific book lattice, inputs a verification code or scans a two-dimensional code when the user arrives at the bookcase and deposits the book, the system automatically opens the book lattice, the user deposits the book and issues virtual currency corresponding to the book price value to the user; the user can inquire the book cabinet through the public number and store the book catalog, submits the borrowing request to the system, and the system automatically judges the credit level of the user, deducts the virtual currency on the user account number, and then automatically opens the corresponding cabinet door for the user to fetch the book.
In one embodiment, when a user uses a user RFID card to donate books through a bookcase terminal, the bookcase terminal reads personal information on the user RFID card and enters a main page;
responding to a book donation instruction input by a user on a main page, judging whether the book cabinet has empty book grids for storing books or not by the book cabinet terminal, if not, prompting the user to go to other book cabinets to donate books, if so, generating a book donation request according to the ISBN (international standard bank number) bar code of the book to be donated, which is scanned by the user at a book cabinet scanning position, and sending the book donation request to a server, so that the server inquires and returns book information corresponding to the ISBN bar code, corresponding donation point information, a distributed cabinet body and corresponding book grid information according to the book donation request;
the server generates an unlocking instruction according to the cabinet body and the corresponding book lattice information and sends the unlocking instruction to the bookcase terminal, the bookcase terminal analyzes the unlocking instruction and then opens the corresponding book lattice, and after the user deposits the book and closes the book lattice, a book donation success signal is fed back to the server, so that the server issues virtual money corresponding to the donation point information to the account of the user.
It can be understood that the user reads personal information after swiping the card, and selects donation books; judging whether the bookcase has a vacancy or not, if not, prompting the user to go to the nearest bookcase, and if so, prompting the user to re-scan the bookcase to scan out the scanned book; book case book information and book donation estimated donation point information are presented; prompting a user to put books into the corresponding cabinet and opening the cabinet door of the background; prompting the user to close the cabinet door, displaying the dynamic integral and completing the book donation.
In one embodiment, when a user uses a user RFID card to borrow a book through a bookcase terminal, the bookcase terminal reads personal information on the user RFID card and enters a main page;
responding to a book borrowing instruction input by a user on a main page, judging whether the book cabinet stores books to be borrowed by the user or not, if not, prompting the user to borrow the books from other book cabinets, if so, generating a book borrowing request according to the books to be borrowed by the user and sending the book borrowing request to a server so that the server inquires and returns book information corresponding to the book borrowing request, corresponding deduction point information, a distributed cabinet body and corresponding book lattice information;
the server generates an unlocking instruction according to the cabinet body and the corresponding book lattice information and sends the unlocking instruction to the bookcase terminal, the bookcase terminal analyzes the unlocking instruction and then opens the corresponding book lattice, and after the user takes out the book and closes the book lattice, a book borrowing success signal is fed back to the server, so that the server marks and deducts the virtual currency limit corresponding to the deduction point information on the account number of the user.
It can be understood that the user reads the personal information after swiping the card, and chooses to borrow the book; the user selects the existing books in the current bookcase or searches the needed books, judges whether the needed books exist in the bookcase, and prompts the user to go to other bookcases if the needed books do not exist in the bookcase; if yes, selecting a book to borrow, and displaying points required by the book to borrow; if the integral is insufficient, prompting the user to recharge and then continue borrowing the book; and if the integral is enough, opening the cabinet, prompting the user to close the cabinet door after the user takes out the book, displaying the dynamic integral, and borrowing the book to finish the operation.
In one embodiment, when a user returns a book through a bookcase terminal by using a user RFID card, the bookcase terminal reads personal information on the user RFID card and enters a main page;
responding to a book returning instruction input by a user on a main page, judging whether the book cabinet has empty book grids for storing books, if not, prompting the user to return the books to other book cabinets, if so, generating a book returning request according to an ISBN (international serial bus) bar code scanned at a scanning position after the user selects the books to be returned in the book cabinet, and sending the book returning request to a server so that the server inquires and returns book information corresponding to the ISBN bar code, a distributed cabinet body and corresponding book grid information according to the book returning request;
the server generates an unlocking instruction according to the cabinet body and the corresponding book lattice information and sends the unlocking instruction to the bookcase terminal, the bookcase terminal analyzes the unlocking instruction and then opens the corresponding book lattice, and after the user stores the book and closes the book lattice, a book returning success signal is fed back to the server, so that the server forwards the book returning information to the user terminal.
It can be understood that the user reads personal information after swiping the card and selects to return the book; judging whether the bookcase has a vacant space, if not, prompting the user to go to the nearest bookcase; if yes, prompting the user to scan the books at the bookcase scanning position after the user selects the returned books; after the scanning is finished, opening the cabinet and prompting a user to put the book into a corresponding bookcase; prompting the user to close the cabinet door, displaying the dynamic integral and completing the book return.
In one embodiment, when a user donates books through a user terminal, a book donation request sent by the user terminal after the user terminal selects the books to be donated and scans ISBN (international standard bank number) bar codes of the books to be donated is sent to a server, and the server feeds back book information of the books to be donated, corresponding estimated donation points, verification codes and distributed cabinets to the user terminal;
a corresponding book grid is opened by a user through scanning a two-dimensional code on a distributed cabinet body (for example, through WeChat or Payment treasures) or inputting a verification code on a display screen of the distributed cabinet body, after the user completes book donation operation at a bookcase terminal, virtual money corresponding to donation point information is issued to an account number of the user according to a book donation success signal fed back by the bookcase terminal, and meanwhile, book donation prompts and points are dynamically fed back to the user terminal.
It can be understood that the user selects donation books on the WeChat page, and opens the WeChat scanning book; book information appears and predicted points presented are displayed; making an appointment, displaying the point information after the appointment is successful, and sending a verification code; the user sweeps the sign indicating number or inputs the identifying code through the WeChat to the book case terminal and opens the cupboard, and the suggestion that the user closed the cupboard door to show the score developments, the short message or the little letter propelling movement donates book suggestion and score developments after the donation book is accomplished.
In one embodiment, when a user borrows books through a user terminal, a server feeds back book information of the books to be borrowed, corresponding pre-estimated deduction points, verification codes and distributed cabinets to the user terminal in response to a book borrowing request sent by the user terminal after the user terminal selects the books to be borrowed;
the method comprises the steps that a corresponding book lattice is opened by a user through scanning a two-dimensional code on a distributed cabinet body (for example, through WeChat or Payment treasure) or inputting a verification code on a display screen of the distributed cabinet body, after the user completes book borrowing operation at a book cabinet terminal, according to a book borrowing success signal fed back by the book cabinet terminal, a virtual currency amount corresponding to deduction point information is marked and deducted on an account number of the user, and meanwhile, a book borrowing prompt and points are dynamically fed back to the user terminal.
It can be understood that the user selects to borrow the book on the WeChat page, checks or searches the book to be borrowed, displays the book information and pre-estimates the deduction points; after the date is selected for reservation, displaying the dynamic point and sending a verification code; and the user enters the bookcase terminal to open the cabinet by scanning the code through the WeChat or inputting the verification code, prompts the user to close the cabinet door, displays the dynamic point, and pushes the book borrowing prompt and the dynamic point through the short message or the WeChat after the book borrowing is finished.
In one embodiment, when a user returns a book through a user terminal, a book returning request sent by the user terminal after selecting a book to be returned is responded, and book information, a verification code and a distributed cabinet body of the book to be returned are fed back to the user terminal;
and after the user finishes the book returning operation at the bookcase terminal, the book returning prompt and the integral are dynamically fed back to the user terminal according to a book returning success signal fed back by the bookcase terminal.
It can be understood that the user selects a book return on the WeChat page, enters the book return page and confirms, and then performs book return appointment to obtain the verification code; and the user enters the bookcase terminal to open the cabinet by scanning the code through the WeChat or inputting the verification code, prompts the user to close the cabinet door, displays the dynamic integral, and pushes the book returning prompt and the dynamic integral through the short message or the WeChat after the book returning is finished.
As shown in fig. 2, each book case of the bookcase terminal is provided with a unique electromagnetic lock; the bookcase terminal also comprises a main control lock plate, the electromagnetic lock is connected with the main control lock plate, a host of the bookcase terminal is connected with the main control lock plate, and the host comprises a network module, a monitoring module and a lock control module; wherein,
the network module is used for being connected with the server through a Socket protocol to perform data interaction;
the monitoring module is used for being connected with a plurality of externally arranged camera devices so as to acquire the surrounding environment information of the bookcase terminal in real time;
and the lock control module is used for sending the related unlocking instruction to the master control lock plate, and the master control lock plate controls the unlocking of the corresponding electromagnetic lock.
Taking a book borrowing example of a user, the following describes how to unlock the book in detail, and the server calculates the number of the bookcase and sends a data packet to a host computer of the bookcase terminal in a Socket connection mode; the host receives the unlocking instruction data packet, searches for the corresponding master control lock plate number according to the lock number in the instruction data packet, generates a corresponding RS485 data packet, and sends the RS485 data packet to the corresponding master control lock plate through the serial port; after receiving the RS485 data packet, the master control lock board analyzes the data packet to obtain a lock number to be unlocked and sends an unlocking instruction to an electromagnetic lock corresponding to the lock number, and the electromagnetic lock opens the cabinet door and monitors whether the lock door is closed or not through an inductor; after the cabinet door is closed, the inductor captures a cabinet door closing signal and feeds the cabinet door closing signal back to the main control lock board, and the main control lock board generates an RS485 data packet and sends the data packet to the host through the serial port; the host analyzes the RS485 data packet to obtain the state information of the lock, and returns the data to the server in a Socket connection mode.
Fig. 3 shows the format of an RS485 packet (also referred to as an RS485 protocol packet) used for unlocking and obtaining lock status information according to the present invention, where the packet includes 8 bytes of data, the first byte is an instruction header, the value is 0xFF, which indicates that it is the start of an instruction, and if the first byte of the obtained packet is not 0xFF, the packet is ignored and no operation is performed; the second byte is a lock plate number, the numerical range is 0x00-0x0F, namely the second byte corresponds to a lock plate number of 0-15, the third byte is a control byte, if the numerical value is 0xAA, the unlocking instruction is shown, the data in the sixth byte is the lock number, and at the moment, the fourth byte and the fifth byte are invalid; if the numerical value is 0xBB, the lock state instruction is obtained, at the moment, the fourth byte and the fifth byte represent corresponding lock states obtained through the inductive switch, and data in the sixth byte are lock numbers; the seventh byte is a check bit, which may be an exclusive-or value of the second to sixth bytes, for correctness in data transmission, and the eighth byte is an instruction terminator and has a value of 0 xEE. Through the specially designed data packet, unlocking can be controlled through one data packet, and after the unlocking, the state information of the lock can be acquired through the data packet with the same format.
It can be understood that the book case carries out the cabinet-opening through the electromagnetic lock, and the electromagnetic lock passes through the main control jam plate of serial ports connection, according to the agreement of unblanking of electromagnetic lock, sends specific character code to the serial ports, then can unblank or inquire the state of lock, and the closing of electromagnetic lock then can the corresponding character code of automatic triggering, by electromagnetic lock to serial ports write in data, main control jam plate reads this data through the serial ports, then can acquire the closure of lock.
The Windows or CentOS operating system is installed on the main control lock board, and the application program for realizing the serial port read-write protocol is deployed, so that the lock state can be controlled and read through the application program, in addition, the network control code is added to the application program, and the background system is connected through the Socket protocol, so that the background can remotely send the instruction to remotely open the cabinet, which is an important invention point of the invention.
The book sharing system provided by the embodiment comprises at least one bookcase terminal, a user terminal and a server; the bookcase terminal comprises a bookcase and a host, the bookcase is used for providing a plurality of book lattices for storing various books, the host is used for responding to book donation operation, book borrowing operation or book returning operation which is performed on the bookcase terminal by a user through RFID, and uploading user information of the current user and flowing book information to the server in real time, so that the server updates book information of the bookcase terminal and a virtual currency limit on an account number of the user according to the user information and the book information; the user terminal is used for completing book donation operation, book borrowing operation or book returning operation on the line by sending a book donation request, a book borrowing request or a book returning request to the server by taking the WeChat public number as a window, and completing the book donation operation, the book borrowing operation or the book returning operation under the line by scanning a two-dimensional code or sending a verification code under the line, so that the server correspondingly updates book information of the bookcase terminal and the virtual currency amount on the account number of the user; the server is used as a data background and stores basic information, flowing book information and user information of a plurality of bookcase terminals which are deployed in advance, and is used for data interaction with the bookcase terminals and the user terminals. The embodiment can solve the problems that the book sharing must be realized based on specific occasions and time, the limitation is large, and the book sharing is not facilitated. The invention further provides a book cabinet lock system which is suitable for book sharing and used for controlling the automatic opening and closing of a book cabinet and monitoring the state of the book cabinet, and the safety of books is ensured.
The foregoing is directed to the preferred embodiment of the present invention, and it is understood that various changes and modifications may be made by one skilled in the art without departing from the spirit of the invention, and it is intended that such changes and modifications be considered as within the scope of the invention.
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.
Claims (9)
1. A book sharing system is characterized by comprising at least one bookcase terminal, a user terminal and a server;
the bookcase terminal comprises a bookcase and a host, the bookcase is used for providing a plurality of book grids for storing books, the host is used for responding to book donation operation, book borrowing operation or book returning operation which is carried out on the bookcase terminal by a user through an RFID card, and uploading user information of the current user and flowing book information to the server in real time, so that the server updates the book information of the bookcase terminal according to the user information and the book information;
the user terminal is used for completing book donation operation, book borrowing operation or book returning operation on the line by sending a book donation request, a book borrowing request or a book returning request to the server, and completing the book donation operation, the book borrowing operation or the book returning operation on the line in an online mode by scanning a two-dimensional code or sending a verification code, so that the server correspondingly updates book information of the bookcase terminal;
the server stores basic information, flowing book information and user information of a plurality of pre-deployed bookcase terminals and is used for data interaction with the bookcase terminals and the user terminals;
each book lattice of the bookcase terminal is provided with a unique electromagnetic lock; the bookcase terminal also comprises a main control lock plate, the electromagnetic lock is connected with the main control lock plate, the main machine of the bookcase terminal is connected with the main control lock plate,
the server calculates the lock number of the bookcase and sends a data packet to a host of the bookcase terminal in a Socket connection mode; the host receives the unlocking instruction data packet, searches the corresponding master control lock plate number according to the lock number in the instruction data packet, generates a corresponding RS485 data packet, and sends the RS485 data packet to the corresponding master control lock plate through the serial port; after receiving the RS485 data packet, the master control lock board analyzes the data packet to obtain a lock number to be unlocked and sends an unlocking instruction to an electromagnetic lock corresponding to the lock number, and the electromagnetic lock opens the cabinet door and monitors whether the lock door is closed or not through an inductor; after the cabinet door is closed, the inductor captures a cabinet door closing signal and feeds the cabinet door closing signal back to the main control lock board, and the main control lock board generates an RS485 data packet and sends the data packet to the host through a serial port; and the host analyzes the RS485 data packet to obtain the state information of the lock, and returns the data to the server in a Socket connection mode.
2. The book sharing system according to claim 1, wherein when the user uses the user RFID card to donate books through the bookcase terminal, the bookcase terminal reads personal information on the user's RFID card to enter a main page;
responding to a book donation instruction input by a user on the main page, judging whether the book cabinet has empty book grids for storing books or not by the book cabinet terminal, if not, prompting the user to go to other book cabinets to donate books, if so, generating a book donation request according to the ISBN (international serial bus) bar code of the books to be donated scanned at the book cabinet scanning position by the user, and sending the book donation request to the server, so that the server inquires and returns book information corresponding to the ISBN bar code, corresponding donation point information, distributed cabinet bodies and corresponding book grid information according to the book donation request;
the server generates an unlocking instruction according to the cabinet body and the corresponding book grid information and sends the unlocking instruction to the bookcase terminal, the bookcase terminal analyzes the unlocking instruction and then opens the corresponding book grid, and after a user deposits books and closes the book grids, a book donation success signal is fed back to the server.
3. The book sharing system according to claim 1, wherein when the user uses the user RFID card to borrow a book through the bookcase terminal, the bookcase terminal reads personal information on the user's RFID card to enter a home page;
responding to a book borrowing instruction input by a user on the main page, judging whether the book cabinet stores books to be borrowed by the user or not, if not, prompting the user to borrow the books from other book cabinets, if so, generating a book borrowing request according to the books to be borrowed by the user and sending the book borrowing request to the server so that the server inquires and returns book information corresponding to the book borrowing request, corresponding deduction point information, distributed cabinet bodies and corresponding book grid information;
the server generates an unlocking instruction according to the cabinet body and the corresponding book grid information and sends the unlocking instruction to the bookcase terminal, the bookcase terminal analyzes the unlocking instruction and then opens the corresponding book grid, and after the user takes out the book and closes the book grid, a book borrowing success signal is fed back to the server.
4. The book sharing system according to claim 1, wherein when the user returns a book through the bookcase terminal using the user RFID card, the bookcase terminal reads personal information on the user's RFID card to enter a home page;
responding to a book returning instruction input by a user on the main page, judging whether the book cabinet has empty book grids for storing books, if not, prompting the user to return the books to other book cabinets, if so, generating a book returning request according to an ISBN (international serial bus) bar code scanned at a scanning position after the user selects the books to be returned in the book cabinet, and sending the book returning request to the server so that the server inquires and returns book information corresponding to the ISBN bar code, distributed cabinet bodies and corresponding book grid information according to the book returning request;
the server generates an unlocking instruction according to the cabinet body and the corresponding book lattice information and sends the unlocking instruction to the bookcase terminal, the bookcase terminal analyzes the unlocking instruction and then opens the corresponding book lattice, and after a user stores books and closes the book lattice, a book returning success signal is fed back to the server, so that the server forwards the book returning information to the user terminal.
5. The book sharing system according to claim 1, wherein when a user donates books through the user terminal, a book donation request is sent to the server in response to the user terminal after selecting a book to be donated and scanning the ISBN barcode of the book to be donated, and the server feeds back book information of the book to be donated, corresponding estimated donation points, verification codes and allocated cabinets to the user terminal;
and opening a corresponding book lattice by scanning the two-dimensional code on the distributed cabinet body or inputting a verification code on a display screen of the distributed cabinet body by the user, and after the user finishes the book donation operation at the bookcase terminal, according to a book donation success signal fed back by the bookcase terminal.
6. The book sharing system according to claim 1, wherein when a user borrows a book through the user terminal, the server feeds back book information of the book to be borrowed, corresponding estimated deduction points, verification codes and allocated cabinets to the user terminal in response to a book borrowing request sent by the user terminal after the user terminal selects the book to be borrowed;
and after the user finishes the book borrowing operation at the bookcase terminal, the user can open the corresponding book lattice by scanning the two-dimensional code on the distributed cabinet body or inputting the verification code on the display screen of the distributed cabinet body according to a book borrowing success signal fed back by the bookcase terminal.
7. The book sharing system according to claim 1, wherein when a user returns a book through the user terminal, the book information, the authentication code and the allocated cabinet of the book to be returned are fed back to the user terminal in response to a book return request sent by the user terminal after the user terminal selects the book to be returned;
and after the user finishes the book returning operation at the bookcase terminal, the book returning prompt and the integral are dynamically fed back to the user terminal according to the book returning success signal fed back by the bookcase terminal.
8. The book sharing system of claim 1, wherein the host computer includes a network module, a monitoring module, and a lock control module; wherein,
the network module is used for being connected with a server through a Socket protocol to perform data interaction;
the monitoring module is used for being connected with a plurality of externally arranged camera devices so as to acquire the ambient environment information of the bookcase terminal in real time;
and the lock control module is used for sending the related unlocking instruction to the master control lock plate, and the master control lock plate controls the unlocking of the corresponding electromagnetic lock.
9. The book sharing system of claim 8,
the RS485 data packet comprises 8 bytes of data, wherein the first byte is an instruction header, and the value is 0xFF, which indicates the start of the instruction; the second byte is a lock plate number, the numerical range is 0x00-0x0F, the second byte corresponds to a lock plate number of 0-15, the third byte is a control byte, if the numerical value is 0xAA, the third byte is an unlocking instruction, the data in the sixth byte is a lock number, at this time, the fourth byte and the fifth byte are invalid, if the numerical value is 0xBB, the fourth byte and the fifth byte are lock state acquiring instructions, at this time, the fourth byte and the fifth byte represent corresponding lock states acquired through the inductive switch, and the data in the sixth byte is a lock number; the seventh byte is a check bit, which is an exclusive-or value of the second to sixth bytes for correctness in data transmission, and the eighth byte is an instruction terminator and has a value of 0 xEE.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910082498 | 2019-01-28 | ||
CN2019100824983 | 2019-01-28 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110049114A true CN110049114A (en) | 2019-07-23 |
Family
ID=67276037
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910264576.1A Pending CN110049114A (en) | 2019-01-28 | 2019-04-03 | A kind of books shared system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110049114A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110958235A (en) * | 2019-11-25 | 2020-04-03 | 山东大学 | Intelligent distributed book searching navigation system |
CN111311349A (en) * | 2019-12-09 | 2020-06-19 | 焦作大学 | Intelligent shared book management system for residential area |
CN112085129A (en) * | 2020-07-24 | 2020-12-15 | 成都喜鹊鸣网络科技有限公司 | Method for logging in equipment |
CN112767064A (en) * | 2020-12-24 | 2021-05-07 | 深兰盛视科技(苏州)有限公司 | Article renting method and device, electronic equipment and storage medium |
CN113178039A (en) * | 2021-05-08 | 2021-07-27 | 张伊然 | Distributed shared bookcase system and automatic control method thereof |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040011203A (en) * | 2002-07-29 | 2004-02-05 | 정용석 | book pull handle |
CN104268736A (en) * | 2014-10-16 | 2015-01-07 | 四川金投金融电子服务有限公司 | Goods storage management system |
WO2016020930A1 (en) * | 2014-08-07 | 2016-02-11 | Shah Chintan Suketu | An integrated system for a virtual bookstore |
CN107019345A (en) * | 2017-05-24 | 2017-08-08 | 靳军 | Intelligent bookshelf, books shared system and books are leased, give back method |
CN107393179A (en) * | 2017-07-21 | 2017-11-24 | 刘姗姗 | A kind of shared book management system and method |
CN108109290A (en) * | 2017-12-07 | 2018-06-01 | 黄金屋科技有限公司 | The method and system shared based on Internet of Things storage book lattice locker books |
CN109064691A (en) * | 2018-08-20 | 2018-12-21 | 浙江立芯信息科技股份有限公司 | Shared cabinet adapted for storing books total management system and books are shared, lease, give back method |
CN109427153A (en) * | 2017-08-28 | 2019-03-05 | 江苏多读智能科技有限公司 | A kind of shared bookcase system and its take book, also book, shared book method |
-
2019
- 2019-04-03 CN CN201910264576.1A patent/CN110049114A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040011203A (en) * | 2002-07-29 | 2004-02-05 | 정용석 | book pull handle |
WO2016020930A1 (en) * | 2014-08-07 | 2016-02-11 | Shah Chintan Suketu | An integrated system for a virtual bookstore |
CN104268736A (en) * | 2014-10-16 | 2015-01-07 | 四川金投金融电子服务有限公司 | Goods storage management system |
CN107019345A (en) * | 2017-05-24 | 2017-08-08 | 靳军 | Intelligent bookshelf, books shared system and books are leased, give back method |
CN107393179A (en) * | 2017-07-21 | 2017-11-24 | 刘姗姗 | A kind of shared book management system and method |
CN109427153A (en) * | 2017-08-28 | 2019-03-05 | 江苏多读智能科技有限公司 | A kind of shared bookcase system and its take book, also book, shared book method |
CN108109290A (en) * | 2017-12-07 | 2018-06-01 | 黄金屋科技有限公司 | The method and system shared based on Internet of Things storage book lattice locker books |
CN109064691A (en) * | 2018-08-20 | 2018-12-21 | 浙江立芯信息科技股份有限公司 | Shared cabinet adapted for storing books total management system and books are shared, lease, give back method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110958235A (en) * | 2019-11-25 | 2020-04-03 | 山东大学 | Intelligent distributed book searching navigation system |
CN111311349A (en) * | 2019-12-09 | 2020-06-19 | 焦作大学 | Intelligent shared book management system for residential area |
CN112085129A (en) * | 2020-07-24 | 2020-12-15 | 成都喜鹊鸣网络科技有限公司 | Method for logging in equipment |
CN112767064A (en) * | 2020-12-24 | 2021-05-07 | 深兰盛视科技(苏州)有限公司 | Article renting method and device, electronic equipment and storage medium |
CN113178039A (en) * | 2021-05-08 | 2021-07-27 | 张伊然 | Distributed shared bookcase system and automatic control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110049114A (en) | A kind of books shared system | |
US6712266B2 (en) | Network transaction and cash-accepting add-value station | |
CN101833827B (en) | Self-service system for hotel | |
CN204926094U (en) | System based on authentication is carried out to biological characteristics information | |
CN105956677A (en) | Method and system for room management | |
CN102262801A (en) | Self-service check-in system of hotel | |
CN107393179A (en) | A kind of shared book management system and method | |
CN109920156A (en) | Borrowing for article takes control method and system | |
CN1952985B (en) | Ic card identification system | |
JP2019002136A (en) | Hotel Key System | |
JP7240848B2 (en) | Goods storage and payment system | |
KR20160094625A (en) | Method for book reserve/return and book reserve/return system havimg device thereof | |
CN111105572A (en) | Hotel self-service terminal, hotel reconstruction method and information management method | |
US11768927B2 (en) | Systems and methods for safely storing an object | |
JP2015153219A (en) | Locker use management system and locker use management method | |
CN110956522A (en) | Book sharing system | |
CN110335424A (en) | Community's blocking card integrated machine equipment and production method based on self-service authentication | |
JP2010092316A (en) | After-hour transaction method and after-hour transaction system | |
JP2019105053A (en) | Equipment operation system | |
AU2021101733A4 (en) | Internet of Things (IoT) System and Method for Smart Hotel Location and Internal Status Update | |
KR20130138381A (en) | Smart books management system | |
JP7364223B2 (en) | Electronic lock system, method implemented on electronic lock system, mobile terminal, method implemented on mobile terminal, and computer program | |
CN108615174A (en) | The method for controlling portable computer based on smart mobile phone and server management of leasing | |
RU2666235C1 (en) | Method of the services payment, primary of the transport services and automated system for its implementation | |
KR20200140475A (en) | The Method And The System To Control A Door Of Study Cafe Using Mobile Application KIOSK |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190723 |