Kitchen waste resource utilization facility cycle allocation method and service platform
By implementing the periodic allocation method in kitchen waste resource utilization facilities and optimizing the allocation of aquaculture boxes, the problem of kitchen waste resource utilization facilities being unable to cope with periodic fluctuations and short-term surges has been solved, and efficient utilization and balanced allocation of resources have been achieved.
Patent Information
- Application Number
- CN202410904026.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-07-08
AI Technical Summary
In the prior art, after long-term location selection and configuration, kitchen waste resource utilization facilities cannot effectively deal with the cyclical fluctuations and short-term surges of kitchen waste, resulting in resource waste.
Through a periodic allocation method for kitchen waste resource resource utilization facilities, the total amount of resources to be processed by each target node in the preset allocation cycle is obtained, the breeding demand parameters are determined, the supply and reception nodes are selected, and the configuration fitness is calculated based on the objective function. Realize the optimal allocation of breeding boxes.
The full utilization of kitchen waste and mature larvae resources of black soldier flies has been achieved, the resource utilization rate has been improved, the balanced allocation of resources has been ensured, and the problem of resource waste has been solved.
Smart Images

Figure CN118691037B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of waste classification technology, in particular to a method and service platform for periodic allocation of kitchen waste resource utilization facilities. Background Art
[0002] As a new type of kitchen waste treatment method, the black soldier fly biological treatment model can make resource utilization of kitchen waste. In the closed-loop supply chain of kitchen waste resource utilization, kitchen waste is transported to a special black soldier fly treatment center. The mature larvae generated by black soldier flies after processing kitchen waste are excellent fish feed. After the fish eat the black soldier fly larvae and grow up, they can be sent to the catering center at the beginning of the catering chain as food, forming a process of resource recycling.
[0003] In the related technology, after the black soldier fly treatment center, the fish and vegetable symbiosis system and the catering center are sited and configured within a preset period, due to the periodic fluctuations in the amount of kitchen waste generated, the black soldier fly treatment center may encounter insufficient processing capacity or redundant processing capacity, which is specifically manifested in the lack or redundancy of breeding boxes. At the same time, the fish and vegetable symbiosis system is also affected by the fluctuations in the amount of kitchen waste generated, which directly leads to fluctuations in the production of mature black soldier fly larvae. For example, the number of mature larvae in some black soldier fly treatment centers increases, while that in others decreases. This will result in the inability to fully utilize the mature larvae and cause waste of resources. Furthermore, there is a short-term surge in kitchen waste, which makes some of the kitchen waste unable to be processed, resulting in garbage explosion and waste of resources.
[0004] At present, after long-term site selection and configuration of facilities for the resource utilization of kitchen waste in related technologies, the corresponding facilities cannot meet the processing needs of periodic fluctuations and short-term surges in kitchen waste, resulting in waste of resources, and no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present application provide a method and service platform for the periodic allocation of kitchen waste resource facilities, as well as a storage medium, so as to at least solve the problem in the related art that after the long-term site selection and configuration of kitchen waste resource facilities, the corresponding facilities cannot meet the periodic fluctuations and short-term surges in the processing needs of kitchen waste, resulting in waste of resources.
[0006] In a first aspect, an embodiment of the present application provides a method for periodic allocation of kitchen waste resource facilities, comprising: obtaining the total amount of a first resource to be processed at each target node within a preset allocation period, and determining a breeding demand parameter corresponding to each target node based on the total amount of resources and the current empty breeding boxes at each target node, wherein the target node comprises a black soldier fly processing point and a fish-vegetable symbiotic system, the first resource comprises kitchen waste and mature black soldier fly larvae, and the breeding demand parameter is used to characterize the demand intention for the breeding boxes required by the target node; according to the breeding demand parameter, selecting a supply node that provides the breeding boxes and a receiving node that allocates the breeding boxes on demand from a plurality of the target nodes, and determining the box supply corresponding to the supply node and the box demand corresponding to the receiving node; based on the The box demand and the box supply are determined, a plurality of receiving node combinations corresponding to each of the supply nodes are determined, and based on the constructed objective function, the configuration fitness corresponding to a plurality of alternative allocation node groups consisting of a supply node and a receiving node combination is calculated, wherein the receiving node combination includes a plurality of receiving nodes for allocating the breeding boxes by the corresponding supply node, and the objective function is constructed by coupling at least the allocation transportation cost, the allocation priority, and the processing volume of the first resource processed after the allocation; according to the configuration fitness, a target allocation node group is selected from the plurality of alternative allocation node groups, and the target box supply allocated to each of the receiving nodes by the supply node corresponding to the target allocation node group is determined to obtain a configuration result, wherein the configuration result includes the target box supply.
[0007] In the second aspect, an embodiment of the present application provides a service platform, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method for periodic allocation of kitchen waste resource facilities as described in the first aspect are implemented.
[0008] Compared with the related art, the kitchen waste resource utilization facility periodic allocation method and service platform provided in the embodiment of the present application obtains the total amount of resources of the first resource to be processed by each target node within a preset allocation period, and determines the aquaculture demand parameters corresponding to each target node based on the total amount of resources and the current empty aquaculture boxes of each target node, wherein the target node includes one of a black soldier fly processing point and a fish-vegetable symbiotic system, the first resource includes kitchen waste and mature larvae of black soldier flies, and the aquaculture demand parameters are used to characterize the demand intention for the aquaculture boxes required by the target node; according to the aquaculture demand parameters, a supply node that provides the aquaculture boxes and a receiving node that allocates the aquaculture boxes on demand are selected from multiple target nodes, and the box supply corresponding to the supply node and the box demand corresponding to the receiving node are determined; based on the box demand and the box supply, a plurality of receiving node combinations corresponding to each supply node are determined, and based on the constructed objective function, a plurality of receiving nodes corresponding to one supply node are calculated. and a configuration fitness corresponding to an alternative allocation node group composed of the receiving node combination, wherein the receiving node combination includes a plurality of the receiving nodes for allocating the breeding boxes by the corresponding supply nodes, and the objective function is constructed by coupling at least the allocation transportation cost, the allocation priority and the processing volume of the first resource processed after the allocation; according to the configuration fitness, a target allocation node group is selected from the plurality of the alternative allocation node groups, and the target box supply volume allocated to each of the receiving nodes by the supply node corresponding to the target allocation node group is determined to obtain a configuration result, wherein the configuration result includes the target box supply volume, and by allocating the first resource and performing short-term scheduling and allocation of the kitchen waste of the catering center, full utilization of the mature larvae resources of black soldier flies is achieved, resource utilization is improved and balanced resource allocation is achieved, which solves the problem in the related art that after the long-term site selection and configuration of the kitchen waste resource utilization facilities, the corresponding facilities cannot meet the periodic fluctuations and short-term surges in kitchen waste processing needs, resulting in resource waste.
[0009] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0011] Figure 1 It is a hardware structure block diagram of a terminal of the method for periodic allocation of kitchen waste resource facilities in an embodiment of the present application;
[0012] Figure 2 is a flow chart of a method for periodic allocation of kitchen waste resource facilities according to an embodiment of the present application;
[0013] Figure 3 It is a structural block diagram of a periodic allocation device for a kitchen waste resource utilization facility according to an embodiment of the present application. DETAILED DESCRIPTION
[0014] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application. In addition, it can also be understood that although the efforts made in this development process may be complex and lengthy, for ordinary technicians in the field related to the contents disclosed in the present application, some changes such as design, manufacturing or production based on the technical contents disclosed in the present application are only conventional technical means, and should not be understood as insufficient contents disclosed in the present application.
[0015] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0016] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation and may represent the singular or plural. The terms "including", "comprising", "having" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include unlisted steps or units, or may also include other steps or units inherent to these processes, methods, products or devices. The "multiple links" involved in this application refer to links greater than or equal to two. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" may represent: A exists alone, A and B exist at the same time, and B exists alone. The terms "first", "second", "third" and the like involved in this application are only used to distinguish similar objects and do not represent a specific ordering of objects.
[0017] The method embodiment provided in this embodiment can be executed in a terminal, a computer or a similar computing device. Taking running on a terminal as an example, Figure 1 1 is a hardware structure block diagram of a terminal of the method for periodic allocation of kitchen waste resource facilities in an embodiment of the present application. Figure 1 As shown, the terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the above terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0018] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for periodic allocation of kitchen waste resource facilities in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0019] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0020] This embodiment provides a method for periodic allocation of kitchen waste resource facilities running on the above terminal. Figure 2 is a flow chart of a method for periodic allocation of kitchen waste resource facilities according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:
[0021] Step S201, obtain the total amount of the first resource to be processed for each target node within a preset allocation cycle, and determine the breeding demand parameters corresponding to each target node based on the total amount of resources and the current empty breeding boxes of each target node, wherein the target node includes a black soldier fly processing point and a fish-vegetable symbiotic system, the first resource includes kitchen waste and mature black soldier fly larvae, and the breeding demand parameters are used to characterize the demand intention for the breeding boxes required by the target node.
[0022] In the present embodiment, the configuration method executed is used to allocate the breeding boxes of the black soldier fly processing points and the fish-vegetable symbiotic system, so as to allocate the breeding boxes corresponding to the target nodes with surplus processing capacity to the target nodes with insufficient processing capacity, thereby achieving balanced allocation of resources, so as to increase the amount of kitchen waste processed or increase the amount of fish culture, and improve the utilization rate of mature black soldier fly larvae; in the present embodiment, before the allocation, it is necessary to determine the target nodes with surplus breeding boxes and those lacking breeding boxes based on the total amount of resources to be processed corresponding to each current target node and the total amount of resources that it can process. For example, for the black soldier fly processing point as the target node, when the kitchen waste to be processed in the future is 0.5 tons, 3 black soldier fly breeding boxes are required, and it can provide 1 Black soldier fly breeding box, at this time, it is necessary to allocate 2 black soldier fly breeding boxes to it, then allocate one black soldier fly breeding box from other black soldier fly processing points that can provide at least one redundant black soldier fly breeding box; for example: for a fish-vegetable symbiotic system, the black soldier fly processing point to which it belongs will provide it with 0.2 tons of mature black soldier fly larvae in the future, and 4 fish ponds are needed to consume the corresponding mature black soldier fly larvae. The fish-vegetable symbiotic system itself can provide 2 fish ponds, then it is necessary to allocate 2 fish ponds from other fish-vegetable symbiotic systems that can provide fish ponds. In this embodiment, the black soldier fly breeding boxes lacking from the black soldier fly processing point, the fish ponds lacking from the fish-vegetable symbiotic system, the black soldier fly breeding boxes that can be provided by the black soldier fly processing point, and the fish ponds that can be provided by the fish-vegetable symbiotic system are the corresponding breeding demand parameters.
[0023] Step S202, according to the breeding demand parameters, select the supply node that provides breeding boxes and the receiving node that allocates breeding boxes on demand from multiple target nodes, and determine the box supply corresponding to the supply node and the box demand corresponding to the receiving node.
[0024] In this embodiment, after determining the breeding demand parameters, that is, determining whether the target node needs a breeding box or can provide a breeding box, the target node can be classified to further clarify the source and destination of the breeding box allocation.
[0025] Step S203, based on the box demand and box supply, determine multiple receiving node combinations corresponding to each supply node, and based on the constructed objective function, calculate the configuration fitness corresponding to multiple alternative allocation node groups consisting of a supply node and a receiving node combination, wherein the receiving node combination includes multiple receiving nodes for allocating breeding boxes from the corresponding supply nodes, and the objective function is constructed by coupling at least the allocation transportation cost, the allocation priority, and the processing volume of the first resource processed after the allocation.
[0026] In this embodiment, according to the supply of boxes corresponding to a supply node, with the goal of achieving the box demand that meets the needs of the receiving node, the node configuration allocation of the breeding boxes of the supply node to the corresponding receiving node is determined, and the node configuration allocation includes all receiving nodes that receive the breeding boxes of the supply node. For example: when the number of breeding boxes that supply node a can provide is x, the number of breeding boxes required by receiving node b is y, and the number of breeding boxes required by receiving node c is z, at this time, supply node a allocates breeding boxes to receiving nodes b and c respectively. Receiving node c allocates breeding boxes, and the corresponding node configuration allocation includes receiving node b and receiving node c. Specifically, supply node a allocates y breeding boxes to receiving node b, and allocates xy breeding boxes to receiving node c. If xy=z, all receiving nodes meet the demand. If xy<z, it means that receiving node c still needs a certain amount of breeding boxes. When xy>z, z breeding boxes are allocated to receiving node c. At this time, supply node a still has xyz breeding boxes in surplus, which can be allocated to other receiving nodes.
[0027] In this embodiment, the configuration fitness of each candidate allocation node group is measured with the goals of minimizing the allocation transportation cost, the highest allocation priority (indicating that the location of the target node is the most urgent), and the maximum first resource that can be processed after the allocation (processed kitchen waste or consumed mature black soldier fly larvae); in some optional implementation modes, the two factors of satisfying the allocation needs of the target node as much as possible and reducing the NIMBY effect as much as possible (the corresponding target node is the black soldier fly processing point) are also considered to determine the corresponding configuration fitness.
[0028] Step S204, according to the configuration fitness, select a target allocation node group from multiple candidate allocation node groups, and determine the target cabinet supply quantity allocated by the supply node corresponding to the target allocation node group to each receiving node to obtain a configuration result, wherein the configuration result includes the target cabinet supply quantity.
[0029] In this embodiment, after the preliminary configuration allocation corresponding to the alternative allocation node group is determined, the configuration allocation with the best configuration fitness is determined based on the configuration fitness corresponding to each preliminary configuration allocation, that is, the target allocation node group is obtained; in this embodiment, after the optimal configuration allocation is determined, the box supply corresponding to the supply node in the target allocation node group is the source of allocation, the receiving node in the target allocation node group is the target object of allocation, and the breeding box allocation corresponding to the receiving node is the target box supply; for example: the supply node a can provide 2 breeding boxes, the receiving node b requires 2 breeding boxes, and the receiving node c requires 1 breeding box. The preliminary configuration includes the supply node a allocating 1 breeding box to the receiving node b and the receiving node c respectively, and the supply node a allocating 2 breeding boxes to the receiving node b. The distribution fitness corresponding to the supply node a allocating 2 breeding boxes to the receiving node b is the best, and the supply node a allocates 2 breeding boxes to the receiving node b as the configuration result.
[0030] Through the above steps S201 to S204, the total amount of the first resource to be processed in each target node within the preset allocation cycle is obtained, and the aquaculture demand parameters corresponding to each target node are determined based on the total amount of resources and the current empty aquaculture boxes of each target node, wherein the target node includes a black soldier fly processing point and a fish-vegetable symbiotic system, the first resource includes kitchen waste and mature black soldier fly larvae, and the aquaculture demand parameters are used to characterize the demand intention for the aquaculture boxes required by the target node; according to the aquaculture demand parameters, from multiple target nodes, supply nodes that provide aquaculture boxes and receiving nodes that demand to allocate aquaculture boxes are selected respectively, and the box supply corresponding to the supply node and the box demand corresponding to the receiving node are determined; based on the box demand and the box supply, multiple receiving node combinations corresponding to each supply node are determined, and based on the constructed objective function, multiple backup nodes consisting of a supply node and a receiving node combination are calculated. The configuration fitness corresponding to the allocation node group is selected, wherein the receiving node combination includes multiple receiving nodes for allocating breeding boxes from the corresponding supply nodes, and the objective function is constructed by coupling at least the allocation transportation cost, the allocation priority and the processing volume of the first resource processed after the allocation; according to the configuration fitness, a target allocation node group is selected from multiple alternative allocation node groups, and the target box supply volume allocated to each receiving node by the supply node corresponding to the target allocation node group is determined to obtain a configuration result, wherein the configuration result includes the target box supply volume, and by allocating the first resource and performing short-term scheduling and allocation of the kitchen waste of the catering center, full utilization of the mature larvae resources of black soldier flies is achieved, resource utilization is improved and balanced resource allocation is achieved, which solves the problem in the related technology that after the long-term site selection and configuration of the kitchen waste resource utilization facilities, the corresponding facilities cannot meet the periodic fluctuations and short-term surges in kitchen waste processing needs, resulting in resource waste.
[0031] In some embodiments, the aquaculture demand parameters corresponding to each target node are determined based on the total amount of resources and the current empty aquaculture boxes of each target node, which is achieved by the following steps:
[0032] Step 21, determine the resource processing capacity corresponding to each breeding box, and determine the demand for breeding boxes at each target node based on the resource processing capacity and the total amount of resources, wherein the resource processing capacity is determined based on the breeding capacity and processing conversion rate of the second resource in each breeding box, and the second resource includes the mature larvae of black soldier flies used for biological treatment of kitchen waste and fresh fish for processing the produced mature larvae of black soldier flies.
[0033] In the present embodiment, the second resource corresponding to the black soldier fly treatment point is the mature black soldier fly larvae for biological treatment of kitchen waste (the kitchen waste is consumed in the process of cultivating black soldier fly eggs into mature black soldier fly larvae), and the second resource corresponding to the fish-vegetable symbiotic system is the fresh fish that consumes the mature black soldier fly larvae provided by the black soldier fly treatment point (the mature black soldier fly larvae are consumed in the process of cultivating seedlings into fresh fish). The second resource is cultivated in the corresponding breeding box, and then the corresponding first resource is processed; in the present embodiment, the total amount of resources represents the estimated amount of the first resource to be processed in the future, for example: the garbage weight of the kitchen waste to be processed at the black soldier fly treatment point or the fish-vegetable symbiotic system The weight of mature black soldier fly larvae to be consumed and processed by the system through fish farming; the resource processing capacity of each breeding box refers to the rated amount of the first resource that can be processed by a single breeding box, and is determined according to the second resource cultured in the single breeding box and the corresponding processing conversion rate. For example, the resource processing capacity corresponding to the black soldier fly processing point refers to the amount of kitchen waste processed by the black soldier fly, and is measured by the amount of mature black soldier fly larvae cultured in a single breeding box and the conversion rate of kitchen waste and mature larvae. For example, the resource processing capacity corresponding to the fish-vegetable symbiotic system refers to the consumption of mature black soldier fly larvae, and is measured by the number of fresh fish cultured in a single fish pond and the conversion rate of mature larvae to fish.
[0034] Step 22, according to the difference between the demand corresponding to each target node and the corresponding empty breeding box, determine the demand intention of the target node and the number of box changes corresponding to the demand intention, wherein the demand intention includes the target node demand box allocation, the target node supply box, and the target node no box allocation.
[0035] In this embodiment, the total number of breeding boxes required by each target node is determined by the demand corresponding to the target node, and the empty breeding boxes corresponding to the target node represent the breeding boxes owned by the target node itself. Then, according to the total number of breeding boxes required and the breeding boxes owned by itself, it is determined whether the target node needs to be allocated, and the corresponding number of box changes is determined according to the corresponding difference. For example: when the total number of breeding boxes required by the target node s is m, and the number of breeding boxes owned by itself is n, if m>n, it means that the target node s needs to allocate boxes, and needs to allocate mn breeding boxes from other target nodes. If m=n, it means that the target node s does not need to allocate boxes. If m<n, it means that the target node s can supply boxes, and mn breeding boxes can be allocated to other target nodes. Among them, the mn breeding boxes allocated from other target nodes and the mn breeding boxes allocated to other target nodes correspond to the number of box changes corresponding to the demand intention.
[0036] Step 23, generating breeding demand parameters based on demand intention and corresponding box change number.
[0037] In this embodiment, the demand intention and the number of box changes corresponding to the demand intention are used as breeding demand parameters.
[0038] The resource processing capacity corresponding to each breeding box is determined in the above steps, and the demand for breeding boxes at each target node is determined based on the resource processing capacity and the total resources; the demand intention of the target node and the number of box changes corresponding to the demand intention are determined based on the difference between the demand corresponding to each target node and the corresponding empty breeding box; based on the demand intention and the corresponding number of box changes, breeding demand parameters are generated to confirm the breeding demand parameters of the target node, so as to provide a basis for the allocation of target nodes and balanced distribution of resources.
[0039] In some embodiments, according to the breeding demand parameters, from multiple target nodes, a supply node that provides breeding boxes and a receiving node that allocates breeding boxes on demand are selected respectively, and the box supply corresponding to the supply node and the box demand corresponding to the receiving node are determined, which is achieved through the following steps:
[0040] Step 31, determining the demand intention corresponding to each target node and the number of cabinet changes corresponding to the demand intention.
[0041] Step 32, among multiple target nodes, select all target nodes whose demand intention is to allocate cabinets to the target nodes, obtain receiving nodes, and use the cabinet change number corresponding to the corresponding demand intention as the cabinet demand of the receiving node.
[0042] Step 33, among multiple target nodes, select all target nodes whose demand intention is to supply cabinets to the target node, obtain the supply node, and use the cabinet change number corresponding to the corresponding demand intention as the cabinet supply quantity of the supply node.
[0043] In this embodiment, whether the target node is a receiving node or a supplying node is determined by the demand intention, and the cabinet demand quantity required by the receiving node and the cabinet supply quantity supplied by the supplying node are determined accordingly.
[0044] Through the above steps, the demand intention corresponding to each target node and the number of box changes corresponding to the demand intention are determined; among multiple target nodes, all target nodes whose demand intention is to allocate boxes to the target node are selected to obtain the receiving node, and the number of box changes corresponding to the corresponding demand intention is used as the box demand of the receiving node; among multiple target nodes, all target nodes whose demand intention is to supply boxes to the target node are selected to obtain the supply node, and the number of box changes corresponding to the corresponding demand intention is used as the box supply of the supply node, so as to realize whether the target node needs breeding boxes or can provide breeding boxes, so as to classify the target nodes and determine the source and destination of the breeding box allocation.
[0045] In some embodiments, based on the box demand and the box supply, a plurality of receiving node combinations corresponding to each supply node are determined, which is implemented by the following steps:
[0046] Step 41, according to the box supply quantity corresponding to each supply node, a neighborhood search operation is performed in all receiving nodes to generate multiple supply allocations corresponding to each supply node, wherein the supply allocation includes the corresponding allocated receiving nodes and the box allocation quantity of each receiving node, and the sum of the box allocation quantities of all allocated receiving nodes is not greater than the corresponding box supply quantity.
[0047] In this embodiment, after determining the supply of boxes of each supply node, a domain search operation is performed on the receiving node, which means that according to the number of boxes corresponding to the box supply, all distribution situations of the supply node supplying breeding boxes to the receiving node are determined. For example, if the number of boxes corresponding to the box supply is determined to be 3, then the allocation and distribution of 3 breeding boxes includes four supply distributions, namely: allocating 3 breeding boxes to a receiving node a, allocating 1 breeding box to the receiving node a and allocating 2 breeding boxes to the receiving node b, allocating 2 breeding boxes to the receiving node a and allocating 1 breeding box to the receiving node b, and allocating 1 breeding box to the receiving node a, the receiving node b and the receiving node c respectively; in this embodiment, the number of boxes corresponding to the box supply is set to n, then the number of supply distributions corresponding to the supply node generated after the neighborhood search operation is m, m=2 n-1It can be understood that although the field search operation is performed in all receiving nodes, the supply node only allocates part of all breeding boxes corresponding to the box supply, which is also a supply distribution, but the details do not meet the goal setting of processing the largest amount of the first resource. Therefore, the supply distribution in this embodiment is a supply distribution with the goal of allocating all breeding boxes corresponding to the box supply.
[0048] Step 42, determining whether the cabinet allocation quantity corresponding to each receiving node in each supply allocation is greater than the cabinet demand quantity corresponding to the receiving node.
[0049] Step 43, when it is determined that the cabinet allocation quantity corresponding to each receiving node is not greater than the cabinet demand quantity corresponding to the receiving node, the corresponding supply allocation is used as the target supply allocation, wherein the receiving node combination includes all receiving nodes corresponding to the target supply allocation.
[0050] Step 44, when it is determined that the cabinet allocation quantity corresponding to each receiving node is greater than the cabinet demand quantity corresponding to the receiving node, among the multiple supply allocations corresponding to each supply node, the supply allocations whose cabinet allocation quantity corresponding to each receiving node is greater than the cabinet demand quantity corresponding to the receiving node are deleted, and all the supply allocations remaining after the deletion are used as the target supply allocations corresponding to the supply node.
[0051] In this embodiment, it is determined whether the box allocation quantity of the receiving node is greater than the box demand quantity corresponding to the receiving node. For example, the receiving node a needs to allocate 2 breeding boxes, and the supply node b can provide 3 breeding boxes. In the corresponding supply allocation, the supply node b allocates 1 or 2 breeding boxes to the receiving node a, which are target supply allocations that meet the requirements. If the supply node b allocates 3 breeding boxes to the receiving node a, it is an invalid allocation, and therefore the supply allocation will be deleted.
[0052] Through the above steps 41 to 44, the node configuration allocation allocated to the receiving node corresponding to the supply node is realized.
[0053] In some of the embodiments, based on the constructed objective function, the configuration fitness corresponding to a plurality of candidate allocation node groups consisting of a supply node and a receiving node is calculated, which is achieved by the following steps:
[0054] Step 51 : confirm the transportation cost between the supply node and each receiving node of the candidate allocation node group respectively, and accumulate all the transportation costs to obtain the allocation transportation cost corresponding to the candidate allocation node group.
[0055] In this embodiment, the corresponding transportation cost is obtained by calculating the minimum box transfer cost and the minimum daily transportation cost between a supply node and each receiving node, and multiple transportation costs are summed to obtain the transfer transportation cost corresponding to the alternative transfer node group.
[0056] In some optional implementations, when the target node is a black soldier fly processing point, the following formula is used to calculate the minimized box transfer cost:
[0057]
[0058] Among them, d s represents the supply node in the black soldier fly processing point, d e represents the receiving node in the black soldier fly processing point, D represents the black soldier fly processing point set, i represents a decision time in the allocation decision time point set I, , Indicates the black soldier fly treatment point d s How many black soldier fly breeding boxes should be allocated to the black soldier fly treatment point? e , represents the i-th decision time, black soldier fly treatment point d s How many black soldier fly breeding boxes should be allocated to the black soldier fly treatment point? e , vc6 represents the capacity of the aquaculture box transport vehicle, udc se It represents the unit transportation cost of a black soldier fly breeding box transport truck. Indicates the black soldier fly treatment point d s Go to the black soldier fly treatment point e distance;
[0059] Minimize daily transportation costs as follows:
[0060] , where d represents a black soldier fly processing point, D represents a black soldier fly processing point set, and W4 i Indicates the single day w4 in the i-th transfer cycle i The collection of j is the transfer cycle length, w4 i ∈W4 i , W4 i ={i*j+1,i*j+2,…,i*j+j}, c represents a catering center, C represents the set of catering centers, Indicates that the catering center c is in the w4 i The amount of food waste processed in a day, x cd Indicates whether the food waste from the restaurant center c is transported to the black soldier fly treatment point d, x cd =1 or 0, vc0 represents the capacity of the kitchen waste collection and transportation vehicle, D0 cdrepresents the distance from the catering center c to the black soldier fly treatment point d, and udc represents the unit distance transportation cost of a food waste collection and transportation vehicle;
[0061] When the target node is a fish-vegetable symbiotic system, the following formula is used to calculate the minimum fish pond allocation cost:
[0062] , where a s represents the supply node in the aquaponics system, a e represents a receiving node in the aquaponics system, A represents the aquaponics system set, i represents a decision time in the allocation decision time point set I, , Indicates aquaponics system s How many fish ponds should be allocated to the aquaponics system? e , represents the i-th decision time, aquaponics system a s How many fish ponds should be allocated to the aquaponics system? e , vc7 represents the capacity of the fish pond transport vehicle, uda se represents the unit transportation cost of a fish pond transport vehicle, Indicates aquaponics system s Go to the black soldier fly treatment point aquaponics system e distance;
[0063] The minimum daily transportation cost for fish pond transfer is calculated as follows:
[0064] , where a represents a fish-vegetable symbiotic system, A represents a collection of fish-vegetable symbiotic systems, and T1 i Indicates the first day of each week in the i-th transfer cycle t1 i time set, j / 7 is a transfer cycle with several weeks, t1 i ∈T1 i , T1 i ={0*7+i*j, 1*7+i*j, …, (j / 7-1)*7+i*j}, d represents a black soldier fly treatment point, D represents the set of black soldier fly treatment points, Indicates that the black soldier fly treatment point d is at t1 i To t1 i +The amount of mature black soldier fly larvae produced within 7 days, Indicates whether the mature black soldier fly larvae produced at the black soldier fly treatment point d in the i-1th allocation cycle are transported to the aquaponics system a, =1 or 0, vc1 represents the capacity of the black soldier fly mature larvae collection and transportation vehicle, D1 darepresents the distance from the black soldier fly treatment point d to the aquaponics system a, and uda represents the unit distance transportation cost of a black soldier fly mature larvae collection and transportation vehicle.
[0065] Step 52: determine the first position information of the supply node and the second position information of each receiving node in the candidate allocation node group, and determine the allocation priority corresponding to the candidate allocation node group according to the first position information and the second position information.
[0066] In this embodiment, the position of the receiving node relative to the supply node is determined, and then the importance of each receiving node is determined from the position, that is, the urgency of priority allocation is determined, and the supply node needs to be allocated to the receiving nodes with high urgency first. For example: when the receiving node a and the receiving node b are respectively in the urban area and the suburbs of the city, at this time, the supply node first allocates to the receiving node a in the food waste urban area, and then quickly processes the food waste.
[0067] In some optional implementations, when the target node is a black soldier fly processing point, the allocation priority is calculated according to the following formula:
[0068] , where β 1 The weight representing the importance of the location of the black soldier fly treatment point in the allocation, d s represents the supply node in the black soldier fly processing point, d e represents the receiving node in the black soldier fly processing point, D represents the set of black soldier fly processing points, i represents a decision time in the allocation decision time point set I, , Indicates the black soldier fly treatment point d s How many black soldier fly breeding boxes should be allocated to the black soldier fly treatment point? e , represents the i-th decision time, black soldier fly treatment point d s How many black soldier fly breeding boxes should be allocated to the black soldier fly treatment point? e , imp de Indicates the importance of black soldier fly treatment points.
[0069] When the target node is a fish-vegetable symbiotic system, the allocation priority is calculated according to the following formula:
[0070] , where β 2 The weight representing the importance of the location of the aquaponics system in the allocation, a s represents the supply node in the aquaponics system, a e represents a receiving node in the aquaponics system, A represents the set of aquaponics systems, i represents a decision time in the allocation decision time point set I, , Indicates aquaponics system s How many fish ponds should be allocated to the aquaponics system? e , represents the i-th decision time, aquaponics system a s How many fish ponds should be allocated to the aquaponics system? e , imp ae Indicates the importance of aquaponics system.
[0071] Step 53, determine the box allocation quantity of each receiving node in the alternative allocation node group and the single box resource quantity of the first resource processed by each breeding box, and determine the total processing quantity of the first resource processed after the allocation corresponding to each alternative allocation node group is completed based on the box allocation quantity and the single box resource quantity.
[0072] In this embodiment, after the breeding boxes are allocated to the corresponding target nodes, based on the different processing conversion rates corresponding to the target nodes, the amount of the first resource that the target node as the receiving node can process after the allocation is determined to measure the corresponding processing effect. For example, the supply node a allocates breeding boxes to the receiving nodes b and c respectively, considering that the target nodes are black soldier fly processing points, and considering that the supply node a allocates 1 black soldier fly breeding box to the receiving nodes b and c respectively and allocates 2 to the receiving node b alone. In the case of the black soldier fly breeding box, if the kitchen waste processing capacity of a single black soldier fly breeding box at the receiving node b is 250 kg, and the kitchen waste processing capacity of a single black soldier fly breeding box at the receiving node c is 230 kg, then it can be determined that the kitchen waste that can be processed by allocating 2 black soldier fly breeding boxes to the receiving node b is 500 kg, and the kitchen waste that can be processed by allocating 1 black soldier fly breeding box to the receiving node b and the receiving node c respectively is 480 kg, then 500 kg and 480 kg are the total processing capacity of the first resource processed.
[0073] Step 54 , normalizing the transfer transportation cost, transfer priority and total processing volume, and weighting the normalized transfer transportation cost, transfer priority and total processing volume to obtain the configuration fitness corresponding to the candidate transfer node group.
[0074] In this embodiment, in order to eliminate the dimensional and order of magnitude differences between different parameter values, each parameter is standardized. It can be understood that the standardization in the embodiment of the present application can be any standardization method in the prior art, but is not limited to the normalization used in the embodiment of the present application. In this embodiment, after the allocation transportation cost, allocation priority and total processing volume are standardized, the standardized parameters are weighted to obtain the configuration fitness corresponding to the alternative allocation node group, and then quantify the configuration effect of each supply allocation.
[0075] By respectively confirming the transportation cost between the supply node and each receiving node of the alternative allocation node group in the above steps, and accumulating all transportation costs, the allocation transportation cost corresponding to the alternative allocation node group is obtained; the first position information of the supply node and the second position information of each receiving node in the alternative allocation node group are determined, and the allocation priority corresponding to the alternative allocation node group is determined according to the first position information and the second position information; the box allocation amount of each receiving node in the alternative allocation node group and the single box resource amount of the first resource processed by each breeding box are determined, and the total processing amount of the first resource processed after the allocation corresponding to each alternative allocation node group is determined according to the box allocation amount and the single box resource amount; the allocation transportation cost, allocation priority and total processing amount are normalized, and the normalized allocation transportation cost, allocation priority and total processing amount are weighted to obtain the configuration fitness corresponding to the alternative allocation node group, realize the calculation of the configuration fitness of each allocation allocation scheme, quantify the configuration result, and provide data support for realizing balanced resource allocation to obtain the optimal allocation scheme.
[0076] In some embodiments, a target allocation node group is selected from multiple candidate allocation node groups according to configuration fitness, which is achieved by the following steps: a candidate allocation node group with the smallest configuration fitness is selected from multiple candidate allocation node groups to obtain a target allocation node group.
[0077] In some of the embodiments, after obtaining the configuration result, the following steps are further implemented:
[0078] Step 61, determine the production node associated with each target node, and determine the current resource amount of the first resource currently generated by the production node, wherein the production node includes one of the following: a catering center that generates kitchen waste, and a black soldier fly processing point that produces mature black soldier fly larvae.
[0079] In this embodiment, in order to make up for the defect of insufficient resource utilization after allocation, the first resource that surges in a short period of time is temporarily allocated in a short period of time, that is, the first resource that surges in a short period of time (kitchen waste or mature larvae of black soldier flies) is respectively assigned to target nodes with surplus processing capacity for processing, so as to achieve as little first resource (kitchen waste or mature larvae of black soldier flies) as possible. Kitchen waste is wasted or not processed, and the first resource is effectively allocated to each target node by optimizing the allocation strategy, reducing the amount of unprocessed first resources, thereby improving resource utilization, and quickly and efficiently processing the corresponding resources to avoid waste of resources.
[0080] Step 62: Determine whether a resource surge occurs in the corresponding production node based on the current resource quantity.
[0081] Step 63, when it is determined that a resource surge occurs, the first resource currently generated by the production node is allocated to the corresponding target node according to a preset allocation principle.
[0082] In this embodiment, the preset allocation principle is: first ensure that the kitchen waste generated by the catering center can be allocated to the black soldier fly processing point to which it belongs in a priority and efficient manner; when the black soldier fly processing point to which it belongs reaches its processing capacity limit, the excess kitchen waste needs to be allocated to other black soldier fly processing points with surplus processing capacity; and based on the principle of giving priority to the associated aquaponics system and allocating excess mature black soldier fly larvae to other aquaponics systems, priority allocation is given according to the affiliation to ensure that each aquaponics system has a stable supply of larvae to meet its basic feeding needs.
[0083] It should be noted that the primary task of short-term allocation is to ensure that the food waste generated by the catering center can be allocated to its affiliated black soldier fly treatment point in a priority and efficient manner. When the affiliated black soldier fly treatment point reaches its processing capacity limit, the excess food waste needs to be allocated to other black soldier fly treatment points with surplus processing capacity; at the same time, As an important feed resource of the aquaponics system, the distribution strategy of black soldier fly larvae directly affects the growth of fish and the stable operation of the entire system. In the short-term distribution process, the principle of "giving priority to the affiliated aquaponics system, and allocating the excess black soldier fly larvae to other aquaponics systems" is followed. Priority allocation according to affiliation can ensure that each aquaponics system has a stable supply of black soldier fly larvae to meet its basic feeding needs; secondly, priority allocation can reduce transportation costs. In addition, when the demand for black soldier fly larvae in a certain aquaponics system exceeds the supply capacity of the black soldier fly processing point to which it belongs, the excess black soldier fly larvae need to be allocated to other fish pond symbiotic systems. In this process, the demand, processing capacity and transportation cost of the black soldier fly larvae of other systems are comprehensively considered to ensure the rationality and effectiveness of the allocation decision.
[0084] In some embodiments, according to a preset allocation principle, the first resource currently generated by the production node is allocated to the corresponding target node, which is achieved by the following steps:
[0085] Step 71: Take the target node associated with the production node as the belonging target node, and determine whether the belonging target node currently has spare processing capacity for processing the first resource.
[0086] In this embodiment, when the target node is a black soldier fly processing point, the method is to first ensure that the kitchen waste generated by the catering center can be preferentially and efficiently allocated to the black soldier fly processing point to which it belongs. When the target node is a fish-vegetable symbiotic system, the method is to preferentially allocate the mature larvae of black soldier flies to the associated fish-vegetable symbiotic system. In this way, the production nodes (catering centers or black soldier fly processing points with a surge in output resources) are preferentially allocated.
[0087] Step 72: when it is determined that the belonging target node currently has spare processing capacity for processing the first resource, the first resource currently produced by the production node is allocated to the belonging target node.
[0088] Step 73, when it is determined that the target node currently does not have spare processing capacity to process the first resource, according to the preset selection rules, the current target node is selected from the target nodes that currently have spare processing capacity, and the first resource currently produced by the production node is allocated to the current target node, wherein the selection rules include that the target node location has the highest priority and the transportation cost of transporting the first resource from the production node to the current target node is the lowest.
[0089] In this embodiment, after the first resource produced by the production node is allocated to its subordinate target node, if the subordinate target node has the ability to process the surged resources, the corresponding allocation is accepted; otherwise, the surged first resource is allocated to other target nodes with processing capabilities; at the same time, when allocating the surged first resource to other target nodes with processing capabilities, it is necessary to consider the location importance and transportation costs.
[0090] This embodiment also provides a periodic allocation device for kitchen waste resource facilities, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the terms "module", "unit", "subunit", etc. can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0091] Figure 3 is a structural block diagram of a periodic allocation device for kitchen waste resource utilization facilities according to an embodiment of the present application, such as Figure 3 As shown, the device includes an acquisition module 31, a selection module 32, a processing module 33 and a configuration module 34, wherein:
[0092] The acquisition module 31 is used to obtain the total amount of the first resource to be processed in each target node within a preset allocation cycle, and determine the aquaculture demand parameters corresponding to each target node based on the total amount of resources and the current empty aquaculture boxes of each target node, wherein the target node includes one of a black soldier fly processing point and a fish-vegetable symbiotic system, the first resource includes kitchen waste and mature black soldier fly larvae, and the aquaculture demand parameters are used to characterize the demand intention of the aquaculture boxes required by the target node;
[0093] The selection module 32 is coupled to the acquisition module 31 and is used to select, from a plurality of target nodes, a supply node that provides aquaculture boxes and a receiving node that allocates aquaculture boxes on demand, respectively, according to the aquaculture demand parameters, and determine the box supply corresponding to the supply node and the box demand corresponding to the receiving node;
[0094] The processing module 33 is coupled to the selection module 32, and determines a plurality of receiving node combinations corresponding to each supply node based on the box demand and the box supply, and calculates the configuration fitness corresponding to a plurality of candidate allocation node groups consisting of a supply node and a receiving node combination based on the constructed objective function, wherein the receiving node combination includes a plurality of receiving nodes for allocating breeding boxes by the corresponding supply node, and the objective function is constructed by coupling at least the allocation transportation cost, the allocation priority, and the processing volume of the first resource processed after the allocation;
[0095] The configuration module 34 is coupled to the processing module 33 and is used to select a target allocation node group from multiple candidate allocation node groups according to the configuration fitness, and determine the target cabinet supply quantity allocated by the supply node corresponding to the target allocation node group to each receiving node to obtain a configuration result, wherein the configuration result includes the target cabinet supply quantity.
[0096] In some embodiments, the acquisition module 31 further includes:
[0097] The first acquisition unit is used to determine the resource processing capacity corresponding to each breeding box, and determine the demand for the breeding box at each target node based on the resource processing capacity and the total amount of resources, wherein the resource processing capacity is determined based on the breeding capacity and processing conversion rate of the second resource in each breeding box, and the second resource includes the mature larvae of black soldier flies used for biological treatment of kitchen waste and fresh fish for processing the produced mature larvae of black soldier flies.
[0098] The first determination unit is coupled to the first acquisition unit, and is used to determine the demand intention of the target node and the number of box changes corresponding to the demand intention based on the difference between the demand quantity corresponding to each target node and the corresponding empty breeding box, wherein the demand intention includes the target node demand box allocation, the target node supply box, and the target node no box allocation.
[0099] The first generating unit is coupled to the first determining unit and is used to generate breeding demand parameters based on the demand intention and the corresponding box change number.
[0100] In some embodiments, the selection module 32 further includes:
[0101] The second determination unit is used to determine the demand intention corresponding to each target node and the number of cabinet changes corresponding to the demand intention;
[0102] The first selection unit is coupled to the second determination unit and is used to select all target nodes whose demand intention is to allocate cabinets required by the target nodes from among the multiple target nodes, obtain a receiving node, and use the cabinet change number corresponding to the corresponding demand intention as the cabinet demand of the receiving node;
[0103] The second selection unit is coupled to the first selection unit, and is used to select all target nodes whose demand intention is to supply boxes to the target nodes from multiple target nodes, obtain the supply nodes, and use the box change number corresponding to the corresponding demand intention as the box supply quantity of the supply node.
[0104] In some embodiments, the processing module 33 further includes:
[0105] A search unit is used to perform a neighborhood search operation in all receiving nodes according to the box supply amount corresponding to each supply node, and generate multiple supply allocations corresponding to each supply node, wherein the supply allocation includes the corresponding allocated receiving nodes and the box allocation amount of each receiving node, and the sum of the box allocation amounts of all allocated receiving nodes is not greater than the corresponding box supply amount;
[0106] A judgment unit, coupled to the search unit, is used to judge whether the box allocation amount corresponding to each receiving node in each supply allocation is greater than the box demand amount corresponding to the receiving node;
[0107] The processing unit is coupled to the judgment unit, and is used to use the corresponding supply allocation as the target supply allocation when the judgment unit judges that the box allocation amount corresponding to each receiving node is not greater than the box demand amount corresponding to the receiving node, wherein the receiving node combination includes all receiving nodes corresponding to the target supply allocation, and when the judgment unit judges that the box allocation amount corresponding to each receiving node is greater than the box demand amount corresponding to the receiving node, it is used to delete the supply allocation whose box allocation amount corresponding to each receiving node is greater than the box demand amount corresponding to the receiving node from the multiple supply allocations corresponding to each supply node, and use all supply allocations remaining after the deletion as the target supply allocation corresponding to the supply node.
[0108] In some of the embodiments, the processing module 33 is also used to respectively confirm the transportation cost between the supply node and each receiving node of the alternative allocation node group, and accumulate all transportation costs to obtain the allocation transportation cost corresponding to the alternative allocation node group; determine the first position information of the supply node and the second position information of each receiving node in the alternative allocation node group, and determine the allocation priority corresponding to the alternative allocation node group based on the first position information and the second position information; determine the box allocation amount of each receiving node in the alternative allocation node group and the single box resource amount of the first resource processed by each breeding box, and determine the total processing volume of the first resource processed after the allocation corresponding to each alternative allocation node group is completed based on the box allocation amount and the single box resource amount; normalize the allocation transportation cost, allocation priority and total processing volume, and weight the normalized allocation transportation cost, allocation priority and total processing volume to obtain the configuration fitness corresponding to the alternative allocation node group.
[0109] In some embodiments, the processing module 33 is further configured to select a candidate allocation node group with the smallest configuration fitness from a plurality of candidate allocation node groups to obtain a target allocation node group.
[0110] In some embodiments, the kitchen waste resource facility periodic allocation device further includes:
[0111] A determination module, coupled to the configuration module 34, is used to determine the production node associated with each target node, and determine the current resource amount of the first resource currently generated by the production node, wherein the production node includes one of the following: a catering center that generates kitchen waste, and a black soldier fly processing point that produces mature black soldier fly larvae;
[0112] The judgment module is coupled to the determination module and is used to judge whether a resource surge occurs in the corresponding production node according to the current resource quantity;
[0113] The execution module is coupled to the judgment module and is used to allocate the first resource currently generated by the production node to the corresponding target node according to a preset allocation principle when it is determined that a resource surge occurs.
[0114] In some of the embodiments, the execution module is also used to take the target node associated with the production node as the belonging target node, and determine whether the belonging target node currently has spare processing capacity to process the first resource; when it is determined that the belonging target node currently has spare processing capacity to process the first resource, the first resource currently produced by the production node is allocated to the belonging target node; when it is determined that the belonging target node currently does not have spare processing capacity to process the first resource, according to a preset selection rule, the current target node is selected from the target nodes that currently have spare processing capacity, and the first resource currently produced by the production node is allocated to the current target node, wherein the selection rules include that the target node location has the highest priority and the transportation cost of transporting the first resource from the production node to the current target node is the lowest.
[0115] This embodiment further provides a service platform, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0116] Optionally, the service platform may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0117] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0118] S1, obtain the total amount of the first resource to be processed for each target node within a preset allocation cycle, and determine the aquaculture demand parameters corresponding to each target node based on the total amount of resources and the current empty aquaculture boxes of each target node. The target node includes a black soldier fly processing point and a fish-vegetable symbiotic system. The first resource includes kitchen waste and mature black soldier fly larvae. The aquaculture demand parameters are used to characterize the demand intention for the aquaculture boxes required by the target node.
[0119] S2, according to the breeding demand parameters, select the supply node that provides the breeding boxes and the receiving node that allocates the breeding boxes on demand from multiple target nodes, and determine the box supply corresponding to the supply node and the box demand corresponding to the receiving node.
[0120] S3, based on the demand for boxes and the supply of boxes, determine multiple receiving node combinations corresponding to each supply node, and based on the constructed objective function, calculate the configuration fitness corresponding to multiple alternative allocation node groups consisting of a supply node and a receiving node combination, the receiving node combination includes multiple receiving nodes for allocating breeding boxes by the corresponding supply nodes, and the objective function is constructed by coupling at least the allocation transportation cost, the allocation priority and the processing volume of the first resource processed after the allocation.
[0121] S4, selecting a target allocation node group from a plurality of candidate allocation node groups according to the configuration fitness, and determining a target cabinet supply quantity allocated by the supply node corresponding to the target allocation node group to each receiving node, to obtain a configuration result, the configuration result including the target cabinet supply quantity.
[0122] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0123] In addition, in combination with the method for periodic allocation of kitchen waste resource facilities in the above embodiments, the present application embodiment can provide a storage medium for implementation. The storage medium stores a computer program; when the computer program is executed by a processor, any one of the methods for periodic allocation of kitchen waste resource facilities in the above embodiments is implemented.
[0124] Those skilled in the art should understand that the technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0125] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for periodic allocation of kitchen waste resource facilities, characterized in that: include: Obtaining the total amount of the first resource to be processed for each target node within a preset allocation cycle, and determining the aquaculture demand parameters corresponding to each target node based on the total amount of resources and the current empty aquaculture boxes of each target node, wherein the target node includes one of a black soldier fly processing point and a fish-vegetable symbiotic system, the first resource includes kitchen waste and mature black soldier fly larvae, and the aquaculture demand parameters are used to characterize the demand intention for the aquaculture boxes required by the target node; According to the breeding demand parameters, from the multiple target nodes, a supply node that provides the breeding box and a receiving node that allocates the breeding box on demand are selected respectively, and the box supply quantity corresponding to the supply node and the box demand quantity corresponding to the receiving node are determined; Based on the demand for the box and the supply of the box, a plurality of receiving node combinations corresponding to each of the supply nodes are determined, and based on the constructed objective function, a plurality of configuration fitness corresponding to the candidate allocation node groups consisting of one of the supply nodes and one of the receiving node combinations are calculated, wherein the receiving node combination includes a plurality of the receiving nodes for allocating the breeding box by the corresponding supply node, and the objective function is constructed by coupling at least the allocation transportation cost, the allocation priority, and the processing volume of the first resource processed after the allocation; According to the configuration fitness, a target allocation node group is selected from the plurality of candidate allocation node groups, and a target cabinet supply quantity allocated by the supply node corresponding to the target allocation node group to each receiving node is determined to obtain a configuration result, wherein the configuration result includes the target cabinet supply quantity; Wherein, based on the box demand and the box supply, determining a plurality of receiving node combinations corresponding to each supply node comprises: According to the box supply quantity corresponding to each of the supply nodes, a neighborhood search operation is performed in all the receiving nodes to generate a plurality of supply allocations corresponding to each of the supply nodes, wherein the supply allocations include the corresponding allocated receiving nodes and the box allocation quantity of each of the receiving nodes, and the sum of the box allocation quantities of all the allocated receiving nodes is not greater than the corresponding box supply quantity; Determine whether the box allocation quantity corresponding to each receiving node in each supply allocation is greater than the box demand quantity corresponding to the receiving node; In the case where it is determined that the box allocation amount corresponding to each receiving node is not greater than the box demand amount corresponding to the receiving node, the corresponding supply allocation is used as the target supply allocation, wherein the receiving node combination includes all the receiving nodes corresponding to the target supply allocation; Wherein, when it is determined that the box allocation amount corresponding to each receiving node is greater than the box demand amount corresponding to the receiving node, the method includes: among the multiple supply allocations corresponding to each supply node, deleting the supply allocation whose box allocation amount corresponding to each receiving node is greater than the box demand amount corresponding to the receiving node, and using all the remaining supply allocations after the deletion as the target supply allocations corresponding to the supply node; The configuration fitness corresponding to a plurality of candidate allocation node groups consisting of a supply node and a receiving node is calculated based on the constructed objective function, including: respectively confirming the transportation cost between the supply node of the candidate allocation node group and each of the receiving nodes, and accumulating all the transportation costs to obtain the allocation transportation cost corresponding to the candidate allocation node group; Determine the first position information of the supply node in the candidate allocation node group and the second position information of each of the receiving nodes, and determine the allocation priority corresponding to the candidate allocation node group according to the first position information and the second position information; Determine the box allocation amount of each receiving node in the alternative allocation node group and the single box resource amount of the first resource processed by each breeding box, and determine the total processing amount of the first resource processed after the allocation corresponding to each alternative allocation node group is completed according to the box allocation amount and the single box resource amount; The allocation and transportation cost, the allocation priority and the total processing volume are normalized, and the normalized allocation and transportation cost, the allocation priority and the total processing volume are weighted to obtain the configuration fitness corresponding to the candidate allocation node group.
2. The method according to claim 1, characterized in that Based on the total amount of resources and the current empty breeding boxes of each target node, the breeding demand parameters corresponding to each target node are determined, including: Determine the resource processing capacity corresponding to each of the breeding boxes, and determine the demand of each of the target nodes for the breeding boxes according to the resource processing capacity and the total amount of resources, wherein the resource processing capacity is determined according to the breeding capacity and processing conversion rate of the second resource in each of the breeding boxes, and the second resource includes the mature larvae of black soldier flies used for biological treatment of kitchen waste and the fresh fish used for processing the produced mature larvae of black soldier flies; According to the difference between the demand quantity corresponding to each target node and the corresponding empty breeding box, determine the demand intention of the target node and the number of box changes corresponding to the demand intention, wherein the demand intention includes the target node demand box allocation, the target node supply box, and the target node no box allocation; The breeding demand parameters are generated based on the demand intention and the corresponding number of box changes.
3. The method according to claim 2, characterized in that According to the breeding demand parameters, a supply node that provides the breeding box and a receiving node that allocates the breeding box on demand are selected from the multiple target nodes, and the box supply corresponding to the supply node and the box demand corresponding to the receiving node are determined, including: Determine the demand intention corresponding to each target node and the number of cabinet changes corresponding to the demand intention; Among the multiple target nodes, all the target nodes whose demand intention is to allocate cabinets to the target nodes are selected to obtain the receiving node, and the cabinet change number corresponding to the corresponding demand intention is used as the cabinet demand of the receiving node; Among the multiple target nodes, all the target nodes whose demand intention is to supply boxes to the target node are selected to obtain the supply node, and the box change number corresponding to the corresponding demand intention is used as the box supply quantity of the supply node.
4. The method according to claim 1, characterized in that: Selecting a target allocation node group from the plurality of candidate allocation node groups according to the configuration fitness includes: selecting the candidate allocation node group with the smallest configuration fitness from the plurality of candidate allocation node groups to obtain the target allocation node group.
5. The method according to any one of claims 1 to 4, characterized in that: After obtaining the configuration result, the method further includes: Determine the production node associated with each of the target nodes, and determine the current resource amount of the first resource currently generated by the production node, wherein the production node includes one of the following: a catering center that generates kitchen waste, and a black soldier fly processing point that produces mature black soldier fly larvae; According to the current resource amount, determining whether a resource surge occurs at the corresponding production node; When it is determined that a resource surge occurs, the first resource currently generated by the production node is allocated to the corresponding target node according to a preset allocation principle.
6. The method according to claim 5, characterized in that According to a preset allocation principle, allocating the first resource currently generated by the production node to the corresponding target node includes: Taking the target node associated with the production node as the belonging target node, and determining whether the belonging target node currently has spare processing capacity for processing the first resource; In the case where it is determined that the belonging target node currently has spare processing capacity for processing the first resource, allocating the first resource currently produced by the production node to the belonging target node; When it is determined that the belonging target node currently does not have spare processing capacity to process the first resource, according to the preset selection rules, the current target node is selected from the target nodes that currently have spare processing capacity, and the first resource currently produced by the production node is allocated to the current target node, wherein the selection rules include that the target node location has the highest priority and the transportation cost of transporting the first resource from the production node to the current target node is the lowest.
7. A service platform, comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps of the method for periodic allocation of kitchen waste resource facilities according to any one of claims 1 to 6.
Citation Information
Patent Citations
Power-gas integrated energy system scheduling method and device considering carbon cost
CN114565241A