Article lending method, device, and storage medium
By acquiring the electronic tag information of the target item and modifying the borrowing and returning status using the transit platform, the problem of duplicate item barcode numbers in cross-institution borrowing and returning is solved, realizing a convenient and efficient inter-institutional borrowing and returning service.
Patent Information
- Application Number
- CN202210450406.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-24
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2042-04-24
AI Technical Summary
In existing technologies, the item cataloging data of each institution is independent, which leads to duplicate item barcode numbers when borrowing and returning items across institutions, increasing the complexity of inter-institutional borrowing and returning services and wasting resources.
By obtaining the electronic tag information of the target item and modifying the borrowing and returning status in the target system using the transit platform, cross-institutional borrowing and returning operations can be realized, avoiding the need for re-numbering.
It has enabled the convenience and efficiency of cross-institutional borrowing and returning of goods. The systems of each management institution are relatively independent, eliminating the need for renumbering and simplifying the operation process.
Smart Images

Figure CN114926946B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, in particular to an article lending and returning method, device and storage medium. BACKGROUND
[0002] Generally, the article lending and returning service of an organization is limited to the articles in the organization. Currently, in order to improve the convenience and efficiency of the user lending and returning articles, a lending and returning across organizations can be used. The lending and returning across organizations refers to that the article lent by a user in an organization can be returned in any other organization, that is, the article can be lent and returned across organizations. The lending and returning across organizations is a new service mode, which can not be limited by time and space, and can realize sharing of articles in a larger range.
[0003] In the related art, the lending and returning across organizations is realized by using a unified management system by each organization, that is, each organization uses the same management system to aggregate the user information and article information of each organization, so that each organization has the user information and article information, thereby realizing the lending and returning across organizations between the organizations.
[0004] However, the article catalog data of each organization is usually independent, so if the article information of each organization is directly aggregated, the article bar code number may be repeated, at this time, the article needs to be renumbered, which will waste a lot of resources and increase the complexity of the lending and returning across organizations. SUMMARY
[0005] The present application provides an article lending and returning method, device and storage medium, which can realize lending and returning of articles across organizations. The technical solution is as follows:
[0006] In a first aspect, an article lending and returning method is provided, applied to a first system, and the method comprises:
[0007] obtaining electronic tag information of a target article to be lent or returned, the electronic tag information being information recorded in an electronic tag of the target article, the electronic tag information comprising a target system identifier, a target article identifier and a lending and returning state, and the target system being a system of a target management organization for managing the target article;
[0008] if the target system identifier is different from a first system identifier, sending a first message to a transfer platform, the first message carrying the target system identifier and the target article identifier, to instruct the transfer platform to modify the lending and returning state of the target article recorded in the target system, and returning a second message after completing the modification of the lending and returning state of the target article recorded in the target system;
[0009] After receiving the second message sent by the transfer platform, the borrowed state recorded in the electronic tag is modified to complete the borrowing and returning operation of the target article, and the borrowed state is borrowed or in stock.
[0010] In the present application, the electronic tag information of the target article to be borrowed or returned is obtained, that is, the target system identifier, the target article identifier and the borrowed state are obtained. If the target system identifier is different from the first system identifier, it indicates that the target article does not belong to the first management institution. Then, a first message is sent to the transfer platform to instruct the transfer platform to modify the borrowed state of the target article recorded in the target system. That is, the transfer platform is used to complete the borrowing and returning operation of the target article in the target system. Then, the borrowed state recorded in the electronic tag is modified, so as to complete the borrowing and returning operation of the target article in the first system. In this way, the cross-institution borrowing and returning of the target article is realized. Moreover, the systems of various management institutions are relatively independent, and the articles do not need to be renumbered, thereby improving the convenience and efficiency of the borrowing and returning service.
[0011] In a second aspect, a borrowing and returning method of an article is provided, which is applied to a transfer platform, and the method comprises the following steps.
[0012] Receiving a first message sent by a first system, wherein the first message carries a target system identifier and a target article identifier recorded in an electronic tag of a target article, and the target system is a system of a target management institution for managing the target article;
[0013] Sending a third message to the target system identified by the target system identifier, wherein the third message carries the target system identifier and the target article identifier to instruct the target system to modify the borrowed state of the target article recorded in the target system;
[0014] After receiving a modification success message sent by the target system, a second message is sent to the first system to instruct the first system to modify the borrowed state recorded in the electronic tag, and the borrowed state is borrowed or in stock, thereby completing the borrowing and returning operation of the target article.
[0015] In the present application, after receiving the first message sent by the first system, a third message is sent to the target system identified by the target system identifier, and then the target system modifies the lending and returning state of the target item recorded in the target system, completes the lending and returning operation of the target item in the target system, and returns a modification success message after modifying the lending and returning state of the target item. After receiving the modification success message sent by the target system, a second message is sent to the first system to indicate the first system to modify the lending and returning state recorded in the electronic tag, so as to complete the lending and returning operation of the target item in the first system. In this way, the cross-institution lending and returning of the target item is realized. Moreover, the systems of various management institutions are relatively independent, and there is no need to re-number the items, thereby improving the convenience and efficiency of the lending and returning service.
[0016] In a third aspect, an item lending and returning method is provided, and the method comprises:
[0017] The first system obtains electronic tag information of a target item to be lent or returned, the electronic tag information being information recorded in an electronic tag of the target item, the electronic tag information comprising a target system identifier, a target item identifier, and a lending and returning state, and the target system being a system of a target management institution for managing the target item;
[0018] When the target system identifier is different from a first system identifier, the first system sends a first message to a transfer platform, the first message carrying the target system identifier and the target item identifier;
[0019] After receiving the first message sent by the first system, the transfer platform sends a third message to the target system identified by the target system identifier, the third message carrying the target system identifier and the target item identifier;
[0020] After receiving the third message sent by the transfer platform, the target system modifies the lending and returning state of the target item recorded in the target system, and sends a modification success message to the transfer platform after completing the modification of the lending and returning state of the target item recorded in the target system;
[0021] After receiving the modification success message sent by the target system, the transfer platform sends a second message to the first system;
[0022] After receiving the second message sent by the transfer platform, the first system modifies the lending and returning state recorded in the electronic tag to complete the lending and returning operation of the target item, the lending and returning state being lent out or in stock.
[0023] In the present application, the first system acquires the electronic tag information of the target article to be borrowed or returned, i.e. the target system identifier, the target article identifier and the borrowing and returning state. If the target system identifier is different from the first system identifier, it indicates that the target article does not belong to the first management mechanism, and a first message is sent to the transfer platform to instruct the transfer platform to modify the borrowing and returning state of the target article recorded in the target system. Then the transfer platform sends a third message to the target system, and the target system modifies the borrowing and returning state of the target article recorded in the target system after receiving the third message, so as to complete the borrowing and returning operation of the target article in the target system. After the target system completes the borrowing and returning operation of the target article, the first system modifies the borrowing and returning state recorded in the electronic tag, so as to complete the borrowing and returning operation of the target article in the first system. In this way, the cross-institution borrowing and returning of the target article is realized. Moreover, the systems of various management institutions are relatively independent, and there is no need to renumber the articles, thereby improving the convenience and efficiency of the borrowing and returning service.
[0024] In a fourth aspect, an article borrowing and returning device is provided, which is applied to a first system, and the device comprises:
[0025] an acquisition module, configured to acquire electronic tag information of a target article to be borrowed or returned, the electronic tag information being information recorded in an electronic tag of the target article, the electronic tag information comprising a target system identifier, a target article identifier and a borrowing and returning state, the target system being a system of a target management institution for managing the target article;
[0026] a sending module, configured to send a first message to a transfer platform if the target system identifier is different from a first system identifier, the first message carrying the target system identifier and the target article identifier, so as to instruct the transfer platform to modify the borrowing and returning state of the target article recorded in the target system, and return a second message after completing the modification of the borrowing and returning state of the target article recorded in the target system;
[0027] a first modification module, configured to modify a borrowing and returning state recorded in the electronic tag after receiving the second message sent by the transfer platform, so as to complete the borrowing and returning operation of the target article, the borrowing and returning state being borrowed out or in stock.
[0028] In a fifth aspect, an article borrowing and returning device is provided, which is applied to a transfer platform, and the device comprises:
[0029] a receiving module, configured to receive a first message sent by a first system, the first message carrying a target system identifier and a target article identifier recorded in an electronic tag of a target article, the target system being a system of a target management institution for managing the target article;
[0030] The first sending module is configured to send a third message to the target system identified by the target system identifier, the third message carrying the target system identifier and the target item identifier, so as to instruct the target system to modify the lending and returning state of the target item recorded in the target system;
[0031] The second sending module is configured to, after receiving the modification success message sent by the target system, send a second message to the first system, so as to instruct the first system to modify the lending and returning state recorded in the electronic tag, and complete the lending and returning operation of the target item, the lending and returning state being lent out or in stock.
[0032] In a sixth aspect, an item lending and returning system is provided, which comprises a first system, a target system and a transfer platform.
[0033] The first system is configured to acquire electronic tag information of a target item to be lent or returned, the electronic tag information being information recorded in an electronic tag of the target item, the electronic tag information comprising a target system identifier, a target item identifier and a lending and returning state, the target system being a system of a target management institution for managing the target item; and in a case where the target system identifier is different from a first system identifier, sending a first message to the transfer platform, the first message carrying the target system identifier and the target item identifier.
[0034] The transfer platform is configured to, after receiving the first message sent by the first system, send a third message to the target system identified by the target system identifier, the third message carrying the target system identifier and the target item identifier.
[0035] The target system is configured to, after receiving the third message sent by the transfer platform, modify the lending and returning state of the target item recorded in the target system, and send a modification success message to the transfer platform after completing the modification of the lending and returning state of the target item recorded in the target system.
[0036] The transfer platform is configured to, after receiving the modification success message sent by the target system, send a second message to the first system.
[0037] The first system is configured to, after receiving the second message sent by the transfer platform, modify the lending and returning state recorded in the electronic tag, so as to complete the lending and returning operation of the target item, the lending and returning state being lent out or in stock.
[0038] In a seventh aspect, a computer device is provided, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, the computer program being executed by the processor to implement the item lending and returning method of the first aspect.
[0039] In an eighth aspect, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program, when executed by the processor, implements the article lending and borrowing method of the second aspect.
[0040] In a ninth aspect, a computer readable storage medium is provided, which stores a computer program, and the computer program, when executed by a processor, implements the article lending and borrowing method of the first aspect.
[0041] In a tenth aspect, a computer readable storage medium is provided, which stores a computer program, and the computer program, when executed by a processor, implements the article lending and borrowing method of the second aspect.
[0042] In an eleventh aspect, a computer program product containing instructions which, when run on a computer, cause the computer to perform the steps of the article lending and borrowing method of the first aspect.
[0043] In a twelfth aspect, a computer program product containing instructions which, when run on a computer, cause the computer to perform the steps of the article lending and borrowing method of the second aspect.
[0044] It can be understood that the beneficial effects of the fourth aspect, the seventh aspect, the ninth aspect, and the eleventh aspect described above can be referred to the related description in the first aspect, and will not be repeated here. The beneficial effects of the fifth aspect, the eighth aspect, the tenth aspect, and the twelfth aspect described above can be referred to the related description in the second aspect, and will not be repeated here. The beneficial effects of the sixth aspect described above can be referred to the related description in the third aspect, and will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0046] Figure 1 is a schematic diagram of an article lending and borrowing system provided by an embodiment of the present application;
[0047] Figure 2 is a flowchart of an article lending and borrowing method provided by an embodiment of the present application;
[0048] Figure 3 is a flowchart of another article lending and borrowing method provided by an embodiment of the present application;
[0049] Figure 4 is a flowchart of still another article lending and returning method provided by an embodiment of the present application;
[0050] Figure 5 is a flowchart of still another article lending and returning method provided by an embodiment of the present application;
[0051] Figure 6 is a structural schematic diagram of an article lending and returning device provided by an embodiment of the present application;
[0052] Figure 7 is a structural schematic diagram of another article lending and returning device provided by an embodiment of the present application;
[0053] Figure 8 is a structural schematic diagram of a computer device provided by an embodiment of the present application;
[0054] Figure 9 is a structural schematic diagram of another computer device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0055] In order to make the objects, technical solutions and advantages of the present application clearer, the following will further describe the embodiments of the present application with reference to the accompanying drawings.
[0056] It should be understood that the "multiple" mentioned in the present application refers to two or more. In the description of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; "and / or" in the present application only represents the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases of A alone, A and B together, and B alone. In addition, in order to clearly describe the technical solutions of the present application, the same items or similar items with basically the same functions and effects are distinguished by using "first", "second", etc. The skilled in the art can understand that "first", "second", etc. do not limit the quantity and execution order, and "first", "second", etc. also do not necessarily mean different.
[0057] Before explaining the embodiments of the present application in detail, the application scenarios of the embodiments of the present application will be described first.
[0058] The article lending and returning method provided by the embodiments of the present application is applied to the scene of lending and returning articles across institutions, that is, it can be applied to the scene of lending and returning articles across institutions. In this scene, the articles lent by the user in one institution can be returned not only to the original institution, but also to any other institution.
[0059] For example, the method provided in the embodiments of the present application can be applied to the scenario of cross-library lending and returning of books. In some scenarios, a user borrows a book managed by library A, and can return the book in any one of the multiple libraries by using the method provided in the embodiments of the present application, instead of returning the book only in library A. In another scenario, if a user returns a book managed by library B to library A, the user can also borrow the book from library A, and then return the book in any one of the multiple libraries. In this way, cross-library lending and returning of books is achieved, and convenience is provided for the user.
[0060] The system architecture related to the embodiments of the present application is described below.
[0061] Figure 1 is a schematic diagram of an article lending and returning system provided by the embodiments of the present application, referring to Figure 1 The article lending and returning system includes a system 101 of each of the multiple management institutions and a transfer platform 102. Each of the multiple systems 101 communicates with the transfer platform 102 through wired connection or wireless connection.
[0062] The management institution is an institution for managing articles, and the articles are articles that can be lent and returned in the management institution. For example, the management institution can be a library or a bookstore, and the articles can be books managed by the library.
[0063] The articles of each management institution have electronic tags. Optionally, the electronic tags can be pasted on the surface of the articles, and of course, the electronic tags can also be set on the articles by other means, which are not limited in the embodiments of the present application. For example, the electronic tags can be RFID (Radio Frequency Identification) tags. The chip of the electronic tag has a data storage area, and the electronic tag of a certain article can be used to store the related information of the article, such as the system identifier, the article identifier, and the lending and returning state. The system identifier stored in the electronic tag of the article is the identifier of the system of the management institution that manages the article, the article identifier stored in the electronic tag of the article is used to uniquely identify the article, and the lending and returning state stored in the electronic tag of the article is used to indicate the state of the article, i.e., whether the article is in the library or is lent out.
[0064] For any one of the plurality of management institutions, the system 101 of the management institution can record the relevant information of the article managed by the management institution, such as the article identification of the article managed by the management institution, the borrowing and returning state (i.e. the article identification and the borrowing and returning state stored in the electronic tag of the article), and further can record the system identification of the article managed by the management institution, that is, the identification of the system of the management institution (i.e. the system identification stored in the electronic tag of the article). For example, the system of the management institution can include a self-service borrowing and returning machine arranged in the management institution, and of course, can include other devices arranged in the management institution and available for user operation, and the embodiments of the present application do not limit this.
[0065] The transfer platform 102 can be a server, or can be a server cluster including a plurality of servers. The transfer platform 102 can store the correspondence between the system identification and the system address of the system 101 of each of the plurality of management institutions, and can communicate with the system 101 of any one of the plurality of management institutions, such as the transfer platform 102 can send the information about the borrowing and returning operation of an article sent by the system 101 of any one of the management institutions to the system 101 of the management institution to which the article belongs, so that the system 101 of the management institution to which the article belongs can modify the borrowing and returning state of the article recorded by itself.
[0066] When a user needs to borrow or return an article, the system 101 of any one of the plurality of management institutions determines whether the article belongs to the management of the management institution according to the content in the electronic tag of the article. If the article belongs to the management of the management institution, the borrowing and returning operation of the article is directly performed in the system 101 of the management institution; if the article does not belong to the management of the management institution, the system 101 of the management institution sends the information about the borrowing and returning operation of the article to the system 101 of the management institution to which the article belongs through the transfer platform 102 to complete the borrowing and returning operation of the article.
[0067] For example, when a user borrows a book in one of the plurality of libraries, the system 101 of the library determines whether the book belongs to the management of the library according to the content in the electronic tag of the book. If the book does not belong to the management of the library, the system 101 of the library cannot find the relevant information of the book in the system 101 of the library, and the system 101 of the library sends the information about the borrowing and returning operation of the book to the system 101 of the library to which the book belongs through the transfer platform 102, and the system 101 of the library to which the book belongs can find the relevant information of the book in the system of the library, and then can implement the borrowing operation of the book.
[0068] The system 101 and the transit platform 102 of each of the plurality of management institutions can perform the following Figure 2 The article lending and borrowing method provided in the embodiment can realize cross-institutional lending and borrowing of articles, thereby improving the convenience and efficiency of the lending and borrowing service.
[0069] The article lending and borrowing method provided in the embodiment will be explained in detail below.
[0070] Figure 2 FIG. 1 is a flowchart of an article lending and borrowing method provided in an embodiment of the present application. As shown in FIG. 1, the method comprises the following steps. Figure 2 The method comprises the following steps.
[0071] Step 201: The first system acquires electronic tag information of a target article to be lent or borrowed, the electronic tag information being information recorded in an electronic tag of the target article, and the electronic tag information comprising a target system identifier, a target article identifier, and a lending and borrowing state.
[0072] The first system is a system of a first management institution. The first system can be a system 101 of any one of the plurality of management institutions as shown in FIG. 1. Figure 1 The first system is a system of a first management institution. The first system can be a system 101 of any one of the plurality of management institutions as shown in FIG. 1.
[0073] The first management institution is an institution for managing articles, and is any one of the plurality of management institutions. For example, the first management institution can be a library or a bookstore, and the articles managed by the first management institution can be books.
[0074] The target article is an article stored in the first management institution and capable of being lent or borrowed, and is an article to be lent out or returned by a user.
[0075] The electronic tag information is relevant information of the target article stored in the electronic tag of the target article, and comprises the target system identifier, the target article identifier, and the lending and borrowing state.
[0076] The target system is a system of a management institution for managing the target article among the plurality of management institutions, i.e., a system of a management institution to which the target article belongs. The target system identifier is used for uniquely identifying the target system, and is a unique identification code of the target system. The target article identifier is used for uniquely identifying the target article, and is a unique identification code of the target article. The lending and borrowing state comprises lending out or being in stock, i.e., the lending and borrowing state is lending out, indicating that the target article has been lent out by a user from the management institution; and the lending and borrowing state is being in stock, indicating that the target article has not been lent out and still exists in the management institution.
[0077] In this case, the first system acquires the electronic tag information of the target article to be lent or borrowed, and can know the target system identifier, the target article identifier, and the lending and borrowing state of the target article.
[0078] When a user borrows an article in a management institution, the user generally needs to have an article borrowing right, and when the user returns the article in the management institution, the user can directly return the article or can return the article after having an article returning right. In this case, the first system can execute step 201 in the following three cases.
[0079] In a first case, after detecting an article borrowing instruction, the first system displays a login page, receives a user account and a login password input in the login page, and in a case where the user account and the login password are verified, determines that the user account has an article borrowing right and executes step 201.
[0080] The article borrowing instruction is used to indicate that an article needs to be borrowed, that is, an article borrowing operation needs to be performed. The article borrowing instruction can be triggered by a user, and the user can trigger the article borrowing instruction by a click operation, a sliding operation, a voice operation, a gesture operation, a somatosensory operation, or the like, which is not limited in the embodiments of the present application.
[0081] The user account is an account registered in the first system, and the user account registered in the first system has a borrowing and returning right to the articles stored in the first management institution. The user account is a user identity identifier, for example, the user identity identifier can be a user ID number or a user mobile phone number.
[0082] In this case, if the user account and the login password are verified, it indicates that the user has registered a user account in the first system, and the user account has an article borrowing right, that is, the user can borrow an article after logging in the user account. Therefore, the user account can borrow the articles stored in the first management institution.
[0083] Optionally, after receiving the user account and the login password input in the login page, in a case where the user account and the login password are not verified, the first system displays a registration window to remind the user to register a user account in the first system, and if a registration request carrying a user identity identifier and a login password is received, the user account is registered according to the user identity identifier and the login password carried in the registration request.
[0084] If the user account and the login password are not verified, the user needs to register a user account in the first system to have an article borrowing right. In this case, the first system reminds the user to register, the user inputs a user identity identifier and a login password in the registration window to trigger a registration request, the first system receives the registration request, saves the user identity identifier input by the user as a user account and the login password input by the user as a login password corresponding to the user account, and then the registration of the user account is completed.
[0085] In this case, after the first system registers a user account for the user, the user account has the item lending right, and the user can perform the item lending operation by logging in the user account, that is, can lend items from the first management mechanism.
[0086] Optionally, when the first system registers the user account for the user, if the registration request carries the personal information such as the user name, the first system can also save the personal information such as the user name.
[0087] The operation of the first system to verify the user account and the login password is similar to the operation of a device in the related art to verify a user account and a login password, and the embodiments of the present application do not elaborate on this.
[0088] In the second case, the first system performs step 201 after detecting the item return instruction.
[0089] The item return instruction is used to indicate that the item needs to be returned, that is, the item return operation needs to be performed. The item return instruction can be triggered by the user through operations such as click operation, sliding operation, voice operation, gesture operation, and body sense operation, which are not limited by the embodiments of the present application.
[0090] In this case, the user does not need permission when returning the item, and can directly return the item, thereby saving system resources, simplifying the item return process, and facilitating the user's operation of returning the item.
[0091] In the third case, the first system displays a login page after detecting the item return instruction; receives the user account and the login password input on the login page; and in the case where the user account and the login password are verified, determines that the user account has the item return right, and performs step 201.
[0092] In this case, if the user account and the login password are verified, it indicates that the user has registered a user account in the first system, and the user account has the item return right, that is, the item can be returned under the condition of logging in the user account. In this way, the process from lending the item to returning the item can be clear, that is, the person who lends the item and the person who returns the item can be clearly known.
[0093] Optionally, after receiving the user account and the login password input on the login page, if the user account and the login password are not verified, the first system displays a registration window to remind the user to register a user account in the first system; and if a registration request carrying the user identity and the login password is received, registers a user account according to the user identity and the login password carried in the registration request.
[0094] In this case, after the first system registers a user account for the user, the user account has the article return right, and the user can perform the article return operation by logging in the user account, i.e., can return the article in the first management institution. In this way, the first system can know the article returner.
[0095] Specifically, the operation of step 201 can include the following steps (1)-(4):
[0096] (1) The first system reads the electronic tag of the target article to obtain target information, and the target information at least contains the electronic tag identifier.
[0097] The target information is the information obtained by the first system reading the electronic tag of the target article, i.e., the information stored in the electronic tag of the target article. The first system can read the electronic tag of the target article when the user needs to borrow or return the target article.
[0098] The electronic tag identifier is used to uniquely identify the electronic tag, which is the unique identification code of the electronic tag.
[0099] The first system can selectively execute the following steps (2), (3) or (4) according to the content of the target information.
[0100] (2) If the target information further contains the target system identifier, the target article identifier and the borrowing and returning state, the target system identifier, the target article identifier and the borrowing and returning state are taken as the electronic tag information.
[0101] If the target information further contains the target system identifier, the target article identifier and the borrowing and returning state, it means that the content stored in the electronic tag is complete, i.e., the complete information of the target article can be read from the electronic tag. In this way, the target system identifier, the target article identifier and the borrowing and returning state are taken as the electronic tag information.
[0102] (3) If the target information further contains the target article identifier and the borrowing and returning state, but does not contain the target system identifier, the first system identifier is stored as the target system identifier in the electronic tag, and the target system identifier, the target article identifier and the borrowing and returning state are taken as the electronic tag information.
[0103] If the target information further contains the target article identifier and the borrowing and returning state, but does not contain the target system identifier, it means that the target system identifier is not stored in the electronic tag, i.e., it is the first borrowing and returning operation for the target article, which means that the target article belongs to the first management institution and has not been borrowed before. Therefore, the first system identifier is stored as the target system identifier in the electronic tag, and the target system identifier, the target article identifier and the borrowing and returning state are taken as the electronic tag information.
[0104] The first system identifier is used to uniquely identify the first system and is a unique identification code of the first system.
[0105] Optionally, the operation of storing the first system identifier as the target system identifier in the electronic tag can include: converting the data format of the first system identifier, the electronic tag identifier, the target item identifier and the lending status contained in the target information into a unified preset data format; and storing the first system identifier, the electronic tag identifier, the target item identifier and the lending status converted into the preset data format in the electronic tag of the target item.
[0106] The preset data format is a pre-set data format, and the preset data format is used to unify the data format of the electronic tag of the item managed by each management institution.
[0107] In this case, the data format of the electronic tag of the target item can be unified when the target item is lent out for the first time, so that the information of the target item stored in the electronic tag can be easily read out by the system of any management institution when the next lending and returning operation is performed.
[0108] (4) If the target information does not contain the target system identifier, the target item identifier and the lending status, the target system identifier, the target item identifier and the lending status are searched from the first system according to the electronic tag identifier, the searched target system identifier, the target item identifier and the lending status are stored in the electronic tag, and the target system identifier, the target item identifier and the lending status are taken as the electronic tag information.
[0109] If the target information does not contain the target system identifier, the target item identifier and the lending status, it means that the first system cannot read the related information of the target item from the electronic tag of the target item, and it is possible that the related information of the target item has not been stored in the electronic tag of the target item. In this case, the target system identifier, the target item identifier and the lending status are searched from the first system, and then the searched target system identifier, the target item identifier and the lending status are stored in the electronic tag, and the target system identifier, the target item identifier and the lending status are taken as the electronic tag information.
[0110] It is worth noting that the first system can store the related information of the item managed by the first management institution. Specifically, for a certain item managed by the first management institution, the first system can store the electronic tag identifier of the electronic tag of the item, and the electronic tag identifier of the item can be stored in correspondence with the system identifier, the item identifier and the lending status of the item. In this way, the first system can find the system identifier, the item identifier and the lending status of the item from the first system according to the electronic tag identifier of the item.
[0111] Optionally, the operation of searching the target system identifier, the target item identifier and the lending status from the first system according to the electronic tag identifier can be: searching the target system identifier, the target item identifier and the lending status from a database of the first system according to the electronic tag identifier.
[0112] The database stores the information of the target item corresponding to the electronic tag identified by the electronic tag identifier, for example, the database stores the system identifier, the item identifier and the lending status of the target item corresponding to the electronic tag identified by the electronic tag identifier.
[0113] For example, the database is an RFID database, and the electronic tag identifier is 02, then the system identifier 01, the item identifier 1023 and the lending status in stock corresponding to the electronic tag identifier 02 stored in the RFID database can be obtained from Table 1 as shown below, and then it can be determined that the target system identifier is 01, the target item identifier is 1023 and the lending status is in stock.
[0114] Table 1
[0115] Electronic tag identification Article related information 01 System identification: 01, article identification: 1022, lending status: lent out 02 System identification: 01, article identification: 1023, lending status: in stock 03 System identification: 01, article identification: 1024, lending status: lent out …… ……
[0116] The electronic tag identifier and the item related information stored in the RFID database are only described by using Table 1, and Table 1 does not limit the embodiments of the present application.
[0117] It is worth noting that if the first system does not find the target system identifier, the target item identifier and the lending status from the first system according to the electronic tag identifier, the target item cannot be lent or returned due to the lack of related information.
[0118] Optionally, the operation of storing the target system identifier, the target item identifier and the lending status can be: converting the data format of the electronic tag identifier and the target system identifier, the target item identifier and the lending status into a unified preset data format; and storing the electronic tag identifier, the target system identifier, the target item identifier and the lending status converted into the preset data format into the electronic tag of the target item.
[0119] In this case, by converting the target system identifier, the target item identifier and the lending status into a unified data format and storing them into the electronic tag of the target item, the information of the target item stored in the electronic tag can be read by any system of a management institution when the next lending or returning operation is performed.
[0120] Further, after the first system acquires the electronic tag information of the target item to be borrowed or returned, the target system identifier can be compared with the first system identifier. If the target system identifier is the same as the first system identifier, the borrowing and returning state of the target item recorded in the first system is modified, and the borrowing and returning state recorded in the electronic tag is modified to complete the borrowing and returning operation of the target item. If the target system identifier is different from the first system identifier, the following step 202 can be performed.
[0121] In this case, if the target system identifier is the same as the first system identifier, it indicates that the target system is the first system, i.e., the target item belongs to the first management institution, so the first system can directly modify the borrowing and returning state of the target item recorded in the first system, and then modify the borrowing and returning state recorded in the electronic tag of the target item, so as to directly complete the borrowing and returning operation of the target item. Alternatively, if the first system detects an item borrowing instruction, the borrowing and returning state of the target item recorded in the first system is modified to borrowed, and then the borrowing and returning state recorded in the electronic tag is also modified to borrowed. If the first system detects an item returning instruction, the borrowing and returning state of the target item recorded in the first system is modified to in stock, and then the borrowing and returning state recorded in the electronic tag is also modified to in stock.
[0122] If the target system identifier is different from the first system identifier, it indicates that the target system is not the first system, i.e., the target item does not belong to the first management institution, so the following step 202 is continued to implement the borrowing and returning operation of the target item.
[0123] Step 202: If the target system identifier is different from the first system identifier, the first system sends a first message to the transfer platform, and the first message carries the target system identifier and the target item identifier.
[0124] The first message is used to instruct the transfer platform to modify the borrowing and returning state of the target item recorded in the target system.
[0125] Since the systems of various management institutions are deployed locally and privately, have independent service addresses and interface protocols, and are independent of each other, the systems of various management institutions generally cannot directly communicate with each other, so the communication between the management institutions is realized through the transfer platform in the embodiment of the application, so as to realize the cross-institution borrowing and returning management of the items.
[0126] In this case, if the target system identifier is different from the first system identifier, the first system needs to send a first message to the transfer platform to modify the borrowing and returning state of the target item recorded in the target system. That is, in the case that the first system and the target system cannot directly communicate, the transfer platform can be used to complete the borrowing and returning operation of the target item in the target system.
[0127] Optionally, the first system can send the first message to the transit platform through SIP2 (Standard Interchange Protocol V2.00).
[0128] Step 203: After receiving the first message sent by the first system, the transit platform sends a third message to the target system to identify the target system, and the third message carries the target system identification and the target item identification.
[0129] In this case, the transit platform sends the third message to the target system, which can send information related to the borrowing and returning operation of the target item to the target system, so that the target system modifies the borrowing and returning state of the target item recorded in the target system.
[0130] Optionally, the transit platform can communicate with the target system through SIP2.
[0131] Step 204: After receiving the third message sent by the transit platform, the target system modifies the borrowing and returning state of the target item recorded in the target system, and after completing the modification of the borrowing and returning state of the target item recorded in the target system, sends a modification success message to the transit platform.
[0132] After receiving the third message sent by the transit platform, the target system searches for the detailed information of the target item corresponding to the target system identification and the target item identification in the target system, and the detailed information of the target item includes the borrowing and returning state of the target item. Then the target system modifies the borrowing and returning state in the detailed information of the target item to the opposite state, for example: if the borrowing and returning state in the detailed information of the target item is borrowed, the borrowing and returning state is modified to in stock; if the borrowing and returning state in the detailed information of the target item is in stock, the borrowing and returning state is modified to borrowed. In this way, the related record of the borrowing and returning operation of the target item in the target system can be realized, and the borrowing and returning operation of the target item can be completed.
[0133] Optionally, the first message and the third message can also carry the first system identification and the user account currently logged in the first system. In this case, the target system can also record the user account and the first system identification of this borrowing and returning operation. In this way, the target system can know which user operates this borrowing and returning operation, and also know which management institution performs this borrowing and returning operation, and the target system can record the user account of this borrowing and returning operation and the system identification of the system of this borrowing and returning operation in the detailed information of the target item.
[0134] The modification success message is used to notify the transit platform that the borrowing and returning state of the target item recorded in the target system has been modified, that is, the borrowing and returning operation of the target item has been completed in the target system.
[0135] Step 205: After receiving the modification success message sent by the target system, the transit platform sends a second message to the first system.
[0136] In this case, after receiving the modification success message sent by the target system, the transit platform knows that the borrowing and returning status of the target item recorded in the target system has been modified. Since the first system instructs the transit platform to modify the borrowing and returning status of the target item recorded in the target system, after knowing that the borrowing and returning status of the target item recorded in the target system has been modified, the transit platform needs to send a second message to the first system, instructing the first system to continue the next operation, i.e., to execute the following step 206.
[0137] Step 206: After receiving the second message sent by the transit platform, the first system modifies the borrowing and returning status recorded in the electronic tag, to complete the borrowing and returning operation of the target item.
[0138] The second message is used to instruct the first system to modify the borrowing and returning status recorded in the electronic tag, to complete the borrowing and returning operation of the target item.
[0139] In this case, the first system modifies the borrowing and returning status in the electronic tag, to update the electronic tag of the target item, so that the borrowing and returning operation of the target item can be completed in the first system. The first system can modify the borrowing and returning status in the electronic tag to the opposite status, for example, if the borrowing and returning status in the electronic tag is borrowed, the borrowing and returning status is modified to in stock; if the borrowing and returning status in the electronic tag is in stock, the borrowing and returning status is modified to borrowed.
[0140] Optionally, in the case that the user borrows the target item, after the first system modifies the borrowing and returning status in the electronic tag, the user can directly pass through the security access of the first management institution with the borrowed target item. If the first system does not modify the borrowing and returning status in the electronic tag, when the user passes through the security access of the first management institution with the borrowed item, the security access of the first management institution will issue an alarm sound.
[0141] It is worth noting that the item borrowing and returning method provided in the embodiments of the present application needs to open the borrowing and returning service in each management institution. If some management institutions do not open the borrowing and returning service, the items managed by the management institutions cannot be borrowed and returned across the institutions, and can only be borrowed and returned within the management institutions.
[0142] Another point worth noting is that the article embodiment provides an article lending method taking the system identification as the core, which breaks through the article identification across management agencies and systems, thereby realizing the article lending across different regions, agencies and systems, and the realization of the transfer platform provides more efficient, more convenient and more intelligent services for users of each management agency. In addition, the article lending method provided by the article embodiment does not need to unify or replace the system of the existing management agency, and each system will process the data format unification and correction of the electronic tag by itself, which can effectively reduce the docking cost and the work burden in the management agency, without affecting the existing business of each management agency and changing the personalized business basis of each management agency, thereby completely retaining the use habits of users for many years and quickly meeting the business needs of the article lending. Finally, the article lending method provided by the article embodiment only needs to add a preset data format on the system (such as a self-service lending machine) of each management agency, so as to realize the identification of the electronic tag of the article of any management agency, which has low expansion cost and high implementation frequency.
[0143] In order to facilitate understanding, the following takes the first system as the first library management system, the target article as the target book, and the lending operation as book lending as an example, and combines the above article lending method to illustrate the article lending method. Referring to Figure 3 , the method comprises the following steps 301-311. Figure 3 , the method comprises the following steps 301-311.
[0144] Step 301: The first library management system detects a book lending instruction and displays a login page. The user inputs a user account and a login password in the login page, and the first library management system verifies the input user account and login password.
[0145] Step 302: If the user account and login password verification fails, the first library management system needs to remind the user to register a user account to obtain the book lending permission to perform book lending. When the first system receives a registration request, the user account of the user is registered, and the user has the book lending permission, so that the user can place the book on the self-service lending machine to enable the self-service lending machine to read the electronic tag of the target book.
[0146] Step 303: If the user account and login password verification succeeds, the user can directly place the book on the self-service lending machine to enable the self-service lending machine to read the electronic tag of the target book.
[0147] Step 304: After the self-service lending machine reads the electronic tag of the target book, the electronic tag information of the target book is obtained, and the electronic tag information comprises a target system identification, a target book identification and a lending status.
[0148] Step 305: The first library management system compares the target system identifier with the first library management system identifier to determine whether the target system identifier is the same as the first library management system identifier.
[0149] Step 306: If the target system identifier is the same as the first library management system identifier, the borrowing state of the target book recorded in the first library management system is directly modified to be borrowed out, and then the borrowing state recorded in the electronic tag of the target book is modified to be borrowed out, and the target book is successfully borrowed out.
[0150] Step 307: If the target system identifier is not the same as the first library management system identifier, the first library management system sends a first message to the transfer platform to instruct the transfer platform to modify the borrowing state of the target book recorded in the target system to be borrowed out.
[0151] Step 308: The transfer platform sends a third message to the target system to instruct the target system to modify the borrowing state of the target book recorded in the target system to be borrowed out.
[0152] Step 309: The target system modifies the borrowing state of the target book recorded in the target system to be borrowed out, and sends a modification success message to the transfer platform.
[0153] Step 310: After receiving the modification success message sent by the target system, the transfer platform sends a second message to the first library management system.
[0154] Step 311: After receiving the second message sent by the transfer platform, the first library management system modifies the borrowing state recorded in the electronic tag of the target book to be borrowed out, and completes the borrowing operation of the target book, that is, the target book is successfully borrowed out, thereby realizing the borrowing operation across libraries.
[0155] In the embodiment of the present application, the first system obtains the electronic tag information of the target article to be borrowed or returned, that is, the target system identifier, the target article identifier and the borrowing state. If the target system identifier is different from the first system identifier, it indicates that the target article does not belong to the first management mechanism, and a first message is sent to the transfer platform to instruct the transfer platform to modify the borrowing state of the target article recorded in the target system. Then the transfer platform sends a third message to the target system, and the target system modifies the borrowing state of the target article recorded in the target system after receiving the third message, so as to complete the borrowing operation of the target article in the target system. After the target system completes the borrowing operation of the target article, the first system modifies the borrowing state recorded in the electronic tag, thereby completing the borrowing operation of the target article in the first system. In this way, the cross-institution borrowing and returning of the target article is realized. Moreover, the systems of various management mechanisms are relatively independent, and there is no need to renumber the articles, thereby improving the convenience and efficiency of the borrowing and returning service.
[0156] Figure 4 is a flowchart of an article lending and returning method provided by an embodiment of the present application. Referring to Figure 4 , the method comprises the following steps:
[0157] Step 401: Obtain electronic tag information of a target article to be lent or returned, the electronic tag information being information recorded in an electronic tag of the target article, the electronic tag information comprising a target system identifier, a target article identifier and a lending and returning state, the target system being a system of a target management institution for managing the target article.
[0158] The related content of step 401 has been described in detail in step 201, and the present embodiment will not repeat it.
[0159] Step 402: If the target system identifier is different from the first system identifier, send a first message to the transfer platform, the first message carrying the target system identifier and the target article identifier, to instruct the transfer platform to modify the lending and returning state of the target article recorded in the target system, and send a second message after completing the modification of the lending and returning state of the target article recorded in the target system.
[0160] The related content of step 402 has been described in detail in step 202, and the present embodiment will not repeat it.
[0161] Step 403: After receiving the second message sent by the transfer platform, modify the lending and returning state recorded in the electronic tag to complete the lending and returning operation of the target article, the lending and returning state being lent out or in stock.
[0162] The related content of step 403 has been described in detail in step 207, and the present embodiment will not repeat it.
[0163] In the present embodiment, the electronic tag information of the target article to be lent or returned is obtained, i.e. the target system identifier, the target article identifier and the lending and returning state are obtained. If the target system identifier is different from the first system identifier, it indicates that the target article does not belong to the first management institution, and then a first message is sent to the transfer platform to instruct the transfer platform to modify the lending and returning state of the target article recorded in the target system, i.e. the lending and returning operation of the target article in the target system is completed by means of the transfer platform, and then the lending and returning state recorded in the electronic tag is modified, so as to complete the lending and returning operation of the target article in the first system. In this way, the cross-institution lending and returning of the target article is realized. Moreover, the systems of various management institutions are relatively independent, and the articles do not need to be re-numbered, thereby improving the convenience and efficiency of the lending and returning service.
[0164] Figure 5 is a flowchart of an article lending and returning method provided by an embodiment of the present application. Referring to Figure 5 , the method comprises the following steps:
[0165] Step 501: Receive the first message sent by the first system. The first message carries the target system identifier and the target item identifier recorded in the electronic tag of the target item. The target system is a system used by the target management agency to manage the target item.
[0166] The relevant content of step 501 has been described in detail in step 203, and will not be repeated here in this embodiment.
[0167] Step 502: Send a third message to the target system identified by the target system identifier. The third message carries the target system identifier and the target item identifier to instruct the target system to modify the borrowing and returning status of the target item recorded in the target system.
[0168] The relevant content of step 502 has been described in detail in steps 204 and 205, and will not be repeated here in this embodiment.
[0169] Step 503: After receiving the modification success message from the target system, send a second message to the first system to instruct the first system to modify the borrowing and returning status recorded in the electronic tag, and complete the borrowing and returning operation of the target item. The borrowing and returning status is either borrowed or in storage.
[0170] The relevant content of step 503 has been described in detail in step 206, and will not be repeated here in this embodiment.
[0171] In this embodiment, after receiving the first message from the first system, a third message is sent to the target system identified by the target system identifier. The target system then modifies the borrowing / returning status of the target item recorded in its own system, completing the borrowing / returning operation within the target system. After modifying the borrowing / returning status, a success message is returned. Upon receiving the success message from the target system, a second message is sent to the first system, instructing it to modify the borrowing / returning status recorded in the electronic tag, thereby completing the borrowing / returning operation within the first system. This enables cross-institutional borrowing and returning of target items. Furthermore, since each management institution's system is relatively independent, there is no need to renumber the items, improving the convenience and efficiency of the inter-institutional borrowing and returning service.
[0172] Figure 6 This is a schematic diagram of the structure of an item borrowing and returning device provided in an embodiment of this application. The item borrowing and returning device can be implemented as part or all of a computer device by software, hardware, or a combination of both. This computer device can be as described below. Figure 8 The computer equipment shown. This item borrowing and returning device can be applied to the first system, see [link / reference]. Figure 6 The device includes: an acquisition module 601, a sending module 602, and a first modification module 603.
[0173] The acquisition module 601 is configured to acquire electronic tag information of a target object to be borrowed or returned, the electronic tag information being information recorded in an electronic tag of the target object, and the electronic tag information including a target system identifier, a target object identifier, and a borrowing and returning state, the target system being a system of a target management institution for managing the target object;
[0174] The sending module 602 is configured to send a first message to the transfer platform if the target system identifier is different from the first system identifier, the first message carrying the target system identifier and the target object identifier, so as to instruct the transfer platform to modify the borrowing and returning state of the target object recorded in the target system, and send a second message after completing the modification of the borrowing and returning state of the target object recorded in the target system.
[0175] The first modification module 603 is configured to modify the borrowing and returning state recorded in the electronic tag after receiving the second message sent by the transfer platform, so as to complete the borrowing or returning operation of the target object, the borrowing and returning state being borrowed out or in stock.
[0176] Optionally, the apparatus further includes:
[0177] The display module is configured to display a login page after detecting the object borrowing instruction.
[0178] The first receiving module is configured to receive a user account and a login password input on the login page.
[0179] The first triggering module is configured to determine that the user account has an object borrowing right in a case where the user account and the login password are verified, and trigger the acquisition module 601 to perform the step of acquiring the electronic tag information of the target object to be borrowed or returned.
[0180] Optionally, the apparatus further includes:
[0181] The second triggering module is configured to trigger the acquisition module 601 to perform the step of acquiring the electronic tag information of the target object to be borrowed or returned after detecting the object returning instruction; or
[0182] The third triggering module is configured to display a login page after detecting the object returning instruction, receive a user account and a login password input on the login page, determine that the user account has an object returning right in a case where the user account and the login password are verified, and trigger the acquisition module 601 to perform the step of acquiring the electronic tag information of the target object to be borrowed or returned.
[0183] Optionally, the apparatus further includes:
[0184] The second modification module is configured to modify the borrowing and returning state of the target object recorded in the first system if the target system identifier is the same as the first system identifier.
[0185] a third modification module, configured to modify the borrowing and returning state recorded in the electronic tag to complete the borrowing and returning operation of the target article.
[0186] Optionally, the acquisition module 601 is configured to:
[0187] read the electronic tag to obtain target information, the target information at least including an electronic tag identifier;
[0188] if the target information further includes a target system identifier, a target article identifier and the borrowing and returning state, the target system identifier, the target article identifier and the borrowing and returning state are taken as the electronic tag information;
[0189] if the target information further includes the target article identifier and the borrowing and returning state, but does not include the target system identifier, the first system identifier is stored to the electronic tag as the target system identifier, and the target system identifier, the target article identifier and the borrowing and returning state are taken as the electronic tag information;
[0190] if the target information does not include the target system identifier, the target article identifier and the borrowing and returning state, the target system identifier, the target article identifier and the borrowing and returning state are searched from the first system according to the electronic tag identifier, the searched target system identifier, the target article identifier and the borrowing and returning state are stored to the electronic tag, and the target system identifier, the target article identifier and the borrowing and returning state are taken as the electronic tag information.
[0191] In the embodiments of the present application, the electronic tag information of the target article to be borrowed and returned is acquired, that is, the target system identifier, the target article identifier and the borrowing and returning state are obtained, if the target system identifier is different from the first system identifier, it indicates that the target article does not belong to the first management mechanism, and the first message is sent to the transfer platform to instruct the transfer platform to modify the borrowing and returning state of the target article recorded in the target system, that is, the borrowing and returning operation of the target article in the target system is completed by means of the transfer platform, and then the borrowing and returning state recorded in the electronic tag is modified, so as to complete the borrowing and returning operation of the target article in the first system. In this way, the cross-institution borrowing and returning of the target article is realized. Moreover, the systems of various management mechanisms are relatively independent, and there is no need to re-number the articles, thereby improving the convenience and efficiency of the borrowing and returning service.
[0192] Figure 7 is a structural schematic diagram of an article borrowing and returning device provided by the embodiments of the present application. The article borrowing and returning device can be realized by software, hardware or a combination of both to become part or all of a computer device, which can be a computer device shown in the following Figure 9 . The article borrowing and returning device can be applied to a transfer platform, referring to Figure 7 , the device comprises a receiving module 701, a first sending module 702 and a second sending module 703.
[0193] The receiving module 701 is configured to receive a first message sent by a first system, the first message carrying a target system identifier and a target item identifier recorded in an electronic tag of a target item, the target system being a system of a target management institution for managing the target item;
[0194] The first sending module 702 is configured to send a third message to the target system identified by the target system identifier, the third message carrying the target system identifier and the target item identifier, so as to instruct the target system to modify a lending / borrowing state of the target item recorded in the target system;
[0195] The second sending module 703 is configured to, after receiving a modification success message sent by the target system, send a second message to the first system, so as to instruct the first system to modify the lending / borrowing state recorded in the electronic tag, and complete the lending / borrowing operation of the target item, the lending / borrowing state being lending out or in stock.
[0196] In the embodiments of the present application, after receiving the first message sent by the first system, the third message is sent to the target system identified by the target system identifier, then the target system modifies the lending / borrowing state of the target item recorded in the target system, and completes the lending / borrowing operation of the target item in the target system, and returns the modification success message after the modification of the lending / borrowing state of the target item is completed. After receiving the modification success message sent by the target system, the second message is sent to the first system, so as to instruct the first system to modify the lending / borrowing state recorded in the electronic tag, thereby completing the lending / borrowing operation of the target item in the first system. In this way, the cross-institution lending / borrowing of the target item is realized. Moreover, the systems of the respective management institutions are relatively independent, and the items do not need to be re-numbered, thereby improving the convenience and efficiency of the lending / borrowing service.
[0197] It should be noted that the above-described item lending / borrowing apparatus provided in the embodiments is only used as an example for the division of the above-described functional modules, and in actual applications, the above-described functions can be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the above-described functions.
[0198] Each functional unit and module in the above-described embodiments can be integrated in one processing unit, or each unit can exist physically independently, or two or more units can be integrated in one unit, and the above-described integrated unit can be realized in the form of hardware or in the form of a software functional unit. In addition, the specific names of the functional units and modules are only used for mutual distinction, and are not used to limit the protection scope of the embodiments of the present application.
[0199] The article lending and returning device and the article lending and returning method provided by the above embodiments belong to the same concept, and the specific working process of the units and modules in the above embodiments and the technical effects brought by the units and modules can be referred to the method embodiment part, which will not be described here again.
[0200] Figure 8 A structural schematic diagram of a computer device is provided in the embodiments of the present application. As shown in the figure, Figure 8 the computer device 8 comprises a processor 80, a memory 81, and a computer program 82 stored in the memory 81 and executable on the processor 80, and the processor 80 implements the article lending and returning method described in the above embodiments when executing the computer program 82. Figure 4
[0201] The computer device 8 can be a general-purpose computer device or a special-purpose computer device. In a specific implementation, the computer device 8 can be a desktop computer, a laptop computer, a palm computer, etc., and the embodiments of the present application do not limit the type of the computer device 8. Those skilled in the art can understand that Figure 8 the computer device 8 is only an example and does not constitute a limitation on the computer device 8, and can include more or fewer components than those shown, or combine certain components, or different components, such as an input and output device, a network access device, etc.
[0202] The processor 80 can be a central processing unit (CPU), and the processor 80 can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0203] The memory 81 can be an internal storage unit of the computer device 8, such as a hard disk or a memory of the computer device 8 in some embodiments. The memory 81 can also be an external storage device of the computer device 8, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the computer device 8 in some other embodiments. Further, the memory 81 can include both the internal storage unit and the external storage device of the computer device 8. The memory 81 is used to store an operating system, an application program, a Boot Loader, data, and other programs, etc. The memory 81 can also be used to temporarily store data that has been output or will be output.
[0204] Figure 9 A structural schematic diagram of a computer device is provided in an embodiment of the present application. As shown in the figure, the computer device 9 includes a processor 90, a memory 91, and a computer program 92 stored in the memory 91 and executable on the processor 90, and the processor 90 implements the article lending and borrowing method in the above embodiment when executing the computer program 92. Figure 9 Figure 5 The computer device 9 can be a general-purpose computer device or a special-purpose computer device. In a specific implementation, the computer device 9 can be a network server, and the embodiments of the present application do not limit the type of the computer device 9. Those skilled in the art can understand that the computer device 9 is merely an example and does not constitute a limitation on the computer device 9, and can include more or fewer components than shown, or combine certain components, or different components, such as an input / output device, a network access device, etc.
[0205] The computer device 9 can be a general-purpose computer device or a special-purpose computer device. In a specific implementation, the computer device 9 can be a network server, and the embodiments of the present application do not limit the type of the computer device 9. Those skilled in the art can understand that the computer device 9 is merely an example and does not constitute a limitation on the computer device 9, and can include more or fewer components than shown, or combine certain components, or different components, such as an input / output device, a network access device, etc. Figure 9
[0206] The processor 90 can be a central processing unit, and the processor 90 can also be other general-purpose processors, digital signal processors, application-specific integrated circuits, ready programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0207] The memory 91 can be an internal storage unit of the computer device 9, such as a hard disk or a memory of the computer device 9 in some embodiments. The memory 91 can also be an external storage device of the computer device 9, such as a plug-in hard disk, a smart memory card, a secure digital card, a flash memory card, and the like equipped on the computer device 9 in some other embodiments. Further, the memory 91 can include both an internal storage unit and an external storage device of the computer device 9. The memory 91 is used to store an operating system, an application program, a boot loader, data, and other programs, and the like. The memory 91 can also be used to temporarily store data that has been output or is to be output.
[0208] The embodiments of the present application further provide a computer device, which comprises at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor executes the computer program to implement the steps in any of the above method embodiments.
[0209] The embodiments of the present application further provide a computer readable storage medium, which stores a computer program, wherein the computer program is executable by a processor to implement the steps in any of the above method embodiments.
[0210] The embodiments of the present application provide a computer program product, which, when executed on a computer, causes the computer to perform the steps in any of the above method embodiments.
[0211] The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the present application can implement all or part of the above method embodiments by instructing relevant hardware through a computer program, which can be stored in a computer readable storage medium. The computer program, when executed by a processor, can implement the steps in any of the above method embodiments. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or some intermediate forms. The computer readable medium at least includes any entity or device capable of carrying the computer program code to the photographing device / terminal device, a recording medium, a computer memory, a ROM (Read-Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, and an optical data storage device, and the like. The computer readable storage medium mentioned in the present application can be a non-volatile storage medium, in other words, a non-transitory storage medium.
[0212] It should be understood that all or part of the steps in the above-mentioned embodiments can be realized by software, hardware, firmware or any combination thereof. When realized by software, it can be realized in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. The computer instructions can be stored in the computer readable storage medium described above.
[0213] In the above embodiments, the description of each embodiment has its own focus, and the parts not described or recorded in detail in a certain embodiment can be referred to the related description of other embodiments.
[0214] Those skilled in the art can appreciate that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solutions. The skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0215] In the embodiments provided in the present application, it should be understood that the disclosed apparatus / computer device and method can be implemented in other ways. For example, the apparatus / computer device embodiments described above are only schematic. The division of the modules or units is only a logical function division, and there can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.
[0216] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e. they can be located in one place, or distributed on a plurality of network units. Some or all of the units can be selected to achieve the purpose of the embodiments according to actual needs.
[0217] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced by equivalent; and these modifications or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. An article lending method characterized by comprising: The method is applied to a first system, the first system is a system of a first management institution for managing articles and is a system of any one of a plurality of management institutions, and the method comprises: obtaining electronic tag information of a target article to be borrowed or returned, the electronic tag information being information recorded in an electronic tag of the target article, the electronic tag information comprising a target system identifier, a target article identifier and a borrowing and returning state, the target system being a system of a target management institution for managing the target article; if the target system identifier is different from a first system identifier, sending a first message to a transfer platform, the first message carrying the target system identifier and the target article identifier, to instruct the transfer platform to modify the borrowing and returning state of the target article recorded in the target system, and returning a second message after completing the modification of the borrowing and returning state of the target article recorded in the target system; after receiving the second message sent by the transfer platform, modifying the borrowing and returning state recorded in the electronic tag to complete the borrowing and returning operation of the target article, the borrowing and returning state being borrowed out or in stock; the obtaining of the electronic tag information of the target article to be borrowed or returned comprises: reading the electronic tag to obtain target information, the target information at least comprising an electronic tag identifier; if the target information further comprises the target system identifier, the target article identifier and the borrowing and returning state, taking the target system identifier, the target article identifier and the borrowing and returning state as the electronic tag information; if the target information further comprises the target article identifier and the borrowing and returning state and does not comprise the target system identifier, storing the first system identifier as the target system identifier to the electronic tag and taking the target system identifier, the target article identifier and the borrowing and returning state as the electronic tag information; wherein the operation of storing the first system identifier as the target system identifier to the electronic tag is: converting the data format of the first system identifier, the electronic tag identifier, the target article identifier and the borrowing and returning state contained in the target information into a unified preset data format, and storing the first system identifier, the electronic tag identifier, the target article identifier and the borrowing and returning state converted into the preset data format into the electronic tag of the target article; If the target information does not contain the target system identifier, the target article identifier and the lending status, the target system identifier, the target article identifier and the lending status are searched from the first system according to the electronic tag identifier, the searched target system identifier, the target article identifier and the lending status are stored in the electronic tag, and the target system identifier, the target article identifier and the lending status are taken as the electronic tag information; wherein the operation of storing the searched target system identifier, the target article identifier and the lending status in the electronic tag is: converting the data format of the electronic tag identifier and the searched target system identifier, the target article identifier and the lending status into a unified preset data format, and storing the electronic tag identifier, the target system identifier, the target article identifier and the lending status converted into the preset data format in the electronic tag of the target article.
2. The method of claim 1, wherein, Before the step of acquiring the electronic tag information of the target article to be lent or returned, the method further comprises: After detecting the article lending instruction, a login page is displayed; A user account and a login password input on the login page are received; If the user account and the login password are verified, it is determined that the user account has the article lending permission, and the step of acquiring the electronic tag information of the target article to be lent or returned is executed.
3. The method of claim 1, wherein, Before the step of acquiring the electronic tag information of the target article to be lent or returned, the method further comprises: After detecting the article returning instruction, the step of acquiring the electronic tag information of the target article to be lent or returned is executed; or After detecting the article returning instruction, a login page is displayed; a user account and a login password input on the login page are received; if the user account and the login password are verified, it is determined that the user account has the article returning permission, and the step of acquiring the electronic tag information of the target article to be lent or returned is executed.
4. The method of claim 1, wherein, After the step of acquiring the electronic tag information of the target article to be lent or returned, the method further comprises: If the target system identifier is the same as the first system identifier, the lending status of the target article recorded in the first system is modified; The lending status recorded in the electronic tag is modified to complete the lending operation of the target article.
5. An article lending method characterized by comprising: The method is applied to a transfer platform, and the method comprises: A first message sent by a first system is received, the first message carrying a target system identifier and a target article identifier recorded in an electronic tag of a target article, the target system being a system of a target management institution for managing the target article, the first system being a system of a first management institution for managing articles and being a system of any one of a plurality of management institutions; A third message is sent to the target system identified by the target system identifier, the third message carrying the target system identifier and the target article identifier to instruct the target system to modify a lending status of the target article recorded in the target system; The third message is sent to the target system identified by the target system identifier, the third message carrying the target system identifier and the target article identifier to instruct the target system to modify a lending status of the target article recorded in the target system; After receiving the modification success message sent by the target system, a second message is sent to the first system to indicate the first system to modify the lending and returning state recorded in the electronic tag, so as to complete the lending and returning operation of the target article, wherein the lending and returning state is lending out or in stock; The first system is further configured to read the electronic tag to obtain target information, wherein the target information at least includes an electronic tag identifier; if the target information further includes the target system identifier, the target article identifier and the lending and returning state, the target system identifier, the target article identifier and the lending and returning state are taken as the electronic tag information; if the target information further includes the target article identifier and the lending and returning state, but does not include the target system identifier, the first system identifier is stored in the electronic tag as the target system identifier, and the target system identifier, the target article identifier and the lending and returning state are taken as the electronic tag information; wherein the operation of storing the first system identifier in the electronic tag as the target system identifier is: converting the data format of the first system identifier, the electronic tag identifier, the target article identifier and the lending and returning state included in the target information into a unified preset data format, and storing the first system identifier, the electronic tag identifier, the target article identifier and the lending and returning state converted into the preset data format in the electronic tag of the target article; if the target information does not include the target system identifier, the target article identifier and the lending and returning state, the target system identifier, the target article identifier and the lending and returning state are searched from the first system according to the electronic tag identifier, and the searched target system identifier, target article identifier and lending and returning state are stored in the electronic tag, and the target system identifier, the target article identifier and the lending and returning state are taken as the electronic tag information; wherein the operation of storing the searched target system identifier, target article identifier and lending and returning state in the electronic tag is: converting the data format of the electronic tag identifier and the searched target system identifier, target article identifier and lending and returning state into a unified preset data format, and storing the electronic tag identifier, target system identifier, target article identifier and lending and returning state converted into the preset data format in the electronic tag of the target article.
6. An article lending method characterized by comprising: The method comprises: The first system obtains the electronic tag information of the target article to be lent or returned, wherein the electronic tag information is the information recorded in the electronic tag of the target article, and the electronic tag information includes a target system identifier, a target article identifier and a lending and returning state; the target system is the system of a target management institution for managing the target article; the first system is the system of a first management institution for managing articles and is the system of any one of a plurality of management institutions; The first system sends a first message to the transfer platform when the target system identifier is different from the first system identifier, wherein the first message carries the target system identifier and the target article identifier. The relay platform sends a third message to the target system after receiving the first message sent by the first system, where the third message carries the target system identifier and the target item identifier; The target system sends a modification success message to the relay platform after modifying the lending and returning state of the target item recorded in the target system; The relay platform sends a second message to the first system after receiving the modification success message sent by the target system; The first system modifies the lending and returning state recorded in the electronic tag to complete the lending and returning operation of the target item, where the lending and returning state is lending out or in stock; The first system further reads the electronic tag to obtain target information, where the target information at least includes an electronic tag identifier; if the target information further includes the target system identifier, the target item identifier and the lending and returning state, the target system identifier, the target item identifier and the lending and returning state are taken as the electronic tag information; if the target information further includes the target item identifier and the lending and returning state, but does not include the target system identifier, the first system identifier is taken as the target system identifier and stored in the electronic tag, and the target system identifier, the target item identifier and the lending and returning state are taken as the electronic tag information; if the target information does not include the target system identifier, the target item identifier and the lending and returning state, the target system identifier, the target item identifier and the lending and returning state are searched from the first system according to the electronic tag identifier, and the searched target system identifier, target item identifier and lending and returning state are stored in the electronic tag and taken as the electronic tag information; and the data format of the electronic tag identifier and the searched target system identifier, target item identifier and lending and returning state is converted into a unified preset data format, and the converted electronic tag identifier, target system identifier, target item identifier and lending and returning state are stored in the electronic tag of the target item.
7. An article lending and returning apparatus characterized by comprising: The device is applied to a first system, the first system is a system of a first management mechanism for managing articles and is a system of any one of a plurality of management mechanisms, and the device comprises: An acquisition module, configured to acquire electronic tag information of a target article to be borrowed or returned, the electronic tag information being information recorded in an electronic tag of the target article, and the electronic tag information comprising a target system identifier, a target article identifier, and a borrowing and returning state, the target system being a system of a target management mechanism for managing the target article; A sending module, configured to send a first message to a transfer platform if the target system identifier is different from a first system identifier, the first message carrying the target system identifier and the target article identifier, so as to instruct the transfer platform to modify the borrowing and returning state of the target article recorded in the target system and return a second message after completing the modification of the borrowing and returning state of the target article recorded in the target system; A first modification module, configured to modify a borrowing and returning state recorded in the electronic tag after receiving the second message sent by the transfer platform, so as to complete a borrowing and returning operation of the target article, the borrowing and returning state being borrowed out or in stock. The obtaining module is specifically configured to: read the electronic tag to obtain target information, the target information at least including an electronic tag identifier; if the target information further includes a target system identifier, a target article identifier and a lending or returning state, then taking the target system identifier, the target article identifier and the lending or returning state as the electronic tag information; if the target information further includes the target article identifier and the lending or returning state, but does not include the target system identifier, then storing the first system identifier as the target system identifier to the electronic tag, and taking the target system identifier, the target article identifier and the lending or returning state as the electronic tag information; wherein the operation of storing the first system identifier as the target system identifier to the electronic tag is: converting data formats of the first system identifier, the electronic tag identifier, the target article identifier and the lending or returning state included in the target information into a unified preset data format, and storing the first system identifier, the electronic tag identifier, the target article identifier and the lending or returning state converted into the preset data format into the electronic tag of the target article; if the target information does not include the target system identifier, the target article identifier and the lending or returning state, then searching for the target system identifier, the target article identifier and the lending or returning state from the first system according to the electronic tag identifier, storing the searched target system identifier, the target article identifier and the lending or returning state to the electronic tag, and taking the target system identifier, the target article identifier and the lending or returning state as the electronic tag information; wherein the operation of storing the searched target system identifier, the target article identifier and the lending or returning state to the electronic tag is: converting data formats of the electronic tag identifier and the searched target system identifier, the target article identifier and the lending or returning state into a unified preset data format, and storing the electronic tag identifier, the target system identifier, the target article identifier and the lending or returning state converted into the preset data format into the electronic tag of the target article.
8. An article lending and returning apparatus characterized by comprising: The device is applied to a transfer platform, and the device comprises: a receiving module configured to receive a first message sent by a first system, the first message carrying a target system identifier and a target article identifier recorded in an electronic tag of a target article, the target system being a system of a target management institution for managing the target article, the first system being a system of a first management institution for managing articles and being a system of any one of a plurality of management institutions; a first sending module configured to send a third message to the target system identified by the target system identifier, the third message carrying the target system identifier and the target article identifier to instruct the target system to modify a lending or returning state of the target article recorded in the target system; and The second sending module is configured to, after receiving the modification success message sent by the target system, send a second message to the first system to instruct the first system to modify the lending or borrowing state recorded in the electronic tag, and complete the lending or borrowing operation of the target article, the lending or borrowing state being lending out or in stock. The first system is further configured to: read the electronic tag to obtain target information, the target information at least including an electronic tag identifier; if the target information further includes the target system identifier, the target article identifier and the lending or borrowing state, store the target system identifier, the target article identifier and the lending or borrowing state as the electronic tag information; if the target information further includes the target article identifier and the lending or borrowing state, but does not include the target system identifier, store the first system identifier as the target system identifier in the electronic tag, and store the target system identifier, the target article identifier and the lending or borrowing state as the electronic tag information; wherein the operation of storing the first system identifier as the target system identifier in the electronic tag is: converting the data format of the first system identifier, the electronic tag identifier, the target article identifier and the lending or borrowing state included in the target information into a unified preset data format, and storing the first system identifier, the electronic tag identifier, the target article identifier and the lending or borrowing state converted into the preset data format in the electronic tag of the target article; if the target information does not include the target system identifier, the target article identifier and the lending or borrowing state, searching for the target system identifier, the target article identifier and the lending or borrowing state from the first system according to the electronic tag identifier, storing the searched target system identifier, target article identifier and lending or borrowing state in the electronic tag, and storing the target system identifier, the target article identifier and the lending or borrowing state as the electronic tag information; wherein the operation of storing the searched target system identifier, target article identifier and lending or borrowing state in the electronic tag is: converting the data format of the electronic tag identifier and the searched target system identifier, target article identifier and lending or borrowing state into a unified preset data format, and storing the electronic tag identifier, target system identifier, target article identifier and lending or borrowing state converted into the preset data format in the electronic tag of the target article.
9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the method in any one of claims 1 to 5.
Citation Information
Patent Citations
Self-service book lending system and use method thereof
CN108230571A