Task execution status update method, device, computer device and storage medium

By monitoring the vehicle location in real time and updating the task execution status, the problem of untimely update of logistics vehicle task status is solved, and the efficiency of vehicle task status update and resource utilization efficiency are improved.

CN114693205BActive Publication Date: 2025-07-11SF TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011634873.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-31
Publication Date
2025-07-11
Estimated Expiration
2040-12-31

AI Technical Summary

Technical Problem

In the prior art, the status update of the task execution status of logistics vehicles is not timely enough, resulting in the vehicle being idle for a long time and the task status update efficiency is low.

Method used

By obtaining the transportation task list, the ongoing transportation task and the associated vehicle identification are filtered out, the vehicle positioning terminal is used to obtain the current location information at the first preset frequency, the vehicle enters and leaves the task area, and the task execution status is updated according to the earliest time when the vehicle leaves the task area, and the task is adjusted to the completed status.

Benefits of technology

It improves the real-time nature of task execution status detection, improves the efficiency of vehicle task status updates, and ensures the timely allocation and utilization of vehicle resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114693205B_ABST
    Figure CN114693205B_ABST
Patent Text Reader

Abstract

The present application relates to a method, apparatus, computer device, and storage medium for updating a task execution status. The method includes: obtaining first current position information of a vehicle that is executing a transportation task at a first preset frequency; detecting that the vehicle enters a task area associated with the transportation task based on the first current position information, and then obtaining second current position information of the vehicle at a second preset frequency; the second preset frequency is greater than the first preset frequency; if it is detected that the vehicle leaves the task area based on the second current position information of the vehicle, then update the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area. By detecting the position of the vehicle that is executing the transportation task, the present application increases the detection frequency after the vehicle enters the task area, so as to know immediately that the vehicle has left the task area and update the task execution status of the vehicle; improves the real-time performance of task execution status detection and enhances the efficiency of updating the task status of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of logistics warehousing, and in particular, to a method, apparatus, computer device, and storage medium for updating the task execution status. Background Art

[0002] With the rapid development of online shopping, higher timeliness requirements are imposed on the logistics industry; for logistics enterprises, it is very important to manage logistics transportation vehicles and timely determine the task execution status of the vehicles.

[0003] Currently, the change of the vehicle task execution status mainly relies on manual determination based on daily work experience; there is often a long time interval between the time of manually adjusting the task execution status and the time when the vehicle actually changes the task execution status, and the vehicle will be in an idle state for a long time until a new transportation task is assigned; therefore, the existing update of the task execution status is not timely enough, and the update efficiency of the vehicle task status is low. Summary of the Invention

[0004] Based on this, it is necessary to provide a method, apparatus, computer device, and storage medium for updating the task execution status in view of the above technical problems.

[0005] A method for updating the task execution status, the method includes:

[0006] In one embodiment, the method further includes:

[0007] Obtain a transportation task list;

[0008] Screen out the transportation tasks with the task status being in progress and the vehicle identifiers associated with the in-progress transportation tasks from the transportation task list;

[0009] Determine the task area corresponding to the vehicle according to the vehicle identifier and the transportation task information.

[0010] In one embodiment, the obtaining the first current position information of the vehicle executing the transportation task at a first preset frequency includes:

[0011] Determine the vehicle corresponding to the vehicle identifier associated with the in-progress transportation task;

[0012] Send a position information acquisition request to the vehicle at a first preset frequency, trigger and receive the current position information returned by the vehicle according to the information acquisition request.

[0013] In one embodiment, the detecting that the vehicle enters the task area associated with the transportation task according to the first current position information includes:

[0014] When it is detected that the longitude and latitude information corresponding to the current position information of the vehicle is within the longitude and latitude information range corresponding to the task area, it is determined that the vehicle enters the task area.

[0015] In one embodiment, the "if it is detected according to the second current position information of the vehicle that the vehicle leaves the task area" includes:

[0016] After the vehicle enters the task area, if it is detected that the longitude and latitude information corresponding to the second current position information of the vehicle is not within the longitude and latitude information range of the task area, it is determined that the vehicle leaves the task area.

[0017] In one embodiment, the "updating the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area" includes:

[0018] Determine the earliest time when it is detected that the vehicle leaves the task area as the time when the vehicle completes the executed transportation task;

[0019] According to the time when the vehicle completes the executed transportation task, adjust the task execution status of the transportation task executed by the vehicle to the completed status.

[0020] In one embodiment, after updating the task execution status of the transportation task, it further includes:

[0021] According to the transportation task list, assign a new transportation task to the vehicle after the task execution status is updated.

