Appliance allocation method and device, processor and electronic equipment

By generating allocation instructions and determining target supply area information, the problem of low equipment allocation efficiency is solved, the equipment allocation process is tracked, and allocation efficiency is improved.

CN120634111APending Publication Date: 2025-09-12FAW LOGISTICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510702447.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-28
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

In the existing technology, the allocation efficiency of equipment is low, especially when the inventory in the distribution area cannot meet the demand, it is difficult to track the allocation process, resulting in low efficiency.

Method used

By generating allocation instructions, obtaining the number of equipment in the distribution area, determining the target supply area information, and determining the full load information and allocation results based on this information, the equipment allocation process can be tracked.

Benefits of technology

It improves the efficiency of equipment allocation, ensures that equipment can be accurately allocated to the assembly area as needed, and solves the problem of difficulty in tracking the allocation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120634111A_ABST
    Figure CN120634111A_ABST
Patent Text Reader

Abstract

The invention discloses an appliance allocation method and device, a processor and electronic equipment, and the method comprises the steps: responding to a condition that a first current number of appliances stored in an assembly area does not meet a required number of appliances in the assembly area, and generating an allocation instruction for the appliances; in response to the allocation instruction, obtaining a second current number of appliances stored in the collection and distribution area; in response to the fact that the second current number does not meet the required number, target supply area information is determined from candidate supply area information, the candidate supply area information is used for representing candidate supply areas, and the target supply area information is used for representing target supply areas of the appliances to be provided; based on the target supply area information, full complement information is determined, and an allocation result of the appliance is determined. The technical problem that the allocation efficiency of the appliance is low is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of transportation, and in particular to an apparatus allocation method, apparatus, processor and electronic device. Background Art

[0002] Equipment allocation plans are often directly related to inventory levels at distribution centers. However, existing technologies require manual emergency replenishment of inventory if the current inventory level at a distribution center cannot meet the required number of equipment. This approach makes it difficult to track the equipment allocation process, resulting in low equipment allocation efficiency.

[0003] Currently, no effective solution has been proposed to the technical problem of low efficiency in allocating the above-mentioned appliances. Summary of the Invention

[0004] Embodiments of the present invention provide a method, apparatus, processor, and electronic device for allocating appliances, to at least solve the technical problem of low efficiency in allocating appliances.

[0005] According to one aspect of an embodiment of the present invention, a method for allocating appliances is provided, comprising: in response to a first current quantity of appliances stored in an assembly area not meeting a required quantity of appliances in the assembly area, generating an allocation instruction for the appliances; in response to the allocation instruction, obtaining a second current quantity of appliances stored in a distribution area; in response to the second current quantity not meeting the required quantity, determining target supply area information from candidate supply area information, wherein the candidate supply area information is used to represent the candidate supply area, and the target supply area information is used to represent the target supply area for the appliances to be provided; based on the target supply area information, determining full load information, and determining an allocation result of the appliances, wherein the full load information is used to represent the location to which a vehicle that has been fully loaded with appliances at the target supply area has traveled, and the allocation result is used to indicate whether the required quantity of appliances has been allocated to the assembly area.

[0006] Optionally, in response to the second current quantity not meeting the required quantity, the target supply area information is determined from the candidate supply area information, including: in response to the second current quantity being less than the required quantity, determining a first quantity difference between the required quantity and the second current quantity; and determining the target supply area information from the candidate supply area information based on the first quantity difference.

[0007] Optionally, based on the first quantity difference, the target supply area information is determined from the candidate supply area information, including: determining the inventory quantity of the appliances stored in the candidate supply area corresponding to the candidate supply area information; based on the inventory quantity and the first quantity difference, determining the target supply area information from the candidate supply area information.

[0008] Optionally, the candidate supply areas include at least a first candidate supply area and a second candidate supply area, and the type of the first candidate supply area is different from the type of the second candidate supply area, wherein the target supply area information is determined from the candidate supply area information based on the inventory quantity and the first quantity difference, including: obtaining the first inventory quantity of the appliances stored in the first candidate supply area, and the second inventory quantity of the appliances stored in the second candidate supply area; and determining the target supply area information from the candidate supply area information based on the first inventory quantity, the second inventory quantity and the first quantity difference.

[0009] Optionally, based on the first inventory quantity, the second inventory quantity and the first quantity difference, the target supply area information is determined from the candidate supply area information, including: in response to the first inventory quantity being greater than or equal to the first quantity difference, and the second inventory quantity being less than the first quantity difference, determining the first target supply area information from the candidate supply area information, wherein the first target supply area information is used to indicate that the first candidate supply area where the appliances meeting the first quantity difference are to be provided is the target supply area; in response to the first inventory quantity being less than the first quantity difference, and the second inventory quantity being greater than or equal to the first quantity difference, determining the second target supply area information from the candidate supply area information, wherein the second target supply area information is used to indicate that the second candidate supply area where the appliances meeting the first quantity difference are to be provided is the target supply area; in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, determining the third target supply area information from the candidate supply area information, wherein the third target supply area information is used to indicate that the first candidate supply area and the second candidate supply area where the appliances meeting the first quantity difference are to be provided are the target supply areas.

[0010] Optionally, in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, determining the third target supply area information from the candidate supply area information, including: in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, and the first inventory quantity being greater than or equal to the second inventory quantity, determining the second quantity difference between the first quantity difference and the first inventory quantity; in response to the second inventory quantity being greater than or equal to the second quantity difference, determining the third target supply area information from the candidate supply area information, wherein the first candidate supply area is used to provide appliances that meet the first inventory quantity, and the second candidate supply area is used to provide appliances that meet the second quantity difference.

[0011] Optionally, in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, determining the third target supply area information from the candidate supply area information, including: in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, and the first inventory quantity being less than the second inventory quantity, determining the third quantity difference between the first quantity difference and the second inventory quantity; in response to the first inventory quantity being greater than or equal to the third quantity difference, determining the third target supply area information from the candidate supply area information, wherein the first candidate supply area is used to provide appliances that meet the third quantity difference, and the second candidate supply area is used to provide appliances that meet the second inventory quantity.

[0012] According to one aspect of an embodiment of the present invention, a device for allocating appliances is provided, which may include: a generation unit for generating an allocation instruction for the appliances in response to a first current quantity of appliances stored in an assembly area not meeting a required quantity of appliances in the assembly area; an acquisition unit for acquiring a second current quantity of appliances stored in a distribution area in response to the allocation instruction; a first determination unit for determining target supply area information from candidate supply area information in response to the second current quantity not meeting the required quantity, wherein the candidate supply area information is used to represent the candidate supply area, and the target supply area information is used to represent the target supply area for the appliances to be provided; a second determination unit for determining full load information based on the target supply area information, and determining an allocation result of the appliances, wherein the full load information is used to represent a location to which a vehicle that has been fully loaded with appliances at the target supply area has traveled, and the allocation result is used to indicate whether the required quantity of appliances has been allocated to the assembly area.

