Blockchain-based Smart Book Big Data Borrowing Management Method and System
Through blockchain technology, user identity verification conditions and borrowing information binding are set in book borrowing management, which solves the problems of inaccurate records and waste of human resources in traditional book borrowing management, and realizes intelligent borrowing management and borrowing quantity control.
Patent Information
- Application Number
- CN202410580437.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-11
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2044-05-11
AI Technical Summary
Traditional book borrowing management has problems such as inaccurate records, incomplete information, wasting human resources and inability to intelligently manage the number of borrowings.
The smart book big data borrowing management method based on blockchain is adopted. By setting the user's identity information check conditions, collecting and identifying user identity and borrowing book information, and using blockchain for information binding and comparison, we realize the automated management of borrowing, returning books and borrowing quantity.
It improves the accuracy of records and the perfection of information, improves the reliability of the system, saves human resources, and realizes intelligent book borrowing management.
Smart Images

Figure CN118428891B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of intelligent books, and in particular, to a method and system for borrowing management of intelligent book big data based on blockchain. Background Art
[0002] An intelligent campus refers to an intelligent integrated environment for campus work, study and life based on the Internet of Things. This integrated environment uses various application service systems as carriers to fully integrate teaching, scientific research, management and campus life. As an important part of the construction of an intelligent campus, the borrowing management of books has received increasing attention. However, traditional book borrowing management often relies on personal registration and other methods, wasting a lot of human resources, and prone to problems such as inaccurate records and incomplete information. Although some schools have introduced modern technologies for management, they still cannot achieve a high level of book borrowing management. In addition, during the process of book borrowing, in order to ensure the reasonable sharing of resources, it is necessary to limit the borrowing quantity of individuals, but the existing book management cannot intelligently manage the borrowing quantity. Summary of the Invention
[0003] The embodiments of the present application provide a method and system for borrowing management of intelligent book big data based on blockchain to solve the problems of inaccurate records, incomplete information, waste of human resources, and inability to intelligently manage the borrowing quantity in existing book borrowing management.
[0004] In a first aspect, the embodiments of the present application provide a method for borrowing management of intelligent book big data based on blockchain, and the method includes the following steps:
[0005] Set the verification conditions for user identity information;
[0006] When receiving a user's book borrowing request, collect the user's identity information, identify the user's identity, and according to the first borrowing rule, collect the borrowed book information and bind it with the user's identity information to form borrowing information and record it;
[0007] When receiving a user's book return request, identify the user's identity and the borrowed book information respectively to generate corresponding identification results;
[0008] Compare the identification results with the borrowing information in the blockchain, and determine whether the book return is correct according to the comparison results. If it is correct, record it and upload the book return information to the blockchain; if it is incorrect, send a reminder of failed book return.
[0009] Further, the verification conditions for the user identity information include the identification of the user's name, and one or more of identification of the ID number, face recognition, and fingerprint recognition.
[0010] Further, when receiving the user's book borrowing request, collect the user's identity information, identify the user's identity, and according to the first borrowing rule, collect the borrowed book information and bind it with the user's identity information to form and record the borrowing information, including:
[0011] When receiving the user's book borrowing request, collect the user's identity information, judge the verification conditions according to the user's identity information, and search for the user's identity information through the blockchain for comparison;
[0012] Analyze the user's identity recognition degree according to the comparison result to confirm whether it is the user himself. If the recognition degree result does not reach the specified value, the user can independently select the next verification condition and resubmit the application information until the identity recognition degree reaches the specified value;
[0013] After the user's identity recognition degree meets the standard, confirm it as the user himself and retrieve the user's borrowed data;
[0014] Based on the borrowed data, generate the current available borrowing quantity and send a reminder. According to the current available borrowing quantity, collect the borrowed book information and bind it with the user's identity information to form and record the borrowing information.
[0015] Further, the generating the current available borrowing quantity based on the borrowed data includes:
[0016] Generate the current available borrowing quantity based on the total available borrowing quantity, the borrowed quantity, and the average borrowing time;
[0017] When the borrowed quantity is less than or equal to the first quantity threshold, the current available borrowing quantity is:
[0018]
[0019] where S 总 is the total available borrowing quantity, S2 is the borrowed quantity, T is the average borrowing time, and k1 is the set first borrowing time parameter;
[0020] When the borrowed quantity is greater than the first quantity threshold and less than the second quantity threshold, the current available borrowing quantity is:
[0021]
[0022] where S 总 is the total available borrowing quantity, S2 is the borrowed quantity, T is the average borrowing time, and k2 is the set second borrowing time parameter;
[0023] When the borrowed quantity is greater than or equal to the second quantity threshold, the current available borrowing quantity is:
[0024]
[0025] Among them, S 总 is the total number of books that can be borrowed, S2 is the number of borrowed books, T is the average borrowing time, and k3 is the set third borrowing time parameter.
[0026] Furthermore, generating the current available borrowing quantity based on the borrowed data includes:
[0027] Based on the borrowed data, judge the quantity of various borrowing types;
[0028] If the quantity of one of the borrowing types exceeds the first type threshold, the calculated current available borrowing quantity needs to be further subtracted by the first quantity value;
[0029] If the quantity of one of the borrowing types exceeds the second type threshold, the calculated current available borrowing quantity needs to be further subtracted by the second quantity value.
[0030] Furthermore, before judging the quantity of various borrowing types, it also includes:
[0031] Arrange the books in sequence according to similar types to obtain the total quantity of borrowing sub-categories of the books.
[0032] Furthermore, judging the quantity of various borrowing types includes:
[0033] Obtain the quantity and books of various borrowing sub-categories in the borrowed data, and calculate the similarity of various borrowing sub-categories:
[0034]
[0035] where x is the first borrowing sub-category and m is the second borrowing sub-category;
[0036] If the similarity of any two borrowing sub-categories is greater than or equal to the set similarity value, these two borrowing sub-categories are listed as the same borrowing type;
[0037] Obtain the quantity of various borrowing types.
[0038] In a second aspect, an embodiment of the present application further provides a blockchain-based intelligent book big data borrowing management system, including:
[0039] An identity setting module, used to set the verification conditions for user identity information;
[0040] A borrowing processing module, used to collect user identity information when receiving a user's borrowing request, identify the user's identity, collect borrowing book information according to the first borrowing rule, bind it with the user's identity information, and form and record borrowing information;
[0041] A book return processing module, which is used to identify the user's identity and borrowed book information respectively when receiving the user's book return request, and generate corresponding identification results;
[0042] A book return confirmation module, which is used to compare the identification results with the borrowing information in the blockchain, determine whether the book return is correct according to the comparison results. If it is correct, record and upload the book return information to the blockchain; if it is incorrect, send a reminder that the book return fails.
[0043] In a third aspect, an embodiment of the present application further provides a computer device, including: a memory and one or more processors;
[0044] The memory is used to store one or more programs;
[0045] When the one or more programs are executed by the one or more processors, the one or more processors implement a method for intelligent book big data borrowing management based on blockchain as described above.
[0046] In a fourth aspect, an embodiment of the present application further provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute a method for intelligent book big data borrowing management based on blockchain as described above when executed by a computer processor.
[0047] In the embodiment of the present application, by setting the verification conditions for the user identity information; when receiving the user's book borrowing request, collecting the user identity information, identifying the user identity, according to the first borrowing rule, collecting the borrowed book information and binding it with the user identity information, forming and recording the borrowing information; when receiving the user's book return request, identifying the user's identity and borrowed book information respectively, and generating corresponding identification results; comparing the identification results with the borrowing information in the blockchain, determining whether the book return is correct according to the comparison results. If it is correct, record and upload the book return information to the blockchain; if it is incorrect, send a reminder that the book return fails; realizing the automation and intelligent management of book borrowing, returning, and borrowing quantity, applying blockchain technology to the book borrowing management system, enhancing the accuracy of records and the perfection of information, significantly improving the reliability of the system, and saving human resources. Description of the Drawings
[0048] Figure 1 is a flowchart of a method for intelligent book big data borrowing management based on blockchain provided by an embodiment of the present application;
[0049] Figure 2 is a flowchart of another method for intelligent book big data borrowing management based on blockchain provided by an embodiment of the present application;
[0050] Figure 3It is a flowchart of another blockchain-based intelligent library big data borrowing management method provided by an embodiment of the present application;
[0051] Figure 4 It is a schematic structural diagram of a blockchain-based intelligent library big data borrowing management system provided by an embodiment of the present application;
[0052] Figure 5 It is a schematic structural diagram of a computer device provided by an embodiment of the present application. Detailed implementation manners
[0053] In order to make the objectives, technical solutions and advantages of the present application clearer, the following further describes the specific embodiments of the present application in detail with reference to the accompanying drawings. It can be understood that the specific embodiments described herein are only used to explain the present application, rather than limiting the present application. Additionally, it should be noted that for the sake of convenience of description, only parts related to the present application are shown in the drawings rather than all the content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of the operations can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. When the operations are completed, the process can be terminated, but there can also be additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0054] The embodiment of the present application establishes a set of blockchain-based intelligent library big data borrowing management method, which solves the problems that the existing library borrowing management is prone to inaccurate records, imperfect information, waste of human resources, and at the same time cannot perform intelligent management of the borrowing quantity.
[0055] The blockchain-based intelligent library big data borrowing management method provided in the embodiment can be executed by a blockchain-based intelligent library big data borrowing management system, and the blockchain-based intelligent library big data borrowing management system can be implemented in a software and / or hardware manner and integrated in a blockchain-based intelligent library big data borrowing management device. Among them, the blockchain-based intelligent library big data borrowing management device can be a device such as a computer.
[0056] Figure 1 It is a flowchart of a blockchain-based intelligent library big data borrowing management method provided by an embodiment of the present application. Refer to Figure 1 , the method includes the following steps:
[0057] Step 110, set the verification conditions for the user identity information.
[0058] Specifically, the verification conditions for the user identity information include name recognition of the user, and one or more of ID number recognition, face recognition, and fingerprint recognition. It can be understood that the verification conditions for the user identity information are set in the system first, and the user is verified according to the verification conditions when borrowing books.
[0059] Exemplarily, when a user borrows a book, the name and ID number of the user can be combined for recognition, or the name and face of the user can be combined for recognition, or the name and fingerprint of the user can be combined for recognition. When one verification method fails, the user can manually select other verification methods.
[0060] Step 120: When receiving a book borrowing request from a user, collect the user identity information, identify the user identity, and according to the first borrowing rule, collect the borrowed book information and bind it with the user identity information to form borrowing information and record it.
[0061] It can be understood that the user identity information is stored in the system in advance and needs to be independently activated by the user. The user can activate the user identity information during a free time period, or can activate the user identity information when borrowing books for the first time and then borrow books. When receiving a book borrowing request from a user, collect the user identity information, identify the user identity, and according to the set first borrowing rule, collect the borrowed book information and bind it with the user identity information to form borrowing information and record it.
[0062] Step 130: When receiving a book return request from a user, identify the user identity and the borrowed book information respectively to generate corresponding identification results.
[0063] Specifically, when receiving a book return request from a user, it is necessary to identify the user identity and the borrowed book information to generate corresponding identification results, so as to check whether the user identity and the book correspond, and determine whether it is the user who borrowed the book, ensuring the intelligence of the entire process of book borrowing.
[0064] Step 140: Compare the identification results with the borrowing information in the blockchain, and determine whether the book return is correct according to the comparison results. If it is correct, record it and upload the book return information to the blockchain; if it is incorrect, send a book return failure reminder.
[0065] Specifically, compare the user identity and the borrowed book information with the borrowing information recorded in the blockchain to see whether the user's book return is correct. If the user's book return is correct, record the book return information and upload the book return information to the blockchain to ensure the timely update of the data. If the user's book return is incorrect, send a book return failure reminder to the user to remind the user to check the borrowing information by himself.
[0066] Based on the above embodiments, Figure 2The flowchart of another blockchain-based intelligent library big data borrowing management provided by the embodiments of the present application is given. The blockchain-based intelligent library big data borrowing management method is a concretization of the above-mentioned blockchain-based intelligent library big data borrowing management method. Refer to Figure 2 , the blockchain-based intelligent library big data borrowing management method includes:
[0067] 1201. When receiving a borrowing request from a user, collect the user's identity information, judge the verification conditions to which it belongs according to the user's identity information, and search for the user's identity information through the blockchain for comparison.
[0068] Specifically, the verification conditions for the user's identity information include the name recognition of the user, and one or more of the ID number recognition, face recognition, and fingerprint recognition; it can be understood that the user's identity information is stored in the blockchain. When the user needs to borrow a book, the system receives the user's borrowing request, collects the user's identity information, judges the verification conditions to which it belongs. Among them, the system can default to set a verification condition, and search for the user's identity information through the blockchain for comparison.
[0069] 1202. Analyze the identity recognition rate of the user according to the comparison result, confirm whether it is the user himself / herself. If the recognition rate result does not reach the specified value, the user can independently select the next verification condition and resubmit the application information until the identity recognition rate reaches the specified value.
[0070] Specifically, compare the verification result of the user's identity information with the user's identity information stored in the blockchain, analyze the identity recognition rate of the user according to the comparison result, confirm whether it is the user himself / herself. If the recognition rate result does not reach the specified value, among which the specified value can be set according to requirements, and the embodiments of the present application do not limit this. If it does not reach the set specified value, the user can independently select the next verification condition and resubmit the application information until the identity recognition rate reaches the specified value; among them, the verification conditions are diversified, enhancing the redundancy of the system.
[0071] 1203. After the user's identity recognition rate reaches the standard, confirm it as the user himself / herself, and retrieve the user's borrowed data.
[0072] Specifically, if the user's identity recognition rate reaches the standard and is confirmed as the user himself / herself, after the user's identity information is successfully verified, retrieve the borrowed data of the user's books from the blockchain.
[0073] 1204. Based on the borrowed data, generate the current available borrowing quantity and send a prompt. According to the current available borrowing quantity, collect the borrowed book information and bind it with the user's identity information to form borrowing information and record it.
[0074] Among them, in order to ensure resource sharing, there is a set upper limit on the number of books that each user can borrow in the library. After the system successfully verifies the user's identity information, it will retrieve the user's borrowed data from the blockchain. Based on the user's borrowed data, it calculates and generates the user's current available borrowing quantity and sends a notification to the user. The user borrows books according to the current available borrowing quantity. The system collects the user's borrowed book information and binds it with the user's identity information to form borrowing information and records it in the blockchain.
[0075] It can be understood that if the user performs the operations of returning and borrowing books simultaneously, the user is reminded to complete the return operation. The system updates the user's borrowed data, and based on the updated borrowed data, generates the current available borrowing quantity of the user's books.
[0076] Specifically, generating the current available borrowing quantity based on the borrowed data includes: generating the current available borrowing quantity based on the total available borrowing quantity, the borrowed quantity, and the average borrowing time; when the borrowed quantity is less than or equal to the first quantity threshold, the current available borrowing quantity is:
[0077]
[0078] where S 总 is the total available borrowing quantity, S2 is the borrowed quantity, T is the average borrowing time, and k1 is the set first borrowing time parameter;
[0079] when the borrowed quantity is greater than the first quantity threshold and less than the second quantity threshold, the current available borrowing quantity is:
[0080]
[0081] where S 总 is the total available borrowing quantity, S2 is the borrowed quantity, T is the average borrowing time, and k2 is the set second borrowing time parameter;
[0082] when the borrowed quantity is greater than or equal to the second quantity threshold, the current available borrowing quantity is:
[0083]
[0084] where S 总 is the total available borrowing quantity, S2 is the borrowed quantity, T is the average borrowing time, and k3 is the set third borrowing time parameter.
[0085] Preferably, the total number of books that a user can borrow is 15, the first quantity threshold is 5, the second quantity threshold is 10, the first borrowing time parameter k1 is 1, the second borrowing time parameter k2 is 1 / 2, and the third borrowing time parameter k3 is 1 / 3; wherein, the unit of the average borrowing time is month. Preferably, if the average borrowing time T is less than one month, it is recorded as 0; if it is greater than one month and less than three months, the average borrowing time T is recorded as 1; if the average borrowing time T is greater than three months, it is recorded as 2. It can be understood that the minimum value of the current available borrowing quantity is 0.
[0086] Exemplarily, the total number of books that a user can borrow is 15, the number of books the user has borrowed is 3, the average borrowing time is 1.5 months, and the user's current available borrowing quantity is 15 - 3 - 1 / 0.5 = 10 books; Exemplarily, the number of books the user has borrowed is 13, the average borrowing time is 0.25 months, and the user's current available borrowing quantity is 15 - 13 - 0 / 1 = 2 books. If the user's average borrowing time is 3 months, then the user's current available borrowing quantity is 15 - 13 - 2 / (1 / 3), and the current available borrowing quantity is taken as 0.
[0087] Based on the above embodiments, Figure 3 Another flowchart of the blockchain - based intelligent book big - data borrowing management provided by the embodiment of the present application is given. This blockchain - based intelligent book big - data borrowing management method is a concretization of the above - mentioned blockchain - based intelligent book big - data borrowing management method. Refer to Figure 3 and this blockchain - based intelligent book big - data borrowing management method includes:
[0088] 12041. Based on the borrowed data, judge the quantity of various borrowing types.
[0089] Optionally, sort the books in sequence according to similar types to obtain the total quantity of borrowing sub - categories of books, so that each book in the library has its own belonging borrowing sub - category; Exemplarily, arrange and classify the books according to 26 letters, and different letters correspond to different book types, and the types of adjacent letters are similar; Exemplarily, arrange and classify the books according to 36 numbers, and different numbers correspond to different book types, and the types of adjacent numbers are similar.
[0090] Optionally, obtain the quantity and books of various borrowing sub - categories in the borrowed data, and calculate the similarity of various borrowing sub - categories:
[0091]
[0092] where x is the first borrowing sub - category and m is the second borrowing sub - category;
[0093] If the similarity between any two borrowing sub - categories is greater than or equal to the similarity setting value, then these two borrowing sub - categories are classified as the same borrowing type; among them, the similarity setting value can be set according to specific circumstances, and the embodiments of the present application do not limit this.
[0094] After classifying the borrowing types of books according to the similarities of various borrowing sub - categories, the quantities of various borrowing types of borrowed books are obtained.
[0095] 12042. If one of the borrowing types exceeds the first type threshold, the currently available borrowing quantity calculated needs to be further subtracted by the first quantity value.
[0096] Optionally, after obtaining the quantities of various borrowing types of borrowed books, the quantity of each borrowing type is judged respectively. If one of the borrowing types exceeds the first type threshold, the currently available borrowing quantity of the user calculated above needs to be further subtracted by the first quantity value; among them, the first quantity value can be set according to specific circumstances; preferably, the first quantity value is 1.
[0097] 12043. If one of the borrowing types exceeds the second type threshold, the currently available borrowing quantity calculated needs to be further subtracted by the second quantity value.
[0098] Optionally, after obtaining the quantities of various borrowing types of borrowed books, the quantity of each borrowing type is judged respectively. If one of the borrowing types exceeds the second type threshold, the currently available borrowing quantity of the user calculated above needs to be further subtracted by the second quantity value; among them, the second quantity value can be set according to specific circumstances; preferably, the second quantity value is 2. Preferably, the first type threshold and the second type threshold can be set according to specific circumstances, the first type threshold is 5, and the second type threshold is 10.
[0099] Exemplarily, the total available borrowing quantity of the user's books is 15, the quantity of the user's borrowed books is 8, and the average borrowed time is 1.5 months. Among the 8 borrowed books of the user, there are 4 books of the type marked with the letter H, 1 book of the type marked with the letter I, 1 book of the type marked with the letter F, and 2 books of the type marked with the letter Z. It is calculated that the quantity of one of the borrowing types is 6 (greater than the first type threshold), the quantity of the other borrowing type is 2, and the currently available borrowing quantity of the user is 15 - 3 - 1 / 0.5 - 1 = 9.
[0100] Exemplarily, the total number of books that the user can borrow is 15, the number of books the user has borrowed is 11, and the average borrowing time is 0.5 months. Among the 11 books borrowed by the user, there are 10 books marked with the letter A and 1 book marked with the letter I. It is calculated that the number of one borrowing type is 10 (greater than the second type threshold), and the number of the other borrowing type is 1. The current number of books that the user can borrow is 15 - 3 - 1 / 0.5 - 2 = 9 books.
[0101] As described above, the embodiments of the present application realize the automation and intelligent management of borrowing, returning, and borrowing quantity of books. The current borrowable quantity of users is managed according to the borrowing quantity and borrowing data, ensuring the rationalization of the sharing of book resources. In addition, the blockchain technology is applied to the book borrowing management system, enhancing the accuracy of records and the perfection of information, significantly improving the reliability of the system, and saving human resources.
[0102] Based on the above embodiments, please refer to Figure 4 , a blockchain-based intelligent book big data borrowing management system provided by the embodiments of the present application specifically includes: an identity setting module 401, a borrowing processing module 402, a returning processing module 403, and a returning confirmation module 404.
[0103] Among them, the identity setting module 401 is used to set the verification conditions for the user identity information; the borrowing processing module 402 is used to collect the user identity information when receiving the user's borrowing request, identify the user identity, collect the borrowing book information according to the first borrowing rule, bind it with the user identity information, form borrowing information and record it; the returning processing module 403 is used to identify the user's identity and borrowing book information respectively when receiving the user's returning request, and generate corresponding identification results; the returning confirmation module 404 is used to compare the identification results with the borrowing information in the blockchain, determine whether the book return is correct according to the comparison results. If it is correct, record and upload the book return information to the blockchain; if it is incorrect, send a book return failure reminder.
[0104] In some embodiments, the verification conditions for the user identity information include the identification of the user's name, and one or more of the identification of the ID number, face recognition, and fingerprint recognition.
[0105] In some embodiments, the borrowing processing module 402 includes an identity verification unit, an identity confirmation unit, a data retrieval unit, and a borrowing generation unit; wherein, the identity verification unit is configured to collect user identity information when receiving a borrowing request from a user, determine the verification conditions based on the user identity information, and search for the user identity information through the blockchain for comparison; the identity confirmation unit is configured to analyze the user's identity recognition degree based on the comparison result to confirm whether it is the user himself / herself. If the recognition degree result does not reach the specified value, the user independently selects the next verification condition and resubmits the application information until the identity recognition degree reaches the specified value; the data retrieval unit is configured to confirm that it is the user himself / herself after the user's identity recognition degree meets the standard, and retrieve the user's borrowed data; the borrowing generation unit is configured to generate the current available borrowing quantity based on the borrowed data and send a prompt, collect the borrowed book information according to the current available borrowing quantity, and bind it with the user identity information to form borrowing information and record it.
[0106] In some embodiments, the borrowing generation unit is further configured to generate the current available borrowing quantity based on the total available borrowing quantity, the borrowed quantity, and the average borrowing time.
[0107] When the borrowed quantity is less than or equal to the first quantity threshold, the current available borrowing quantity is:
[0108]
[0109] wherein, S 总 is the total available borrowing quantity, S2 is the borrowed quantity, T is the average borrowing time, and k1 is the set first borrowing time parameter;
[0110] When the borrowed quantity is greater than the first quantity threshold and less than the second quantity threshold, the current available borrowing quantity is:
[0111]
[0112] wherein, S 总 is the total available borrowing quantity, S2 is the borrowed quantity, T is the average borrowing time, and k2 is the set second borrowing time parameter;
[0113] When the borrowed quantity is greater than or equal to the second quantity threshold, the current available borrowing quantity is:
[0114]
[0115] wherein, S 总 is the total available borrowing quantity, S2 is the borrowed quantity, T is the average borrowing time, and k3 is the set third borrowing time parameter.
[0116] In some embodiments, the borrowing generation unit is further configured to determine the quantities of various borrowing types based on the borrowed data; if the quantity of one borrowing type exceeds the first type threshold, the currently available borrowing quantity calculated needs to be further subtracted by the first quantity value; if the quantity of one borrowing type exceeds the second type threshold, the currently available borrowing quantity calculated needs to be further subtracted by the second quantity value.
[0117] Specifically, the books are sorted in sequence according to similar types to obtain the total quantity of borrowing sub-categories of the books; the quantities and books of various borrowing sub-categories in the borrowed data are obtained, and the similarity of various borrowing sub-categories is calculated:
[0118]
[0119] where x is the first borrowing sub-category and m is the second borrowing sub-category;
[0120] If the similarity of any two borrowing sub-categories is greater than or equal to the set similarity value, these two borrowing sub-categories are listed as the same borrowing type; the quantities of various borrowing types are obtained.
[0121] As described above, in the embodiment of the present application, by setting the verification conditions for user identity information; when receiving a user's book borrowing request, the user identity information is collected, the user identity is identified, according to the first borrowing rule, the borrowed book information is collected and bound to the user identity information to form borrowing information and record it; when receiving a user's book return request, the user's identity and borrowed book information are respectively identified to generate corresponding identification results; the identification results are compared with the borrowing information in the blockchain, and according to the comparison results, it is determined whether the book return is correct. If it is correct, the book return information is recorded and uploaded to the blockchain; if it is incorrect, a book return failure reminder is sent; realizing the automation and intelligence in managing the borrowing, returning and borrowing quantity of books, applying the blockchain technology to the book borrowing management system, enhancing the accuracy of records and the perfection of information, significantly improving the reliability of the system, and saving human resources.
[0122] The intelligent book big data borrowing management system based on blockchain provided by the embodiment of the present application can be used to execute the intelligent book big data borrowing management method based on blockchain provided by the above embodiment, and has the corresponding functions and beneficial effects.
[0123] The embodiment of the present application further provides a computer device, and this computer device can integrate the intelligent book big data borrowing management system based on blockchain provided by the embodiment of the present application. Figure 5 It is a schematic structural diagram of a computer device provided by the embodiment of the present application. Refer to Figure 5, the computer device includes: an input device 53, an output device 54, a memory 52, and one or more processors 51; the memory 52 is used to store one or more programs; when the one or more programs are executed by the one or more processors 51, the one or more processors 51 implement the blockchain-based intelligent book big data borrowing management method provided in the above embodiment. The input device 53, the output device 54, the memory 52, and the processor 51 can be connected by a bus or other means, Figure 5 Taking the connection through the bus as an example.
[0124] The processor 51 executes various functional applications and data processing of the device by running software programs, instructions, and modules stored in the memory 52, that is, implements the above-mentioned blockchain-based intelligent book big data borrowing management method.
[0125] The above-provided computer device can be used to execute the blockchain-based intelligent book big data borrowing management method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0126] The embodiment of the present application also provides a storage medium containing computer-executable instructions. The computer-executable instructions are used to execute a blockchain-based intelligent book big data borrowing management method when executed by a computer processor. The blockchain-based intelligent book big data borrowing management method includes: setting verification conditions for user identity information; when receiving a user's book borrowing request, collecting user identity information, identifying the user's identity, collecting borrowed book information according to the first borrowing rule, binding it with the user identity information, forming borrowing information and recording it; when receiving a user's book return request, respectively identifying the user's identity and borrowed book information, generating corresponding identification results; comparing the identification results with the borrowing information in the blockchain, determining whether the book return is correct according to the comparison result. If it is correct, record and upload the book return information to the blockchain; if it is incorrect, send a book return failure reminder.
[0127] Storage medium - Any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media such as CD-ROMs, floppy disks, or magnetic tape devices; computer device memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory such as flash memory, magnetic media (such as hard disks or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. Additionally, the storage medium may be located in a first computer device in which the program is executed, or may be located in a different second computer device that is connected to the first computer device via a network (such as the Internet). The second computer device may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (e.g., in different computer devices connected via a network). The storage medium may store program instructions (e.g., embodied as a computer program) executable by one or more processors.
[0128] Of course, for a storage medium containing computer-executable instructions provided by an embodiment of the present application, the computer-executable instructions are not limited to the blockchain-based intelligent book big data borrowing management method as described above, and can also perform related operations in the blockchain-based intelligent book big data borrowing management method provided by any embodiment of the present application.
[0129] The blockchain-based intelligent book big data borrowing management system, storage medium, and computer device provided in the above embodiments can execute the blockchain-based intelligent book big data borrowing management method provided by any embodiment of the present application. For technical details not described in detail in the above embodiments, reference can be made to the blockchain-based intelligent book big data borrowing management method provided by any embodiment of the present application.
[0130] The above is only the preferred embodiment of the present application and the technical principles applied. The present application is not limited to the specific embodiments described herein. Various obvious changes, re-adjustments, and substitutions that can be made by those skilled in the art will not depart from the protection scope of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments. Without departing from the concept of the present application, it may include more other equivalent embodiments, and the scope of the present application is determined by the scope of the claims.
Claims
1. A method for borrowing management of intelligent library big data based on blockchain, characterized in that, The method includes the following steps: Set the verification conditions for user identity information; When receiving a borrowing request from a user, collect the user's identity information, identify the user's identity, and according to the first borrowing rule, collect the borrowed book information and bind it with the user's identity information to form borrowing information and record it; When receiving a book return request from a user, identify the user's identity and the borrowed book information respectively to generate corresponding identification results; Compare the identification results with the borrowing information in the blockchain, and determine whether the book return is correct according to the comparison results. If it is correct, record it and upload the book return information to the blockchain; if it is incorrect, send a reminder that the book return fails; Among them, when receiving a borrowing request from a user, collecting the user's identity information, identifying the user's identity, and according to the first borrowing rule, collecting the borrowed book information and binding it with the user's identity information to form borrowing information and record it, includes: When receiving a borrowing request from a user, collect the user's identity information, judge the belonging verification conditions according to the user's identity information, and search for the user's identity information in the blockchain for comparison; Analyze the user's identity recognition degree according to the comparison results to confirm whether it is the user himself. If the recognition degree result does not reach the specified value, the user can independently select the next verification condition and resubmit the application information until the identity recognition degree reaches the specified value; After the user's identity recognition degree reaches the standard, confirm it as the user himself and retrieve the user's borrowed data; Based on the borrowed data, generate the current available borrowing quantity and send a reminder. According to the current available borrowing quantity, collect the borrowed book information and bind it with the user's identity information to form borrowing information and record it; Among them, generating the current available borrowing quantity based on the borrowed data includes: Generate the current available borrowing quantity based on the total available borrowing quantity, the borrowed quantity, and the borrowing time; When the borrowed quantity is less than or equal to the first quantity threshold, the current available borrowing quantity is: Among them, S 总 is the total number of books that can be borrowed, S2 is the number of borrowed books, T is the average borrowing time, and k1 is the set first borrowing time parameter; When the borrowed quantity is greater than the first quantity threshold and less than the second quantity threshold, the current available borrowing quantity is: Among them, S 总 is the total number of books that can be borrowed, S2 is the number of borrowed books, T is the average borrowing time, and k2 is the set second borrowing time parameter; When the borrowed quantity is greater than or equal to the second quantity threshold, the current available borrowing quantity is: Among them, S 总 is the total number of borrowable items, S2 is the number of borrowed items, T is the average borrowing time, and k3 is the set third borrowing time parameter.
2. The method for intelligent book big data borrowing management based on blockchain according to claim 1, wherein The verification conditions for the user's identity information include one or more of the user's name recognition, ID number recognition, face recognition, and fingerprint recognition.
3. The blockchain-based intelligent library big data borrowing management method according to claim 1, wherein, Generating the current available borrowing quantity based on the borrowed data includes: Based on the borrowed data, judge the quantity of various borrowing types; If the quantity of one of the borrowing types exceeds the first type threshold, the calculated current available borrowing quantity needs to be subtracted by the first quantity value; If the quantity of one of the borrowing types exceeds the second type threshold, the calculated current available borrowing quantity needs to be subtracted by the second quantity value.
4. The method for intelligent library big data borrowing management based on blockchain according to claim 3, wherein Before judging the quantity of various borrowing types, it also includes: Sort the books in sequence according to similar types to obtain the total quantity of borrowing sub-categories of the books.
5. The method for intelligent library big data borrowing management based on blockchain according to claim 4, wherein Judging the quantity of various borrowing types includes: Obtain the quantity and books of various borrowing sub-categories in the borrowed data, and calculate the similarity of various borrowing sub-categories: Among them, x is the first borrowing sub-category, and m is the second borrowing sub-category; If the similarity between any two borrowing sub-categories is greater than or equal to the similarity setting value, then these two borrowing sub-categories are listed as the same borrowing type; Obtain the quantity of various borrowing types.
6. A blockchain-based intelligent library big data borrowing management system, which implements a blockchain-based intelligent library big data borrowing management method as described in any one of claims 1-5, characterized in that, Including: An identity setting module, configured to set the verification conditions for user identity information; A borrowing processing module, configured to collect user identity information when receiving a user's borrowing request, identify the user's identity, collect borrowing book information according to the first borrowing rule, bind it with the user identity information, form borrowing information and record it; A return processing module, configured to identify the user's identity and borrowing book information respectively when receiving a user's return request, and generate corresponding identification results; A return confirmation module, configured to compare the identification results with the borrowing information in the blockchain, determine whether the return is correct according to the comparison results, if correct, record and upload the return information to the blockchain; if incorrect, send a return failure reminder.
7. A computer device, characterized in that, Including: A memory and one or more processors; The memory is configured to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement a blockchain-based intelligent book big data borrowing management method as described in any one of claims 1-5.
8. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions are used to execute a blockchain-based intelligent book big data borrowing management method as described in any one of claims 1-5 when executed by a computer processor.
Citation Information
Patent Citations
Book borrowing method and system, terminal equipment and storage medium
CN114898511A
Smart campus book big data borrowing management method and system based on block chain
CN115147253A