[0022] A device for updating task execution status, the device includes:

[0023] A first position information acquisition module, configured to acquire the first current position information of a vehicle executing a transportation task at a first preset frequency;

[0024] A second position information acquisition module, configured to, according to the first current position information, when it is detected that the vehicle enters the task area associated with the transportation task, acquire the second current position information of the vehicle at a second preset frequency; the second preset frequency is greater than the first preset frequency;

[0025] A task execution status update module, configured to, if it is detected according to the second current position information of the vehicle that the vehicle leaves the task area, update the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area.

[0026] A computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the following steps are implemented:

[0027] Obtain first current position information of a vehicle that is performing a transportation task at a first preset frequency;

[0028] According to the first current position information, when it is detected that the vehicle enters a task area associated with the transportation task, obtain second current position information of the vehicle at a second preset frequency; the second preset frequency is greater than the first preset frequency;

[0029] If it is detected that the vehicle leaves the task area according to the second current position information of the vehicle, update the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area.

[0030] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the following steps are implemented:

[0031] Obtain first current position information of a vehicle that is performing a transportation task at a first preset frequency;

[0032] According to the first current position information, when it is detected that the vehicle enters a task area associated with the transportation task, obtain second current position information of the vehicle at a second preset frequency; the second preset frequency is greater than the first preset frequency;

[0033] If it is detected that the vehicle leaves the task area according to the second current position information of the vehicle, update the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area.

[0034] The above task execution status update method, device, computer device and storage medium. The method includes: obtaining first current position information of a vehicle that is performing a transportation task at a first preset frequency; according to the first current position information, when it is detected that the vehicle enters a task area associated with the transportation task, obtaining second current position information of the vehicle at a second preset frequency; the second preset frequency is greater than the first preset frequency; if it is detected that the vehicle leaves the task area according to the second current position information of the vehicle, updating the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area. Through position detection of a vehicle that is performing a transportation task, after detecting that the vehicle enters the task area, the application improves the position detection frequency, so as to know in the first time that the vehicle leaves the task area and update the task execution status of the vehicle accordingly; improves the real-time performance of task execution status detection and enhances the efficiency of vehicle task status update. Description of the Drawings

[0035] Figure 1 It is an application environment diagram of the task execution status update method in an embodiment;

[0036] Figure 2 It is a schematic flowchart of the task execution status update method in an embodiment;

[0037] Figure 3 It is a schematic flowchart of the steps for determining the task area corresponding to the vehicle in an embodiment;

[0038] Figure 4 It is a schematic flowchart of the step of obtaining the first current position information of the vehicle executing the transportation task at the first preset frequency in an embodiment;

[0039] Figure 5 It is a schematic flowchart of the task execution status of the new transportation task in an embodiment;

[0040] Figure 6 It is a schematic flowchart of the task execution status update method in another embodiment;

[0041] Figure 7 It is a structural block diagram of the task execution status update device in an embodiment;

[0042] Figure 8 It is an internal structure diagram of a computer device in an embodiment. Detailed implementation manners

[0043] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0044] The task execution status update method provided by the present application can be applied to an application environment as Figure 1 shown. Among them, the vehicle positioning terminal 11 communicates with the server 12 through a network. The server 12 obtains the first current position information of the vehicle executing the transportation task from the vehicle positioning terminal 11 at the first preset frequency; when the server 12 detects that the vehicle enters the task area associated with the transportation task according to the first current position information, the server 12 obtains the second current position information of the vehicle from the vehicle positioning terminal 11 at the second preset frequency; the second preset frequency is greater than the first preset frequency; if the server 12 detects that the vehicle leaves the task area according to the second current position information of the vehicle, the server 12 updates the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area.

[0045] Among them, the vehicle positioning terminal 11 can be, but is not limited to, various in-vehicle GPS devices, personal computers, laptop computers, smart phones, tablet computers, and portable wearable devices. The server 12 can be implemented by an independent server or a server cluster composed of multiple servers.

[0046] In one embodiment, as Figure 2 shown, a method for updating the task execution status is provided. Taking the server 12 in Figure 1 as an example for illustration, the method includes the following steps:

[0047] Step 21, obtain the first current position information of the vehicle executing the transportation task at a first preset frequency.

[0048] Among them, the first preset frequency refers to the frequency at which the server actively obtains the first current position information from the vehicle positioning terminal, or the frequency at which the vehicle positioning terminal sends the first current position information to the server.