[0013] According to another aspect of an embodiment of the present invention, a processor is provided, which is configured to run a program, wherein when the program is run by the processor, the method for allocating an appliance in an embodiment of the present invention is executed.

[0014] According to another aspect of an embodiment of the present invention, an electronic device is provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the method for allocating the apparatus in each embodiment of the present invention is executed when the program is running.

[0015] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device containing the computer-readable storage medium is controlled to execute the device allocation method of the embodiment of the present invention.

[0016] According to another aspect of an embodiment of the present invention, a computer program product is further provided. The computer program product includes a computer program, wherein when the computer program is executed by a processor, the method for allocating an appliance in the embodiment of the present invention is implemented.

[0017] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the method for allocating an appliance in an embodiment of the present invention is implemented.

[0018] According to another aspect of the embodiments of the present invention, the embodiments of the present application further provide a computer program, which, when executed by a processor, implements the method for allocating the apparatus in the above-mentioned embodiments of the present invention.

[0019] In an embodiment of the present invention, when allocating equipment, in response to a first current quantity of equipment stored in an assembly area not meeting the required quantity of equipment in the assembly area, an allocation instruction for the equipment may be generated. In response to the generated allocation instruction, a second current quantity of equipment stored in a distribution area may be obtained. In response to the obtained second current quantity not meeting the required quantity, target supply area information may be determined from candidate supply area information, and based on the determined target supply area information, full-load information may be determined, and the allocation result of the equipment may be determined. This achieves the purpose of tracking the allocation process of the equipment, thereby resolving the technical problem of low equipment allocation efficiency and achieving the technical effect of improving the low efficiency of equipment allocation. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0021] Figure 1 is a flow chart of a method for allocating an appliance according to an embodiment of the present invention;

[0022] Figure 2 is a flow chart of a method for cyclic allocation of appliances according to an embodiment of the present invention;

[0023] Figure 3 is a schematic diagram of a device for adjusting a device according to an embodiment of the present invention;

[0024] Figure 4 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] According to an embodiment of the present invention, a method for allocating an appliance is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0028] Figure 1 is a flow chart of a method for allocating an appliance according to an embodiment of the present invention, such as Figure 1 As shown, the method may include the following steps:

[0029] Step S101 : In response to a first current quantity of appliances stored in an assembly area not meeting a required quantity of appliances in the assembly area, generating an allocation instruction for the appliances.

[0030] In the technical solution provided in step S101 of the present invention, the assembly area may be used to represent the area where equipment is assembled on a vehicle. The assembly area may include, but is not limited to, factories and contract manufacturers, and the equipment may include, but is not limited to, chutes, pallets, racks, turnover boxes, and folding boxes. These are examples only and are not intended to be limiting.

[0031] In this embodiment, in response to a first current quantity of appliances stored in an assembly area not meeting the assembly area's required quantity of appliances, a transfer instruction for the appliances is generated. Optionally, this embodiment first obtains the first current quantity of appliances stored in the assembly area, then compares the relationship between the obtained first current quantity of appliances stored in the assembly area and the assembly area's required quantity of appliances. If the comparison shows that the first current quantity of appliances stored in the assembly area does not meet the assembly area's required quantity of appliances, a transfer instruction for the appliances is generated. The transfer instruction can be used to indicate that the assembly area needs to transfer appliances, and the transfer instruction can also be called a transfer instruction. The transfer instruction can be a transfer signal.

[0032] It should be noted that the aforementioned device allocation method can be applied to a device allocation system. For example, in response to a first current quantity of devices stored in an assembly area not meeting the required quantity of devices in the assembly area, the device allocation system can generate a device allocation instruction. This device allocation system can then control a management system managing a distribution area or a management system managing candidate supply areas to load the devices onto a vehicle. This is merely an example and is not intended to be limiting.

[0033] Step S102: In response to the allocation instruction, obtaining a second current quantity of appliances stored in the distribution area.

[0034] In the technical solution provided in step S102 of the present invention, the distribution area may be used to represent the area from which the equipment is to be allocated to the assembly area. For example, the distribution area may include, but is not limited to, distribution sites, distribution centers, and distribution warehouses, which are merely examples and are not intended to be limiting.

[0035] In this embodiment, after generating an allocation instruction for the appliances in response to a first current quantity of appliances stored in the assembly region not meeting the required quantity of appliances in the assembly region, the second current quantity of appliances stored in the distribution region is obtained in response to the allocation instruction. Optionally, this embodiment may obtain the second current quantity of appliances stored in the distribution region in response to the generated allocation instruction, based on the generation of the allocation instruction for the appliances.

[0036] Optionally, in response to the generated allocation instruction, the allocation system of the appliance may obtain the second current quantity of appliances stored in the distribution area from the management system that manages the distribution area.

[0037] Step S103 : In response to the second current quantity not meeting the required quantity, target supply region information is determined from the candidate supply region information.

[0038] In the technical solution provided in step S103 of the present invention, the candidate supply region information may be used to represent candidate supply regions, wherein the candidate supply regions may be used to represent regions where suppliers are located, and the suppliers may include multiple suppliers of different types.

[0039] In this embodiment, the target supply region information may be used to indicate the target supply region of the appliance to be provided, wherein the target supply region may be used to indicate the region where the target supplier is located.

[0040] In this embodiment, after obtaining the second current quantity of appliances stored in the distribution area in response to a transfer instruction, and in response to the second current quantity not meeting the required quantity, target supply area information is determined from the candidate supply area information. Optionally, based on obtaining the second current quantity of appliances stored in the distribution area, this embodiment compares the obtained second current quantity with the required quantity to obtain a first comparison result, wherein the comparison result can be used to indicate whether the second current quantity meets the required quantity. If the first comparison result obtained is that the second current quantity does not meet the required quantity, the target supply area information is determined from the candidate supply area information, thereby achieving the purpose of determining the target supply area for the appliances to be provided.

[0041] Step S104: Based on the target supply area information, the full-load information is determined, and the allocation result of the equipment is determined.

[0042] In the technical solution provided in the above step S104 of the present invention, the above full-load information can be used to indicate the location to which the vehicle fully loaded with appliances has traveled in the target supply area.

