Old clothes recycling operation system and operation method based on blockchain technology
By introducing blockchain technology and RFID tags into the old clothing recycling system, combined with whale optimization algorithm, the problem of opacity and low success rate of the old clothing donation process is solved, and a more efficient, transparent and economical old clothing recycling operation is achieved.
Patent Information
- Application Number
- CN202210548181.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-18
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2042-05-18
AI Technical Summary
In the existing old clothes recycling system, the old clothes donation process is not transparent enough, making it difficult to ensure the success rate of donation work.
The old clothes recycling operation system based on blockchain technology is adopted, and the clothing demand information is analyzed through the feedback subsystem of the public welfare organization, and the order information is generated by the mobile terminal. The old clothes recycling backend management subsystem is packaged and sent to the old clothes recycling cabinet system. RFID tags and whale optimization algorithms are used to ensure that the donation information is transparent and effective.
It improves the transparency and success rate of the old clothes donation process, reduces the operating costs of public welfare institutions, improves the efficiency of old clothes recycling, and avoids waste of resources.
Smart Images

Figure CN114925861B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of blockchain and recycling operation, and in particular to a used clothing recycling operation system and operation method based on blockchain technology. Background Art
[0002] The old clothes recycling bins in the community were originally a good deed, and it was thought that the old clothes could be donated to people in need. However, according to investigations, the old clothes in these old clothes recycling bins were not donated to people in need, and the donation process was not transparent enough. Therefore, the existing old clothes recycling operation system cannot guarantee the success rate of old clothes donation. Summary of the invention
[0003] The present invention aims to solve one of the technical problems in the related art to at least a certain extent. To this end, the first purpose of the present invention is to provide a used clothing recycling operation system based on blockchain technology to ensure the success rate of used clothing donation work and make the used clothing donation work more transparent.
[0004] The second object of the present invention is to provide a used clothes recycling operation method based on blockchain technology.
[0005] To achieve the above object, the present invention is implemented through the following technical solutions:
[0006] A used clothing recycling operation system based on blockchain technology, including:
[0007] A public welfare organization feedback subsystem is used to analyze clothing demand information in various regions and upload the clothing demand information to a database server;
[0008] The mobile terminal is used to generate order information according to the clothing demand information, the location information of the used clothing recycling cabinet, and the compartment information of the used clothing recycling cabinet provided by the database server, and send the order information to the outside, wherein the compartment information of the used clothing recycling cabinet includes the compartment size information of the used clothing recycling cabinet and the remaining compartment information of the used clothing recycling cabinet;
[0009] The old clothes recycling backend management subsystem is used to receive, package and classify the order information and send it to the old clothes recycling cabinet subsystem in each area;
[0010] The old clothes recycling cabinet subsystem is used to receive the order information, and obtain a cabinet of corresponding size according to the cabinet size information of the old clothes recycling cabinet in the order information, and feed back the cabinet number information to the mobile terminal through the old clothes recycling backend management subsystem;
[0011] The mobile terminal is further used to receive the number information so that the user can determine the corresponding used clothes recycling cabinet according to the number information, and print the RFID tag and RFID tag ring corresponding to the used clothes donation quantity information in the order information through the used clothes recycling cabinet subsystem corresponding to the used clothes recycling cabinet, and fix the RFID tag ring on the used clothes, wherein the RFID tag stores the order information;
[0012] The old clothes recycling cabinet system is also used to send the usage information of the cabinet to the public welfare organization feedback subsystem, so that the public welfare organization feedback subsystem can establish an old clothes recycling path scheduling model according to the usage information, and determine the recycling vehicles to be scheduled and the optimal recycling path for old clothes according to the old clothes recycling path scheduling model and the whale optimization algorithm, so as to recycle old clothes through the recycling vehicles and the optimal recycling path for old clothes.
[0013] Optionally, the order information also includes at least one of order number information, user information, used clothes donation type information and used clothes donation quantity information.
[0014] Optionally, the mobile terminal is also used to obtain user location information, and provide the user with several old clothes recycling cabinets for selection based on the user location information, the old clothes recycling cabinet location information and the old clothes recycling cabinet compartment information provided by the database server.
[0015] Optionally, the database server establishes a user information table, an old clothes recycling cabinet location information table, an old clothes recycling cabinet compartment size information table, a compartment remaining information table and a clothing demand information table, and the old clothes recycling backend management subsystem is also used to enter or update user information, old clothes recycling cabinet location information, old clothes recycling cabinet compartment size information, compartment remaining information and clothing demand information into corresponding forms established by the database server.
[0016] Optionally, a monitoring sensor is provided in the used clothes recycling cabinet, and the public welfare organization feedback subsystem is further used to obtain the usage status information of the used clothes recycling cabinet through real-time monitoring of the monitoring sensor.
[0017] Optionally, the public welfare organization feedback subsystem specifically uses a shrinking encirclement predation operator of a humpback whale preying on prey, a bubble net attack predation operator, and a random search predation operator to determine the recycling vehicles to be dispatched and the optimal path for recycling used clothes.
[0018] To achieve the above-mentioned purpose, the second aspect of the present invention provides a used clothes recycling operation method based on blockchain technology, which is applied to the used clothes recycling operation system based on blockchain technology described above, wherein the used clothes recycling operation system also includes a public welfare organization feedback subsystem node, an used clothes recycling background management subsystem node, an used clothes recycling cabinet subsystem node and a blockchain consensus node, and the used clothes recycling operation method includes:
[0019] The public welfare organization feedback subsystem node, the old clothes recycling backend management subsystem node and the old clothes recycling cabinet subsystem node respectively send the donated clothes demand data, user donation data and old clothes recycling cabinet data to the blockchain consensus node;
[0020] The blockchain consensus node verifies the donated clothing demand data, the user donation data, and the used clothing recycling cabinet data, generates a material voucher after the verification is passed, and stores the material voucher in a shared account book;
[0021] The blockchain consensus node also receives the donated data sent by the public welfare organization feedback subsystem node, verifies the donated data and the old clothes recycling cabinet data, and cancels the material voucher in the shared account book after the verification is passed.
[0022] Optionally, the clothing donation demand data includes clothing donation demand information and a clothing donation demander's signature, the user donation data includes user donation information and a user donation signature, and the used clothing recycling cabinet data includes used clothing recycling cabinet clothing information and a used clothing recycling cabinet signature. The blockchain consensus node verifies the clothing donation demand data, the user donation data, and the used clothing recycling cabinet data, including:
[0023] The blockchain consensus node verifies the signature of the party demanding the donated clothing, the user donation signature, and the signature of the used clothing recycling cabinet;
[0024] After the signature verification is passed, the donated clothing demand information, the user donation information and the used clothing recycling cabinet clothing information are cross-verified. If the three pieces of information are consistent, it is determined that the donated clothing demand data, the user donation data and the used clothing recycling cabinet data have been verified.
[0025] Optionally, the donated data includes donated clothing information and a signature of the donated party, and the step of verifying the donated data and the used clothing recycling cabinet data includes:
[0026] The blockchain consensus node verifies the signature of the recipient and the signature of the used clothing recycling cabinet;
[0027] After the signature verification is passed, the donated clothing information and the used clothing recycling cabinet clothing information are cross-verified. If the two pieces of information are consistent, it is determined that the donated data and the used clothing recycling cabinet data have been verified.
[0028] Optionally, after the donated data and the used clothes recycling cabinet data are verified, the method further includes:
[0029] The blockchain consensus node sorts the donated clothing demand data, the user donation data, the used clothing recycling cabinet data and the donated data according to timestamps, and packages them into blocks and stores them in the shared ledger so that each node can obtain them.
[0030] The present invention has at least the following technical effects:
[0031] (1) The present invention analyzes the clothing demand information of various regions through the public welfare organization feedback subsystem, and then uploads it to the database server. The mobile terminal generates order information according to the clothing demand information, the location information of the old clothes recycling cabinet, and the compartment information of the old clothes recycling cabinet provided by the database server, and sends it to the old clothes recycling cabinet system through the old clothes recycling background management subsystem. The old clothes recycling cabinet system matches the required compartment according to the order information and sends the compartment number to the mobile terminal so that the user can determine the old clothes recycling cabinet according to the number information. Then, the old clothes recycling cabinet system corresponding to the old clothes recycling cabinet prints the RFID tag and the RFID tag ring, and the RFID tag is sent to the mobile terminal. The signature ring is fixed on the old clothes, and then the usage information of the cabinet is sent to the feedback subsystem of the public welfare organization. The feedback subsystem of the public welfare organization establishes a used clothes recycling path scheduling model according to the usage information, and determines the recycling vehicles to be scheduled and the optimal recycling path of used clothes according to the used clothes recycling path scheduling model and the whale optimization algorithm, so as to recycle the old clothes through the recycling vehicles and the optimal recycling path of used clothes. Therefore, the subsystems in the present invention are closely related to each other, and in the process of recycling used clothes, the blockchain technology is also used to verify the various information in the process of recycling used clothes, so that the supply chain of used clothes recycling is more transparent, which can effectively solve the current chaos in the recycling of used clothes and ensure the success rate of old clothes donation.
[0032] (2) The present invention materializes the problem of collecting and transporting old clothes by public welfare organizations into a vehicle routing problem, thereby effectively reducing the operating costs of public welfare organizations. The present invention also provides users with a number of old clothes recycling cabinets for selection based on their locations, allowing users to make advance reservations for old clothes recycling cabinets via mobile terminals, thereby facilitating the improvement of old clothes recycling efficiency. In addition, the present invention can realize point-to-point donations by performing data analysis on clothing demand information in various regions, thereby avoiding waste of resources.
[0033] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A structural block diagram of a used clothing recycling operation system based on blockchain technology provided by an embodiment of the present invention;
[0035] Figure 2 A schematic diagram of a used clothes recycling cabinet provided in one embodiment of the present invention;
[0036] Figure 3 A schematic diagram of graffiti on a used clothes recycling cabinet provided by an embodiment of the present invention;
[0037] Figure 4 A schematic diagram of an RFID tag ring provided by an embodiment of the present invention;
[0038] Figure 5 This is a flowchart of a used clothes recycling operation method based on blockchain technology provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0039] The present embodiment is described in detail below, and examples of the embodiment are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0040] With the continuous rise of blockchain technology, it has gradually been discovered and widely used because of its advantages of decentralization, immutability, and high transparency. Today, its application in the fields of finance, logistics, transportation, e-commerce, etc. has achieved certain results. In view of the technical problems existing in the background technology, blockchain technology can be applied to the old clothes recycling operation system to effectively solve the problem that the old clothes are not transparent enough in the recycling process and the subsequent donation work cannot be guaranteed. To this end, the present invention provides an old clothes recycling operation system and operation method based on blockchain technology. The operation system and operation method can overcome the problem of opacity in the current old clothes recycling supply chain, and can ensure the transparency and success rate of old clothes donation through mutual verification of old clothes information at each node.
[0041] The following describes the old clothes recycling operation system and operation method based on blockchain technology of this embodiment with reference to the accompanying drawings.
[0042] Figure 1 This is a structural block diagram of a used clothing recycling operation system based on blockchain technology provided by an embodiment of the present invention. Figure 1As shown, the old clothes recycling operation system 1 based on blockchain technology includes a public welfare organization feedback subsystem 10, a mobile terminal 20, an old clothes recycling background management subsystem 30 and an old clothes recycling cabinet subsystem 40.
[0043] The public welfare organization feedback subsystem 10 is used to analyze the clothing demand information of each region and upload the clothing demand information to the database server; the mobile terminal 20 is used to generate order information according to the clothing demand information, the location information of the used clothing recycling cabinet, and the grid information of the used clothing recycling cabinet provided by the database server, and send the order information to the outside, wherein the grid information of the used clothing recycling cabinet includes the grid size information of the used clothing recycling cabinet and the remaining grid information of the used clothing recycling cabinet; the used clothing recycling background management subsystem 30 is used to receive and package and classify the order information and send it to the used clothing recycling cabinet system 40 in each region; the used clothing recycling cabinet system 40 is used to receive the order information, and to match the cabinet size information of the old clothes recycling cabinet in the order information to obtain the cabinet of the corresponding size, and to feed back the cabinet number information to the mobile terminal 20 through the old clothes recycling background management subsystem 30; the mobile terminal 20 is also used to receive the number information so that the user can determine the corresponding old clothes recycling cabinet according to the number information, and to print the RFID tag and RFID tag ring corresponding to the old clothes donation quantity information in the order information through the old clothes recycling cabinet system 40 corresponding to the old clothes recycling cabinet, and to fix the RFID tag ring on the old clothes, wherein the RFID (Radio Frequency Identification) tag stores the order information; the old clothes recycling cabinet system 40 is also used to send the cabinet usage information to the public welfare organization feedback subsystem 10, so that the public welfare organization feedback subsystem can establish an old clothes recycling path scheduling model according to the usage information, and determine the recycling vehicle to be scheduled and the optimal path for old clothes recycling according to the old clothes recycling path scheduling model and the whale optimization algorithm, so as to recycle the old clothes through the recycling vehicle and the optimal path for old clothes recycling.
[0044] In this embodiment, the order information includes at least one of order number information, user information, old clothes donation type information and old clothes donation quantity information in addition to clothing demand information, old clothes recycling cabinet location information and old clothes recycling cabinet grid information.
[0045] In this embodiment, the mobile terminal 20 can be a terminal device such as a mobile phone, a tablet, a wearable device, etc. The mobile terminal 20 is connected to the database server for communication through the old clothes recycling background management subsystem 30, wherein a user information table, an old clothes recycling cabinet location information table, an old clothes recycling cabinet grid size information table, a grid remaining information table, a clothing demand information table and an order information table are established in the database server.
[0046] Specifically, the public welfare organization feedback subsystem 10 can analyze the clothing demand information of each region through its data analysis unit using big data technology, and upload the clothing demand information of each region to the database server. The mobile terminal 20, such as the mobile phone client, places an order based on the clothing demand information, the location information of the old clothes recycling cabinet, the size information of the old clothes recycling cabinet, and the remaining information of the old clothes recycling cabinet provided by the database server, and generates order information, and stores it in the order information table of the database server. The receiving unit of the old clothes recycling background management subsystem 30 receives the order information, and packages and classifies the order information and sends it to the old clothes recycling cabinet system 40 in each area. The old clothes recycling cabinet system 40 receives the corresponding order information, and matches the cabinet of the corresponding size according to the old clothes recycling cabinet cabinet size information in the received order information, and then transmits the cabinet specific number information to the old clothes recycling background management subsystem 30, and the old clothes recycling background management subsystem 30 feeds back the cabinet specific number information to the mobile phone client, i.e., the mobile terminal 20. The mobile phone client receives the cabinet specific number information, and the user finds the corresponding old clothes recycling cabinet according to the specific number information. The user enters the user information by clicking on the screen of the used clothes recycling cabinet system 40. After entering the user information, the used clothes recycling cabinet system 40 will retrieve the order information received by its receiving unit and display it on the screen, and feed back the used clothes donation quantity information in the order information to the RFID tag management unit in the used clothes recycling cabinet. The RFID tag management unit determines the number of RFID tags and RFID tag rings to be printed according to the donation quantity, and feeds back the information of the number of printed tags and tag rings to the used clothes recycling cabinet system 40. The used clothes recycling cabinet system 40 prints RFID tags and RFID tag rings according to the information of the number of printed tags and tag rings received, and the user sticks the printed RFID tags on the RFID tag rings and buckles them on the used clothes. Among them, when the RFID tag is printed, the used clothes recycling cabinet system 40 stores all the order information it receives on the RFID tag to facilitate the confirmation of the used clothes donation information later.
[0047] The old clothes recycling cabinet system 40 transmits the cabinet idle and usage information to the public welfare organization feedback subsystem 10 in real time. After receiving the information, the public welfare organization feedback subsystem 10 models the recycling path scheduling problem and solves it using the whale optimization algorithm to obtain the cost minimization target, that is, the recycling vehicles to be scheduled and the optimal recycling path for old clothes. Then, the public welfare personnel are arranged to drive the recycling vehicles to be scheduled to the corresponding old clothes recycling cabinet to take out the donated clothes. The public welfare personnel will deliver them to the corresponding area according to the old clothes donation area information in the order information. After the delivery to the designated location, the public welfare personnel will input the order completion information to the public welfare organization feedback subsystem 10. The receiving unit of the public welfare organization feedback subsystem 10 receives the order completion information and returns the order completion information to the old clothes recycling background management subsystem 30. The old clothes recycling background management subsystem 30 then feeds back the order completion information to the mobile terminal 20. The mobile terminal 20 triggers the reward module, such as adding one point to the user to improve the user experience.
[0048] In this embodiment, the old clothes recycling backend management subsystem 30 is also used to enter or update user information, old clothes recycling cabinet location information, old clothes recycling cabinet grid size information, grid remaining information and clothing demand information into the corresponding form established by the database server.
[0049] For example, the public welfare organization feedback subsystem 10, the mobile terminal 20, and the old clothes recycling cabinet subsystem 40 can upload the clothing demand information, user information, and the location information, grid size information, and grid remaining information of the old clothes recycling cabinet after big data analysis to the old clothes recycling backend management subsystem 30, and enter them into the corresponding forms established by the database server through the old clothes recycling backend management subsystem 30. When there is new information to be entered or the clothing demand service is completed, the information in each form in the database server can also be updated or deleted.
[0050] The old clothes recycling backend management subsystem 30 in this example includes a backend management unit, a receiving unit and a first updating unit, wherein the backend management unit is used to store the order information, the receiving unit is used to receive the order information, and the first updating unit is used to update or delete the order information.
[0051] The used clothes recycling cabinet subsystem 40 in this example includes, in addition to the receiving unit thereon, an RFID tag management unit, a second updating unit and a used clothes recycling cabinet.
[0052] It can be understood that the RFID tag management unit is used to manage the printing of RFID tags and RFID tag rings, and the second update unit is used to update the idle or use information of the old clothes recycling cabinet. The old clothes recycling cabinet in this embodiment is also provided with a display unit and a real-time sensing device, such as a display screen and a monitoring sensor, wherein the public welfare organization feedback subsystem 10 is also used to monitor and obtain the use status information of the old clothes recycling cabinet in real time through the monitoring sensor.
[0053] In this embodiment, the appearance of the used clothes recycling cabinet can be designed into a clothes shape through graffiti to distinguish it from other recycling cabinets. Figure 2 and Figure 3 As shown, you can doodle in the middle of the used clothes recycling cabinet to get a big circle, doodle above the big circle to get a small circle, and doodle below it to get another two small circles. The small circles can be seen as buttons on clothes, making the characteristics of the clothes more obvious. A display screen is set in the middle position ① of the used clothes recycling cabinet body, which is used to interact with the user. The left square position below the square position, i.e., position ②, is used as the RFID tag exit port. The right square position below the square position, i.e., position ③, is used as the RFID tag ring exit of the used clothes recycling cabinet. Figure 2 and Figure 3 The other square positions are used for cabinet compartments. The cabinet compartments in this example can be divided into three size types: large, medium and small.
[0054] To prevent the printed RFID labels from falling off, Figure 4 As shown, this embodiment designs an RFID tag ring, which is in the shape of a long strip and is divided into two ends, one thick and one thin. Among them, position ⑤ is the convex band of the RFID tag ring, position ⑥ is the label attachment position, and position ⑦ is the buckle of the tag ring. In this example, the thick end is used to attach the RFID tag, and the thick end is provided with a rectangular space, i.e., the buckle, for clamping the thin end. The thin end in this example is a thin pointed end with a convex band on it, through which the user can adjust the size of the ring.
[0055] In one embodiment of the present invention, the mobile terminal 20 is also used to obtain user location information, and provide the user with a number of old clothes recycling cabinets for selection based on the user location information, the old clothes recycling cabinet location information and the old clothes recycling cabinet grid information provided by the database server. For example, three old clothes recycling cabinets with the most matching locations and old clothes recycling cabinet grids are intelligently provided for the user to choose from, so as to improve the old clothes recycling efficiency.
[0056] In this embodiment, the basic information and mutual relationship of each subsystem of the old clothes recycling operation system based on blockchain technology are given, as shown in the following Table 1:
[0057] Table 1 Basic information and interrelationships of each subsystem of the used clothing recycling operation system
[0058]
[0059]
[0060] In one embodiment of the present invention, when personnel go to the used clothes recycling cabinet to recycle clothes, in order to reduce costs, reduce losses, and avoid waste of transportation materials, the scheduling problem of collective recycling of used clothes can be optimized, that is, the public welfare organization feedback subsystem 10 schedules the recycling vehicles and plans the routes according to the utilization rate of the cabinets. The scheduling will directly guide the recycling vehicles to the used clothes recycling cabinets with a utilization rate of more than 80%. Because there are more cabinets that can be used, the used clothes recycling cabinets with 80% or more empty spaces are not considered in this scheduling.
[0061] The method for determining the recycling vehicles to be scheduled and the optimal recycling path for old clothes according to the old clothes recycling path scheduling model and the whale optimization algorithm is as follows: The old clothes recycling vehicle scheduling path optimization problem is described as follows: the public welfare organization feedback subsystem 10 has K old clothes recycling vehicles, whose capacities are q k (k=1,2,…,k), there are L old clothes recycling cabinets, among which the number of compartments of the i-th old clothes recycling cabinet is t i , the demand for picking up goods from the i-th used clothing recycling cabinet is d i , and the pickup demand does not exceed the maximum load constraint of the recycling vehicle, the unit transportation cost of the old clothes recycling cabinet i to j is C ij , and define the following variables:
[0062] y ki It means that if the old clothes recycling cabinet i is completed by vehicle k, it is 1; otherwise, it is 0.
[0063] x ijk It means that if vehicle k goes from used clothes recycling cabinet i to used clothes recycling cabinet j, it is 1; otherwise, it is 0.
[0064] Furthermore, an optimal path scheduling optimization model for used clothes recycling is established, which includes an objective function and constraints. The objective function is cost minimization z, and the constraints include vehicle load constraint g1, visit number constraint g2, and cabinet usage rate access constraint g3.
[0065] In this embodiment, the function with the objective of minimizing the cost z is as follows:
[0066]
[0067] In this embodiment, the constraint condition g1 indicates that the load capacity of all used clothing recycling vehicles is limited, and the total amount of recycled used wardrobes at each node does not exceed the maximum load constraint of the recycling vehicle, as shown in the following formula:
[0068]
[0069] Constraint g2 means that each used clothing recycling cabinet is visited by a recycling vehicle no more than once, as shown in the following formula:
[0070]
[0071] Among them, if the utilization rate of the cabinet compartments occupied by old clothes in the old clothes recycling cabinet is not less than 80%, the old clothes recycling vehicle must recycle all the clothes in the old clothes recycling cabinet.
[0072] Constraint g3 indicates that if the demand for picking up clothes from the used clothing recycling cabinet reaches 80% of the number of cabinet slots, the recycling vehicle will start recycling, as shown in the following formula:
[0073] d i ≥80%t i , i = 1, 2, ..., L (4)
[0074] In one embodiment of the present invention, the public welfare organization feedback subsystem 10 may specifically use the shrinking encirclement predation operator of the humpback whale preying on prey, the bubble net attack predation operator and the random search predation operator to determine the recycling vehicles to be dispatched and the optimal path for recycling used clothes.
[0075] Specifically, the whale optimization algorithm can be used to solve the above model problem, in which the shrinkage and encirclement predation operator, the bubble net attack predation operator and the random search predation operator of the humpback whale preying on prey can achieve the old clothes recycling car not going to the empty space rate of the old clothes recycling cabinet node reaching 80%.
[0076] Among them, the shrinking surrounding predation operator is as follows:
[0077] After the humpback whale finds the prey, it can quickly surround the prey and update the position as shown in formula (5):
[0078]
[0079] In formula (5), t refers to the current iteration number, represents the current optimal solution, represents the updated individual, is the convergence factor, is the absolute value distance between the individual and the optimal individual, is a random number between [0,1], is the convergence factor, and They are all coefficients;
[0080] The specific calculation formula of the convergence factor is shown in formula (6):
[0081]
[0082] Where N is the population size, To converge the parameters, it decreases linearly from 2 to 0 as the number of iterations increases.
[0083] In this embodiment, the bubble net attack predator operator is as follows:
[0084] Humpback whale hunting uses the spiral motion shown in the following formula (7):
[0085]
[0086] Where l is a random number between [-1,1], b is a constant used to define the shape of the logarithmic spiral, is the current optimal solution, is the absolute distance between the individual whale and its prey. The specific calculation formula is as follows:
[0087]
[0088] In the hunting behavior of humpback whales, and in the process of updating the whale's position, there will be a 50% probability of encircling the prey as shown in the following formula (9) or performing spiral hunting:
[0089]
[0090] Among them, p represents the probability of the two predation methods.
[0091] In this embodiment, the random search predator operator is as follows:
[0092] Whales will randomly change their positions according to each other's positions during the hunting process to expand the search range and find better prey. Therefore, using the convergence factor To decide whether to conduct random search and predation. When , the contraction and encirclement predation is performed; otherwise, at the convergence factor Random search predation is performed at the same time to jump out of the local optimum and perform global search to prevent the algorithm from falling into the local optimum too early. The specific formula is as follows:
[0093]
[0094] in, Represents a random humpback whale individual.
[0095] The whale optimization algorithm is specifically shown in the following steps:
[0096] Step 1: Set the parameters of the whale optimization algorithm: population size N, maximum number of iterations Maxgen, current number of iterations t and spiral shape constant b, and randomly initialize the initial position X of the whale groupi (i=1, 2, ... n);
[0097] Step 2: Calculate the fitness of each whale individual, sort the fitness, and find the whale individual with the minimum fitness, that is, the best whale individual X * and save;
[0098] Step 3: If t≤Maxgen, update the parameters a, A, C, l and p.
[0099] Step 4: When p < 0.5, if |A| < 1, update the spatial position of the current whale individual according to formula (5); when |A| ≥ 1, randomly select a whale individual X rand , and update the spatial position of the current whale individual;
[0100] Step 5: When p ≥ 0.5, update the spatial position of the current whale individual according to formula (9);
[0101] Step 6: Limit and modify the individual whale search space;
[0102] Step 7: Calculate the fitness of each whale individual, sort the fitness, and find the whale individual with the minimum fitness, that is, the best whale individual X * and save;
[0103] Step 8: Determine the algorithm termination condition: If t≤Maxgen, repeat steps S3 to S7; otherwise, go to step 9;
[0104] Step 9: Output the spatial position X of the optimal whale individual * and its fitness, that is, output the optimal path for vehicle recovery.
[0105] Figure 5 A flowchart of a used clothes recycling operation method based on blockchain technology provided by an embodiment of the present invention. The used clothes recycling operation method is applied to the used clothes recycling operation system based on blockchain technology described above, and the used clothes recycling operation system also includes a public welfare organization feedback subsystem node, a used clothes recycling background management subsystem node, a used clothes recycling cabinet subsystem node and a blockchain consensus node, such as Figure 5 As shown, the old clothes recycling operation method includes:
[0106] Step S1: The public welfare organization feedback subsystem node, the old clothes recycling background management subsystem node and the old clothes recycling cabinet subsystem node respectively send the donated clothing demand data, user donation data and old clothes recycling cabinet data to the blockchain consensus node.
[0107] Step S2: The blockchain consensus node verifies the donated clothing demand data, user donation data, and old clothing recycling cabinet data, and generates a material voucher after the verification is passed, and stores the material voucher in the shared ledger.
[0108] The clothing donation demand data includes clothing donation demand information and a clothing donation demander's signature, the user donation data includes user donation information and a user donation signature, and the used clothing recycling cabinet data includes used clothing recycling cabinet clothing information and a used clothing recycling cabinet signature. The steps of verifying the clothing donation demand data, the user donation data, and the used clothing recycling cabinet data by the blockchain consensus node include:
[0109] Step S21: The blockchain consensus node verifies the signature of the party who requested the donated clothing, the user's donation signature, and the signature of the used clothing recycling cabinet;
[0110] Step S22: After the signature verification is passed, cross-verify the clothing donation demand information, user donation information and used clothing recycling cabinet clothing information. If the three pieces of information are consistent, it is determined that the clothing donation demand data, user donation data and used clothing recycling cabinet data verification are passed.
[0111] Step S3: The blockchain consensus node also receives the donated data sent by the public welfare organization feedback subsystem node, verifies the donated data and the old clothes recycling cabinet data, and cancels the material voucher in the shared account book after the verification is passed.
[0112] The donated data includes the donated clothing information and the signature of the recipient. The steps of verifying the donated data and the used clothing recycling cabinet data include:
[0113] Step S31: The blockchain consensus node verifies the signature of the recipient and the signature of the used clothing recycling cabinet;
[0114] Step S32: After the signature verification is passed, the donated clothing information and the used clothing recycling cabinet clothing information are cross-verified. If the two pieces of information are consistent, it is determined that the donated data and the used clothing recycling cabinet data verification are passed.
[0115] As mentioned above, blockchain technology is used to verify various information in the old clothes recycling process, which can make the old clothes recycling supply chain more transparent, effectively solve the current chaos in old clothes recycling, and ensure the success rate of old clothes donation.
[0116] It should be noted that after the donated data and the old clothes recycling cabinet data are verified, the method also includes: the blockchain consensus node sorts the donated clothing demand data, user donation data, old clothes recycling cabinet data and donated data according to timestamps, and packages them into blocks and stores them in the shared ledger, so that each node can obtain the above data at any time.
[0117] In summary, the present invention analyzes clothing demand information of various regions through the public welfare organization feedback subsystem, and then uploads it to the database server. The mobile terminal generates order information according to the clothing demand information, the location information of the old clothes recycling cabinet, and the compartment information of the old clothes recycling cabinet provided by the database server, and sends it to the old clothes recycling cabinet system through the old clothes recycling background management subsystem. The old clothes recycling cabinet system matches the required compartment according to the order information, and sends the compartment number to the mobile terminal, so that the user can determine the old clothes recycling cabinet according to the number information, and then prints the RFID tag through the old clothes recycling cabinet system corresponding to the old clothes recycling cabinet, and fixes the RFID tag on the old clothes, and then sends the usage information of the compartment to the public welfare organization feedback subsystem. The public welfare organization feedback subsystem establishes an old clothes recycling path scheduling model according to the usage information, and determines the recycling vehicles and old clothes recycling vehicles to be scheduled according to the old clothes recycling path scheduling model and the whale optimization algorithm. The optimal path is to recycle old clothes through recycling vehicles and the optimal path for old clothes recycling, so the subsystems in the present invention are closely related to each other, and in the process of old clothes recycling, various information in the process of old clothes recycling is verified by blockchain technology, so that the old clothes recycling supply chain is more transparent, which can effectively solve the current problem of chaos in old clothes recycling and ensure the success rate of old clothes donation; in addition, the present invention proposes the idea of using old clothes recycling cabinets as "temporary warehouses", which solves the optimization scheduling problem when the total amount of old clothes in recycling cabinets in a certain area exceeds the optimal vehicle transportation volume at that time, thereby effectively reducing the operating costs of public welfare organizations, and the present invention provides users with several old clothes recycling cabinets for users to choose according to their locations, which can facilitate users to make advance reservations for old clothes recycling cabinets through mobile terminals, thereby facilitating the improvement of old clothes recycling efficiency, and the present invention can realize point-to-point donations and avoid waste of resources by performing data analysis on clothing demand information in various regions.
[0118] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0119] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.
Claims
1. A used clothing recycling operation system based on blockchain technology, characterized in that: include: A public welfare organization feedback subsystem is used to analyze clothing demand information in various poverty-stricken areas and upload the clothing demand information to a database server; The mobile terminal is used to generate order information according to the clothing demand information, the location information of the used clothing recycling cabinet, and the compartment information of the used clothing recycling cabinet provided by the database server, and send the order information to the outside, wherein the compartment information of the used clothing recycling cabinet includes the compartment size information of the used clothing recycling cabinet and the remaining compartment information of the used clothing recycling cabinet; The old clothes recycling backend management subsystem is used to receive, package and classify the order information and send it to the old clothes recycling cabinet subsystem in each area; The old clothes recycling cabinet subsystem is used to receive the order information, and obtain a cabinet of corresponding size according to the cabinet size information of the old clothes recycling cabinet in the order information, and feed back the cabinet number information to the mobile terminal through the old clothes recycling backend management subsystem; The mobile terminal is further used to receive the number information so that the user can determine the corresponding used clothes recycling cabinet according to the number information, and print the RFID tag and RFID tag ring corresponding to the used clothes donation quantity information in the order information through the used clothes recycling cabinet subsystem corresponding to the used clothes recycling cabinet, and fix the RFID tag ring on the used clothes, wherein the RFID tag stores the order information; The old clothes recycling cabinet system is further used to send the usage information of the cabinet to the public welfare organization feedback subsystem, so that the public welfare organization feedback subsystem establishes an old clothes recycling path scheduling model according to the usage information, and determines the recycling vehicles to be scheduled and the optimal recycling path for old clothes according to the old clothes recycling path scheduling model and the whale optimization algorithm, so as to recycle old clothes through the recycling vehicles and the optimal recycling path for old clothes; The old clothes recycling operation system also includes a public welfare organization feedback subsystem node, an old clothes recycling backend management subsystem node, an old clothes recycling cabinet subsystem node and a blockchain consensus node. The public welfare organization feedback subsystem node, the old clothes recycling backend management subsystem node and the old clothes recycling cabinet subsystem node respectively send the donated clothes demand data, user donation data and old clothes recycling cabinet data to the blockchain consensus node; The blockchain consensus node verifies the donated clothing demand data, the user donation data, and the used clothing recycling cabinet data, generates a material voucher after the verification is passed, and stores the material voucher in a shared account book; The blockchain consensus node also receives the donated data sent by the public welfare organization feedback subsystem node, verifies the donated data and the old clothes recycling cabinet data, and cancels the material voucher in the shared account book after the verification is passed.
2. The old clothes recycling operation system based on blockchain technology as claimed in claim 1 is characterized in that: The order information also includes at least one of order number information, user information, used clothing donation type information, and used clothing donation quantity information.
3. The old clothes recycling operation system based on blockchain technology as claimed in claim 1 is characterized in that: The mobile terminal is also used to obtain user location information, and provide the user with several used clothes recycling cabinets for selection according to the user location information, the used clothes recycling cabinet location information and the used clothes recycling cabinet compartment information provided by the database server.
4. The old clothes recycling operation system based on blockchain technology as claimed in claim 3 is characterized in that: The database server is provided with a user information table, an old clothes recycling cabinet location information table, an old clothes recycling cabinet grid size information table, a grid remaining information table and a poverty-stricken area clothing demand information table. The old clothes recycling backend management subsystem is also used to enter or update user information, old clothes recycling cabinet location information, old clothes recycling cabinet grid size information, grid remaining information and poverty-stricken area clothing demand information into corresponding forms established by the database server.
5. The old clothes recycling operation system based on blockchain technology as claimed in claim 4 is characterized in that: The used clothes recycling cabinet is provided with a monitoring sensor, and the public welfare organization feedback subsystem is also used to obtain the use status information of the used clothes recycling cabinet through real-time monitoring of the monitoring sensor.
6. The old clothes recycling operation system based on blockchain technology as claimed in claim 5 is characterized in that: The public welfare organization feedback subsystem specifically uses the shrinking encirclement predation operator of the humpback whale preying on prey, the bubble net attack predation operator and the random search predation operator to determine the recycling vehicles to be dispatched and the optimal path for recycling used clothes.
7. The old clothes recycling operation system based on blockchain technology as claimed in claim 6 is characterized in that: The clothing donation demand data includes clothing donation demand information and a clothing donation demander's signature, the user donation data includes user donation information and a user donation signature, the used clothing recycling cabinet data includes used clothing recycling cabinet clothing information and a used clothing recycling cabinet signature, and the blockchain consensus node verifies the clothing donation demand data, the user donation data, and the used clothing recycling cabinet data, including: The blockchain consensus node verifies the signature of the party demanding the donated clothing, the user donation signature, and the signature of the used clothing recycling cabinet; After the signature verification is passed, the donated clothing demand information, the user donation information and the used clothing recycling cabinet clothing information are cross-verified. If the three pieces of information are consistent, it is determined that the donated clothing demand data, the user donation data and the used clothing recycling cabinet data have been verified.
8. The old clothes recycling operation system based on blockchain technology as claimed in claim 7 is characterized in that: The donated data includes donated clothing information and a signature of the donated party, and the step of verifying the donated data and the used clothing recycling cabinet data includes: The blockchain consensus node verifies the signature of the recipient and the signature of the used clothing recycling cabinet; After the signature verification is passed, the donated clothing information and the used clothing recycling cabinet clothing information are cross-verified. If the two pieces of information are consistent, it is determined that the donated data and the used clothing recycling cabinet data have been verified.
9. The old clothes recycling operation system based on blockchain technology as claimed in claim 8, characterized in that: After the donated data and the used clothes recycling cabinet data are verified, the blockchain consensus node sorts the donated clothing demand data, the user donation data, the used clothes recycling cabinet data and the donated data according to timestamps, and packages them into blocks and stores them in the shared ledger so that each node can obtain them.
Citation Information
Patent Citations
Material donation data processing method based on block chain and related equipment
CN112001663A
Recycled article chaining method and system based on block chain
CN112232837A