[0049] Specifically, when the vehicle receives a transportation task to be executed, the server can send a location information acquisition request to the vehicle executing the task according to the transportation task, and the location information acquisition request carries the first preset frequency set in advance; after receiving the location information acquisition request, the vehicle-mounted positioning terminal parses the location information acquisition request and identifies the first preset frequency carried by the location information acquisition request; during the subsequent task execution process, the vehicle positioning terminal will return the real-time location information of the vehicle to the server as the first current position information according to the first preset frequency.

[0050] It should be noted that during the specific execution process, the first preset frequency is not fixed before changing to the second preset frequency. The server or the vehicle positioning terminal can adjust the specific frequency value of the first preset frequency according to information such as the completion degree of the transportation task, road condition information, and signal strength in the area where it is located; the specific adjustment method can be smooth or steep increase and decrease, and can be set according to the actual situation.

[0051] For example, at the beginning of the execution of a transportation task, the first preset frequency can be set to be updated once per hour. When the transportation task is 30% completed, the first preset frequency can be adjusted to be updated once every 10 minutes. When approaching the task area, the first preset frequency can be adjusted to be updated once every 30 seconds. Another example is that if the regular execution time of a transportation task is 24 hours, the initial first preset frequency can be set to obtain the location information once per hour, and the frequency value can be increased at a rate of 20% per hour. That is, within the first hour of the execution of the transportation task, it is updated once every 60 minutes, within the second hour of execution, it is updated once every 48 minutes, and so on. This ensures that during the vehicle's transportation process, the acquisition frequency of the first current location information can be determined based on various factors, enabling the server to master the task execution status of the vehicle and maintain highly real-time updates.

[0052] In this step, by setting a variable first preset frequency to obtain the first current location information of the vehicle executing the transportation task, the server can obtain the vehicle's location information at different frequencies at different stages of the vehicle's transportation task execution, flexibly determining the frequency of the vehicle positioning terminal for sending location information, reducing the power consumption of the vehicle positioning terminal, reducing the quantity of location information processed by the server, and improving the processing efficiency. This step enables the server to improve the real-time detection of the task execution status and enhance the efficiency of updating the vehicle task status.

[0053] Step 22: If it is detected that the vehicle has entered the task area associated with the transportation task based on the first current location information, then the second preset frequency is used to obtain the second current location information of the vehicle; the second preset frequency is greater than the first preset frequency.

[0054] Among them, the vehicle identification or the identification of the vehicle positioning terminal is carried in the first current location information sent by the vehicle positioning terminal; the server can determine the task area corresponding to the vehicle and the task it is executing based on any identification.

[0055] The second preset frequency refers to the new acquisition frequency for obtaining the vehicle's current location information after it is detected that the vehicle has entered the task area corresponding to the associated transportation task. The second acquisition frequency is greater than the first acquisition frequency to ensure that the server can timely detect the dynamics of the vehicle within the task area and the moment when the vehicle leaves the task area.

[0056] The task area refers to the area corresponding to a specific transportation task where the task is completed. For example, in a cargo transportation task, the transportation task can be loading goods, transporting goods, etc. In the task of loading goods, the area where the goods to be loaded are provided is the task area. Similarly, in the transportation task, the destination of the goods is the task area. The task area can be set according to the regional elements of entities, such as warehouses, factory areas, roads, access gates, etc. The task area can also be set in the form of an electronic fence, such as longitude and latitude information, an electronic area formed with a warehouse, factory area, road, etc. as the center.

[0057] Specifically, according to the specific execution content of the transportation task, for example, based on the specific unloadable areas and specific unloading positions in the warehouse, the edge of the task area can be determined. In the electronic fence drawing system, use the GIS function to draw the corresponding electronic fence as the task area, and associate it with the transportation task and enter it into the system for unified management.

[0058] In this step, after detecting that the vehicle enters the task area associated with the transportation task, the vehicle position information is obtained at a second preset frequency greater than the first preset frequency, which can further improve the real-time detection of the vehicle position information, detect that the vehicle leaves the task area in the first time, and regard it as a sign of completing the transportation task, so as to improve the update efficiency of the execution status of the vehicle transportation task.

[0059] Step 23, if it is detected that the vehicle leaves the task area according to the second current position information of the vehicle, then update the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area.

[0060] Among them, when the second position information of the vehicle is not within the task area, it means that the vehicle has left the task area. According to the second preset frequency, there will be multiple second position information at the direction where the task area and the vehicle leave after the vehicle leaves the task area. Then the time information corresponding to the second position information closest to the edge of the task area is the earliest time when the vehicle leaves the task area. It is also possible to use the time information corresponding to the last second position information of the vehicle that is located within the task area or coincides with the edge of the task area as the earliest time when the vehicle leaves the task area.