[0043] In this embodiment, the allocation result can be used to indicate whether the required number of appliances have been allocated to the assembly area.

[0044] In this embodiment, in response to the second current quantity not meeting the required quantity, after determining target supply region information from the candidate supply region information, full load information is determined based on the target supply region information, and the result of the equipment allocation is determined. Optionally, based on the determination of the target supply region information, this embodiment obtains the vehicle's location information and loading information in real time based on the determined target supply region information. Based on the obtained location information and loading information, full load information can be determined, and the result of the equipment allocation can be determined.

[0045] Optionally, based on the acquired location information and loading information, full load information can be determined, and the allocation result of the equipment can be determined. For example, if the acquired location information indicates that the vehicle has traveled to a distribution area, and the loading information indicates that the vehicle is fully loaded with equipment, then the location to which the vehicle, having fully loaded the equipment at the target supply area, traveled is determined to be the distribution area, and the allocation result indicates that the required number of equipment has not been allocated to the assembly area. This is for illustration only and is not intended to be a specific limitation.

[0046] Optionally, based on the acquired position information and loading information, full load information can be determined, and the result of the equipment allocation can be determined. For example, if the acquired position information indicates that the vehicle has traveled to the assembly area, and the loading information indicates that the vehicle has unloaded the required number of equipment, then the full load information indicates that the location to which the vehicle, having been fully loaded with equipment at the target supply area, traveled is the assembly area, and the allocation result indicates that the required number of equipment has been allocated to the assembly area. This is for illustration only and is not intended to be a specific limitation.

[0047] It should be noted that the device allocation method of this application is applicable not only to the allocation of devices for specific types of vehicles (e.g., school buses and fire trucks), but also to the allocation of devices for other types of vehicles, including but not limited to trucks, buses, and cars. In other words, as long as the allocation of devices is involved, regardless of the type of vehicle, the device allocation method of this application can be used to allocate the required devices.

[0048] In the above steps S101 to S104 of the present application, when allocating equipment, in response to the first current quantity of equipment stored in the assembly area not meeting the required quantity of equipment in the assembly area, an allocation instruction for the equipment can be generated. In response to the generated allocation instruction, the second current quantity of equipment stored in the distribution area can be obtained. In response to the obtained second current quantity not meeting the required quantity, the target supply area information can be determined from the candidate supply area information, and based on the determined target supply area information, the full load information can be determined, and the allocation result of the equipment can be determined. This achieves the purpose of tracking the allocation process of the equipment, thereby solving the technical problem of low allocation efficiency of the equipment, and further achieving the technical effect of improving the low allocation efficiency of the equipment.

[0049] The above method of this embodiment is further introduced below.

[0050] As an optional implementation method, step S103, in response to the second current quantity not meeting the required quantity, determines the target supply area information from the candidate supply area information, including: in response to the second current quantity being less than the required quantity, determines a first quantity difference between the required quantity and the second current quantity; based on the first quantity difference, determines the target supply area information from the candidate supply area information.

[0051] In this embodiment, after obtaining the second current quantity of appliances stored in the distribution area in response to the allocation instruction, a first quantity difference between the required quantity and the second current quantity is determined in response to the second current quantity being less than the required quantity. Optionally, based on obtaining the second current quantity of appliances stored in the distribution area, this embodiment compares the obtained second current quantity with the required quantity to obtain a first comparison result. If the first comparison result indicates that the second current quantity is less than the required quantity, a difference calculation is performed between the required quantity and the second current quantity to obtain the first quantity difference between the required quantity and the second current quantity, thereby achieving the purpose of determining the quantity difference between the required quantity and the second current quantity.

[0052] In this embodiment, after determining a first quantity difference between the required quantity and the second current quantity in response to the second current quantity being less than the required quantity, target supply region information is determined from the candidate supply region information based on the first quantity difference. Alternatively, this embodiment may determine the target supply region information from the candidate supply region information based on the determined first quantity difference, based on the determination of the first quantity difference between the required quantity and the second current quantity. This achieves the purpose of determining the target supply region for the appliance to be provided, thereby achieving the technical effect of improving the accuracy of determining the supply region.

[0053] The following further describes the step of determining the target supply region information from the candidate supply region information based on the first quantity difference in this embodiment.

[0054] As an optional implementation method, based on the first quantity difference, the target supply area information is determined from the candidate supply area information, including: determining the inventory quantity of the appliances stored in the candidate supply area corresponding to the candidate supply area information; based on the inventory quantity and the first quantity difference, determining the target supply area information from the candidate supply area information.

[0055] In this embodiment, in response to the second current quantity being less than the required quantity, after determining the first quantity difference between the required quantity and the second current quantity, the inventory quantity of the appliances stored in the candidate supply region corresponding to the candidate supply region information is determined; based on the inventory quantity and the first quantity difference, the target supply region information is determined from the candidate supply region information. Optionally, in this embodiment, based on determining the first quantity difference between the required quantity and the second current quantity, the appliance allocation system can obtain the inventory quantity of the appliances stored in the candidate supply region corresponding to the candidate supply region information from the management system that manages the candidate supply regions, thereby determining the inventory quantity of the appliances stored in the candidate supply region corresponding to the candidate supply region information. Based on the determined inventory quantity and the first quantity difference between the required quantity and the second current quantity, the target supply region information can be determined from the candidate supply region information, thereby achieving the purpose of determining the target supply region for the appliances to be provided, thereby realizing the technical effect of improving the accuracy of determining the supply region.

[0056] The following further describes the step of determining the target supply region information from the candidate supply region information based on the inventory quantity and the first quantity difference in this embodiment.

[0057] As an optional embodiment, the candidate supply areas include at least a first candidate supply area and a second candidate supply area, and the type of the first candidate supply area is different from the type of the second candidate supply area. Based on the inventory quantity and the first quantity difference, the target supply area information is determined from the candidate supply area information, including: obtaining the first inventory quantity of the appliances stored in the first candidate supply area, and the second inventory quantity of the appliances stored in the second candidate supply area; based on the first inventory quantity, the second inventory quantity and the first quantity difference, the target supply area information is determined from the candidate supply area information.

[0058] In this embodiment, the candidate supply regions may include at least a first candidate supply region and a second candidate supply region. The types of the first candidate supply region and the second candidate supply region may be different. For example, the first candidate supply region may represent the region where supplier A is located, and the second candidate supply region may represent the region where supplier B is located. This is merely an example and is not intended to be limiting.

