Oil and gas pipeline construction task allocation method and device, storage medium and program product

Through task allocation model and genetic algorithm, the task allocation of oil and gas pipeline construction is optimized, and the problems of irrationality and slow speed caused by manual allocation are solved, and fast and reasonable task allocation and emergency response are achieved.

CN120494711APending Publication Date: 2025-08-15PIPECHINA SOUTH CHINA CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510427577.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-07
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

In the prior art, the assignment of oil and gas pipeline construction tasks depends on the manual experience and subjective judgment of construction managers, resulting in unreasonable task allocation and slower speed.

Method used

The task allocation model is used to base the task information of the construction task and the vehicle status information of the equipment vehicle, and the corresponding target equipment vehicle is assigned to each construction task, and the task allocation decision is made using the genetic algorithm model to reduce the dependence on manual experience.

Benefits of technology

It improves the rationality and speed of task allocation, can quickly respond to changes in construction tasks or emergency situations, and reduces construction risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120494711A_ABST
    Figure CN120494711A_ABST
Patent Text Reader

Abstract

The invention discloses an oil and gas pipeline construction task allocation method and device, a storage medium and a program product, relates to the technical field of oil and gas pipeline construction, and aims to solve the problem of low speed of manual allocation of oil and gas pipeline construction tasks at present, the method comprises the following steps: obtaining respective task information of a plurality of construction tasks of an oil and gas pipeline; obtaining respective vehicle state information of a plurality of equipment vehicles in an idle state; determining candidate equipment vehicles corresponding to each construction task from a plurality of equipment vehicles based on vehicle types required by the construction tasks in the task information; determining a target equipment vehicle corresponding to each construction task based on the task information of the plurality of construction tasks, the vehicle state information of the candidate equipment vehicles corresponding to the plurality of construction tasks, and a task distribution model; the target equipment vehicle is used for executing the corresponding construction task; and pushing task information of the corresponding construction task to the target equipment vehicle corresponding to each construction task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of oil and gas pipeline technology, specifically to the field of oil and gas pipeline construction technology, and more particularly to a method, device, storage medium and program product for allocating oil and gas pipeline construction tasks. Background Art

[0002] With the continuous growth of global energy demand, oil and gas pipeline construction occupies a vital position in the field of energy transportation.

[0003] Oil and gas pipeline construction typically takes place outdoors, involving complex terrain and a wide variety of natural environments. This construction relies on a variety of vehicles, each suited to specific tasks. For example, preliminary preparation tasks require bulldozers to clear the work zone and level the site, while scrapers are used to transfer earth and ensure a level surface. Pipeline transportation and laying tasks require excavators to dig trenches and remove obstacles, while pipeline transport vehicles are used to transport the oil and gas pipelines, and pipelayers are used to precisely lift the pipelines into the trenches. Welding and inspection tasks require internal welding machines, with automated ultrasonic testing (AUT) vehicles used to monitor weld quality in real time. Backfilling tasks require backfilling machines to backfill the trenches, and rollers to compact the backfill soil in layers.

[0004] Currently, the task allocation scheme for allocating oil and gas pipeline construction tasks to equipment vehicles mainly relies on manual allocation by construction management personnel. Such a task allocation scheme relies on the manual experience and subjective judgment of construction management personnel, which easily leads to unreasonable task allocation and slow task allocation. Summary of the Invention

[0005] The present application provides a method, device, storage medium and program product for allocating oil and gas pipeline construction tasks, which can improve the allocation speed of oil and gas pipeline construction tasks.

[0006] In the first aspect, the present application provides a method for allocating tasks for oil and gas pipeline construction, which is applied to a task allocation device; the task allocation device is communicatively connected to equipment vehicles for multiple oil and gas pipeline construction; the method includes: obtaining task information of each of multiple construction tasks of the oil and gas pipeline; the task information includes: the task location of the construction task, the type of vehicle required for the construction task, and the working time of the construction task; obtaining vehicle status information of each of multiple equipment vehicles in an idle state; the vehicle status information includes: the current position of the vehicle, the remaining status of the vehicle's driving energy, and the vehicle type; based on the vehicle type required for the construction task in the task information, determining the candidate equipment vehicle corresponding to each construction task from multiple equipment vehicles; based on the task information of each of the multiple construction tasks, the vehicle status information of the candidate equipment vehicles corresponding to each of the multiple construction tasks, and the task allocation model, determining the target equipment vehicle corresponding to each construction task; the target equipment vehicle is used to perform the corresponding construction task; the task allocation model is used to allocate construction tasks based on the task information and vehicle status information; and pushing the task information of the corresponding construction task to the target equipment vehicle corresponding to each construction task.

[0007] The oil and gas pipeline construction task allocation method provided by the present application can obtain the task information of each of the multiple construction tasks of the oil and gas pipeline, and obtain the vehicle status information of each of the multiple equipment vehicles in the idle state. Based on the vehicle type required for the construction task in the task information, the candidate equipment vehicle corresponding to each construction task is determined from the multiple equipment vehicles; based on the task information of each of the multiple construction tasks, the vehicle status information of the candidate equipment vehicles corresponding to each of the multiple construction tasks, and the task allocation model, the target equipment vehicle corresponding to each construction task is determined; the target equipment vehicle is used to perform the corresponding construction task; and the task information of the corresponding construction task is pushed to the target equipment vehicle corresponding to each construction task. Compared with the current solution of manually allocating construction tasks, this method no longer relies on the manual experience and subjective judgment of construction management personnel, and can improve the speed of task allocation.

[0008] Furthermore, when construction tasks change or emergencies arise, the oil and gas pipeline construction task allocation method provided by the present application can quickly make decisions and deploy vehicles to the corresponding task locations through a reliable communication system. This rapid response capability can significantly shorten emergency response time and reduce construction risks.