[0061] The task execution status of a transportation task refers to the current status of the transportation task executed by a vehicle. For example, the task execution status can be expressed in a relatively broad sense such as in progress, completed, not executed, etc., or in a more detailed way such as not entering the task area, having entered the task area, unloading, having left the task area, etc. The task execution status enables relevant personnel to understand the progress of the vehicle or transportation task, and also enables the server to arrange and allocate subsequent tasks in a timely manner according to the change of the task execution status, or make prior arrangements for personnel, vehicles, warehouses, etc., improving the overall processing efficiency.

[0062] Specifically, when the server updates the task execution status of a transportation task, time is used as the basis for changing the task execution status, and each task execution status is attached with time information, which is convenient for the server, terminal, etc. to count the task execution situation.

[0063] In this step, by monitoring the vehicle leaving the task area, the earliest time when the vehicle leaves the task area is obtained, and accordingly, the task execution status of the transportation task is changed for the first time, enabling subsequent tasks, personnel, vehicles, etc. to be allocated in a timely manner, improving the real-time performance of task execution status detection, and enhancing the efficiency of updating the vehicle task status.

[0064] The above task execution status update method includes: obtaining the first current position information of a vehicle executing a transportation task at a first preset frequency; according to the first current position information, when it is detected that the vehicle enters the task area associated with the transportation task, obtaining the second current position information of the vehicle at a second preset frequency; the second preset frequency is greater than the first preset frequency; if it is detected that the vehicle leaves the task area according to the second current position information of the vehicle, then update the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area. This application improves the real-time performance of task execution status detection and enhances the efficiency of updating the vehicle task status by detecting the position of a vehicle executing a transportation task and increasing the position detection frequency after detecting that the vehicle enters the task area, so as to know the vehicle leaving the task area in the first time and update the task execution status of the vehicle accordingly.

[0065] In one embodiment, as Figure 3 shown, the task execution status update method further includes:

[0066] Step 31, obtaining a transportation task list;

[0067] Step 32, screening out the transportation tasks with the task status of in progress and the vehicle identifiers associated with the in-progress transportation tasks from the transportation task list;

[0068] Step 33, determining the task area corresponding to the vehicle according to the vehicle identifier and the transportation task information.

[0069] Specifically, the server can obtain a transportation task list formed by correlating information such as vehicles, personnel, transportation tasks, and task statuses from a database. The server filters the ongoing transportation tasks from this list to determine multiple vehicle identifiers of vehicles executing transportation tasks; based on the vehicle identifiers and the information of the executed transportation tasks, the task area corresponding to the vehicle can be determined.

[0070] For example, Task A is divided into sub-tasks A1, A2, and A3, which are respectively taken over by vehicles identified as B1, B2, and B3. The task information of A1, A2, and A3 is to unload goods to the unloading positions C1, C2, and C3 in Warehouse C respectively; then the server can determine that the task area corresponding to vehicle B1 is the C1 task area, the task area corresponding to vehicle B2 is the C2 task area, and the task area corresponding to vehicle B3 is the C3 task area.

[0071] In this embodiment, through the transportation task list, the server can filter the ongoing transportation tasks, improving the efficiency of monitoring the vehicle location information.

[0072] In one embodiment, as Figure 4 shown, obtaining the first current location information of the vehicle executing the transportation task at a first preset frequency includes:

[0073] Step 41, determining the vehicle corresponding to the vehicle identifier associated with the ongoing transportation task;

[0074] Step 42, sending a location information acquisition request to the vehicle at the first preset frequency, triggering and receiving the current location information returned by the vehicle according to the information acquisition request.

[0075] Specifically, the server determines the corresponding vehicle according to the vehicle identifier, and sends a single location information acquisition request to the vehicle at the first preset frequency, so that the vehicle returns the real-time location information where it is currently located. It should be noted that sending the location information acquisition request to the vehicle at the first preset frequency does not conflict with attaching the first preset frequency to the location information acquisition request, and it can be flexibly selected in the specific implementation process.

[0076] In this embodiment, the vehicle is determined through the identifier, and a location information acquisition request is sent to the vehicle at a certain frequency to periodically obtain the current location information of the vehicle, realizing the monitoring of the vehicle task execution status.

[0077] In one embodiment, according to the first current location information, detecting that the vehicle enters the task area associated with the transportation task includes: if it is detected that the longitude and latitude information corresponding to the current location information of the vehicle is within the longitude and latitude information range corresponding to the task area, then it is determined that the vehicle enters the task area.