[0059] In this embodiment, after determining the inventory quantity of appliances stored in the candidate supply regions corresponding to the candidate supply region information, a first inventory quantity of the appliances stored in the first candidate supply region and a second inventory quantity of the appliances stored in the second candidate supply region are obtained. Based on the first inventory quantity, the second inventory quantity, and the first quantity difference, target supply region information is determined from the candidate supply region information. Optionally, based on the determined inventory quantity, this embodiment can search for the first inventory quantity of the appliances stored in the first candidate supply region and the second inventory quantity of the appliances stored in the second candidate supply region from the determined inventory quantities. In other words, the first inventory quantity of the appliances stored in the first candidate supply region and the second inventory quantity of the appliances stored in the second candidate supply region are obtained. Based on the obtained first inventory quantity, second inventory quantity, and the first quantity difference between the desired quantity and the second current quantity, target supply region information can be determined from the candidate supply region information. This achieves the purpose of determining the target supply region for the appliances to be provided, thereby achieving the technical effect of improving the accuracy of determining the supply region.

[0060] The following further describes the steps of determining target supply region information from candidate supply region information based on the first inventory quantity, the second inventory quantity, and the first quantity difference in this embodiment.

[0061] As an optional implementation method, the target supply area information is determined from the candidate supply area information based on the first inventory quantity, the second inventory quantity and the first quantity difference, including: in response to the first inventory quantity being greater than or equal to the first quantity difference, and the second inventory quantity being less than the first quantity difference, determining the first target supply area information from the candidate supply area information; in response to the first inventory quantity being less than the first quantity difference, and the second inventory quantity being greater than or equal to the first quantity difference, determining the second target supply area information from the candidate supply area information; in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, determining the third target supply area information from the candidate supply area information.

[0062] In this embodiment, the first target supply region information may be used to indicate that a first candidate supply region to be provided with appliances satisfying the first quantity difference is a target supply region.

[0063] In this embodiment, after obtaining a first inventory quantity of appliances stored in a first candidate supply region and a second inventory quantity of appliances stored in a second candidate supply region, in response to the first inventory quantity being greater than or equal to a first quantity difference and the second inventory quantity being less than the first quantity difference, first target supply region information is determined from the candidate supply region information. Optionally, based on the first and second inventory quantities, this embodiment compares the first and second inventory quantities with the first quantity difference, respectively, to obtain a second comparison result and a third comparison result. The second comparison result can be used to indicate the relationship between the first inventory quantity and the first quantity difference, and the third comparison result can be used to indicate the relationship between the second inventory quantity and the first quantity difference. If the second comparison result indicates that the first inventory quantity is greater than or equal to the first quantity difference and the third comparison result indicates that the second inventory quantity is less than the first quantity difference, the first target supply region information is determined from the candidate supply region information. This achieves the purpose of determining the first candidate supply region to be supplied with appliances that meet the first quantity difference as the target supply region, thereby achieving the technical effect of improving the accuracy of determining the supply region.

[0064] In this embodiment, the second target supply region information may be used to indicate that the second candidate supply region to which appliances satisfying the first quantity difference are to be provided is the target supply region.

[0065] In this embodiment, after obtaining the first inventory quantity of the appliances stored in the first candidate supply area and the second inventory quantity of the appliances stored in the second candidate supply area, in response to the first inventory quantity being less than the first quantity difference and the second inventory quantity being greater than or equal to the first quantity difference, the second target supply area information is determined from the candidate supply area information. Optionally, based on the acquisition of the first inventory quantity and the second inventory quantity, the embodiment compares the acquired first inventory quantity and the acquired second inventory quantity with the first quantity difference, respectively, to obtain a second comparison result and a third comparison result. If the second comparison result indicates that the first inventory quantity is less than the first quantity difference, and the third comparison result indicates that the second inventory quantity is greater than or equal to the first quantity difference, the second target supply area information is determined from the candidate supply area information, thereby achieving the purpose of determining that the second candidate supply area for appliances that meet the first quantity difference is to be provided is the target supply area, thereby achieving the technical effect of improving the accuracy of determining the supply area.

[0066] In this embodiment, the third target supply region information may be used to indicate that the first candidate supply region and the second candidate supply region to be supplied with appliances satisfying the first quantity difference are target supply regions.

[0067] In this embodiment, after obtaining the first inventory quantity of the appliances stored in the first candidate supply area and the second inventory quantity of the appliances stored in the second candidate supply area, in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, the third target supply area information is determined from the candidate supply area information. Optionally, based on the acquisition of the first inventory quantity and the second inventory quantity, the embodiment compares the acquired first inventory quantity and the acquired second inventory quantity with the first quantity difference, respectively, to obtain a second comparison result and a third comparison result. If the second comparison result indicates that the first inventory quantity is less than the first quantity difference, and the third comparison result indicates that the second inventory quantity is less than the first quantity difference, then the third target supply area information is determined from the candidate supply area information, thereby achieving the purpose of determining the first candidate supply area and the second candidate supply area for appliances to be provided that meet the first quantity difference as target supply areas, thereby achieving the technical effect of improving the accuracy of determining the supply area.

[0068] The following further describes the step of determining the third target supply region information from the candidate supply region information in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference.

[0069] As an optional embodiment, in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, determining the third target supply area information from the candidate supply area information, including: in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, and the first inventory quantity being greater than or equal to the second inventory quantity, determining the second quantity difference between the first quantity difference and the first inventory quantity; in response to the second inventory quantity being greater than or equal to the second quantity difference, determining the third target supply area information from the candidate supply area information.

[0070] In this embodiment, the first candidate supply region may be used to provide appliances that meet the first inventory quantity, and the second candidate supply region may be used to provide appliances that meet the second quantity difference.

[0071] In this embodiment, after obtaining a first inventory quantity of appliances stored in a first candidate supply region and a second inventory quantity of appliances stored in a second candidate supply region, in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference and the first inventory quantity being greater than or equal to the second inventory quantity, a second quantity difference between the first quantity difference and the first inventory quantity is determined. Optionally, based on obtaining the first inventory quantity and the second inventory quantity, this embodiment compares the obtained first inventory quantity and the obtained second inventory quantity with the first quantity difference, respectively, to obtain a second comparison result and a third comparison result, and compares the obtained first inventory quantity with the obtained second inventory quantity to obtain a fourth comparison result. If the second comparison result indicates that the first inventory quantity is less than the first quantity difference, the third comparison result indicates that the second inventory quantity is less than the first quantity difference, and the fourth comparison result indicates that the first inventory quantity is greater than or equal to the second inventory quantity, a difference calculation is performed between the first quantity difference and the first inventory quantity to obtain a second quantity difference between the first quantity difference and the first inventory quantity.