[0009] Optionally, the task allocation model includes a genetic algorithm model; based on the task information of each of the multiple construction tasks, the vehicle status information of the candidate equipment vehicles corresponding to each of the multiple construction tasks, and the task allocation model, the target equipment vehicle corresponding to each of the construction tasks is determined, including: based on the task information of each of the multiple construction tasks, the vehicle status information of the candidate equipment vehicles corresponding to each of the multiple construction tasks, the chromosomes corresponding to each of the multiple task allocation schemes are determined to obtain an initialized population; each chromosome includes an allocation code pair corresponding to each of the multiple construction tasks, and each allocation code pair includes a construction task and an equipment vehicle; a fitness calculation operation is performed: based on the task information of the construction task and the vehicle status information of the equipment vehicle in the allocation code pair, the task completion time corresponding to the allocation code pair and the vehicle travel distance when arriving at the task starting point are determined; the task completion time and the vehicle travel distance when arriving at the task starting point corresponding to all allocation code pairs in each chromosome are weighted summed to obtain each chromosome The fitness value corresponding to the chromosome; perform a population selection operation: select chromosomes with a fitness value less than or equal to a first fitness threshold to form the next generation population; perform a chromosome transformation operation: randomly select two chromosomes to exchange the equipment vehicles in the allocation code pair at at least one position of the two chromosomes to generate a new chromosome; or, mutate the equipment vehicles in the chromosome allocation code pair according to a preset mutation probability to generate a new chromosome; repeatedly perform the fitness calculation operation, the population selection operation, and the chromosome transformation operation until the iteration stop condition is reached to obtain the final population; the iteration stop condition includes: there is a chromosome with a fitness value less than or equal to the second fitness threshold in the current population, and / or, the number of repeated executions of the fitness calculation operation, the population selection operation, and the chromosome transformation operation reaches a number threshold; select the target chromosome with the smallest fitness from the final population, and determine the target equipment vehicle corresponding to each construction task based on the allocation code pair in the target chromosome.

[0010] Optionally, the method further includes: after performing the chromosome transformation operation, removing newly created chromosomes whose vehicle types required for the construction task of the allocated coding pair are different from the vehicle types of the equipped vehicles.

[0011] Optionally, for any first allocation code pair, based on the task information of the construction task in the allocation code pair and the vehicle status information of the equipment vehicle, the task completion time corresponding to the allocation code pair is determined, including: when the remaining state of the driving energy of the first equipment vehicle meets the low energy state, based on the task location of the first construction task and the current position of the first equipment vehicle, the driving time of the first equipment vehicle to the task location is determined; based on the sum of the driving time and the working time of the first construction task, the task completion time corresponding to the first allocation code pair is obtained; the first construction task is the construction task in the first allocation code pair, and the first equipment vehicle is the equipment vehicle in the first allocation code pair; or, when the remaining state of the driving energy of the first equipment vehicle does not meet the low energy state, based on the current position of the first equipment vehicle and the position of the energy replenishment point, the first driving time of the first equipment vehicle to the nearest energy replenishment point is determined; based on the position of the nearest energy replenishment point and the task location of the first construction task, the second driving time of the first equipment vehicle from the nearest energy replenishment point to the task location is determined; based on the sum of the first driving time, the second driving time, and the working time of the first construction task, the task completion time corresponding to the first allocation code pair is obtained.

[0012] Optionally, the task information also includes: task priority; the task priority includes a first priority and a second priority, the first priority being higher than the second priority; based on the task information of each of the multiple construction tasks, the vehicle status information of the candidate equipment vehicles corresponding to each of the multiple construction tasks, and the task allocation model, the target equipment vehicle corresponding to each of the construction tasks is determined, including: when the task priorities of the multiple construction tasks are all the second priority, based on the task information of each of the multiple construction tasks, the vehicle status information of the candidate equipment vehicles corresponding to each of the multiple construction tasks, and the task allocation model, the target equipment vehicle corresponding to each of the construction tasks is determined.

[0013] Optionally, the method further includes: for a construction task with a first priority, selecting a candidate equipment vehicle that is closest to the task location from the candidate equipment vehicles corresponding to the construction task as a target equipment vehicle corresponding to the construction task.

[0014] In a second aspect, the present application provides a task allocation device, which includes various functional modules used in the method described in the first aspect above.

[0015] In a third aspect, the present application provides an electronic device comprising: a processor and a memory; the memory stores instructions executable by the processor, and when the processor is configured to execute the aforementioned instructions, the electronic device implements the method described in the first aspect.

[0016] In a fourth aspect, the present application provides a readable storage medium, comprising: software instructions; when the software instructions are executed in an electronic device, the electronic device implements the method described in the first aspect.

[0017] In a fifth aspect, the present application provides a computer program product, comprising: computer instructions; when the computer instructions are executed in an electronic device, the electronic device implements the method described in the first aspect.

[0018] In the sixth aspect, the present application provides an oil and gas pipeline construction task allocation system, including: a task allocation device and multiple oil and gas pipeline construction equipment vehicles; the task allocation device is communicatively connected to the multiple equipment vehicles; the task allocation device is used to allocate oil and gas pipeline construction tasks according to the method described in the first aspect.

[0019] The beneficial effects of the second to sixth aspects above can be referred to those described in the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0021] Figure 1 A schematic diagram of the composition of the oil and gas pipeline construction task allocation system provided in an embodiment of the present application;

[0022] Figure 2 A schematic diagram of the composition of the intelligent driving system provided in an embodiment of the present application;

[0023] Figure 3 A flowchart of a method for allocating oil and gas pipeline construction tasks provided in an embodiment of the present application;

[0024] Figure 4 A schematic diagram of the composition of a task allocation device provided in an embodiment of the present application;

[0025] Figure 5 A schematic diagram of the composition of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0027] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature specified as "first" or "second" may explicitly or implicitly include one or more of such features. Throughout this application, unless otherwise specified, "plurality" means two or more.

[0028] In the embodiments of the present application, the terms "comprises," "comprising," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, 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, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of other identical elements in the process, article, or device comprising the element.