[0078] Specifically, the server first extracts the longitude and latitude information corresponding to the edge of the task area; after receiving the first location information sent by the vehicle each time, it extracts the longitude and latitude information where the vehicle is currently located from the first location information, and compares the longitude and latitude information of the vehicle with the range formed by the longitude and latitude information corresponding to the task area. If the longitude and latitude information of the vehicle is included in the range formed by the longitude and latitude information corresponding to the task area, it is determined that the vehicle has entered the task area.

[0079] In one embodiment, if it is detected that the vehicle has left the task area according to the second current location information of the vehicle, it includes: after the vehicle enters the task area, if it is detected that the longitude and latitude information corresponding to the second current location information of the vehicle is not within the range of the longitude and latitude information of the task area, it is determined that the vehicle has left the task area.

[0080] Specifically, similarly, after the server receives the second current location information sent by the vehicle entering the task area, it extracts the longitude and latitude information where the vehicle is currently located from the second current location information, and compares the longitude and latitude information of the vehicle with the range formed by the longitude and latitude information corresponding to the task area. If the longitude and latitude information of the vehicle is not included in the range formed by the longitude and latitude information corresponding to the task area, it is determined that the vehicle has left the task area.

[0081] In one embodiment, as Figure 5 shown, according to the earliest time when the vehicle leaves the task area, the task execution status of the transportation task is updated, including:

[0082] Step 51, determine the earliest time when it is detected that the vehicle has left the task area as the time when the vehicle completes the transportation task it is performing;

[0083] Step 52, according to the time when the vehicle completes the transportation task it is performing, adjust the task execution status of the transportation task performed by the vehicle to the completed status.

[0084] Specifically, the server determines the time information corresponding to the second location information when it determines that the vehicle has left the task area as the earliest time when the vehicle leaves the task area, and uses this earliest time when leaving the task area as the time corresponding to the vehicle completing the transportation task it is performing.

[0085] After obtaining the time corresponding to the vehicle completing the transportation task it is performing, the server will adjust the task execution status of the transportation task performed by the vehicle; for example, in the transportation task list, add the time corresponding to the vehicle completing the transportation task it is performing to the column of the completion time corresponding to this transportation task, and end this task, so as to adjust the task execution status of the transportation task performed by the vehicle to the completed status.

[0086] In one embodiment, after updating the task execution status of a transportation task, it further includes: according to the transportation task list, assigning a new transportation task to the vehicle after the task execution status is updated.

[0087] Specifically, after the server adjusts the task execution status of the transportation task executed by the vehicle to the completed status and updates the task execution status of the transportation task, it identifies that the vehicle is currently in an idle state and has no ongoing tasks; then the server will screen out new transportation tasks that have not been assigned to specific vehicles from the transportation task list and assign them to the vehicle according to the degree of executability.

[0088] For example, currently there are three tasks A, B, and C to be assigned. Among them, the task area of task A is relatively close to the idle vehicle Q, and the vehicle meets the execution conditions of task A. Then the server assigns task A to vehicle Q.

[0089] The above task execution status update method detects the position of the vehicle executing the transportation task. After detecting that the vehicle enters the task area, it increases the frequency of position detection, so as to know immediately when the vehicle leaves the task area and updates the task execution status of the vehicle accordingly; it improves the real-time performance of the task execution status detection and enhances the efficiency of updating the vehicle task status.

[0090] To more clearly clarify the task execution status update method provided by the embodiments of the present application, the following uses a specific example to illustrate the task execution status update method;

[0091] In one embodiment, as Figure 6 shown, a task execution status update method is provided, which specifically includes the following content:

[0092] The first step is to obtain the real-time position information of the vehicle executing the transportation task.

[0093] Screen out the transportation tasks with the transportation task status of "executing / being executed / assigned" from multiple transportation tasks, and associate them with the specific vehicles executing the transportation tasks according to the specific transportation tasks; call the on-vehicle GPS device installed on the vehicle executing the transportation task to obtain the real-time position information of the vehicle sent by the on-vehicle GPS device; by continuously obtaining the real-time position information, refresh the real-time position of the vehicle and record the longitude and latitude information of the vehicle at the relevant positions.

[0094] The second step is to verify whether the vehicle's position has entered the task area (taking the unloading task as an example, the task area is the unloading area).

[0095] Obtain the longitude and latitude information corresponding to the real-time location information of the vehicle; determine whether the current longitude and latitude information of the vehicle has entered the range of the longitude and latitude information of the electronic fence corresponding to the unloading area of the task area; if it has not entered the range of the electronic fence, return to the first step and continue to obtain the real-time location information of the vehicle.

[0096] If it has entered the range of the electronic fence, continue with the third step.