[0072] In this embodiment, after determining the second quantity difference between the first quantity difference and the first inventory quantity in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, and the first inventory quantity being greater than or equal to the second inventory quantity, the third target supply area information is determined from the candidate supply area information in response to the second inventory quantity being greater than or equal to the second quantity difference. Optionally, this embodiment compares the second inventory quantity with the second quantity difference based on the determination of the second quantity difference between the first quantity difference and the first inventory quantity, and can obtain a fifth comparison result, wherein the fifth comparison result can be used to represent the relationship between the second inventory quantity and the second quantity difference. If the fifth comparison result indicates that the second inventory quantity is greater than or equal to the second quantity difference, the third target supply area information can be determined from the candidate supply area information, thereby achieving the purpose of determining that the first candidate supply area is used for appliances to be provided that meet the first inventory quantity, and that the second candidate supply area is used for appliances to be provided that meet the second quantity difference, thereby achieving the technical effect of improving the accuracy of determining the supply area.

[0073] Alternatively, if the fifth comparison result indicates that the second inventory quantity is less than the second quantity difference, a second candidate supply region is selected to provide appliances with the second inventory quantity, and other candidate supply regions among the candidate supply regions are selected to provide appliances that meet a fourth quantity difference between the second quantity difference and the second inventory quantity. That is, the third target supply region information is determined as follows: the first candidate supply region to provide appliances that meet the first inventory quantity, the second candidate supply region to provide appliances that meet the second inventory quantity, and the other candidate supply regions to provide appliances that meet the fourth quantity difference as target supply regions.

[0074] The following further describes the step of determining the third target supply region information from the candidate supply region information in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference.

[0075] As an optional embodiment, in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, determining the third target supply area information from the candidate supply area information, including: in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, and the first inventory quantity being less than the second inventory quantity, determining the third quantity difference between the first quantity difference and the second inventory quantity; in response to the first inventory quantity being greater than or equal to the third quantity difference, determining the third target supply area information from the candidate supply area information.

[0076] In this embodiment, the first candidate supply region may be used to provide appliances that meet the third quantity difference, and the second candidate supply region may be used to provide appliances that meet the second inventory quantity.

[0077] In this embodiment, after obtaining a first inventory quantity of appliances stored in a first candidate supply region and a second inventory quantity of appliances stored in a second candidate supply region, in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, and the first inventory quantity being less than the second inventory quantity, a third quantity difference between the first quantity difference and the second inventory quantity is determined. Optionally, based on obtaining the first inventory quantity and the second inventory quantity, this embodiment compares the obtained first inventory quantity and the obtained second inventory quantity with the first quantity difference, respectively, to obtain a second comparison result and a third comparison result, and compares the obtained first inventory quantity with the obtained second inventory quantity to obtain a fourth comparison result. If the second comparison result indicates that the first inventory quantity is less than the first quantity difference, the third comparison result indicates that the second inventory quantity is less than the first quantity difference, and the fourth comparison result indicates that the first inventory quantity is less than the second inventory quantity, a difference calculation is performed on the first quantity difference and the second inventory quantity to obtain a third quantity difference between the first quantity difference and the second inventory quantity.

[0078] In this embodiment, after determining the third quantity difference between the first quantity difference and the second inventory quantity in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, and the first inventory quantity being less than the second inventory quantity, the third target supply area information is determined from the candidate supply area information in response to the first inventory quantity being greater than or equal to the third quantity difference. Optionally, this embodiment compares the first inventory quantity with the third quantity difference on the basis of determining the second quantity difference between the first quantity difference and the first inventory quantity, and can obtain a sixth comparison result, wherein the sixth comparison result can be used to represent the relationship between the first inventory quantity and the third quantity difference. If the sixth comparison result indicates that the first inventory quantity is greater than or equal to the third quantity difference, the third target supply area information can be determined from the candidate supply area information, thereby achieving the purpose of determining that the first candidate supply area is used for the appliances to be provided that meet the third quantity difference, and that the second candidate supply area is used for the appliances to be provided that meet the second inventory quantity, thereby achieving the technical effect of improving the accuracy of determining the supply area.

[0079] Alternatively, if the sixth comparison result indicates that the first inventory quantity is less than the third quantity difference, a first candidate supply region is selected to provide appliances meeting the first inventory quantity, and other candidate supply regions among the candidate supply regions are selected to provide appliances meeting a fifth quantity difference between the third quantity difference and the first inventory quantity. That is, the third target supply region information is determined as follows: the first candidate supply region to provide appliances meeting the first inventory quantity, the second candidate supply region to provide appliances meeting the second inventory quantity, and the other candidate supply regions to provide appliances meeting the fifth quantity difference.

[0080] In an embodiment of the present invention, when allocating equipment, in response to a first current quantity of equipment stored in an assembly area not meeting the required quantity of equipment in the assembly area, an allocation instruction for the equipment may be generated. In response to the generated allocation instruction, a second current quantity of equipment stored in a distribution area may be obtained. In response to the obtained second current quantity not meeting the required quantity, target supply area information may be determined from candidate supply area information, and based on the determined target supply area information, full-load information may be determined, and the allocation result of the equipment may be determined. This achieves the purpose of tracking the allocation process of the equipment, thereby resolving the technical problem of low equipment allocation efficiency and achieving the technical effect of improving the low efficiency of equipment allocation.

[0081] The technical solutions of the embodiments of the present invention are described below with reference to preferred implementation methods.

[0082] Equipment allocation plans are often directly related to inventory levels at distribution centers. However, existing technologies require manual emergency replenishment of inventory if the current inventory level at a distribution center cannot meet the required number of equipment. This approach makes it difficult to track the equipment allocation process, resulting in low equipment allocation efficiency.

[0083] In order to solve the above technical problems, an embodiment of the present invention proposes a method for allocating appliances. When allocating appliances, in response to the generated allocation instruction for the appliances, the second current quantity of the appliances stored in the distribution area can be obtained. In response to the obtained second current quantity not meeting the required quantity, the target supply area information can be determined from the candidate supply area information, and based on the determined target supply area information, the full load information can be determined, and the allocation result of the appliance can be determined, thereby achieving the purpose of tracking the allocation process of the appliances, thereby solving the technical problem of low allocation efficiency of the appliances, and further achieving the technical effect of improving the low allocation efficiency of the appliances.

[0084] In this embodiment, by executing the appliance circulation allocation method, full-load information can be determined based on the determined target supply area information, and the allocation result of the appliance can be determined. For example, Figure 2 is a flow chart of a method for circulating allocation of appliances according to an embodiment of the present invention. Figure 2 As shown, the method may include the following steps:

[0085] Step S201: The appliance allocation system obtains a second current quantity of appliances stored in a distribution center in response to an allocation instruction.

[0086] In the technical solution provided in step S201 of the present invention, the factory management system initiates an allocation task to the equipment allocation system. Based on the received allocation task, the equipment allocation system generates an allocation instruction. The allocation task can be used to indicate that the current quantity of equipment stored in the assembly area does not meet the required quantity of equipment in the assembly area. The generated allocation instruction is then sent to the management system that controls and manages the distribution area or the management system that manages the candidate supply areas. This generates a notification message to notify the dispatch driver of the vehicle that is loading the equipment. The notification message instructs the vehicle to proceed to the target supply area to pick up the equipment and return the empty equipment.

[0087] After the appliance allocation system responds to the allocation instruction and obtains the second current quantity of the appliances stored in the distribution center, step S202 is entered. The appliance allocation system responds to the second current quantity not meeting the required quantity and determines the target supply area information from the candidate supply area information.

[0088] After the equipment allocation system determines the target supply area information from the candidate supply area information in response to the second current quantity not meeting the required quantity, it enters step S203, and the equipment allocation system monitors the vehicle's location information and loading information, as well as the inventory quantity of the equipment stored in the candidate supply area.

[0089] In the technical solution provided in step S203 of the present invention, the position information can be used to indicate the location to which the vehicle has traveled. The loading information can be used to indicate the loading status of the vehicle with respect to the equipment.

[0090] After monitoring the vehicle's location information and loading information, as well as the inventory quantity of equipment stored in the candidate supply area, step S204 is entered, and the equipment allocation system determines the full load information and equipment allocation results based on the vehicle's location information, loading information and inventory quantity.

[0091] In the technical solution provided in the above step S204 of the present invention, if the acquired position information indicates that the vehicle has traveled to the distribution area, the loading information indicates that the vehicle is fully loaded with appliances, and the inventory quantity of appliances stored in the candidate supply area at the current moment is reduced by the number of appliances fully loaded by the vehicle, then the fully loaded information indicates that the location to which the vehicle has traveled that is fully loaded with appliances in the target supply area is the distribution area, and the allocation result indicates that the required number of appliances has not been allocated to the assembly area; if the acquired position information indicates that the vehicle has traveled to the assembly area, the loading information indicates that the vehicle has unloaded the required number of appliances, and the inventory quantity of appliances stored in the candidate supply area at the current moment is reduced by the number of appliances fully loaded by the vehicle, then the fully loaded information indicates that the location to which the vehicle has traveled that is fully loaded with appliances in the target supply area is the assembly area, and the allocation result indicates that the required number of appliances has been allocated to the assembly area. This is only an example and is not specifically limited.

[0092] After determining the full-load information and the allocation result of the equipment, step S205 is entered. The equipment allocation system responds to the equipment allocation result to indicate that the required number of equipment has been allocated to the assembly area, updates the first current quantity of the equipment stored in the assembly area, and verifies whether the updated first current quantity meets the required quantity.

[0093] In the technical solution provided in the above step S205 of the present invention, if it is verified that the updated first current quantity is the same as the required quantity, the next round of equipment allocation process is started; if it is verified that the updated first current quantity is less than the required quantity, the missing information is reported, and the missing quantity corresponding to the missing information is used as the required quantity, and the above steps S201 to S205 are repeated, wherein the missing information is used to indicate the number of equipment missing in the assembly area.

[0094] Optionally, when checking whether the updated first current quantity meets the required quantity, it is also checked whether the model of the appliance allocated to the assembly area for storage meets the required model. If it is checked that the updated first current quantity is the same as the required quantity, and the model of the appliance allocated to the assembly area for storage meets the required model, the next round of appliance allocation process is started; if it is checked that the updated first current quantity is less than the required quantity, and the model of the appliance allocated to the assembly area for storage is the same as the required model, the missing information is reported, and the missing quantity corresponding to the missing information is used as the required quantity, and the above steps S201 to S205 are repeated; if it is checked that the updated first current quantity is the same as the required quantity, and there is a difference between the model of the appliance allocated to the assembly area for storage and the required model, the difference information is reported, and the number of appliances corresponding to the difference information is used as the required quantity, and the above steps S201 to S205 are repeated, wherein the difference information is used to indicate the model of the appliance different from the required model.

[0095] In this embodiment, after the equipment allocation system obtains the second current quantity of the equipment stored in the distribution center in response to the allocation instruction, the equipment allocation system determines the target supply area information from the candidate supply area information in response to the second current quantity not meeting the required quantity. Then, the equipment allocation system monitors the vehicle's location information and loading information, as well as the inventory quantity of the equipment stored in the candidate supply area, and determines the full load information and the equipment allocation result based on the vehicle's location information, loading information and inventory quantity. In response to the equipment allocation result indicating that the required quantity of equipment has been allocated to the assembly area, the first current quantity of the equipment stored in the assembly area is updated, and it is verified whether the updated first current quantity meets the required quantity. This achieves the purpose of tracking the equipment allocation process, thereby solving the technical problem of low equipment allocation efficiency, and further achieving the technical effect of improving the equipment allocation efficiency.

[0096] According to an embodiment of the present invention, a device for allocating appliances is also provided. It should be noted that the device for allocating appliances can be used to execute a method for allocating appliances in an embodiment.

[0097] Figure 3 FIG. 1 is a schematic diagram of a device for dispensing an appliance according to an embodiment of the present invention. Figure 3 As shown, the device 300 for allocating equipment may include: a generating unit 301 , an acquiring unit 302 , a first determining unit 303 and a second determining unit 304 .

[0098] The generating unit 301 is configured to generate an allocation instruction for the appliances in response to a first current quantity of appliances stored in the assembly area not meeting a required quantity of appliances in the assembly area.

[0099] The acquiring unit 302 is configured to acquire a second current quantity of appliances stored in the distribution area in response to the allocation instruction.

[0100] The first determining unit 303 is configured to determine target supply area information from the candidate supply area information in response to the second current quantity not meeting the required quantity, wherein the candidate supply area information is used to indicate the candidate supply area, and the target supply area information is used to indicate the target supply area for the appliance to be provided.

[0101] The second determining unit 304 is used to determine full load information and the allocation result of the equipment based on the target supply area information, wherein the full load information is used to indicate the location to which the vehicle that has been fully loaded with equipment at the target supply area has traveled, and the allocation result is used to indicate whether the required number of equipment has been allocated to the assembly area.