[0029] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0030] With the continuous growth of global energy demand, oil and gas pipeline construction occupies a vital position in the field of energy transportation.

[0031] Oil and gas pipeline construction typically takes place outdoors, involving complex terrain and a wide variety of natural environments. Pipeline construction relies on a variety of vehicles, each of which can be used to perform different construction tasks. For example, preliminary preparation tasks require bulldozers to clear the work zone and level the site, while scrapers are used to transfer earth and ensure a level site. Pipeline transportation and laying tasks require excavators to dig trenches and remove obstacles, while pipeline transport vehicles are used to transport oil and gas pipelines, and pipelayers are used to precisely lift the pipelines into the trenches. Welding and inspection tasks require internal welding machines, with AUT vehicles used to monitor weld quality in real time. Backfilling tasks require backfilling machines to backfill the trenches, and rollers to compact the backfill soil in layers.

[0032] Currently, the task allocation scheme for allocating oil and gas pipeline construction tasks to equipment vehicles mainly relies on manual allocation by construction management personnel. Such a task allocation scheme relies on the manual experience and subjective judgment of construction management personnel, which easily leads to unreasonable task allocation and low vehicle utilization.

[0033] Based on this, the embodiments of the present application provide a method, equipment, storage medium and program product for allocating tasks for oil and gas pipeline construction. The task allocation model can be used to allocate corresponding target equipment vehicles to each construction task based on the task information of the construction task and the vehicle status information of the equipment vehicle. It no longer relies on the manual experience and subjective judgment of construction management personnel, and can improve the rationality and speed of task allocation.

[0034] The following is an introduction with reference to the accompanying drawings.

[0035] Figure 1 This is a schematic diagram of the composition of the oil and gas pipeline construction task allocation system provided in the embodiment of this application. Figure 1 As shown, the system includes: a task allocation device 100 and an equipment vehicle 200. The task allocation device 100 is in communication connection with the equipment vehicle 200.

[0036] The task allocation device 100 may be an electronic device with computing and processing capabilities, such as a computer or a server.

[0037] Among them, the server can be a single server, or it can be a server cluster composed of multiple servers. In some implementations, the server cluster can also be a distributed cluster. Optionally, the server can also be implemented on a cloud platform. For example, the cloud platform can include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an inter-cloud, and a multi-cloud, etc., or any combination thereof. The embodiments of the present application are not limited to this.

[0038] The task assignment device 100 can be used to obtain task information for an oil and gas pipeline construction task and vehicle status information of an equipment vehicle 200. Based on the task information, the vehicle status information of the equipment vehicle 200, and a task assignment model, the device assigns different construction tasks to the equipment vehicle 200. The specific assignment process can be found in the oil and gas pipeline construction task assignment method provided in the following method embodiment and will not be further described here.

[0039] As an example, the task assignment device 100 can be communicatively connected to the terminal device of the manager, and the terminal device of the manager can receive the task information of the construction task input by the manager and send it to the task assignment device 100. The task assignment device 100 can create the construction task of the oil and gas pipeline based on the task information sent by the terminal device.

[0040] As another example, the task assignment device 100 may include an input and output interface, which may be a mouse, keyboard, or touch display light. The task assignment device 100 may receive task information of the construction task input by the manager through the input and output interface, and create a construction task of the oil and gas pipeline based on the task information input by the manager.

[0041] The equipment vehicles 200 may include multiple types. For example, the equipment vehicles may include bulldozers, excavators, scrapers, oil and gas pipeline transport vehicles, cranes, automatic welding vehicles, backfillers, road rollers, mobile power generation vehicles, water tankers, rust removal vehicles, and emergency repair vehicles. The embodiments of the present application do not limit the specific types of equipment vehicles.

[0042] The equipped vehicle 200 may be used to collect its own vehicle status information and send the collected vehicle status information to the task allocating device 100 .

[0043] In some embodiments, the equipment vehicle 200 may also be used to receive task information of the construction task pushed by the task allocation device 100 and perform the construction task according to the pushed task information.

[0044] As one example, the equipment vehicle 200 may be a manually driven vehicle.

[0045] As another example, the equipped vehicle 200 may also be an unmanned vehicle that is intelligently driven by an intelligent driving system.

[0046] For example, Figure 2 This is a schematic diagram of the composition of the intelligent driving system provided in the embodiment of this application. Figure 2 As shown, the intelligent driving system includes: a sensor system 11, a positioning and navigation system 21, a control system 31, a safety assurance system 41, and a communication system 51.

[0047] The sensor system 11 specifically includes:

[0048] The LiDAR 12 measures the distance information around the vehicle in real time, generating a 3D point cloud. In outdoor construction scenarios, it detects fixed obstacles, gullies, and slopes, providing accurate general environmental information for intelligent driving.

[0049] The visual camera 13, including a front-view camera and a rear-view camera, obtains image information around the vehicle, provides rich textures, and assists in identifying signs, equipment, and pedestrians, thereby further improving environmental information.

[0050] Millimeter-wave radar 14 detects the distance, speed, and angle of objects around the vehicle. Its strong penetrating power makes it resistant to weather and dust, providing reliable target detection information even in harsh environments, ensuring safe intelligent driving.

[0051] The Inertial Measurement Unit (IMU) 15 measures the vehicle's acceleration, angular velocity, and attitude. It provides initial motion attitude data and monitors the vehicle's attitude changes in real time in complex outdoor construction scenarios, ensuring local stability of the positioning and navigation system 21.

[0052] The Global Navigation Satellite System (GNNS)16 is used to obtain the geographic location information of equipped vehicles. It has high accuracy and wide coverage, provides robust location information during outdoor construction, and assists the positioning and navigation system21.

[0053] The positioning and navigation system 21 specifically includes:

[0054] The multi-sensor fusion positioning module 22 utilizes information from multiple sensors, including the LiDAR 12, visual camera 13, millimeter-wave radar 14, IMU 15, and GNSS 16, for multi-sensor fusion positioning. Fusion of information from different sensors improves positioning accuracy and reliability. For example, when the GNSS 16 signal weakens during construction in mountainous areas, the positioning weights of the LiDAR 12 and IMU 15 can be increased, ensuring the vehicle's accurate position in complex outdoor environments.

[0055] The high-precision map module 23 constructs a high-precision map containing information such as roads, terrain, and fixed obstacles. In outdoor construction scenarios, it assists the multi-sensor fusion positioning module 22 and the path planning module 24.

[0056] The path planning module 24 uses a preset path planning algorithm to plan a safe and efficient driving path based on the vehicle's current position, target location, and environmental information, taking into account factors such as topography, obstacles, and construction regulations. For example, in mountainous construction scenarios, a safe path can be planned based on the slope and curve radius to avoid rollovers or collisions.

[0057] The control provision 31 specifically includes:

[0058] The steering control module 32 uses an electric or hydraulic power steering system to achieve automatic steering. It calculates the steering angle and operates the steering according to the situation and the planned path. Steering angles vary greatly on construction roads, so real-time steering control ensures that the vehicle remains stable on the prescribed path.

[0059] The speed control module 33 realizes automatic speed control through an electronic throttle or a hydraulic speed control system, calculates the required speed and adjusts it according to the driving status and planning information.

[0060] The brake control module 34 uses an electronic or hydraulic brake system to achieve automatic control, calculates the braking force and operates the brakes according to the driving status and safety requirements, and adjusts the braking force in real time during outdoor construction to ensure rapid stopping in an emergency.

[0061] The security system 41 specifically includes:

[0062] The obstacle detection and avoidance module 42 utilizes the sensor system 11 to monitor obstacles around the vehicle in real time, and adopts an intelligent decision-making algorithm to select an avoidance method such as static detour, dynamic deceleration, or parking according to different types of obstacle information to ensure driving safety.

[0063] The fault diagnosis and warning module 43 monitors the operating status of the vehicle's engine, transmission, brake, and turn signal systems in real time. If a fault is detected, it automatically issues a signal, slowing the vehicle down and stopping the operating lights. It also provides prompts via the onboard display and audible and visual alarms to prevent the fault from escalating.

[0064] The communication system 51 specifically includes:

[0065] The vehicle networking module 52 is used to achieve interconnection with other equipment vehicles and construction equipment, and has the functions of information sharing and collaborative driving, which can effectively improve the coordination between equipment.

[0066] The wireless communication module 53 is used to establish a communication connection between the equipment vehicle 200 and the task allocation device 100 via wireless communication technology, thereby enabling functions such as construction task load distribution and remote diagnosis. The wireless communication module 53 uses an encrypted communication protocol and employs technologies such as equipment vehicle identity authentication to ensure information security. Satellite communication can be used to ensure smooth communication in areas with weak signals.

[0067] In the oil and gas pipeline construction task allocation system provided by the embodiments of this application, equipped vehicles can be drivable to effectively reduce safety accidents caused by driver fatigue, distraction, and emotional fluctuations. Sensors and safety assurance systems can detect the vehicle's surrounding environment and obstacles in real time, and take timely avoidance measures to prevent collisions.

[0068] Furthermore, outdoor construction projects often involve long routes and require significant travel time. Intelligent driving can enable continuous vehicle operation and route planning, reducing idle time. Furthermore, intelligent driving can reduce the need for drivers, lowering labor costs and improving vehicle utilization and operational efficiency.

[0069] The execution subject of the oil and gas pipeline construction task allocation method provided in the embodiment of the present application is a task allocation device (such as the above-mentioned task allocation device 100). As mentioned above, the task allocation device can be an electronic device with computing functions such as a computer or a server. Optionally, the task allocation device can also be a processor (such as a central processing unit (CPU)) in the aforementioned electronic device; or, the task allocation device can also be an application (application, APP) with a task allocation function installed in the aforementioned electronic device; or, the task allocation device can also be a platform or software system deployed in the aforementioned electronic device; or, the task allocation device can also be a functional module in the aforementioned electronic device for executing the task allocation method. The embodiment of the present application does not limit this.

[0070] For simplicity of description, the following is an introduction using the task allocation device as an example of the execution subject of the oil and gas pipeline construction task allocation method provided in the embodiment of the present application.

[0071] Figure 3 This is a flow chart of the oil and gas pipeline construction task allocation method provided in the embodiment of this application. Figure 3 As shown, the method includes the following steps:

[0072] S101. Obtain task information of each of a plurality of oil and gas pipeline construction tasks.

[0073] The task information includes the task location, the type of vehicle required for the task, and the duration of the task. The duration of the task can also be understood as the workload of the task or the time the task requires the use of equipment and vehicles.

[0074] In one possible implementation, as described above, the task assignment device can be communicatively connected to the terminal device of the manager, and the terminal device of the manager can receive the task information of the construction task input by the manager and send it to the task assignment device. In this case, the task assignment device can receive the task information sent by the terminal device.

[0075] In another possible implementation, as described above, the task allocation device may include an input / output interface, and the task allocation device may specifically receive task information directly from the management personnel through the input / output interface.

[0076] In some embodiments, the task information of the construction task may further include a task start time and a task end time.

[0077] In other embodiments, the task information of the construction task may further include the priority of the construction task.

[0078] S102: Acquire vehicle status information of each of a plurality of equipped vehicles in an idle state.

[0079] The vehicle status information includes: the current location of the vehicle, the remaining state of the vehicle's driving energy, and the vehicle type.

[0080] As an example, the equipped vehicle may be a fuel-driven vehicle, such as a gasoline vehicle or a diesel vehicle, etc. In this case, the remaining state of the driving energy of the vehicle may be the remaining amount of fuel of the equipped vehicle.