[0097] Third step, determine the earliest time when the vehicle enters the electronic fence corresponding to the unloading area, and record the time stamp of entering the electronic fence.

[0098] When it is detected that the longitude and latitude information of the real-time location information of the vehicle is within the range of the electronic fence, use the time corresponding to the first real-time location information within the range of the electronic fence as the earliest time when the vehicle enters the electronic fence corresponding to the unloading area, and update the time stamp corresponding to the vehicle entering the unloading area (the time stamp is data generated using digital signature technology, and the objects of signature include original file information, signature parameters, signature time, etc. In this application, the time stamp is used to determine the change of the transportation task status executed by the vehicle to prove that the previous task execution status has been confirmed).

[0099] Fourth step, obtain the real-time location information of the vehicle executing the transportation task in the task area at a higher frequency, and obtain the longitude and latitude information of the vehicle that has entered the electronic fence.

[0100] Fifth step, verify whether the vehicle executing the transportation task has left the unloading area.

[0101] Obtain the current longitude and latitude information of the vehicle executing the transportation task; determine whether the current longitude and latitude information has left the range of the longitude and latitude information of the unloading area electronic fence; if it has not left the range of the electronic fence, return to the fourth step and continuously obtain the real-time location information of the vehicle in the task area at a higher frequency to obtain the longitude and latitude information.

[0102] If the vehicle has left the range of the electronic fence of the task area, enter the sixth step.

[0103] Sixth step, update the time stamp of the vehicle completing the transportation task.

[0104] Use the time corresponding to the first real-time location information after the vehicle leaves the range of the electronic fence as the earliest time when the vehicle leaves the electronic fence corresponding to the unloading area, and use this time as the time stamp corresponding to the vehicle completing the transportation task.

[0105] Seventh step, obtain the time when the transportation task is completed.

[0106] Obtain the list of transportation tasks assigned to the vehicle, and filter out the currently executing transportation tasks (a vehicle can be assigned multiple tasks simultaneously, but can only execute one transportation task at the same time); obtain the time corresponding to the first real-time position information after the vehicle leaves the range of the electronic fence, and use it as the completion time of the transportation task, and update it to the execution status of the currently executing transportation task.

[0107] Step 8, vehicle resource release.

[0108] Determine that the transportation task currently executed by the vehicle is in the "completed" state; at the same time, change the available state of the vehicle to the "idle" state to complete the release of vehicle resources.

[0109] If there are subsequent tasks in the transportation task list corresponding to the vehicle, directly assign the transportation task to the vehicle.

[0110] In this embodiment, by obtaining the position of the vehicle, during the entire process when the vehicle is in front of the unloading area electronic fence, in the unloading area electronic fence, and after leaving the unloading area electronic fence, the execution status of the vehicle's task is updated in a timely manner through operations such as time stamps, the frequency of obtaining real-time position information, and changing the vehicle task execution status, and relevant information is recorded, and vehicle resources are released in a timely manner, improving the assignment speed of transportation tasks and enhancing the overall efficiency of the logistics industry.

[0111] It should be understood that although Figure 2 - 5 the steps in the flowchart are shown in sequence according to the arrows, these steps do not necessarily execute in the order indicated by the arrows. Unless otherwise clearly stated in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, Figure 2 - 5 at least a part of the steps in

[0112] In one embodiment, as Figure 7 shown, a task execution status update device is provided, including: a first position information acquisition module 71, a second position information acquisition module 72, and a task execution status update module 73, where:

[0113] The first position information acquisition module 71 is used to acquire the first current position information of the vehicle executing the transportation task at a first preset frequency;

[0114] The second position information acquisition module 72 is configured to, according to the first current position information, if it detects that the vehicle enters the task area associated with the transportation task, obtain the second current position information of the vehicle at a second preset frequency; the second preset frequency is greater than the first preset frequency.

[0115] The task execution status update module 73 is configured to, if it detects that the vehicle leaves the task area according to the second current position information of the vehicle, update the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area.

[0116] In one embodiment, the first position information acquisition module 71 is further configured to obtain a transportation task list; screen out the transportation tasks with the task status being in progress and the vehicle identifiers associated with the transportation tasks in progress from the transportation task list; determine the task area corresponding to the vehicle according to the vehicle identifier and the transportation task information.

[0117] In one embodiment, the first position information acquisition module 71 is further configured to determine the vehicle corresponding to the vehicle identifier associated with the transportation task in progress; send a position information acquisition request to the vehicle at the first preset frequency, trigger and receive the current position information returned by the vehicle according to the information acquisition request.