[0102] Optionally, the first determination unit 303 may include: a first determination module for determining a first quantity difference between the required quantity and the second current quantity in response to the second current quantity being less than the required quantity; and a second determination module for determining target supply area information from candidate supply area information based on the first quantity difference.

[0103] Optionally, the second determination module may include: a first determination submodule, used to determine the inventory quantity of appliances stored in the candidate supply area corresponding to the candidate supply area information; and a second determination submodule, used to determine the target supply area information from the candidate supply area information based on the inventory quantity and the first quantity difference.

[0104] Optionally, the second determination submodule can determine the target supply area information from the candidate supply area information based on the inventory quantity and the first quantity difference by performing the following steps: obtaining the first inventory quantity of the appliances stored in the first candidate supply area, and the second inventory quantity of the appliances stored in the second candidate supply area; determining the target supply area information from the candidate supply area information based on the first inventory quantity, the second inventory quantity and the first quantity difference.

[0105] Optionally, the second determination submodule can determine the target supply area information from the candidate supply area information based on the first inventory quantity, the second inventory quantity and the first quantity difference by executing the following steps: in response to the first inventory quantity being greater than or equal to the first quantity difference, and the second inventory quantity being less than the first quantity difference, determining the first target supply area information from the candidate supply area information, wherein the first target supply area information is used to indicate that the first candidate supply area where appliances meeting the first quantity difference are to be provided is the target supply area; in response to the first inventory quantity being less than the first quantity difference, and the second inventory quantity being greater than or equal to the first quantity difference, determining the second target supply area information from the candidate supply area information, wherein the second target supply area information is used to indicate that the second candidate supply area where appliances meeting the first quantity difference are to be provided is the target supply area; in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, determining the third target supply area information from the candidate supply area information, wherein the third target supply area information is used to indicate that the first candidate supply area and the second candidate supply area where appliances meeting the first quantity difference are to be provided are the target supply area.

[0106] Optionally, the second determination submodule can determine the third target supply area information from the candidate supply area information in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference by executing the following steps: in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, and the first inventory quantity being greater than or equal to the second inventory quantity, determining the second quantity difference between the first quantity difference and the first inventory quantity; in response to the second inventory quantity being greater than or equal to the second quantity difference, determining the third target supply area information from the candidate supply area information, wherein the first candidate supply area is used to provide appliances that meet the first inventory quantity, and the second candidate supply area is used to provide appliances that meet the second quantity difference.

[0107] Optionally, the second determination submodule can determine the third target supply area information from the candidate supply area information in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference by executing the following steps: in response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, and the first inventory quantity being less than the second inventory quantity, determining the third quantity difference between the first quantity difference and the second inventory quantity; in response to the first inventory quantity being greater than or equal to the third quantity difference, determining the third target supply area information from the candidate supply area information, wherein the first candidate supply area is used to provide appliances that meet the third quantity difference, and the second candidate supply area is used to provide appliances that meet the second inventory quantity.

[0108] In this embodiment, a generation unit is used to generate an allocation instruction for the equipment in response to a first current quantity of the equipment stored in the assembly area not meeting the required quantity of the equipment in the assembly area; an acquisition unit is used to acquire a second current quantity of the equipment stored in the distribution area in response to the allocation instruction; a first determination unit is used to determine the target supply area information from the candidate supply area information in response to the second current quantity not meeting the required quantity, wherein the candidate supply area information is used to represent the candidate supply area, and the target supply area information is used to represent the target supply area to which the equipment is to be provided; a second determination unit is used to determine the full load information based on the target supply area information, and determine the allocation result of the equipment, wherein the full load information is used to represent the location to which a vehicle that has been fully loaded with equipment at the target supply area has traveled, and the allocation result is used to indicate whether the required quantity of equipment has been allocated to the assembly area, thereby achieving the purpose of tracking the allocation process of the equipment, thereby solving the technical problem of low allocation efficiency of the equipment, and further achieving the technical effect of improving the low allocation efficiency of the equipment.

[0109] According to an embodiment of the present invention, a processor is further provided. The processor is configured to run a program. When the program is run by the processor, the method for allocating the device in the embodiment is executed.

[0110] According to an embodiment of the present invention, an electronic device is further provided. Figure 4 is a schematic diagram of an electronic device according to an embodiment of the present invention, such as Figure 4 As shown, the electronic device 400 may include a processor 410 and a memory 420, wherein the memory 420 is used to store computer programs; the processor 410 is used to run the programs stored in the memory 420 to implement the device allocation method of the present application.

[0111] In this application, a plurality refers to two or more.

[0112] In this application, unless otherwise expressly defined, the terms "mounted," "connected," and "connected" should be interpreted broadly. For example, they can refer to fixed, detachable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediary; and internal communication between two components. A person of ordinary skill in the art will understand the specific meanings of these terms in this application.

[0113] The terms "first," "second," "third," "fourth," etc. (if any) in this application are used to distinguish similar objects and are not necessarily used to describe a particular sequential order.

[0114] The term "and / or" in this application simply describes an association between related objects, indicating that three possible relationships exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this application generally indicates that the related objects are in an "or" relationship.

[0115] Unless otherwise specified, all steps of the present application may be performed sequentially or randomly. For example, the apparatus allocation method of the present application may include step S101 and step S102, which means that the apparatus allocation method of the present application may include steps S101 and S102 performed sequentially, or may include steps S102 and S101 performed sequentially.

[0116] For example, the device allocation method of the present application may further include step S103, indicating that step S103 can be added to the method in any order. For example, the vehicle wiring harness modeling method of the present application may include step S101, step S102 and step S103, or may include step S101, step S103 and step S102, or may include step S103, step S101 and step S102, etc. This is only an example and is not specifically limited.

[0117] For example, the allocation method of the device of the present application may further include step S104, indicating that step S104 can be added to the method in any order. For example, the detection method of the vehicle ventilation device of the present application may include step S101, step S102, step S103 and step S104, or may include step S101, step S103, step S102 and step S104, or may include step S104, step S103, step S101 and step S102, etc. This is only an example and is not specifically limited.

[0118] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device containing the computer-readable storage medium is controlled to execute the method for allocating appliances in the embodiment.

[0119] Computer-readable storage media may also be referred to as computer storage media. They may include data signals transmitted in baseband or as part of a carrier wave, carrying readable program code. Such transmitted data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable storage media may transmit, propagate, or transfer programs for use by or in conjunction with an instruction execution system, apparatus, or device.

[0120] The program code contained in the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, radio frequency, etc., or any suitable combination of the foregoing.

[0121] According to an embodiment of the present invention, a computer program product is further provided. The computer program product includes a computer program. When the computer program is executed by a processor, the method for allocating an appliance in the embodiment is implemented.