[0081] As another example, the equipped vehicle may also be a gas-driven vehicle, such as a natural gas-driven vehicle or a liquefied gas-driven vehicle, etc. In this case, the remaining state of the driving energy of the vehicle may be the remaining amount of gas in the equipped vehicle.

[0082] As another example, the equipped vehicle can also be a vehicle driven by electric energy. In this case, the driving energy remaining state of the vehicle can be the remaining power of the equipped vehicle.

[0083] S103 : Based on the vehicle type required for the construction task in the task information, determine a candidate equipment vehicle corresponding to each construction task from a plurality of equipment vehicles.

[0084] As an example, for any first construction task among multiple construction tasks, the task allocation device can determine an equipment vehicle from multiple equipment vehicles whose vehicle type is the same as the vehicle type required in the task information of the first construction task as a candidate equipment vehicle corresponding to the first construction task.

[0085] For example, if the first construction task is pipeline welding, this task requires a welding engineering vehicle or an automated welding vehicle. If the first construction task is pipeline laying, this task requires a pipe transport truck and a crane. If the first construction task is trench excavation, this task requires an excavator and a loader.

[0086] S104 : Determine a target equipment vehicle corresponding to each construction task based on task information of each of the multiple construction tasks, vehicle status information of candidate equipment vehicles corresponding to each of the multiple construction tasks, and a task allocation model.

[0087] The target equipment vehicle is used to perform the corresponding construction task. The task allocation model is used to allocate the construction task based on the task information and vehicle status information.

[0088] As an example, the task allocation model may be implemented as a genetic algorithm model, and the task allocation device may utilize the genetic algorithm model to allocate corresponding target equipment vehicles to each construction task based on task information and vehicle status information.

[0089] S105: Push task information of the corresponding construction task to the target equipment vehicle corresponding to each construction task.

[0090] In the oil and gas pipeline construction task allocation method provided in the embodiment of the present application, the task allocation device can obtain task information of each of the multiple construction tasks of the oil and gas pipeline, and obtain vehicle status information of each of the multiple equipment vehicles in an idle state. Based on the vehicle type required for the construction task in the task information, the candidate equipment vehicle corresponding to each construction task is determined from the multiple equipment vehicles; based on the task information of each of the multiple construction tasks, the vehicle status information of the candidate equipment vehicles corresponding to each of the multiple construction tasks, and the task allocation model, the target equipment vehicle corresponding to each construction task is determined; the target equipment vehicle is used to perform the corresponding construction task; and the task information of the corresponding construction task is pushed to the target equipment vehicle corresponding to each construction task. Compared with the current solution of manually allocating construction tasks, this method no longer relies on the manual experience and subjective judgment of construction management personnel, and can improve the speed of task allocation.

[0091] Furthermore, when construction tasks change or emergencies arise, the oil and gas pipeline construction task allocation method provided by the present application can quickly make decisions and deploy vehicles to the corresponding task locations through a reliable communication system. This rapid response capability can significantly shorten emergency response time and reduce construction risks.

[0092] The specific process of the above S104 is introduced below.

[0093] In some possible embodiments, as described above, the task allocation model may be implemented as a genetic algorithm model. In this case, the above S104 may include the following steps:

[0094] Step 1a: Based on the task information of each of the multiple construction tasks and the vehicle status information of the candidate equipment vehicles corresponding to each of the multiple construction tasks, the chromosomes corresponding to each of the multiple task allocation schemes are determined to obtain an initialized population.

[0095] Each chromosome includes a plurality of allocation code pairs corresponding to respective construction tasks, and each allocation code pair includes a construction task and an equipment vehicle.

[0096] As an example, the task allocation model may first randomly generate a task allocation plan based on task information and vehicle status information, and then encode the task allocation plan into a chromosome.

[0097] For example, a chromosome can be represented as [V1, T1; V3, T2; V5, T2; V7, T3; V8, T3]. The chromosome includes 8 task assignment pairs. The first task assignment pair V1, T1 indicates that vehicle V1 is equipped to perform construction task T1; the second task assignment pair V3, T2 indicates that vehicle V3 is equipped to perform construction task T2; the third task assignment pair V5, T2 indicates that vehicle V5 is also equipped to perform construction task T2; the fourth task assignment pair V7, T3 indicates that vehicle V7 is equipped to perform construction task T3; and the fifth task assignment pair V8, T3 indicates that vehicle V8 is also equipped to perform construction task T3.

[0098] Step 2a, perform fitness calculation operation: Based on the task information of the construction task in the allocation code pair and the vehicle status information of the equipped vehicle, determine the task completion time corresponding to the allocation code pair and the vehicle travel distance when arriving at the task starting point, and perform weighted summation of the task completion time and vehicle travel distance when arriving at the task starting point corresponding to all allocation code pairs in each chromosome to obtain the fitness value corresponding to each chromosome.

[0099] In one possible implementation, as described above, the vehicle status information may include the remaining state of the vehicle's driving energy. In this case, taking any first assigned code pair in the chromosome as an example, the task completion time in step 2a above can be calculated and determined according to the following steps:

[0100] Step 2.1a. When the remaining state of the driving energy of the first equipment vehicle meets the low energy state, based on the task location of the first construction task and the current position of the first equipment vehicle, determine the driving time of the first equipment vehicle to the task location; based on the sum of the driving time and the working time of the first construction task, obtain the task completion time corresponding to the first allocation code pair.

[0101] Among them, the first construction task is the construction task in the first allocation code pair, and the first equipment vehicle is the equipment vehicle in the first allocation code pair.

[0102] As an example, taking the first allocation code pair as V1 and T1 mentioned above, the task allocation device can determine the distance between the current position of the equipment vehicle V1 and the task location of the construction task T1, and then divide the distance by the preset vehicle driving speed to obtain the driving time of the equipment vehicle V1 to the task location.

[0103] For example, taking the driving time of equipment vehicle V1 to the task location of construction task T1 as 1 hour and the working time of construction task T1 as 8 hours, the task completion time corresponding to the first allocation code pair V1, T1 is 1 hour + 8 hours = 9 hours.