[0118] In one embodiment, the first position information acquisition module 71 is further configured to, if it detects that the longitude and latitude information corresponding to the current position information of the vehicle is within the longitude and latitude information range corresponding to the task area, determine that the vehicle enters the task area.

[0119] In one embodiment, the second position information acquisition module 72 is further configured to, after the vehicle enters the task area, if it detects that the longitude and latitude information corresponding to the second current position information of the vehicle is not within the longitude and latitude information range of the task area, determine that the vehicle leaves the task area.

[0120] In one embodiment, the task execution status update module 73 is further configured to determine the earliest time when the vehicle leaves the task area as the time when the vehicle completes the executed transportation task; adjust the task execution status of the transportation task executed by the vehicle to the completed status according to the time when the vehicle completes the executed transportation task.

[0121] In one embodiment, the task execution status update device further includes a transportation task allocation module, configured to allocate a new transportation task to the vehicle after the task execution status is updated according to the transportation task list.

[0122] For the specific limitations of the task execution status update device, reference can be made to the limitations of the task execution status update method in the foregoing text, which will not be elaborated here. Each module in the above task execution status update device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.

[0123] In one embodiment, a computer device is provided. The computer device can be a server, and its internal structure diagram can be as Figure 8 shown. The computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store task execution status update data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a task execution status update method.

[0124] Those skilled in the art can understand that Figure 8 the structure shown in

[0125] is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0126] Obtain the first current position information of the vehicle that is performing a transportation task at a first preset frequency;

[0127] According to the first current position information, if it is detected that the vehicle enters the task area associated with the transportation task, then obtain the second current position information of the vehicle at a second preset frequency; the second preset frequency is greater than the first preset frequency;

[0128] If it is detected that the vehicle leaves the task area according to the second current position information of the vehicle, then update the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area.

[0129] In one embodiment, when the processor executes the computer program, the following steps are further implemented: obtaining a transportation task list; screening out the transportation tasks with the task status being in progress from the transportation task list, and vehicle identifiers associated with the transportation tasks in progress; determining a task area corresponding to the vehicle according to the vehicle identifier and transportation task information.

[0130] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining a vehicle corresponding to the vehicle identifier associated with the transportation task in progress; sending a location information acquisition request to the vehicle at a first preset frequency, triggering and receiving the current location information returned by the vehicle according to the information acquisition request.

[0131] In one embodiment, when the processor executes the computer program, the following steps are further implemented: if it is detected that the longitude and latitude information corresponding to the current location information of the vehicle is within the longitude and latitude information range corresponding to the task area, then it is determined that the vehicle enters the task area.

[0132] In one embodiment, when the processor executes the computer program, the following steps are further implemented: after the vehicle enters the task area, if it is detected that the longitude and latitude information corresponding to the second current location information of the vehicle is not within the longitude and latitude information range of the task area, then it is determined that the vehicle leaves the task area.

[0133] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining the earliest time when it is detected that the vehicle leaves the task area as the time when the vehicle completes the executed transportation task; adjusting the task execution status of the transportation task executed by the vehicle to the completed status according to the time when the vehicle completes the executed transportation task.

[0134] In one embodiment, when the processor executes the computer program, the following steps are further implemented: allocating a new transportation task to the vehicle with the updated task execution status according to the transportation task list.

[0135] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0136] Obtaining the first current location information of a vehicle executing a transportation task at a first preset frequency;

[0137] According to the first current location information, if it is detected that the vehicle enters the task area associated with the transportation task, then obtain the second current location information of the vehicle at a second preset frequency; the second preset frequency is greater than the first preset frequency;

[0138] If it is detected that the vehicle leaves the task area according to the second current location information of the vehicle, then update the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area.

[0139] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: obtaining a list of transportation tasks; screening out the transportation tasks with the task status being in progress and the vehicle identifiers associated with the transportation tasks in progress from the list of transportation tasks; determining the task area corresponding to the vehicle according to the vehicle identifier and the transportation task information.

[0140] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining the vehicle corresponding to the vehicle identifier associated with the transportation task in progress; sending a location information acquisition request to the vehicle at a first preset frequency, triggering and receiving the current location information returned by the vehicle according to the information acquisition request.

[0141] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: if it is detected that the longitude and latitude information corresponding to the current location information of the vehicle is within the longitude and latitude information range corresponding to the task area, it is determined that the vehicle enters the task area.

[0142] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: after the vehicle enters the task area, if it is detected that the longitude and latitude information corresponding to the second current location information of the vehicle is not within the longitude and latitude information range of the task area, it is determined that the vehicle leaves the task area.