[0122] According to an embodiment of the present invention, a computer program product is also provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the method for allocating the device in the embodiment is implemented.

[0123] According to an embodiment of the present invention, a computer program is further provided. When the computer program is executed by a processor, the method for allocating the device in the embodiment is implemented.

[0124] Optionally, the computer program implements program code for the following steps when executed by a processor: in response to a first current quantity of appliances stored in an assembly area not meeting a required quantity of appliances in the assembly area, generating an allocation instruction for the appliances; in response to the allocation instruction, obtaining a second current quantity of appliances stored in a distribution area; in response to the second current quantity not meeting the required quantity, determining target supply area information from candidate supply area information, wherein the candidate supply area information is used to represent the candidate supply area, and the target supply area information is used to represent the target supply area for the appliances to be provided; based on the target supply area information, determining full load information and determining an allocation result of the appliances, wherein the full load information is used to represent the location to which a vehicle that has been fully loaded with appliances at the target supply area has traveled, and the allocation result is used to indicate whether the required quantity of appliances has been allocated to the assembly area.

[0125] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0126] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0127] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0128] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected to achieve the purpose of the present embodiment according to actual needs.

[0129] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0130] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the relevant technology, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, abbreviated as Read-Only Memory), random access memory (RAM, abbreviated as Random Access Memory), mobile hard disk, magnetic disk or optical disk, and other media that can store program code.

[0131] The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for allocating an appliance, characterized in that: include: generating a transfer instruction for the appliance in response to a first current quantity of the appliance stored in the assembly region not satisfying a required quantity of the appliance in the assembly region; In response to the allocation instruction, obtaining a second current quantity of the appliance stored in the distribution area; In response to the second current quantity not meeting the required quantity, determining target supply region information from candidate supply region information, wherein the candidate supply region information is used to indicate candidate supply regions, and the target supply region information is used to indicate a target supply region to which the appliance is to be provided; Based on the target supply area information, full load information is determined, and an allocation result of the equipment is determined, wherein the full load information is used to indicate the location to which a vehicle fully loaded with the equipment at the target supply area has traveled, and the allocation result is used to indicate whether the required number of equipment has been allocated to the assembly area.

2. The method according to claim 1, characterized in that In response to the second current quantity not meeting the required quantity, determining target supply region information from candidate supply region information includes: In response to the second current quantity being less than the desired quantity, determining a first quantity difference between the desired quantity and the second current quantity; The target supply region information is determined from the candidate supply region information based on the first quantity difference.

3. The method according to claim 2, characterized in that Determining the target supply region information from the candidate supply region information based on the first quantity difference includes: determining the inventory quantity of the appliance stored in the candidate supply region corresponding to the candidate supply region information; The target supply region information is determined from the candidate supply region information based on the inventory quantity and the first quantity difference.

4. The method according to claim 3, characterized in that The candidate supply regions include at least a first candidate supply region and a second candidate supply region, the first candidate supply region is of a different type from the second candidate supply region, wherein, based on the inventory quantity and the first quantity difference, determining the target supply region information from the candidate supply region information includes: obtaining a first inventory quantity of the appliance stored in the first candidate supply region and a second inventory quantity of the appliance stored in the second candidate supply region; The target supply region information is determined from the candidate supply region information based on the first inventory quantity, the second inventory quantity, and the first quantity difference.

5. The method according to claim 4, characterized in that Determining the target supply region information from the candidate supply region information based on the first inventory quantity, the second inventory quantity, and the first quantity difference includes: In response to the first inventory quantity being greater than or equal to the first quantity difference and the second inventory quantity being less than the first quantity difference, determining first target supply region information from the candidate supply region information, wherein the first target supply region information is used to indicate that the first candidate supply region to which the appliance meeting the first quantity difference is to be supplied is the target supply region; In response to the first inventory quantity being less than the first quantity difference and the second inventory quantity being greater than or equal to the first quantity difference, determining second target supply region information from the candidate supply region information, wherein the second target supply region information is used to indicate that the second candidate supply region to which the appliance meeting the first quantity difference is to be supplied is the target supply region; In response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, third target supply area information is determined from the candidate supply area information, wherein the third target supply area information is used to indicate that the first candidate supply area and the second candidate supply area where the appliance meeting the first quantity difference is to be provided are the target supply areas.

6. The method according to claim 5, characterized in that In response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, determining third target supply region information from the candidate supply region information includes: In response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, and the first inventory quantity being greater than or equal to the second inventory quantity, determining a second quantity difference between the first quantity difference and the first inventory quantity; In response to the second inventory quantity being greater than or equal to the second quantity difference, the third target supply area information is determined from the candidate supply area information, wherein the first candidate supply area is used to provide the appliance that meets the first inventory quantity, and the second candidate supply area is used to provide the appliance that meets the second quantity difference.

7. The method according to claim 5, characterized in that In response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, determining third target supply region information from the candidate supply region information includes: In response to the first inventory quantity and the second inventory quantity being less than the first quantity difference, and the first inventory quantity being less than the second inventory quantity, determining a third quantity difference between the first quantity difference and the second inventory quantity; In response to the first inventory quantity being greater than or equal to the third quantity difference, the third target supply area information is determined from the candidate supply area information, wherein the first candidate supply area is used to provide the appliance that meets the third quantity difference, and the second candidate supply area is used to provide the appliance that meets the second inventory quantity.

8. A device for transferring an appliance, characterized in that: The device comprises: a generating unit configured to generate an allocation instruction for the appliance in response to a first current quantity of the appliance stored in the assembly region not meeting a required quantity of the appliance in the assembly region; an acquiring unit, configured to acquire, in response to the allocation instruction, a second current quantity of the appliance stored in the distribution area; a first determining unit configured to determine, in response to the second current quantity not satisfying the required quantity, target supply region information from candidate supply region information, wherein the candidate supply region information is used to indicate candidate supply regions, and the target supply region information is used to indicate a target supply region where the appliance is to be provided; The second determining unit is used to determine full load information and an allocation result of the equipment based on the target supply area information, wherein the full load information is used to indicate the location to which a vehicle fully loaded with the equipment at the target supply area has traveled, and the allocation result is used to indicate whether the required number of equipment has been allocated to the assembly area.

9. A processor, characterized in that: The processor is configured to run a program, wherein the program, when run by the processor, executes the method for allocating the device according to any one of claims 1 to 7.

10. An electronic device, characterized in that: include: a memory storing an executable program; A processor, configured to run the program, wherein the program, when running, executes the method for allocating the appliance according to any one of claims 1 to 7.