[0104] Step 2.2a. When the remaining state of the driving energy of the first equipment vehicle does not meet the low energy state, based on the current position of the first equipment vehicle and the position of the energy replenishment point, determine the first driving time of the first equipment vehicle to the nearest energy replenishment point; based on the position of the nearest energy replenishment point and the task location of the first construction task, determine the second driving time of the first equipment vehicle from the nearest energy replenishment point to the task location; based on the sum of the first driving time, the second driving time, and the working time of the first construction task, obtain the task completion time corresponding to the first allocation code pair.

[0105] Here, meeting the low energy state means that the remaining driving energy is lower than the low energy state determination threshold. For example, if the driving energy is electricity, the low energy state determination threshold may be a preset 30% charge level. For another example, the low energy state determination threshold may also be determined based on the driving energy consumption level of historical construction tasks. If it is determined that the remaining driving energy of the equipped vehicle does not meet the driving energy consumption level of the historical construction tasks, then the equipped vehicle may be determined to meet the low energy state.

[0106] As an example, taking the first allocation code pair as V1 and T1 mentioned above, the task allocation device can determine the distance between the current position of the equipment vehicle V1 and the nearest energy replenishment point, and then divide the distance by the preset vehicle driving speed to obtain the first driving time of the equipment vehicle V1 to the nearest energy replenishment point, and then divide the distance between the nearest energy replenishment point and the task location of the construction task T1 by the preset vehicle driving speed to obtain the second driving time of the equipment vehicle V1 from the energy replenishment point to the task location.

[0107] For example, taking the first driving time of the equipment vehicle V1 to the nearest energy replenishment point as 0.5 hours, the second driving time from the nearest energy replenishment point to the task location of the construction task T1 as 1 hour, and the working time of the construction task T1 as 8 hours, the task completion time corresponding to the first allocation code pair V1, T1 is 0.5 hours + 1 hour + 8 hours = 9 hours.

[0108] Step 3a: Execute population selection operation: select chromosomes whose fitness values are less than or equal to the first fitness threshold to form the next generation population.

[0109] Step 4a, perform chromosome transformation operation: randomly select two chromosomes and exchange the equipment vehicles in the distribution code pair at at least one position of the two chromosomes to generate a new chromosome; or, mutate the equipment vehicles in the chromosome distribution code pair according to a preset mutation probability to generate a new chromosome.

[0110] In some possible embodiments, the vehicle type required for each construction task may be different. Therefore, after performing the chromosome transformation operation, the task allocation device can also eliminate the newly created chromosomes whose vehicle type required for the construction task in the allocation code pair is different from the vehicle type of the equipped vehicle.

[0111] Step 5a: Repeat the fitness calculation operation, population selection operation, and chromosome transformation operation until the iteration stop condition is reached to obtain the final population.

[0112] The iteration stopping conditions include: there is a chromosome in the current population whose fitness value is less than or equal to the second fitness threshold, and / or the number of times the fitness calculation operation, the population selection operation, and the chromosome transformation operation are repeated reaches a threshold.

[0113] Step 6a: Select the target chromosome with the smallest fitness from the final population, and determine the target equipment vehicle corresponding to each construction task based on the assigned code pairs in the target chromosome.

[0114] In some possible embodiments, as described above, the task information of the construction task may further include a task priority, and the task priority may include a first priority and a second priority, with the first priority being higher than the second priority. In this case, the above S104 may specifically include the following steps:

[0115] Step 1b: When the task priorities of multiple construction tasks are all the second priority, determine the target equipment vehicle corresponding to each construction task based on the task information of each construction task, the vehicle status information of the candidate equipment vehicles corresponding to each construction task, and the task allocation model.

[0116] Among them, the second priority construction task can also be understood as a low priority construction task.

[0117] For example, trench digging is the prerequisite for all subsequent construction tasks, so it has the highest priority and can be considered the first-priority construction task. Pipeline laying and welding are critical processes and have the next highest priority. Weld inspection and trench backfilling are relatively less urgent and have a lower priority, so they can be considered the second-priority construction tasks.

[0118] In other possible embodiments, for a construction task with a first priority, the task allocation device may directly select a candidate equipment vehicle that is closest to the task location from the candidate equipment vehicles corresponding to the construction task as the target equipment vehicle corresponding to the construction task.

[0119] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, the task allocation device includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. It should be easy to realize that the technical goals in this field are combined with the algorithm steps of each example described in the embodiments disclosed in this article, and the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technical goals can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0120] In an exemplary embodiment, the present application provides a task allocation device in the form of a virtual device. Figure 4 This is a schematic diagram of the composition of the task allocation device provided in the embodiment of the present application. Figure 4 As shown, the task allocation device includes: an acquisition module 401 and a processing module 402.

[0121] Acquisition module 401 is used to obtain task information of each of multiple construction tasks of the oil and gas pipeline; the task information includes: the task location of the construction task, the type of vehicle required for the construction task, and the working time of the construction task; obtain the vehicle status information of each of multiple equipment vehicles in an idle state; the vehicle status information includes: the current location of the vehicle, the remaining state of the vehicle's driving energy, and the vehicle type.

[0122] Processing module 402 is used to determine the candidate equipment vehicle corresponding to each construction task from multiple equipment vehicles based on the vehicle type required for the construction task in the task information; determine the target equipment vehicle corresponding to each construction task based on the task information of each of the multiple construction tasks, the vehicle status information of the candidate equipment vehicles corresponding to each of the multiple construction tasks, and the task allocation model; the target equipment vehicle is used to perform the corresponding construction task; the task allocation model is used to allocate construction tasks based on the task information and vehicle status information; and push the task information of the corresponding construction task to the target equipment vehicle corresponding to each construction task.