[0143] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining the earliest time when it is detected that the vehicle leaves the task area as the time when the vehicle completes the executed transportation task; adjusting the task execution status of the transportation task executed by the vehicle to the completed status according to the time when the vehicle completes the executed transportation task.

[0144] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: allocating a new transportation task to the vehicle with the updated task execution status according to the list of transportation tasks.

[0145] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The above computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above various methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0146] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope described in this specification.

[0147] The above embodiments only represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.

Claims

1. A method for updating the task execution status, characterized in that, The method includes: Obtain a list of transportation tasks, filter out the transportation tasks with the task status being in progress from the list of transportation tasks, and vehicle identifiers associated with the transportation tasks in progress; Determine a task area corresponding to the vehicle according to the vehicle identifier and the transportation task information; Obtain first current position information of a vehicle performing a transportation task at a first preset frequency; According to the first current position information, if it is detected that the vehicle enters the task area associated with the transportation task, then obtain second current position information of the vehicle at a second preset frequency; the second preset frequency is greater than the first preset frequency; the second preset frequency is used to timely detect the dynamics of the vehicle within the task area and the moment when the vehicle leaves the task area; If it is detected that the vehicle leaves the task area according to the second current position information of the vehicle, then update the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area; wherein, the earliest time includes the time information corresponding to the second position information closest to the edge of the task area, the time information corresponding to the last one of the second position information located within the task area, or the time information corresponding to the second position information coinciding with the edge of the task area; According to the list of transportation tasks, allocate a new transportation task to the vehicle after the task execution status is updated.

2. The method according to claim 1, wherein The obtaining first current position information of a vehicle performing a transportation task at a first preset frequency includes: Determine a vehicle corresponding to the vehicle identifier associated with the transportation task in progress; Send a position information acquisition request to the vehicle at a first preset frequency, trigger and receive the current position information returned by the vehicle according to the information acquisition request.

3. The method according to claim 2, characterized in that, The detecting that the vehicle enters the task area associated with the transportation task according to the first current position information includes: If it is detected that the longitude and latitude information corresponding to the current position information of the vehicle is within the longitude and latitude information range corresponding to the task area, then determine that the vehicle enters the task area.

4. The method according to claim 3, wherein The if it is detected that the vehicle leaves the task area according to the second current position information of the vehicle includes: After the vehicle enters the task area, if it is detected that the longitude and latitude information corresponding to the second current position information of the vehicle is not within the longitude and latitude information range of the task area, then determine that the vehicle leaves the task area.

5. The method according to claim 1, wherein The updating the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area includes: Determine the earliest time when it is detected that the vehicle leaves the task area as the time when the vehicle completes the transportation task it performs; According to the time when the vehicle completes the transportation task it performs, adjust the task execution status of the transportation task performed by the vehicle to the completed status.

6. A task execution status update device, characterized in that, The device includes: The first position information acquisition module is configured to acquire the first current position information of a vehicle performing a transportation task at a first preset frequency; the first position information acquisition module is further configured to acquire a transportation task list; screen out transportation tasks with a task status of in progress and vehicle identifiers associated with the in - progress transportation tasks from the transportation task list; and determine a task area corresponding to the vehicle according to the vehicle identifier and the transportation task information. The second position information acquisition module is configured to, if it detects that the vehicle enters the task area associated with the transportation task based on the first current position information, acquire the second current position information of the vehicle at a second preset frequency; the second preset frequency is greater than the first preset frequency; the second preset frequency is used to timely detect the dynamics of the vehicle within the task area and the moment when the vehicle leaves the task area. The task execution status update module is configured to, if it detects that the vehicle leaves the task area based on the second current position information of the vehicle, update the task execution status of the transportation task according to the earliest time when the vehicle leaves the task area; wherein, the earliest time includes the time information corresponding to the second position information closest to the edge of the task area, the time information corresponding to the last second position information located within the task area, or the time information corresponding to the second position information coinciding with the edge of the task area. The transportation task allocation module is configured to allocate a new transportation task to the vehicle after the task execution status is updated according to the transportation task list.

7. The device according to claim 6, characterized in that, The first position information acquisition module is further configured to determine the vehicle corresponding to the vehicle identifier associated with the in - progress transportation task; send a position information acquisition request to the vehicle at a first preset frequency, trigger and receive the current position information returned by the vehicle according to the information acquisition request.

8. The device according to claim 6, characterized in that, The first position information acquisition module is further configured to, if it detects that the longitude and latitude information corresponding to the current position information of the vehicle is within the longitude and latitude information range corresponding to the task area, determine that the vehicle enters the task area.

9. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Information sending method and device based on wearable equipment

    CN105872952A