Resource allocation method and apparatus, device and medium
By real-time detection of the capacity of transportation equipment and matching the remaining resources at the resource placement point, the problem of mismatch between the carrying capacity of resources and transportation equipment is solved, the resource processing efficiency is improved and capacity and cost waste is reduced.
Patent Information
- Application Number
- PCT/CN2024/113744
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-01
- Filing Date
- 2024-08-21
- Publication Date
- 2025-06-05
AI Technical Summary
During the resource processing process, the carrying capacity of resources and transportation equipment may not match, resulting in low resource processing efficiency and waste of capacity costs.
The real-time distance and image information of the transportation equipment are obtained through the detection device, the capacity of the transportation equipment is determined, and the remaining resource amount is obtained at the resource placement point, and the resources corresponding to the capacity are allocated in real time.
Complete resource allocation before transportation equipment reaches the resource placement point, improve resource processing efficiency, solve the problem of mismatch in carrying capacity, and reduce capacity and cost waste.
Smart Images

Figure CN2024113744_05062025_PF_FP_ABST
Abstract
Description
Resource allocation method, device, equipment and medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on the Chinese patent application with application number 202311643829.9 and application date December 1, 2023, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application in its entirety. Technical Field
[0003] The present disclosure belongs to the field of resource processing technology, and in particular relates to a resource allocation method, apparatus, device, and medium. Background Art
[0004] During resource processing, batches of resources are first stored at a resource placement point and then transported by transport equipment from various organizations or individuals. Typically, resources are loaded directly onto transport equipment upon arrival at the resource placement point. Without resource allocation, this can lead to a mismatch between the resources and the transport equipment's carrying capacity, resulting in low resource processing efficiency.
[0005] Summary of the Invention
[0006] The embodiments of the present disclosure provide a resource allocation method, apparatus, device, and medium, which solve the problem of possible mismatch between resources and the carrying capacity of transportation equipment.
[0007] In a first aspect, an embodiment of the present disclosure provides a resource allocation method, including:
[0008] When a detection device detects a transport device, obtaining a real-time distance between the detection device and the transport device and image information of the transport device corresponding to the real-time distance, wherein the detection device is located at a target position at a preset distance from a resource placement point;
[0009] determining the capacity of the transport equipment according to the real-time distance, the preset distance, and the image information;
[0010] Obtain the remaining amount of resources at the resource placement point;
[0011] When the remaining resource amount is greater than or equal to the capacity, resources corresponding to the capacity are allocated to the transportation equipment.
[0012] In a second aspect, an embodiment of the present disclosure provides a resource allocation device, the device comprising:
[0013] a first acquisition module configured to acquire, when a detection device detects a transport device, a real-time distance between the detection device and the transport device and image information of the transport device corresponding to the real-time distance, wherein the detection device is disposed at a target position at a preset distance from a resource placement point;
[0014] a determination module, configured to determine the capacity of the transport equipment based on the real-time distance, the preset distance, and the image information;
[0015] A second acquisition module is used to obtain the remaining resource amount of the resource placement point;
[0016] The allocation module is configured to allocate resources corresponding to the capacity to the transportation equipment when the remaining resource amount is greater than or equal to the capacity.
[0017] In a third aspect, an embodiment of the present disclosure provides an electronic device comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the steps of the resource allocation method as described in any one of the embodiments of the first aspect are implemented.
[0018] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the steps of the resource allocation method as described in any one of the embodiments of the first aspect are implemented.
[0019] The resource allocation method, apparatus, equipment and medium of the embodiments of the present disclosure, when there is a certain distance between the transportation equipment and the resource placement point, obtains image information of the transportation equipment through a detection device to determine the capacity of the transportation equipment based on the image information, and then allocates resources corresponding to the capacity to the transportation equipment by comparing the capacity with the remaining resources at the resource placement point, thereby completing the allocation of resources before the transportation equipment arrives at the resource placement point, improving the resource processing efficiency, and solving the problem of possible mismatch between resources and the carrying capacity of the transportation equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0021] FIG1 is a schematic diagram of a flow chart of a resource allocation method provided by an embodiment of the present disclosure;
[0022] FIG2 is a schematic structural diagram of a resource allocation device provided by an embodiment of the present disclosure;
[0023] FIG3 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purposes, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present disclosure, rather than to limit the present disclosure. For those skilled in the art, the present disclosure can be implemented without the need for some of these specific details. The following description of the embodiments is merely to provide a better understanding of the present disclosure by illustrating examples of the present disclosure.
[0025] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, the elements defined by the phrase "comprising..." do not exclude the presence of other identical elements in the process, method, article, or device comprising the elements.
[0026] It should be noted that the acquisition, storage, use and processing of data in the embodiments of the present disclosure are in compliance with the relevant provisions of national laws and regulations.
[0027] During resource processing, batches of resources are first stored at a resource placement point and then transported by transportation equipment from various organizations or individuals. Typically, resources are loaded directly onto transport equipment upon arrival at the resource placement point. Because resources are not allocated, there may be a mismatch between the resources and the transport equipment's carrying capacity.
[0028] For example, all resources may be loaded but there is still redundant space in the transportation equipment, or the space in the transportation equipment cannot accommodate all current resources, resulting in low resource processing efficiency and waste of transportation capacity and costs.
[0029] In order to solve the problems of related technologies, embodiments of the present disclosure provide a resource allocation method, apparatus, device, and medium.
[0030] The resource allocation method provided by the embodiment of the present disclosure is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.
[0031] FIG1 shows a schematic flow chart of a resource allocation method 100 according to an embodiment of the present disclosure. As shown in FIG1 , the resource allocation method 100 may specifically include the following steps:
[0032] S101: When a detection device detects a transport device, obtaining a real-time distance between the detection device and the transport device and image information of the transport device corresponding to the real-time distance, wherein the detection device is located at a target position at a preset distance from a resource placement point;
[0033] S102: Determine the capacity of the transport equipment based on the real-time distance, the preset distance, and the image information;
[0034] S103, obtaining the remaining amount of resources at the resource placement point;
[0035] S104: When the remaining resource amount is greater than or equal to the capacity, allocate resources corresponding to the capacity to the transportation equipment.
[0036] Therefore, when there is a certain distance between the transportation equipment and the resource placement point, the image information of the transportation equipment is obtained through the detection device to determine the capacity of the transportation equipment based on the image information, and then by comparing the capacity with the remaining resources at the resource placement point, the resources corresponding to the capacity are allocated to the transportation equipment, so as to complete the allocation of resources before the transportation equipment arrives at the resource placement point, improve the resource processing efficiency, and solve the problem of possible mismatch between resources and the carrying capacity of the transportation equipment.
[0037] The specific implementation methods of the above steps are introduced below.
[0038] In some embodiments, in step S101, since the detection device is set at a target position with a preset distance from the resource placement point, when the detection device initially detects the transportation equipment, the distance between the transportation equipment and the resource placement point is equal to the preset distance; as the transportation equipment moves and does not deviate from the detection range of the detection device, the distance between the transportation equipment and the resource placement point continues to change with the real-time distance between the detection device and the transportation equipment, and the real-time image information of the transportation equipment collected by the detection device also corresponds to the real-time distance.
[0039] In some embodiments, the detection device is an infrared sensor, and the image information collected is an infrared thermal image. Alternatively, the detection device may be a laser sensor. Specifically, in the case of an infrared sensor, the thermal imaging module of the detection device detects ambient infrared energy and converts it into electrical energy for thermal imaging, thereby obtaining image information of the transport equipment. Furthermore, while the thermal imaging module is scanning the transport equipment, the infrared ranging unit performs real-time infrared ranging of the transport equipment, thereby monitoring the distance between the transport equipment and the resource placement point.
[0040] In some embodiments, in step S102, standard cell parameters are determined based on the preset distance; the image information is divided into multiple cells based on the standard cell parameters; correction parameters of the cells are determined based on the preset distance, real-time distance and standard cell parameters; the boundary distance of the image information is determined based on the correction parameters, and the boundary distance is determined as the geometric parameter information of the transportation equipment; and the capacity of the transportation equipment is determined based on the geometric parameter information.
[0041] During specific implementation, a reference coordinate system of the image information may be established, and the unit length of the reference coordinate system is determined by dividing the image information into cells.
[0042] In specific implementation, assuming that the standard unit side length of the plane coordinate cell when the transport equipment is at a preset distance L from the resource placement point is Q, and the corresponding infrared ranging distance value l when receiving the locked thermal imaging image, the correction parameter of the cell, that is, the actual side length q of the cell, can be determined according to the following formula:
[0043] In specific implementation, the coordinates of the horizontal extreme points in the thermal imaging contour of the locked screen are (x 左 ,y 左 )(x 右 ,y 右 ), and connect the marked points to fit the carriage fitting line of the transport equipment; then, by calculating the distance value of the lateral extreme point, the geometric parameter information of the transport equipment (i.e., the carriage length) can be determined. Then, the carriage length of the transport equipment can be determined according to the following formula:
[0044] Among them, x 左 ,y 左 , x 右 ,y 右 The coordinates of each marker point in the current coordinate cell are represented by the coordinates of the marker points. W represents the length of the transport vehicle's carriage. In other words, by multiplying the distance between the marker points in the plane coordinate cell by the actual side length of the cell, we can obtain the actual distance between the marker points, i.e., the length of the transport vehicle's carriage.
[0045] Furthermore, based on the geometric parameter information, the accommodation space parameters of the transportation equipment are determined; the product of the accommodation space parameters and a preset conversion coefficient is determined as the accommodation capacity of the transportation equipment, and the preset conversion coefficient is determined based on the total amount of required resources and the remaining resources.
[0046] That is, e = k·W; where k is a constant value, representing the coefficient for converting the transport equipment's storage capacity into the material allocation required to load it. Thus, by calculating the transverse extreme point distance, the transport equipment's carriage length is calculated. The storage capacity of the storage space is then further calculated, and the corresponding capacity is used as the resource allocation required to load the current transport equipment.
[0047] In this way, the problem that the transport equipment only displays the load but not the storage space, and some lighter materials such as quilts and masks can only be loaded on site, and it is not known whether further loading can be carried out until the storage space is full is solved. Therefore, before the transport equipment arrives at the resource placement point, resource allocation and planning can be carried out according to the calculated storage capacity of the transport equipment.
[0048] In some embodiments, in step S103, the remaining amount of resources at the resource placement point may be equal to the total amount of required resources, or may be greater or less than the capacity of the transport equipment. It is understood that different resource allocation strategies correspond to different remaining resource amounts. This addresses the problem in related technologies of being unable to adjust resource allocation in real time based on the actual capacity of the transport equipment, resulting in resource accumulation in some areas, resource shortages in others, and high costs associated with back-and-forth resource scheduling.
[0049] In some embodiments, in step S104, if the remaining amount of resources is greater than or equal to the capacity, a first scheduling prompt message instructing the transport device to be scheduled can be generated, and resources corresponding to the capacity can be allocated to the transport device. This allows the transport device to quickly load the corresponding resources when the transport device arrives at the resource placement point. This solves the problem of inefficient resource processing when the transport device arrives at the resource placement point and discovers that the transport device's capacity cannot accommodate all the current resources.
[0050] In another embodiment, if the remaining resources are less than the capacity, a second scheduling prompt is generated, causing the target object to schedule the corresponding resources to the resource placement point according to the second scheduling prompt; thus, the transport equipment is allocated resources corresponding to the capacity. This solves the problem of finding that the transport equipment has been fully loaded upon arrival at the resource placement point but still has redundant capacity, thus reducing the waste of transport resources.
[0051] In addition, in some embodiments, a resource placement point is provided with a plurality of transport channels, and each transport channel corresponds to a transport type one-to-one, so that resources corresponding to the capacity can be loaded onto the transport equipment through the transport channel.
[0052] In a specific implementation, the transport type of the transport equipment can be determined based on the image information of the transport equipment obtained; thus, resources corresponding to the capacity are passed through the transport channel that matches the transport type to be loaded onto the transport equipment. It can be understood that the resource type matches the transport type.
[0053] Among them, resource types may include food, daily necessities, and large equipment, and transportation types may include food transportation type, daily necessities transportation type, and large equipment transportation type.
[0054] In some embodiments, the remaining volume percentage value E of the resources at the resource placement point after the loading task is completed is calculated based on the transportation type, and compared with the capacity e value: when E>e, it is determined that the transportation equipment can be loaded, and the power type is output to the loading execution unit. The loading execution unit controls the resource placement point to divide the materials, and loads the corresponding volume under the condition of consuming a volume of e; when E≤e, it is determined that the material inventory at the resource placement point is insufficient to load enough transportation equipment, and the power type is output to the expedited material replenishment warning unit. The expedited material replenishment warning unit transmits it to the resource placement point operation terminal operation interface, prompting an expedited material replenishment operation for the resource placement point.
[0055] In addition, in some embodiments, when the detection device detects multiple transport equipment, a first number of transport equipment corresponding to each transport type among the multiple transport equipment is determined; and the transport type corresponding to the largest value of the first number is determined as the target type; then, the transport channel matching the target type among the multiple transport channels is determined as the target channel; and the target operating parameters of the target channel are determined based on the pre-set standard operating parameters and the first number.
[0056] Thus, the non-target channels among the multiple transport channels are controlled to operate under standard operating parameters, and the target channel is controlled to operate under target operating parameters.
[0057] In this way, by controlling and changing the operating parameters of multiple transport channels, the transport channel corresponding to the transport type can be accelerated to avoid channel congestion caused by a large number of resources of this type, thereby not affecting the efficiency of resource allocation and transport processing.
[0058] It should be noted that the above description is limited to some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in an order different from that described in the above embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0059] Based on the same technical concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure further provides a resource allocation device 200 .
[0060] As shown in FIG2 , the resource allocation apparatus 200 may include:
[0061] A first acquisition module 201 is configured to acquire, when a detection device detects a transport device, a real-time distance between the detection device and the transport device and image information of the transport device corresponding to the real-time distance, wherein the detection device is located at a target position at a preset distance from a resource placement point;
[0062] a determination module 202 for determining the capacity of the transport equipment based on the real-time distance, the preset distance, and the image information;
[0063] The second acquisition module 203 is used to obtain the remaining resource amount of the resource placement point;
[0064] The allocation module 204 is configured to allocate resources corresponding to the capacity to the transportation equipment when the remaining resource amount is greater than or equal to the capacity.
[0065] In some embodiments, the resource allocation device 200 also includes a scheduling module (not shown in Figure 2), which is used to generate scheduling information when the remaining resource amount is less than the capacity, so that the target object schedules the resources corresponding to the scheduling information to the resource placement point; and allocates resources corresponding to the capacity to the transportation equipment.
[0066] In some embodiments, the resource placement point is provided with a plurality of transport channels, and the transport channels correspond one to one with the transport types.
[0067] In some embodiments, the resource allocation device 200 also includes a loading module (not shown in Figure 2), which is used to determine the transportation type of the transportation equipment based on the image information; and pass the resources corresponding to the capacity through a transportation channel matching the transportation type to load the resources onto the transportation equipment, and the resource type matches the transportation type.
[0068] In some embodiments, the determination module 202 is specifically used to determine the standard cell parameters based on the preset distance; divide the image information into multiple cells based on the standard cell parameters; determine the correction parameters of the cells based on the preset distance, real-time distance and standard cell parameters; determine the boundary distance of the image information based on the correction parameters, and determine the boundary distance as the geometric parameter information of the transportation equipment; determine the capacity of the transportation equipment based on the geometric parameter information.
[0069] In some embodiments, the determination module 202 is further specifically used to determine the accommodation space parameters of the transportation equipment based on the geometric parameter information; and determine the product of the accommodation space parameters and a preset conversion coefficient as the accommodation capacity of the transportation equipment, and the preset conversion coefficient is determined based on the total amount of required resources and the remaining resources.
[0070] In some embodiments, the detection device is an infrared sensor, and the image information is an infrared thermal imaging image.
[0071] In another embodiment, the resource allocation device includes a material transport vehicle type storage module, a material allocation quantity analysis module and an execution judgment module. The material transport vehicle type storage module is used to store the type of material transport vehicle for loading at the material distribution point. The material allocation quantity analysis module is used to analyze the additional material allocation quantity caused by the entry of material transport vehicles during the material distribution point's loading task and make countermeasures. The execution judgment module is used to make a judgment on the actual execution steps of the material distribution point based on the prediction of the additional material allocation quantity caused by the entry of material transport vehicles. The material transport vehicle type storage module is network-connected to the execution judgment module, and the material allocation quantity analysis module is electrically connected to the execution judgment module.
[0072] The material transport vehicle type storage module includes a material transport vehicle type reading module and a route storage module. The material transport vehicle type reading module is used to read the current remaining amount of materials at the material distribution station, and the route storage module is used to store the loading routes executed by the uploaded material distribution points.
[0073] The material distribution quantity analysis module includes a thermal imaging module, a contour fitting module, an infrared ranging unit and a material distribution quantity calculation module. The thermal imaging module is electrically connected to the contour fitting module. The thermal imaging module is used to detect the surrounding infrared energy and convert it into electrical type for thermal imaging when loading at the material distribution point. The contour fitting module is used to perform contour fitting on the material transport vehicle according to the thermal imaging picture. The contour fitting module and the infrared ranging unit are both electrically connected to the material distribution quantity calculation module. The infrared ranging unit is used to perform infrared ranging on the material transport vehicle in real time when capturing the thermal imaging picture of the material transport vehicle. The material distribution quantity calculation module is used to analyze and predict the capacity volume required to load the currently entering material transport vehicle.
[0074] The execution judgment module includes a judgment module, an expedited material replenishment warning unit, and a loading execution unit. The judgment module is network-connected to the material transport vehicle type storage module, and the judgment module is electrically connected to the material allocation quantity calculation module. The judgment module is used to judge whether the material inventory at the material distribution point is sufficient based on the predicted material allocation quantity required to load the currently incoming material transport vehicle and the actual material allocation quantity of the loading route; the expedited material replenishment warning unit and the loading execution unit are electrically connected to the judgment module. The expedited material replenishment warning unit is used to transmit the expedited material replenishment warning type to the material distribution point control terminal when it is judged that the material inventory is insufficient to load the material transport vehicle; the loading execution unit is used to execute loading measures when it is judged that the material inventory is sufficient to load the material transport vehicle.
[0075] The resource allocation device further includes a supply chain screening module, a supply chain forming module, and a time maintenance module. The supply chain screening module is electrically connected to the supply chain forming module, and the supply chain forming module is electrically connected to the time maintenance module.
[0076] The supply chain screening module is used for inputting and transmitting material transport vehicle types, the supply chain formation module is used for forming a large number of supply chain types with the same type, and the time maintenance module is used for recording supply chain formation to determine the supply chain dismantling time.
[0077] The supply chain screening module includes a material transport vehicle type input module, a material transport vehicle type allocation module, a unit formation module, a unit connection module and a material transport vehicle type output module. The material transport vehicle type input module is electrically connected to the material transport vehicle type allocation module, the material transport vehicle type allocation module is electrically connected to the unit formation module, the unit formation module is electrically connected to the unit connection module, the unit connection module is electrically connected to the material transport vehicle type output module, and the material transport vehicle type output module is electrically connected to the database.
[0078] The material transport vehicle type input module is used to input the type of distribution materials that the material transport vehicle is suitable for, the material transport vehicle type allocation module is used to allocate type tags, the unit formation module is used to form units of distribution material types that are suitable for the material transport vehicle, the unit connection module is used to connect units of distribution material types that are suitable for the material transport vehicle, and the material transport vehicle type output module is used to output the type of distribution material type units that are suitable for the material transport vehicle.
[0079] In this way, the material transport vehicle type data delivered by the material distribution type module suitable for the material transport vehicle is entered by the material transport vehicle type entry module, and the type tag is assigned a value, which can be assigned to food transport vehicle type, daily necessities transport vehicle type and large equipment transport vehicle type. At this time, there are three type channels, and different types of material transport vehicle types enter different type channels respectively.
[0080] Each two opposite sides of the distribution material type unit suitable for the material transport vehicle are set to the same material transport vehicle type. When the distribution material type unit suitable for the material transport vehicle is assigned three different types, it is activated. The distribution material type unit suitable for the material transport vehicle can pass through the three types. After forming several distribution material type units suitable for the material transport vehicle, the type passes randomly in the distribution material type units suitable for each material transport vehicle. This passing method takes a long time. When two material transport vehicles of the same type pass through the distribution material type units suitable for two adjacent material transport vehicles, the type mark level increases, and the types on the two connected sides are enhanced. At this time, the type passes through the distribution material type unit suitable for the material transport vehicle more quickly. The passed materials will be in a waiting state, and the materials that have not passed will remain at the distribution end and cannot be distributed before.
[0081] Among them, the working process of the supply chain formation module is that after several material transport vehicles are formed with the distribution material type units suitable for them, when the material transport vehicles with the same attributes are activated at the same time, the type mark level is very high and they are connected to each other, the type is enhanced, and a supply chain with obvious type is gradually formed, allowing the attribute type to pass.
[0082] By using the appropriate distribution material type unit to transmit material transport vehicle type data, multiple types of vehicles can pass through simultaneously, regardless of channel width restrictions, thus enabling traffic data sharing. This solves the problem of centralized material collection at material distribution ports, where each port can only accept a specific type of vehicle due to channel width limitations. Multiple types of vehicles must pass through in sequence, and when a certain material transport vehicle passes simultaneously on the road, it is only suitable for a single type of material. However, all materials at the distribution end still pass through in sequence, resulting in congestion and low efficiency.
[0083] In this way, by entering the distribution material type that is suitable for the material transport vehicle, when the distribution material type unit that is suitable for the material transport vehicle is assigned at least three different types, it is activated. The distribution material type unit that is suitable for the material transport vehicle can pass through at least three types to form several distribution material type units that are suitable for the material transport vehicle. After that, the type passes randomly through the distribution material type unit that is suitable for each material transport vehicle, thereby adjusting the speed of the materials input into the supply chain according to the type of materials that the transport vehicle is suitable for transporting, so that the materials are more matched with the suitable transport vehicle.
[0084] It should be noted that, for the convenience of description, the above devices are described as being divided into various modules according to their functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0085] The apparatus of the above embodiment is used to implement the corresponding resource allocation method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0086] Based on the same technical concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides an electronic device.
[0087] FIG3 shows a more specific schematic diagram of the hardware structure of an electronic device provided by this embodiment.
[0088] The electronic device 300 may include a processor 301 and a memory 302 storing computer program instructions.
[0089] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present disclosure.
[0090] The memory 302 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 302 may include removable or non-removable (or fixed) media. Where appropriate, the memory 302 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 302 is a non-volatile solid-state memory.
[0091] In certain embodiments, the memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical / tangible memory storage devices. Thus, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0092] The processor 301 implements any one of the resource allocation methods in the above embodiments by reading and executing computer program instructions stored in the memory 302 .
[0093] In some examples, the electronic device 300 may further include a communication interface 303 and a bus 310. As shown in FIG3, the processor 301, the memory 302, and the communication interface 303 are connected via the bus 310 and communicate with each other.
[0094] The communication interface 303 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0095] Bus 310 includes hardware, software or both, and the components of online data flow metering equipment are coupled to each other. For example, but not limitation, bus 310 may include accelerated graphics port (AGP) or other graphics bus, enhanced industry standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industry standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnect (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 310 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present disclosure considers any suitable bus or interconnection.
[0096] Illustratively, the electronic device 300 may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA).
[0097] Based on the same technical concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides a non-transitory computer-readable storage medium. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any of the resource allocation methods in the above-mentioned embodiments is implemented. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as portable disks, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, and the like.
[0098] Based on the same technical concept, corresponding to any of the above-described embodiments and methods, this application also provides a computer program product comprising computer program instructions. In some embodiments, the computer program instructions can be executed by one or more processors of a computer to cause the computer and / or the processor to perform the resource allocation method. For the execution entities corresponding to the steps in each embodiment of the resource allocation method, the processors executing the corresponding steps can belong to the corresponding execution entities.
[0099] It should be understood that the present application is not limited to the specific configurations and processes described above and illustrated in the figures. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and illustrated as examples. However, the method process of the present application is not limited to the specific steps described and illustrated. Those skilled in the art can make various changes, modifications, and additions, or change the order of the steps after understanding the spirit of the present application.
[0100] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0101] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps. In other words, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0102] Aspects of the present application have been described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed via the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. This processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit. It is also understood that each box in the block diagram and / or the flowchart and the combination of the boxes in the block diagram and / or the flowchart can also be implemented by the dedicated hardware that performs the specified function or action, or can be implemented by the combination of dedicated hardware and computer instructions.
[0103] The above description is only a specific embodiment of the present application. Those skilled in the art will clearly understand that for the convenience and brevity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the scope of protection of the present application.
Claims
1. A resource allocation method, comprising: When the detection device detects the transport equipment, acquiring the real-time distance between the detection device and the transport equipment and the image information of the transport equipment corresponding to the real-time distance, wherein the detection device is arranged at a target position with a preset distance from the resource placement point; Determining the capacity of the transport equipment according to the real-time distance, the preset distance and the image information; Obtain the remaining amount of resources at the resource placement point; When the remaining resource amount is greater than or equal to the capacity, resources corresponding to the capacity are allocated to the transportation equipment.
2. The method according to claim 1, wherein: After obtaining the remaining resource amount of the resource placement point, the method further includes: In the case where the remaining resource amount is less than the capacity, generating scheduling information so that the target object schedules the resources corresponding to the scheduling information to the resource placement point; Resources corresponding to the capacity are allocated to the transportation equipment.
3. The method according to claim 1 or 2, wherein: After allocating resources corresponding to the capacity to the transport equipment, the method further includes: Resources corresponding to the carrying capacity are loaded on the transport equipment.
4. The method according to claim 3, wherein: The resource placement point is provided with a plurality of transport channels, and the transport channels correspond one to one with the transport types; The step of loading resources corresponding to the carrying capacity onto the transport equipment includes: determining the transport type of the transport equipment according to the image information; The resources corresponding to the holding capacity are passed through a transportation channel that matches the transportation type, so that the resources are loaded onto the transportation equipment, and the resource type matches the transportation type.
5. The method according to claim 1, wherein: The determining the capacity of the transport equipment according to the real-time distance, the preset distance and the image information includes: Determining standard cell parameters according to the preset distance; Dividing the image information into a plurality of cells according to the standard cell parameters; Determining correction parameters of the cell according to the preset distance, the real-time distance and the standard cell parameters; Determine the boundary distance of the image information according to the correction parameter, and determine the boundary distance as the geometric parameter information of the transportation equipment; The capacity of the transport equipment is determined based on the geometric parameter information.
6. The method according to claim 5, wherein: Determining the capacity of the transport equipment according to the geometric parameter information includes: Determining the accommodation space parameters of the transportation equipment according to the geometric parameter information; The product of the accommodation space parameter and a preset conversion coefficient is determined as the accommodation capacity of the transportation equipment, and the preset conversion coefficient is determined according to the total amount of required resources and the remaining amount of resources.
7. The method according to claim 1, wherein: The detection device is an infrared sensor, and the image information is an infrared thermal imaging image.
8. A resource allocation device, comprising: A first acquisition module is used to acquire the real-time distance between the detection device and the transportation equipment and the image information of the transportation equipment corresponding to the real-time distance when the detection device detects the transportation equipment, and the detection device is set at a target position with a preset distance from the resource placement point; A determination module, used to determine the capacity of the transport equipment according to the real-time distance, the preset distance and the image information; A second acquisition module is used to acquire the remaining resource amount of the resource placement point; The allocation module is used to allocate resources corresponding to the capacity to the transportation equipment when the remaining resource amount is greater than or equal to the capacity.
9. An electronic device, comprising: a processor and a memory storing computer program instructions; When the processor calls the computer program instructions, the resource allocation method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, wherein computer program instructions are stored on the computer-readable storage medium, and when the computer program instructions are called by a processor, the resource allocation method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
System and method for measuring boxcar volume
CN101900527A
Truck volumetric measurement method based on laser triangulation
CN101982727A
Method for acquiring traffic axle load information by recognizing vehicle dimension information by video
CN109141595A
Freight truck boxcar spare capacity intelligent detection method and system
CN110044258A
Image recognition method and device, storage medium and system
CN110348389A