[0123] In some possible embodiments, the task allocation model includes a genetic algorithm model; the processing module 402 is specifically used to determine the chromosomes corresponding to the multiple task allocation schemes based on the task information of each of the multiple construction tasks and the vehicle status information of the candidate equipment vehicles corresponding to each of the multiple construction tasks, so as to obtain an initialized population; each chromosome includes an allocation code pair corresponding to each of the multiple construction tasks, and each allocation code pair includes a construction task and an equipment vehicle; a fitness calculation operation is performed: based on the task information of the construction task and the vehicle status information of the equipment vehicle in the allocation code pair, the task completion time corresponding to the allocation code pair and the vehicle travel distance when arriving at the task starting point are determined; the task completion time corresponding to all allocation code pairs in each chromosome and the vehicle travel distance when arriving at the task starting point are weightedly summed to obtain the fitness value corresponding to each chromosome; a population selection operation is performed: a fitness value is selected that is less than or chromosomes with a fitness value less than or equal to the first fitness threshold to form the next generation population; perform a chromosome transformation operation: randomly select two chromosomes to exchange the equipment vehicles in the allocation code pairs at at least one position of the two chromosomes to generate a new chromosome; or, mutate the equipment vehicles in the chromosome allocation code pairs according to a preset mutation probability to generate a new chromosome; repeatedly perform the fitness calculation operation, the population selection operation, and the chromosome transformation operation until the iteration stop condition is reached to obtain the final population; the iteration stop condition includes: there is a chromosome in the current population whose fitness value is less than or equal to the second fitness threshold, and / or, the number of times the fitness calculation operation, the population selection operation, and the chromosome transformation operation are repeated reaches a number threshold; select the target chromosome with the smallest fitness from the final population, and determine the target equipment vehicle corresponding to each construction task based on the allocation code pairs in the target chromosome.

[0124] In some other possible embodiments, the processing module 402 is further configured to, after performing the chromosome transformation operation, remove newly created chromosomes in which the vehicle type required for the construction task in the allocated coding pair is different from the vehicle type of the equipped vehicle.

[0125] In some other possible embodiments, for any first allocation code pair, the processing module 402 is specifically used to determine the driving time of the first equipment vehicle to the task location based on the task location of the first construction task and the current position of the first equipment vehicle when the remaining driving energy state of the first equipment vehicle meets the low energy state; obtain the task completion time corresponding to the first allocation code pair based on the sum of the driving time and the working time of the first construction task; the first construction task is the construction task in the first allocation code pair, and the first equipment vehicle is the equipment vehicle in the first allocation code pair; or, when the remaining driving energy state of the first equipment vehicle does not meet the low energy state, determine the first driving time of the first equipment vehicle to the nearest energy replenishment point based on the current position of the first equipment vehicle and the position of the energy replenishment point; determine the second driving time of the first equipment vehicle from the nearest energy replenishment point to the task location based on the position of the nearest energy replenishment point and the task location of the first construction task; obtain the task completion time corresponding to the first allocation code pair based on the sum of the first driving time, the second driving time, and the working time of the first construction task.

[0126] In some other possible embodiments, the task information also includes: task priority; the task priority includes a first priority and a second priority, and the first priority is higher than the second priority; the processing module 402 is specifically used to determine the target equipment vehicle corresponding to each construction task based on the task information of each construction task, the vehicle status information of the candidate equipment vehicles corresponding to each construction task, and the task allocation model when the task priorities of multiple construction tasks are all the second priority.

[0127] In some other possible embodiments, the processing module 402 is further used to select, for a construction task with a first priority level, a candidate equipment vehicle that is closest to the task location from the candidate equipment vehicles corresponding to the construction task as the target equipment vehicle corresponding to the construction task.

[0128] In an exemplary embodiment, as described above, the task allocating device may be an electronic device having a computing and processing function, such as a computer or an electronic device. In this case, an embodiment of the present application further provides an electronic device. Figure 5 This is a schematic diagram of the composition of the electronic device provided in the embodiment of the present application. Figure 5 As shown, the electronic device includes:

[0129] Processor 502 , communication interface 503 , and bus 504 . As an example, the electronic device 50 may further include a memory 501 .

[0130] Processor 502 may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 502 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 502 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, or a combination of a DSP and a microprocessor.

[0131] The communication interface 503 is used to connect to other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc.

[0132] The memory 501 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0133] As a possible implementation, memory 501 can exist independently of processor 502 and can be connected to processor 502 via bus 504 to store instructions or program code. When processor 502 calls and executes the instructions or program code stored in memory 501, the oil and gas pipeline construction task allocation method provided in the embodiment of the present application can be implemented.

[0134] In another possible implementation, the memory 501 may also be integrated with the processor 502 .

[0135] The bus 504 may be an extended industry standard architecture (EISA) bus, etc. The bus 504 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0136] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the electronic device can be divided into different functional modules to complete all or part of the functions described above.

[0137] In an exemplary embodiment, the present application also provides a readable storage medium including software instructions, which, when executed in an electronic device, enables the electronic device to execute any one of the methods provided in the above embodiments.

[0138] In an exemplary embodiment, the present application also provides a computer program product, including computer instructions, which, when executed in an electronic device, enables the electronic device to execute any one of the methods provided in the above embodiments.

[0139] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware, or any combination thereof. When implemented using a software program, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer-executable instructions. When the computer-executable instructions are loaded and executed on a computer, the process or function according to the embodiments of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer-executable instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer-executable instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), or an optical medium (e.g., a DVD).

[0140] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by reviewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple components. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0141] Although the present application has been described with reference to specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely illustrative of the present application as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, the present application is intended to include such modifications and variations as fall within the scope of the claims of the present application and their equivalents.

