Detailed Description
In order to make the technical solutions of the present invention better understood, 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.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, article, or article that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or article.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The invention discloses a control method, a control device, computer equipment and a storage medium of an intelligent bookcase, when books are shelved in the intelligent bookcase, firstly, a storage space of books to be shelved is selected from the intelligent bookcase, then after the books to be shelved are stored in the storage space of the books to be shelved, an international standard book number corresponding to the books to be shelved and a storage space mark corresponding to the storage space of the books to be shelved are associated, thereby realizing the control management of the shelves of the intelligent bookcase by the international standard book number of the books and the storage space mark of the storage space of the books in the intelligent bookcase, when the books are borrowed in the intelligent bookcase, firstly, the storage space of the books to be borrowed is selected from the intelligent bookcase, then after the books to be borrowed are taken out from the storage space of the books to be borrowed, the international standard book number corresponding to the books to be borrowed and a user unique mark corresponding to the user who takes out the books to be borrowed, therefore, the book lending control management of the intelligent bookcase can be realized through the international standard book number of the books and the unique user identification of the user of the intelligent bookcase. Therefore, the intelligent bookcase is controlled and managed through the international standard book number of each book, the storage space identification of the intelligent bookcase and the unique user identification of the user of the intelligent bookcase, and the intelligent bookcase can be controlled and managed in a relatively simple and convenient mode at relatively low cost. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart of a control method of an intelligent bookcase according to an embodiment of the present invention. As shown in fig. 1, the control method of the intelligent bookcase may include the following operations:
101. whether a racking request carrying the international standard book number corresponding to the book to be racked is received is detected.
In step 101, the racking request may be triggered by a manager of the intelligent bookcase scanning a barcode of the book to be racked, which bears an international standard book number corresponding to the book to be racked, through a scanning device preset in the intelligent bookcase or a mobile terminal (e.g., a smartphone of the manager) of the manager. Optionally, the intelligent bookcase may further be provided with a corresponding bookcase management server, where the bookcase management server is configured to manage books in the intelligent bookcase, and may store international standard book numbers, book information, storage space identifiers, and the like of each book in the intelligent bookcase. When books need to be shelved, the bookcase management server can generate shelving order information for the books to be shelved, the shelving order information is sent to a terminal (such as a smart phone of a manager) corresponding to a manager, and the manager can carry the books to be shelved to the smart bookcase to be shelved after checking the shelving order.
102. And when the racking request is received, selecting the book storage space to be shelved for storing the books to be shelved from the book storage spaces of the intelligent bookcase.
In step 102, the intelligent bookcase generally has a plurality of book storage spaces (i.e., cells of the intelligent bookcase), and after receiving the racking request, any free book storage space or a certain determined storage space may be selected from the plurality of book storage spaces as a book storage space to be racked for storing books to be racked. After the book storage space to be shelved is selected, the book storage space to be shelved can be put into a state of storing books (for example, the lattice openings of the corresponding lattices in the bookcase are opened).
103. And when detecting that the books to be shelved are stored in the book storage space to be shelved, associating the international standard book number corresponding to the books to be shelved with the storage space identification corresponding to the book storage space to be shelved.
In the step 103, whether the books to be shelved have been stored in the book storage space can be detected by a sensor (e.g., an infrared sensor, a weight sensor, etc.) previously provided in the book storage space. In addition, the international standard book number corresponding to the book to be shelved and the storage space identifier corresponding to the storage space of the book to be shelved can be stored in the database, and then the international standard book number corresponding to the book to be shelved and the storage space identifier corresponding to the storage space of the book to be shelved are associated by establishing the mapping relation between the international standard book number corresponding to the book to be shelved and the storage space identifier corresponding to the storage space of the book to be shelved in the database. The storage space identifier corresponding to each book storage space in the intelligent bookcase can be preset, for example, the storage space identifier corresponding to the book storage space (i.e., the upper left-corner cells) at the upper left corner of the intelligent bookcase can be preset to 001.
104. Detecting whether a book borrowing request aiming at a book to be borrowed is received, wherein the book borrowing request carries an international standard book number corresponding to the book to be borrowed and a user unique identification corresponding to a user initiating the book borrowing request.
In the step 104, the book borrowing request may be triggered after the user performs corresponding operations on a control terminal preset in the smart bookcase or a mobile terminal of the user (for example, a smart phone of the user), for example, the user may log in an account of the user on an application client of the smart phone, and then input an international standard book number of a book to be borrowed, thereby initiating the book borrowing request. Through the account number that the user has logged in, the user unique identifier corresponding to the user can be obtained (in the system, a unique identifier is usually set for each account, that is, the unique identifier can be used as the user unique identifier corresponding to the user). The international standard book number corresponding to the book to be lent can be obtained through the international standard book number input by the user.
105. And when the book borrowing request is received, according to the international standard book number corresponding to the book to be borrowed, selecting the book storage space to be borrowed, in which the book to be borrowed is stored, from the plurality of book storage spaces of the intelligent bookcase.
In step 105, an International Standard Book Number (ISBN), which is an International Number specifically designed for identifying documents such as books, is used for short. Two different books may have the same international standard book number, for example, two books are of the same edition, that is, have the same international standard book number. When only one book corresponding to the international standard book number corresponding to the book to be borrowed is stored in the intelligent bookcase, the storage space in which the book is stored can be selected as a storage space for the book to be borrowed, and when a plurality of books corresponding to the international standard book number corresponding to the book to be borrowed are stored in the intelligent bookcase, the storage space in which one book is selected can be used as a storage space for the book to be borrowed.
106. And when the book to be borrowed is detected to be taken out of the book storage space to be borrowed, associating the international standard book number corresponding to the book to be borrowed with the unique user identification corresponding to the user initiating the book borrowing request.
In the above step 106, it may be detected whether the book to be borrowed has been taken out of the book to be borrowed storage space by a sensor (e.g., an infrared sensor, a weight sensor, etc.) previously provided in the book storage space. In addition, the unique user identifier corresponding to the user who initiates the book borrowing request may also be stored in the database, and then the mapping relationship between the international standard book number corresponding to the book to be borrowed and the unique user identifier corresponding to the user who initiates the book borrowing request is established in the database to realize the association between the international standard book number corresponding to the book to be borrowed and the unique user identifier corresponding to the user who initiates the book borrowing request.
It can be seen that, when books are shelved in the intelligent bookcase, the control method of the intelligent bookcase described in fig. 1 is implemented, firstly, the storage space of books to be shelved is selected from the intelligent bookcase, then, after the books to be shelved are stored in the storage space of the books to be shelved, the international standard book number corresponding to the books to be shelved and the storage space identifier corresponding to the storage space of the books to be shelved are associated, so that the control management of shelving the books of the intelligent bookcase can be realized through the international standard book number of the books and the storage space identifier of the storage space of the books in the intelligent bookcase, when the books are borrowed in the intelligent bookcase, the storage space of the books to be borrowed is selected from the intelligent bookcase, then, after the books to be borrowed are selected from the storage space of the books to be borrowed, the international standard book number corresponding to the books to be borrowed and the unique user identifier corresponding to the, therefore, the book lending control management of the intelligent bookcase can be realized through the international standard book number of the books and the unique user identification of the user of the intelligent bookcase. Therefore, the intelligent bookcase is controlled and managed through the international standard book number of each book, the storage space identification of the intelligent bookcase and the unique user identification of the user of the intelligent bookcase, and the intelligent bookcase can be controlled and managed in a relatively simple and convenient mode at relatively low cost.
In an alternative embodiment, as shown in fig. 2, the selecting, from the plurality of book storage spaces of the intelligent bookcase, a book storage space to be borrowed in which the book to be borrowed is stored according to the international standard book number corresponding to the book to be borrowed includes:
1051. obtaining storage space marks with an association relation with international standard book numbers corresponding to the books to be lent, wherein the storage space marks serve as loanable storage space marks, and the number of the loanable storage space marks is larger than zero;
1052. judging whether the number of the loaned storage space identifications is greater than one;
1053. when the loanable storage space identification number is judged to be more than one, selecting a target loanable storage space identification from the loanable storage space identifications, and taking a book storage space corresponding to the target loanable storage space identification as a book storage space to be loaned;
1054. and when the number of the loaned storage space identifications is not more than one, taking the book storage space corresponding to the loaned storage space identifications as the book storage space to be loaned.
In this optional embodiment, when books are shelved, the international standard book number of the shelved books and the storage space identifier of the storage space corresponding to the international standard book number are stored in the database, and a mapping relationship between the international standard book number and the storage space identifier is established, so that the storage space identifier having an association relationship with the international standard book number corresponding to the books to be lent can be obtained by querying data in the database to serve as the loanable storage space identifier. Since the international standard book numbers of books are not unique (i.e. two different books may have the same international standard book number), there may be two or more loaned storage space identifiers. When the loaned storage space identifier has two or more than two, the book storage space corresponding to the loaned storage space identifier can be selected as the book storage space to be loaned. When only one lendable storage space mark is provided, the book storage space corresponding to the storage space mark can be used as the storage space of the books to be lent.
It can be seen that, by implementing the optional embodiment, when books are borrowed, if only one lendable storage space identifier is provided, the book storage space corresponding to the lendable storage space identifier is used as a storage space for books to be borrowed, and if two or more than two lendable storage space identifiers are provided, the book storage space corresponding to one lendable storage space identifier is selected as the storage space for books to be borrowed, so that the international standard book number of books and the storage space identifier of the intelligent bookcase can be used for realizing the control management of book lending.
In an alternative embodiment, as shown in fig. 3, 4 and 5, the selecting a target loaned space identifier from the loaned space identifiers includes:
10531. acquiring shelf loading duration of each book in the loanable storage space identifier;
10532. the corresponding identifier of the loaned storage space with the largest shelf-loading duration is used as the identifier of the target loaned storage space, or,
10533. obtaining the borrowing times of the books in each borrowable storage space mark;
10534. the lendable storage space identifier with the minimum corresponding lending frequency is used as the target lendable storage space identifier, or,
10535. acquiring the lending duration of the books in each lendable storage space mark;
10536. and taking the corresponding loaned storage space identifier with the minimum loaning duration as a target loaned storage space identifier.
In this alternative embodiment, when borrowing books, if the international standard book number of the books that the user wants to borrow is two or more books stored in the intelligent bookcase at the same time, the book borrowing with the longest shelf-loading time or the book borrowing time with the smallest borrowing time can be selected from the international standard book numbers. In the management system of the intelligent bookcase, the shelf-loading time or the borrowing times or the borrowing time of each book on shelf can be recorded to be used as a basis for selecting to borrow the books.
Therefore, by implementing the optional embodiment, when the international standard book number of the book desired to be borrowed by the user has two or more books stored in the intelligent bookcase, the book with the longest shelf-loading time or the smallest borrowing time can be selected from the international standard book number of the book, so that the book borrowing control and management can be further realized by using the international standard book number of the book and the storage space identification of the intelligent bookcase.
In an alternative embodiment, as shown in fig. 6, the method further comprises:
107. detecting whether a returning request aiming at a book to be returned is received, wherein the returning request carries an international standard book number corresponding to the book to be returned;
108. when the returning request is received, judging whether the number of the associated user unique identifications corresponding to the book to be returned is greater than one, wherein the associated user unique identifications are the user unique identifications which have an association relation with the international standard book number corresponding to the book to be returned, and the number of the associated user unique identifications is greater than zero;
109. when the number of the associated user unique identifiers is judged to be more than one, acquiring a user unique identifier corresponding to the user initiating the return request, and taking the user unique identifier corresponding to the user initiating the return request as a to-be-returned user unique identifier;
110. when the number of the associated user unique identifiers is judged to be not more than one, taking the associated user unique identifiers as the unique identifiers of the users to be returned;
111. taking the storage space identification which has an association relation with the unique identification of the user to be returned as the storage space identification of the book to be returned;
112. and when the book to be returned is detected to be stored in the book storage space corresponding to the book storage space identification to be returned, canceling the association relation between the international standard book number corresponding to the book to be returned and the unique identification of the user to be returned.
In this alternative embodiment, the returning request may be triggered by a user through a corresponding operation preset on a control terminal of the smart bookcase or a mobile terminal of the user (e.g., a smart phone of the user), for example, the user may input an international standard book number of a book to be returned on an application client of the smart phone, so as to initiate the returning request. And then, the unique user identifier (namely the unique associated user identifier) which has an association relation with the international standard book number corresponding to the book to be returned can be obtained by inquiring the data in the database. If the number of the associated user unique identifications is two or more, the international standard book number corresponding to the book to be returned indicates that two or more books are lent by two or more different users, at this time, the user unique identification corresponding to the user initiating the returning request needs to be obtained to determine which user the book to be returned is lent by, for example, an account login interface is popped up at an application program client of a smart phone of the user to obtain a user account and a password input by the user, the user unique identification corresponding to the user (namely, the unique identification of the user to be returned) can be determined according to the user account and the password input by the user, then the storage space identification of the book to be returned can be determined according to the unique identification of the user to be returned by virtue of the uniqueness of the unique identification of the user to be returned, and after the book to be returned is detected to be stored in the storage space of the book corresponding to the storage space identification of the book to be returned, and canceling the association relation between the international standard book number corresponding to the book to be returned and the unique identification of the user to be returned, thus completing the return of the book. Whether the book to be returned is stored in the book storage space corresponding to the book storage space identification to be returned can be detected through a sensor (such as an infrared sensor and a weight sensor) arranged in the book storage space in advance, and the association between the international standard book number corresponding to the book to be returned and the unique identification of the user to be returned can be cancelled by deleting the mapping relation between the international standard book number corresponding to the book to be returned and the unique identification of the user to be returned in the database.
Therefore, by implementing the optional embodiment, the control management of returning the book can be realized by using the international standard book number corresponding to the book to be returned and the unique user identifier corresponding to the user who initiates the returning request.
In an alternative embodiment, as shown in fig. 7, the method further comprises:
113. detecting whether a shelf unloading request aiming at a book to be unloaded is received, wherein the shelf unloading request carries an international standard book number corresponding to the book to be unloaded;
114. when the shelf unloading request is received, taking a storage space identifier which has an association relation with the international standard book number corresponding to the book to be unloaded as a storage space identifier to be unloaded;
115. and when the books to be shelved are detected to be taken out of the book storage spaces corresponding to the storage space identifications of the books to be shelved, canceling the association relation between the international standard book numbers corresponding to the books to be shelved and the storage space identifications of the books to be shelved.
In this optional embodiment, the shelf unloading request may be triggered after a manager of the smart bookcase inputs an international standard book number corresponding to a book to be unloaded through a control terminal preset in the smart bookcase or a mobile terminal (e.g., a smartphone of the manager itself). Optionally, the intelligent bookcase may further be provided with a corresponding bookcase management server, where the bookcase management server is configured to manage books in the intelligent bookcase, and may store international standard book numbers, book information, storage space identifiers, and the like of each book in the intelligent bookcase. When books need to be placed on shelves, the bookcase management server can generate placing order information for the books to be placed on shelves, the placing order information is sent to a terminal (such as a smart phone of a manager) corresponding to a manager, and the manager can place the books to be placed on shelves in the smart bookcase before looking at the placing order information. After the shelf unloading request is triggered, the data in the database can be inquired to obtain the storage space identifier of the shelf to be unloaded, wherein the storage space identifier of the shelf to be unloaded has an association relation with the international standard book number corresponding to the book to be unloaded. Then, whether the book to be placed on the shelf is taken out from the book storage space corresponding to the book storage space identification to be placed on the shelf or not can be detected through a sensor (such as an infrared sensor, a weight sensor and the like) which is arranged in the book storage space in advance, and the correlation between the international standard book number corresponding to the book to be placed on the shelf and the book storage space identification to be placed on the shelf is cancelled by deleting the mapping relation between the international standard book number corresponding to the book to be placed on the shelf and the book storage space identification to be placed on the shelf in a database.
Therefore, by implementing the optional embodiment, the international standard book number corresponding to the books to be placed on shelves and the storage space identification of the intelligent bookcase can be used for realizing the placing control management of the books on shelves.
In an alternative embodiment, the selecting, from the plurality of book storage spaces of the intelligent bookcase, a book storage space to be shelved for storing the book to be shelved includes:
selecting any free book storage space from the book storage spaces of the intelligent bookcase to serve as a book storage space for storing books to be shelved, wherein the free book storage space is a book storage space in the intelligent bookcase where books are not stored, or,
and selecting the book storage space corresponding to the predetermined storage space identification from the plurality of book storage spaces of the intelligent bookcase to serve as a book storage space to be shelved for storing the books to be shelved.
In this alternative embodiment, whether the book storage space stores books may be detected by a sensor (e.g., an infrared sensor, a weight sensor, etc.) previously provided in the book storage space. When the book storage spaces for storing books to be shelved need to be selected, any one of the book storage spaces can be selected from the book storage spaces in which books are not stored to serve as the book storage space to be shelved for storing books to be shelved. In addition, the storage space identifier corresponding to the storage space of the book to be shelved may also be predetermined, for example, when the shelf request is triggered, the manager may input the storage space identifier corresponding to the storage space in which the book to be shelved is to be stored (i.e., the storage space of the book to be shelved), and when the book management server generates the shelf order information, the book management server may generate the storage space identifier corresponding to the storage space of the book to be shelved.
Therefore, by implementing the optional embodiment, after receiving the shelving request, any free book storage space is selected as the book storage space to be shelved or the book storage space corresponding to the predetermined storage space identifier is selected as the book storage space to be shelved, so that book lending control and management can be further realized.
Example two
Referring to fig. 8, fig. 8 is a schematic structural diagram of a control device of an intelligent bookcase according to an embodiment of the present invention. As shown in fig. 8, the control device of the intelligent bookcase may include:
the detecting module 201 is configured to detect whether a racking request carrying an international standard book number corresponding to a book to be racked is received;
a selecting module 202, configured to select, when the shelving request is received, a book storage space to be shelved for storing the book to be shelved from the multiple book storage spaces of the intelligent bookcase;
the associating module 203 is configured to associate, when it is detected that the books to be shelved are already stored in the book storage space to be shelved, the international standard book number corresponding to the books to be shelved and the storage space identifier corresponding to the book storage space to be shelved;
the detecting module 201 is further configured to detect whether a book borrowing request for a book to be borrowed is received, where the book borrowing request carries an international standard book number corresponding to the book to be borrowed and a unique user identifier corresponding to a user who initiated the book borrowing request;
the selecting module 202 is further configured to select, when the book borrowing request is received, a book storage space to be borrowed, in which the book to be borrowed is already stored, from the plurality of book storage spaces of the intelligent bookcase according to the international standard book number corresponding to the book to be borrowed;
the associating module 203 is further configured to associate the international standard book number corresponding to the book to be borrowed with the unique user identifier corresponding to the user who initiated the book borrowing request when it is detected that the book to be borrowed is taken out of the book storage space to be borrowed.
For the specific description of the control device of the intelligent bookcase, reference may be made to the specific description of the control method of the intelligent bookcase, and details are not repeated here.
EXAMPLE III
Referring to fig. 9, fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present invention. As shown in fig. 9, the computer apparatus may include:
a memory 301 storing executable program code;
a processor 302 connected to the memory 301;
the processor 302 calls the executable program code stored in the memory 301 to execute the steps in the control method of the intelligent bookcase disclosed in the embodiment of the present invention.
Example four
The embodiment of the invention discloses a computer storage medium 401, wherein computer instructions are stored in the computer storage medium 401 and used for executing steps in the control method of the intelligent bookcase disclosed by the embodiment of the invention when being called.
The above-described embodiments of the apparatus are merely illustrative, and the modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above detailed description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. Based on such understanding, the above technical solutions may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, where the storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc-Read-Only Memory (CD-ROM), or other magnetic disk memories, magnetic tape memories, magnetic disk drives, magnetic tape drives, and magnetic tape drives, Or any other medium which can be used to carry or store data and which can be read by a computer.
Finally, it should be noted that: the control method, device, computer equipment and storage medium for the intelligent bookcase disclosed in the embodiments of the present invention are only preferred embodiments of the present invention, and are only used for illustrating the technical solutions of the present invention, not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.