[0142] The above are only specific embodiments of the present application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for allocating oil and gas pipeline construction tasks, characterized in that: The method is applied to a task allocation device; the task allocation device is communicatively connected to a plurality of oil and gas pipeline construction equipment vehicles; the method includes: Obtaining task information for each of a plurality of oil and gas pipeline construction tasks; the task information includes: a task location of the construction task, a type of vehicle required for the construction task, and a working time for the construction task; Acquiring vehicle status information of each of a plurality of equipped vehicles in an idle state; the vehicle status information includes: a current location of the vehicle, a remaining state of driving energy of the vehicle, and a vehicle type; Determining, based on the vehicle type required for the construction task in the task information, a candidate equipment vehicle corresponding to each construction task from the plurality of equipment vehicles; Determining a target equipment vehicle corresponding to each construction task based on task information of each of the plurality of construction tasks, vehicle status information of candidate equipment vehicles corresponding to each of the plurality of construction tasks, and a task allocation model; the target equipment vehicle is used to perform the corresponding construction task; the task allocation model is used to allocate the construction task based on the task information and vehicle status information; Push the task information of the corresponding construction task to the target equipment vehicle corresponding to each construction task.

2. The method according to claim 1, characterized in that The task allocation model includes a genetic algorithm model; determining a target equipment vehicle corresponding to each construction task based on task information of each of the multiple construction tasks, vehicle status information of candidate equipment vehicles corresponding to each of the multiple construction tasks, and the task allocation model includes: Based on the task information of each of the multiple construction tasks and the vehicle status information of the candidate equipment vehicles corresponding to each of the multiple construction tasks, determining chromosomes corresponding to each of the multiple task allocation schemes to obtain an initialized population; each chromosome includes an allocation code pair corresponding to each of the multiple construction tasks, and each allocation code pair includes a construction task and an equipment vehicle; Perform fitness calculation operations: Based on the task information of the construction task in the allocation code pair and the vehicle status information of the equipment vehicle, determine the task completion time corresponding to the allocation code pair and the vehicle travel distance when arriving at the task starting point; perform weighted summation of the task completion time and vehicle travel distance when arriving at the task starting point corresponding to all allocation code pairs in each chromosome to obtain the fitness value corresponding to each chromosome; Perform population selection operation: select chromosomes whose fitness value is less than or equal to the first fitness threshold to form the next generation population; Perform a chromosome transformation operation: randomly select two chromosomes and exchange the equipment vehicles in the assigned code pairs at at least one position on the two chromosomes to generate a new chromosome; or mutate the equipment vehicles in the chromosome assigned code pairs according to a preset mutation probability to generate a new chromosome; Repeating the fitness calculation operation, the population selection operation, and the chromosome transformation operation until an iteration stopping condition is met to obtain a final population; the iteration stopping condition includes: a chromosome having a fitness value less than or equal to a second fitness threshold exists in the current population, and / or the fitness calculation operation, the population selection operation, and the chromosome transformation operation are repeated a number of times reaching a number threshold; A target chromosome with the minimum fitness is selected from the final population, and a target equipment vehicle corresponding to each construction task is determined based on the allocated code pairs in the target chromosome.

3. The method according to claim 2, characterized in that The method further comprises: After performing the chromosome transformation operation, newly created chromosomes whose vehicle types required for the construction task in the allocated coding pair are different from the vehicle types of the equipped vehicles are eliminated.

4. The method according to claim 2, characterized in that For any first allocation code pair, determining the task completion time corresponding to the allocation code pair based on the task information of the construction task and the vehicle status information of the equipment vehicle in the allocation code pair includes: When the remaining state of the driving energy of the first equipment vehicle meets the low energy state, based on the task location of the first construction task and the current position of the first equipment vehicle, the driving time of the first equipment vehicle to the task location is determined; based on the sum of the driving time and the working time of the first construction task, the task completion time corresponding to the first allocation code pair is obtained; the first construction task is the construction task in the first allocation code pair, and the first equipment vehicle is the equipment vehicle in the first allocation code pair; or, When the remaining state of the driving energy of the first equipment vehicle does not meet the low energy state, based on the current position of the first equipment vehicle and the position of the energy replenishment point, the first driving time of the first equipment vehicle to the nearest energy replenishment point is determined; based on the position of the nearest energy replenishment point and the task location of the first construction task, the second driving time of the first equipment vehicle from the nearest energy replenishment point to the task location is determined; based on the sum of the first driving time, the second driving time, and the working time of the first construction task, the task completion time corresponding to the first allocation code pair is obtained.

5. The method according to claim 1, wherein The task information further includes: a task priority; the task priority includes a first priority and a second priority, the first priority being higher than the second priority; determining the target equipment vehicle corresponding to each construction task based on the task information of each of the multiple construction tasks, the vehicle status information of the candidate equipment vehicles corresponding to each of the multiple construction tasks, and the task allocation model, includes: When the task priorities of the multiple construction tasks are all the second priority, the target equipment vehicle corresponding to each construction task is determined based on the task information of each of the multiple construction tasks, the vehicle status information of the candidate equipment vehicles corresponding to each of the multiple construction tasks, and the task allocation model.

6. The method according to claim 5, characterized in that The method further comprises: For a construction task with a first priority, a candidate equipment vehicle closest to the task location is selected from the candidate equipment vehicles corresponding to the construction task as the target equipment vehicle corresponding to the construction task.

7. An electronic device, characterized in that: include: processor and memory; The memory stores instructions executable by the processor; When the processor is configured to execute the instructions, the electronic device implements the method according to any one of claims 1 to 6.

8. A readable storage medium, characterized in that: include: Software instructions; When the software instructions are executed in an electronic device, the electronic device is enabled to implement the method according to any one of claims 1 to 6.

9. A computer program product, characterized in that include: Computer instructions; When the computer instructions are executed in an electronic device, the electronic device is enabled to implement the method according to any one of claims 1 to 6.

10. An oil and gas pipeline construction task allocation system, characterized in that: include: A task allocation device and a plurality of equipment vehicles for oil and gas pipeline construction; the task allocation device is communicatively connected with the plurality of equipment vehicles; The task allocation device is used to allocate oil and gas pipeline construction tasks according to the method according to any one of claims 1-6.