Task processing method and device, equipment and storage medium

By identifying and intercepting abnormal delivery tasks, the secondary delivery problem of packages caused by users' modification of order addresses is solved, the delivery efficiency and resource utilization rate are improved, and the capacity burden on the logistics platform is reduced.

CN119962850APending Publication Date: 2025-05-09BEIJING JINGDONG YUANSHENG TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202311477458.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-07
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

In the logistics platform, users may modify the order address after placing an order, causing the deliveryman to deliver the parcel to the address before modification, resulting in the parcel needing a secondary delivery, affecting the delivery efficiency and resource utilization rate.

Method used

By identifying abnormal task recruitment, intercepting task addition requests, changing the target task recruitment task to the task to be assigned and returning it to the task allocation pool to avoid abnormal task recruitment tasks being undertaken.

Benefits of technology

Ensure that abnormal tasks are not missed, improve distribution efficiency and resource utilization of logistics platforms, and reduce the burden of transportation capacity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119962850A_ABST
    Figure CN119962850A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a task processing method and device, equipment and a storage medium, and relates to the technical field of computers, and the method can comprise the steps: receiving a task adding request which is initiated by a first account and aims at a target asking and dispatching task; intercepting the task adding request under the condition that it is determined that the target asking and dispatching task is an abnormal asking and dispatching task; changing the target collection and distribution task into a target to-be-distributed task, and returning the target to-be-distributed task to the task distribution pool; wherein the task allocation pool is used for storing each task to be allocated; and for each to-be-allocated task, the current to-be-allocated task is changed into a seizing and dispatching task under the condition that the current to-be-allocated task is subjected to allocation processing. By adopting the technical scheme of the embodiment of the invention, the situation that the parcel needs to be delivered for the second time due to the fact that the user modifies the order address can be avoided, the delivery efficiency and the resource utilization rate of the logistics platform are improved, and the transport capacity burden of the logistics platform is relieved; and meanwhile, omission of the abnormal collection and dispatch task can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of computer technology, and in particular to a task processing method, apparatus, device and storage medium. Background Art

[0002] The logistics platform is a platform for managing logistics orders. Currently, after a user places an order on the logistics platform, the logistics platform can generate a delivery task corresponding to the order, which can include multiple task links. For example, one of the key links of a delivery task is that the deliveryman first accepts the delivery task on the logistics platform, and then delivers the package corresponding to the delivery task from the delivery station to the order address corresponding to the delivery task.

[0003] However, in the process of implementing the present invention, it is found that there are at least the following problems in the prior art: after placing an order on the logistics platform, the user may modify the order address at any time before receiving the package. In this case, the delivery person may deliver the package to the order address before the modification. This will cause the package to be delivered twice, which not only affects the delivery efficiency, but also affects the resource utilization of the logistics platform, and adds additional transportation capacity burden to the logistics platform. Summary of the invention

[0004] The embodiments of the present invention provide a task processing method, device, equipment and storage medium, which can improve the distribution efficiency and resource utilization of the logistics platform and reduce the transportation capacity burden of the logistics platform while ensuring that abnormal collection and dispatch tasks are not missed.

[0005] In the first aspect, an embodiment of the present invention provides a task processing method, which may include: receiving a task adding request initiated by a first account for a target pickup and dispatch task; when it is determined that the target pickup and dispatch task is an abnormal pickup and dispatch task, intercepting the task adding request; changing the target pickup and dispatch task to a target to-be-assigned task, and returning the target to-be-assigned task to a task allocation pool; wherein the task allocation pool is used to store each to-be-assigned task; for each to-be-assigned task, the current to-be-assigned task is changed to a pickup and dispatch task after being processed by the allocation.

[0006] In a second aspect, an embodiment of the present invention further provides a task processing device, which may include: a receiving module, an intercepting module, and a processing module;

[0007] Specifically, the receiving module is used to receive a task adding request for a target pickup and dispatch task initiated by the first account; the intercepting module is used to intercept the task adding request when it is determined that the target pickup and dispatch task is an abnormal pickup and dispatch task; the processing module is used to change the target pickup and dispatch task to a target to-be-assigned task, and return the target to-be-assigned task to the task allocation pool; wherein the task allocation pool is used to store each to-be-assigned task; for each to-be-assigned task, the current to-be-assigned task is changed to a pickup and dispatch task after being processed by the allocation.

[0008] In a third aspect, an embodiment of the present invention provides a task processing device, the task processing device comprising:

[0009] One or more processors; a memory for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the task processing method provided by any embodiment of the present invention.

[0010] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the task processing method provided by any embodiment of the present invention is implemented.

[0011] The embodiments of the above invention have the following advantages or beneficial effects:

[0012] In the technical solution provided by the embodiment of the present invention, when the logistics platform receives a task adding request for a target pickup and delivery task initiated by a first account (for example, it can be the account of the delivery person in the logistics platform), the target pickup and delivery task can be identified as abnormal. If the target pickup and delivery task is identified as an abnormal pickup and delivery task (for example, it can be a pickup and delivery task with a modified order address), the task adding request initiated by the first account can be intercepted. Then, when the delivery person performs a task adding operation in the logistics platform to undertake a pickup and delivery task for a certain delivery task, if the pickup and delivery task is a pickup and delivery task with a modified order address, the task adding request triggered by the task adding operation will be intercepted, and the pickup and delivery task will not be successfully added to the first account. In this way, it can be ensured that the first account will not be added to abnormal pickup and delivery tasks, that is, it can be ensured that the delivery person will not undertake the pickup and delivery task with a modified order address. Therefore, it can be avoided that the package needs to be delivered twice due to the user modifying the order address, thereby improving the delivery efficiency, and improving the resource utilization of the logistics platform, reducing the transportation capacity burden of the logistics platform. In addition, after intercepting the task adding request, the logistics platform can change the target collection and dispatching task to the target to-be-assigned task, and return the target to-be-assigned task to the task allocation pool. Among them, the task allocation pool stores various to-be-assigned tasks, and the to-be-assigned tasks are tasks in the link before the collection and dispatching tasks. The to-be-assigned tasks will be changed to collection and dispatching tasks after being allocated. Then, a new collection and dispatching task can be created by reallocating the target to-be-assigned tasks in the task allocation pool, and the task information can be adjusted during the allocation process, so that the newly created collection and dispatching task is no longer an abnormal collection and dispatching task, so that when the first account subsequently initiates a task adding request for the newly created collection and dispatching task, the newly created collection and dispatching task can be successfully added to the first account.

[0013] In summary, it can be seen that in the technical solution provided by the embodiment of the present invention, by intercepting the task addition request corresponding to the abnormal pick-up and delivery task, it is possible to avoid the situation where the package needs to be delivered twice due to the existence of the abnormal pick-up and delivery task, thereby improving the distribution efficiency, and improving the resource utilization of the logistics platform, and reducing the transportation capacity burden of the logistics platform. In addition, by returning the abnormal pick-up and delivery task to the previous task link for reallocation, it can be ensured that the abnormal pick-up and delivery task can be processed later, avoiding the abnormal pick-up and delivery task from being missed. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a flowchart of a task processing method provided by an embodiment of the present invention;

[0015] Figure 2 is a flowchart of another task processing method provided by an embodiment of the present invention;

[0016] Figure 3 It is a schematic diagram of a process of triggering an abnormal pop-up window provided by an embodiment of the present invention;

[0017] Figure 4 This is a partial flow diagram of a task handover operation performed by a first user provided by an embodiment of the present invention;

[0018] Figure 5 is a flowchart of another task processing method provided by an embodiment of the present invention;

[0019] Figure 6 It is a flowchart of processing a task to be assigned provided by an embodiment of the present invention;

[0020] Figure 7 It is a flowchart of processing abnormal pending tasks provided by an embodiment of the present invention;

[0021] Figure 8 It is a simplified flowchart of a task processing method provided by an embodiment of the present invention;

[0022] Fig. 9 is a structural schematic diagram of a task processing device provided by an embodiment of the present invention;

[0023] Fig.10 It is a structural diagram of a task processing device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0024] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0025] The term "and / or" herein is merely a description of an association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products, or devices.

[0026] It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0027] In the description of the embodiments of the present invention, unless otherwise specified, “plurality” or “each” means two or more than two.

[0028] Figure 1 This is a flowchart of a task processing method provided by an embodiment of the present invention, which can be applied to an application scenario in which a logistics platform processes a delivery task corresponding to a logistics order. The method can be executed by a task processing device provided by an embodiment of the present invention, which can be implemented in software and / or hardware and integrated in a task processing device.

[0029] In one possible implementation, the task processing method provided in the embodiment of the present invention can be applied to a logistics platform, and correspondingly, the task processing device can be a background server or server cluster of the logistics platform. Alternatively, in another possible implementation, the logistics platform may include multiple task processing sub-platforms, and the task processing method provided in the embodiment of the present invention can be applied to a task processing sub-platform in the logistics platform, for example, it can be applied to a collection and dispatch sub-platform where delivery personnel undertake collection and dispatch tasks, and correspondingly, the task processing device can be a background server or server cluster of the collection and dispatch sub-platform. In the following description of the embodiment of the present invention, if not clearly stated, the description will be carried out by taking the application of the task processing method to the logistics platform as an example.

[0030] like Figure 1 As shown, the task processing method provided by the embodiment of the present invention specifically includes the following steps:

[0031] S110: Receive a task adding request for a target pickup task initiated by the first account.

[0032] The task processing method provided in the embodiment of the present invention can be applied to the application scenario in which the logistics platform processes the delivery task corresponding to the logistics order. Specifically, after the user places an order in the logistics platform, the logistics platform can generate a delivery task corresponding to the order. The logistics platform can complete the delivery task through the collaborative interaction with various logistics staff such as site staff and delivery staff. To execute a complete delivery task, multiple task links are required. Exemplarily, after the logistics platform generates a delivery task corresponding to a certain order, after several task links (for example, warehouse sorting, packaging and delivery, and package transportation), the package corresponding to the order is transported to a certain delivery site closest to the order address (that is, the collection and dispatch site in the embodiment of the present invention); afterwards, the site staff of the distribution site can perform task allocation operations in the logistics platform, triggering the logistics platform to execute the inbound allocation processing task for the delivery task. After the inbound allocation processing task, the inbound handover of the package corresponding to the order can be completed, and a target collection and dispatch task for the delivery task will be added to the waiting collection and dispatch tasks of the distribution site (performed by the delivery staff). When a deliveryman arrives at the distribution site, if he wants to undertake the target collection and delivery task, he can perform a task addition operation for the target collection and delivery task in the logistics platform, triggering the logistics platform to execute the outbound collection and processing task for the distribution task. After the outbound collection and processing task, the outbound handover of the package corresponding to the order can be completed, and a target delivery task for the distribution task (performed by the deliveryman) will be added to the delivery tasks to be delivered by the deliveryman. Then, the deliveryman can deliver the package according to the order address. After the deliveryman performs a successful delivery confirmation operation in the logistics platform, the logistics platform completes the execution of the distribution task. The task processing method provided in the embodiment of the present invention is mainly aimed at the task links of the site staff of the distribution site performing inbound handover of the package, the logistics platform executing the inbound distribution processing task, the deliveryman undertaking the collection and delivery task, and the logistics platform executing the outbound collection and processing task.

[0033] The first account may be a registered account of the delivery person in the logistics platform, and the task adding request may be a request triggered by the delivery person's task adding operation in the logistics platform. For example, the logistics platform may provide logistics application software, and the logistics application software may be downloaded to the first terminal used by the delivery person. The logistics platform may allocate different first accounts in the logistics application software to different delivery persons, and may allocate different second accounts in the logistics application software to different station staff.

[0034] The first terminal may be a mobile terminal such as a mobile phone or a tablet computer carried by the delivery person, or may be a handheld terminal dedicated to the delivery person, which is not limited in the embodiment of the present invention.

[0035] In a possible implementation, the delivery person performs the following task adding operation in the logistics platform: when the delivery person wants to undertake a target delivery task corresponding to a package, he can log in to the first account in the logistics application software of the first terminal. After successful login, the first terminal presents the main page of the logistics application software. The delivery person can click a certain control in the main page (for example, it can be Figure 6 After the first terminal triggers the operation by clicking the pick-up and delivery task add control in the main page of the first terminal, the first terminal presents the task add page. After that, the delivery person can scan the delivery note on the package on the task add page, which can trigger the first terminal corresponding to the first account to initiate a task add request for the target pick-up and delivery task to the logistics platform.

[0036] In another possible implementation, a list of pickup and delivery tasks to be added is displayed in the task adding page, and the delivery person can select a target pickup and delivery task in the list of pickup and delivery tasks to be added, triggering the first terminal to initiate a task adding request for the target pickup and delivery task to the logistics platform.

[0037] S120. When it is determined that the target pick-up and dispatch task is an abnormal pick-up and dispatch task, intercept the task adding request.

[0038] In the embodiment of the present invention, if the target pick-up and delivery task is a normal pick-up and delivery task, the logistics platform can process the task addition request corresponding to the normal pick-up and delivery task to execute the outbound sub-processing task and complete the outbound handover of the package corresponding to the normal pick-up and delivery task. After the handover is completed, a target delivery task will be added to the waiting delivery tasks of the first account that initiated the task addition request. After that, the delivery person executes the target delivery task and delivers the package to the order address placed by the user.

[0039] At present, the logistics platform can support users to modify the order address after placing an order, so the target collection and delivery task may be an abnormal collection and delivery task with a modified order address. If the logistics platform still executes the task addition request for the abnormal collection and delivery task according to the normal processing flow, then after completing the outbound handover of the package corresponding to the abnormal collection and delivery task, the delivery person may not browse the information that the user has modified the order address in the logistics platform in time. In this case, the package will be delivered to the wrong address. Based on this, in an embodiment of the present invention, when the logistics platform receives a task addition request for a target collection and delivery task, it can identify the target collection and delivery task as abnormal. If the target collection and delivery task is identified as an abnormal collection and delivery task, the task addition request can be intercepted to block the outbound handover process for the package corresponding to the target collection and delivery task, thereby preventing the delivery person from taking on abnormal collection and delivery tasks.

[0040] Optionally, after receiving a task addition request for a target pickup and dispatch task initiated by the first account, the task processing method provided by an embodiment of the present invention also includes: obtaining task association information of the target pickup and dispatch task; determining a target pickup and dispatch site corresponding to the target pickup and dispatch task based on the task association information; determining whether the target pickup and dispatch site is consistent with the current pickup and dispatch site; if the target pickup and dispatch site is inconsistent with the current pickup and dispatch site, determining that the target pickup and dispatch task is an abnormal pickup and dispatch task.

[0041] The target pickup and delivery site may be the pickup and delivery site corresponding to the order address of the target pickup and delivery task; the current pickup and delivery site may be the pickup and delivery site corresponding to the task adding operation performed by the delivery person, specifically, it may be the pickup and delivery site where the delivery person is located when performing the pickup and delivery task.

[0042] In a possible implementation, the embodiment of the present invention can record the task association information of the delivery task based on the package (one logistics order corresponds to one or more packages, and one package corresponds to one delivery task) as the dimension, and store each task association information as a task information record table. Specifically, the task association information may include the order number, the delivery task number, the order address, etc.

[0043] Exemplarily, after the logistics platform receives a task addition request for a target collection and delivery task, it can search for a task association information corresponding to the target delivery task number from the task information record table based on the target delivery task number of the delivery task corresponding to the target collection and delivery task, and then can determine the target collection and delivery site corresponding to the target collection and delivery task based on the order address in the task association information and the matching rules between the order address and the collection and delivery site.

[0044] In one possible implementation, the task adding page includes a site selection control, and the delivery person can select the site selection control to trigger the first terminal to display a list of pickup and dispatch sites. Then, the logistics platform can respond to the delivery person's selection of a pickup and dispatch site in the list of pickup and dispatch sites and determine the pickup and dispatch site selected by the delivery person as the current pickup and dispatch site. Alternatively, in another possible implementation, the logistics platform can also automatically identify the current pickup and dispatch site based on the positioning information of the first terminal.

[0045] S130: Change the target dispatch task to a target to-be-assigned task, and return the target to-be-assigned task to the task allocation pool.

[0046] The task allocation pool is used to store each task to be allocated (that is, the inbound allocation processing task involved in the above description). For each task to be allocated, the current task to be allocated is changed into a pick-up and dispatch task after being allocated.

[0047] At present, when the logistics platform processes the task to be assigned to complete the inbound handover of the package, it will confirm the site information of the collection and dispatch site, and in the multiple task links of the complete delivery task, the task link of the task to be assigned is before the task link of the collection and dispatch task. Based on this, in an embodiment of the present invention, the task link of the task to be assigned can be selected as the return node. In this way, after the target collection and dispatch task is changed to the target task to be assigned and returned to the task allocation pool, in the process of creating the collection and dispatch task for the target task to be assigned, the task information can be adjusted so that the newly created collection and dispatch task is no longer an abnormal collection and dispatch task. Then, when the first account subsequently initiates a task addition request for the newly created collection and dispatch task, the logistics platform can process the task addition request normally and successfully add the newly created collection and dispatch task to the first account.

[0048] In a possible implementation, for a newly generated delivery task, the logistics platform will create a task thread for the delivery task. The task thread includes task nodes corresponding to multiple task links. The logistics platform executes the delivery task according to the order of the task nodes recorded in the task thread. Each time a task link is completed, the task node moves forward one step. After intercepting the task addition request, the current task node can be automatically returned to the task node corresponding to the task to be assigned, so as to change the target pick-up task to the target task to be assigned.

[0049] Optionally, the target pickup and dispatch task is changed to a target to-be-assigned task, and the target to-be-assigned task is returned to the task allocation pool, including: determining whether the abnormal control switch of the current pickup and dispatch site is in the on state; when the abnormal control switch is in the on state, the target pickup and dispatch task is changed to a target to-be-assigned task, and the target to-be-assigned task is returned to the task allocation pool.

[0050] In order to facilitate the management and control of abnormal collection and dispatch tasks, the number of abnormal collection and dispatch tasks of each collection and dispatch site is counted in real time in order to coordinate logistics capacity. In an embodiment of the present invention, an abnormal control switch can be set for each collection and dispatch site based on the collection and dispatch site. In this way, when it is necessary to perform manual maintenance and other operations on the abnormal collection and dispatch tasks of a certain collection and dispatch site, the abnormal control switch of the collection and dispatch site can be adjusted to a closed state to ensure that the collection and dispatch site does not generate new abnormal collection and dispatch tasks during this period. Based on this, in an embodiment of the present invention, after the logistics platform intercepts the task addition request, it can first determine whether the abnormal control switch of the current collection and dispatch site is in the on state. If it is in the on state, the processing continues; if it is in the off state, the processing is suspended.

[0051] In the task processing method provided by the embodiment of the present invention, when the logistics platform receives a task adding request for a target pick-up and delivery task initiated by a first account (for example, it can be the account of the delivery person in the logistics platform), the target pick-up and delivery task can be identified as abnormal. If the target pick-up and delivery task is identified as an abnormal pick-up and delivery task (for example, it can be a pick-up and delivery task with a modified order address), the task adding request initiated by the first account can be intercepted. Then, when the delivery person performs a task adding operation in the logistics platform to undertake a pick-up and delivery task for a certain delivery task, if the pick-up and delivery task is a pick-up and delivery task with a modified order address, the task adding request triggered by the task adding operation will be intercepted, and the pick-up and delivery task will not be successfully added to the first account. In this way, it can be ensured that the first account will not be added to abnormal pick-up and delivery tasks, that is, it can be ensured that the delivery person will not undertake the pick-up and delivery task with a modified order address. Therefore, it can be avoided that the package needs to be delivered twice due to the user modifying the order address, thereby improving the delivery efficiency, and can improve the resource utilization of the logistics platform, and reduce the transportation capacity burden of the logistics platform. In addition, after intercepting the task adding request, the logistics platform can change the target collection and dispatching task to the target to-be-assigned task, and return the target to-be-assigned task to the task allocation pool. Among them, the task allocation pool stores various to-be-assigned tasks, and the to-be-assigned tasks are tasks in the link before the collection and dispatching tasks. The to-be-assigned tasks will be changed to collection and dispatching tasks after being allocated. Then, a new collection and dispatching task can be created by reallocating the target to-be-assigned tasks in the task allocation pool, and the task information can be adjusted during the allocation process, so that the newly created collection and dispatching task is no longer an abnormal collection and dispatching task, so that when the first account subsequently initiates a task adding request for the newly created collection and dispatching task, the newly created collection and dispatching task can be successfully added to the first account.

[0052] In summary, it can be seen that the task processing method provided by the embodiment of the present invention can avoid the situation where the package needs to be delivered twice due to the existence of abnormal pick-up and delivery tasks by intercepting the task addition request corresponding to the abnormal pick-up and delivery tasks, thereby improving the distribution efficiency, and can improve the resource utilization of the logistics platform and reduce the transportation capacity burden of the logistics platform. In addition, by returning the abnormal pick-up and delivery tasks to the previous task link for reallocation, it can ensure that the abnormal pick-up and delivery tasks can be processed later to avoid the abnormal pick-up and delivery tasks being missed.

[0053] Reference Figure 2 , is a flow chart of another task processing method provided by an embodiment of the present invention. The method in this embodiment can be combined with various optional solutions in the task processing method provided by the previous embodiment to further optimize the task processing method provided by the previous embodiment. Figure 2 As shown, the specific steps include:

[0054] S210: Receive a task adding request for a target pickup task initiated by the first account.

[0055] S220. When it is determined that the target pick-up and dispatch task is an abnormal pick-up and dispatch task, intercept the task adding request.

[0056] S230: Displaying an abnormality pop-up window on the task adding page presented by the first terminal corresponding to the first account, so as to prompt the first user corresponding to the first account of the abnormality in adding the task.

[0057] The first user may be a delivery person who triggers a task adding request through a task adding operation, and the first terminal may be a mobile terminal through which the first user performs the task adding operation.

[0058] In a possible implementation, before the logistics platform intercepts the task adding request, the first terminal presents the task adding page, and the task adding page can display the list of pickup and dispatch tasks to be added. After the logistics platform intercepts the task adding request, an exception pop-up window can be displayed on the task adding page presented by the first terminal, and the exception pop-up window can prompt the first user to block the operation and guide the first user to perform the task handover operation to return the task node to the task node corresponding to the task to be assigned, thereby realizing the correct flow of abnormal data.

[0059] For example, refer to Figure 3 , is a flow chart of triggering an abnormal pop-up window provided in an embodiment of the present application. Figure 3 As shown in (a), the task adding page presented by the first terminal before the logistics platform intercepts the task adding request, after the first user selects the pick-up task C in the pick-up task list to be added, the task adding page presented by the first terminal is as follows Figure 3 As shown in (b) in .

[0060] S240: In response to the task handover operation performed by the first user at the first terminal, the target dispatch task is changed to a target to-be-assigned task, and the target to-be-assigned task is returned to the task allocation pool.

[0061] After an exception pop-up window appears on the task adding page, the user needs to handle the exception pop-up window through the task handover operation, otherwise the task adding operation for other collection and delivery tasks will not be possible.

[0062] Optionally, in response to the task handover operation performed by the first user on the first terminal, the target dispatch task is changed to a target to-be-assigned task, and the target to-be-assigned task is returned to the task allocation pool, including: in response to the first user's confirmation operation on the exception pop-up window, the exception pop-up window on the task adding page is dismissed, and the target dispatch task is added to the list of tasks to be handed over; in response to the first user's selection operation on the task adding warning control in the task adding page, the task handover page is presented on the first terminal; in response to the first user's selection operation on the target dispatch task in the list of tasks to be handed over in the task handover page, the task management and control end is called to change the target dispatch task to a target to-be-assigned task, and the target to-be-assigned task is returned to the task allocation pool; the target dispatch task is removed from the list of tasks to be handed over.

[0063] Reference Figure 4 , is a partial flow chart of a first user performing a task handover operation provided by an embodiment of the present invention. Figure 3 After the confirmation control on the abnormal pop-up window of (b) is confirmed, the logistics platform can cancel the abnormal pop-up window on the task adding page, remove the pick-up and dispatch task C previously selected by the user from the list of pick-up and dispatch tasks to be added from the list of pick-up and dispatch tasks to be added, and add the pick-up and dispatch task C to the list of tasks to be handed over. After that, the first terminal presents the following Figure 4 The task adding page shown in (a) in the task list. If there are tasks to be handed over in the task list, the task adding page will display the following Figure 4 After the first user selects the task adding warning control shown in (a) (i.e., the control corresponding to "task adding warning: 4", the first terminal displays the following Figure 4 The task handover page shown in (b) in the figure displays a list of tasks to be handed over. After the first user selects the collection and dispatch task C in the list of tasks to be handed over, the logistics platform will call the task control terminal (corresponding to the task control sub-platform in multiple task processing sub-platforms) to change the collection and dispatch task C to a task to be assigned and return it to the task allocation pool. For example, the collection and dispatch sub-platform in the logistics platform will initiate a task handover request for the collection and dispatch task C to the task control sub-platform. After receiving the task handover request, the task control sub-platform can change the collection and dispatch task C to a task to be assigned and return it to the task allocation pool. After a successful return, the task control sub-platform can feedback a successful return message to the collection and dispatch sub-platform. After receiving the successful return message, the collection and dispatch sub-platform can Figure 4 The task C in the task list to be handed over in (b) is removed, and the first terminal is presented as follows: Figure 4 The task handover page shown in (c) in FIG. Figure 4 In (c), select the return control, and the Lamp Platform will display the following on the first terminal: Figure 4 The task adding page shown in (d) in the figure.

[0064] In addition, in order to facilitate the management of abnormal tasks (for example, abnormal collection and dispatch tasks), in an embodiment of the present invention, multiple task processing sub-platforms may also include an abnormal control sub-platform and a database sub-platform. The collection and dispatch sub-platform can complete the task processing process in collaboration with the abnormal control sub-platform and the database sub-platform. Exemplarily, after the collection and dispatch sub-platform intercepts the task addition request, it can first store the target collection and dispatch task in the list of tasks to be handed over of the database sub-platform; thereafter, when the collection and dispatch sub-platform obtains the first user's selection operation of the task addition warning control in the task addition page, it can determine whether the abnormal control switch of the current collection and dispatch site is in the on state through the abnormal control sub-platform. If it is in the on state, the collection and dispatch sub-platform can obtain the real-time list of tasks to be handed over from the database sub-platform through the abnormal control sub-platform, and present the task handover page on the first terminal based on the obtained list of tasks to be handed over.

[0065] Optionally, add the target pick-up task to the list of tasks to be handed over, including: add the target pick-up task to the list of tasks to be handed over, and update the warning status of the task adding warning control; remove the target pick-up task from the list of tasks to be handed over, including: remove the target pick-up task from the list of tasks to be handed over, and update the warning status of the task adding warning control.

[0066] The warning status is used to represent the number of tasks to be handed over in the task list to be handed over. Figure 4 For example, the number of tasks to be handed over can be directly displayed on the task adding warning control.

[0067] For example, if there are 3 tasks to be handed over before adding the pick-up task C to the task list to be handed over, then after adding the pick-up task C to the task list to be handed over, there are 4 tasks to be handed over. At this time, the task adding page is as follows: Figure 4 After removing the pick-up task C from the list of pending tasks, the number of pending tasks returns to 3, and the task adding page is as follows: Figure 4 As shown in (d) in .

[0068] It can be seen that in the embodiment of the present invention, by changing the warning status of the task adding warning control, the real-time number of tasks to be handed over can be displayed to the first user. In this way, the user can clearly know whether there are any tasks to be handed over according to the warning status of the task adding warning control, thereby improving the overall processing efficiency of the delivery tasks.

[0069] In an embodiment of the present invention, on the basis of the aforementioned embodiment, when the task processing method is applied to a task processing sub-platform (for example, a collection and dispatch sub-platform) in a logistics platform, the task processing sub-platform needs to exchange data with other task processing sub-platforms during the execution of the task processing method. In this way, there may be a situation where an abnormal collection and dispatch task in the collection and dispatch sub-platform is eliminated due to network anomalies and other reasons, and the task status change fails and is not returned to the task allocation pool. In this case, some abnormal collection and dispatch tasks may be omitted. Based on this, in an embodiment of the present invention, after intercepting the task addition request, the logistics platform can block the operation prompt to the deliveryman through an abnormal pop-up window to guide the deliveryman to perform a series of task handover operations, thereby completing the processing of the abnormal collection and dispatch tasks under the collaborative operation of the deliveryman. In this way, the correct flow of abnormal data can be achieved to avoid the omission of abnormal collection and dispatch tasks.

[0070] It should be noted that the embodiment of the present invention and the task processing method proposed in the aforementioned embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, reference can be made to the aforementioned embodiment, and the beneficial effects of the aforementioned embodiment are also applicable to this embodiment.

[0071] Reference Figure 5 , is a flow chart of another task processing method provided by an embodiment of the present invention. The method in this embodiment can be combined with various optional solutions in the task processing method provided by the previous embodiment to further optimize the task processing method provided by the previous embodiment. Figure 5 As shown, the specific steps include:

[0072] S510: Receive a task adding request initiated by the first account for a target pickup task.

[0073] S520: When it is determined that the target pick-up and dispatch task is an abnormal pick-up and dispatch task, intercept the task adding request.

[0074] S530: Change the target dispatch task to a target to-be-assigned task, and return the target to-be-assigned task to the task allocation pool.

[0075] S540: When a task assignment request initiated by the second account is detected, each task to be assigned currently stored in the task assignment pool is obtained, and a task assignment page is presented on a second terminal corresponding to the second account.

[0076] The second account may be a registered account of a site staff at the collection and dispatch site in the logistics platform; the second terminal is also loaded with the logistics application software provided by the logistics platform, and the task allocation request may be a request initiated by the second terminal to the logistics platform in response to the site staff's selection operation on the task allocation control in the main page of the logistics application software. For example, the second terminal may be a mobile terminal such as a mobile phone or a tablet computer carried by the site staff, or a handheld terminal dedicated to the site staff.

[0077] Among them, the task allocation page can display the currently stored tasks to be allocated.

[0078] S550. In response to the task assignment operation performed by the second user corresponding to the second account on the task assignment page, the target task to be assigned is assigned to change the target task to be assigned to a dispatch task.

[0079] After the logistics platform presents the task assignment page on the second terminal, the second user can start to perform task assignment operations on the tasks to be assigned displayed in the task assignment page. The logistics platform can assign and process the target tasks to be assigned based on the task assignment operations performed by the second user, thereby realizing the inbound handover of the target tasks to be assigned and changing the target tasks to be assigned into collection and dispatch tasks.

[0080] Optionally, in response to a task assignment operation performed on a task assignment page by a second user corresponding to a second account, an assignment process is performed on the target task to be assigned to change the target task to be assigned to a dispatch task, including: in response to a selection operation of the second user on the target task to be assigned on the task assignment page, when it is determined that the target task to be assigned is a secondary assignment task, calling the task management and control end to change the target task to be assigned to a target abnormal task to be processed, and adding the target abnormal task to be processed to an abnormal task processing pool; removing the target task to be assigned from the task assignment pool; when an abnormal task processing request initiated by the second account is detected, obtaining each abnormal task to be processed currently stored in the abnormal task processing pool, and presenting an abnormal task processing page on the second terminal; wherein the abnormal task processing page displays each abnormal task to be processed currently stored; in response to the abnormal task processing operation performed on the abnormal task processing page by the second user, creating a dispatch task for the target abnormal task to be processed.

[0081] In a possible implementation, the logistics platform stores task tracking information for each delivery task, and the logistics platform can determine whether the target task to be assigned is a secondary assignment task based on the task tracking information of the delivery task corresponding to the target task to be assigned.

[0082] Reference Figure 6, is a flow chart of a process for processing a task to be assigned provided by an embodiment of the present invention. Before the second terminal initiates a task assignment request, it presents Figure 6 The main page shown in (a) in the figure includes multiple controls. After the second user selects the task assignment control in the main page, the second terminal will initiate a task assignment request to the logistics platform. After the logistics platform receives the task assignment request, it can obtain the tasks to be assigned currently stored in the task assignment pool, and then present the task assignment request on the second terminal. Figure 6 The task allocation page shown in (b) in FIG. 1 includes multiple tasks to be allocated. Figure 6 As shown in (b) in the figure, after the second user selects the to-be-assigned task C in the task assignment page, the logistics platform can identify the to-be-assigned task C. If the to-be-assigned task C is identified as a secondary assignment task, the task control terminal can be called to change the to-be-assigned task C to the target abnormal pending task and add the target abnormal pending task to the abnormal task processing pool; then, the to-be-assigned task C can be removed from the task assignment pool, and the second terminal is presented as shown in FIG. Figure 6 The task assignment page shown in (c) in FIG. 1 ; when the second user Figure 6 After selecting the return control in (c) in the second terminal, the display may be returned as shown in FIG. Figure 6 The main page shown in (d) in FIG. Figure 6 As shown, the task allocation page may also include a control for the number of tasks to be allocated, which is used to display the real-time number of tasks to be allocated in the task allocation pool to the second user.

[0083] Reference Figure 7 , is a flow chart of a method for processing abnormal pending tasks provided by an embodiment of the present invention. Figure 7 As shown in (a) of FIG, the second user can select the abnormal task processing control on the main page to trigger the second terminal to initiate an abnormal task processing request to the logistics platform. After the logistics platform receives the abnormal task processing request, it can obtain the abnormal tasks currently stored in the abnormal task processing pool and present them on the second terminal as shown in FIG. Figure 7 The abnormal task processing page shown in (b) in FIG. 1 includes multiple abnormal tasks to be processed. After the second user performs an abnormal task processing operation on abnormal task C, the logistics platform can create a collection and dispatch task for abnormal task C. After the creation is successful, the logistics platform can remove the abnormal task C from the abnormal task processing pool and present the following on the second terminal: Figure 7 The abnormal task processing page shown in (c) of FIG. Figure 7 After selecting the return control in (c) in the second terminal, the display may be returned as shown in FIG. Figure 7The main page shown in (d) in FIG. Figure 7 As shown, the abnormal task processing page may further include an abnormal task quantity control for displaying the real-time quantity of abnormal tasks to be processed in the abnormal task processing pool to the second user.

[0084] Optionally, in response to the exception task processing operation performed by the second user on the exception task processing page, a pickup and dispatch task is created for the target exception task to be processed, including: in response to the second user's selection operation on the target exception task to be processed in the exception task processing page, obtaining the task association information of the target exception task to be processed; generating a task label for the target exception task to be processed based on the task association information, and calling the printing terminal to print the task label; changing the target exception task to be processed to a pickup and dispatch task, and adding the changed pickup and dispatch task to the list of pickup and dispatch tasks to be added, and removing the target exception task from the exception task processing pool.

[0085] The task label may be a label attached to the package.

[0086] After the target pending assignment task is reallocated, the task information of the newly created pick-up and delivery task is adjusted, and the corresponding package needs to be delivered to the new pick-up and delivery site, so the logistics platform needs to call the printing terminal to print a new delivery bill. It can be seen that there is a certain difference between the processing flow of the second pending assignment task and the first pending assignment task (one step of printing the package delivery bill is missing). Therefore, in the embodiment of the present invention, the second pending assignment task can be transferred to the abnormal task processing pool for processing, so that when the second pending assignment task is processed in the abnormal task processing pool, the step of printing the package delivery bill is executed.

[0087] In the embodiment of the present invention, based on the above-mentioned embodiment, since the pick-up and dispatch tasks are performed by the delivery personnel, and the inbound handover of the parcels is performed by the station staff, in the embodiment of the present invention, after the logistics platform returns the target task to be assigned to the task allocation pool, it can reallocate the target task to be assigned to create a new pick-up and dispatch task under the collaborative operation of the station staff. In the process of creating a new pick-up and dispatch task, the station staff can adjust the task information of the target task to be assigned through the task allocation operation to adjust the newly created pick-up and dispatch task to a normal pick-up and dispatch task.

[0088] It should be noted that the embodiment of the present invention and the task processing method proposed in the aforementioned embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, reference can be made to the aforementioned embodiment, and the beneficial effects of the aforementioned embodiment are also applicable to this embodiment.

[0089] In order to more clearly describe the technical solution provided by the embodiment of the present invention, refer to Figure 8, the embodiment of the present invention also provides a simplified flow chart of a task processing method. The task processing method can be applied to a logistics platform, which may include a collection and dispatch sub-platform, an abnormality management sub-platform, a database sub-platform, and a task management sub-platform. Figure 8 As shown, after the collection and dispatch sub-platform intercepts the task adding request, it can write the intercepted target collection and dispatch task into the list of tasks to be handed over of the database sub-platform; when the collection and dispatch sub-platform obtains the first user's selection operation on the task adding warning control in the task adding page, the collection and dispatch sub-platform can obtain the list of tasks to be handed over from the database sub-platform through the abnormality control sub-platform, and present the task handover page on the first terminal; when the collection and dispatch sub-platform obtains the first user's selection operation on the target collection and dispatch task in the task handover page, it can initiate a task handover request to the task control sub-platform; after receiving the task handover request, the task control sub-platform can change the target collection and dispatch task to the target to be assigned task and then return it to the task allocation pool stored in the database sub-platform. After the return is successful, the task control sub-platform can feedback a return success message to the collection and dispatch sub-platform; after receiving the return success message, the collection and dispatch sub-platform can remove the target collection and dispatch task from the list of tasks to be handed over. Then, when the collection and dispatch sub-platform obtains the task assignment request initiated by the second account, it can obtain the various tasks to be assigned currently stored in the task assignment pool from the database sub-platform through the exception management sub-platform, and present the task assignment page on the second terminal; when the collection and dispatch sub-platform obtains the second user's selection operation on the target task to be assigned in the task assignment page, it can initiate an abnormal task handover request to the task management sub-platform; after receiving the abnormal task handover request, the task management sub-platform can change the target task to be assigned to the target abnormal task to be processed, and add the target abnormal task to be processed to the abnormal task processing pool stored in the database sub-platform, and after successful addition, it can feedback the successful addition message to the collection and dispatch sub-platform; thereafter, when the collection and dispatch sub-platform obtains the selection operation of the second user on the target task to be assigned in the task assignment page, it can initiate an abnormal task handover request to the task management sub-platform; after receiving the abnormal task handover request, the task management sub-platform can change the target task to be assigned to the target abnormal task to be processed, and add the target abnormal task to be processed to the abnormal task processing pool stored in the database sub-platform, and after successful addition, it can feedback the successful addition message to the collection and dispatch sub-platform; When the exception task processing request initiated by the second account is received, the exception management sub-platform can obtain the various exception pending tasks currently stored in the exception task processing pool from the database sub-platform, and present the exception task processing page on the second terminal; when the collection and dispatch sub-platform obtains the second user's selection operation on the target exception pending task in the exception task processing page, it can initiate an inbound handover request to the task management sub-platform; after receiving the inbound handover request, the task management sub-platform can change the target exception pending task to a collection and dispatch task, and add the changed collection and dispatch task to the list of collection and dispatch tasks to be added, and remove the target exception pending task from the exception task processing pool. After the removal is successful, the collection and dispatch sub-platform can feedback an inbound success message to the collection and dispatch sub-platform.

[0090] It should be noted that Figure 8For the convenience of drawing, only some key steps in the above task processing flow are shown. It is understandable that in actual applications, the task processing method may also include other task links, such as abnormal reporting of lost packages, etc. The embodiment of the present invention only introduces the key links and does not constitute a limitation on the execution steps of the task processing method.

[0091] The solution provided by the embodiment of the present invention and the task processing methods of the aforementioned embodiments belong to the same inventive concept. For details not described in detail in this embodiment, reference can be made to the embodiments of the aforementioned task processing methods.

[0092] Fig. 9 This is a schematic diagram of the structure of a task processing device provided by an embodiment of the present invention. The device includes: a receiving module 910, an intercepting module 920, and a processing module 930.

[0093] Exemplarily, the receiving module 910 may execute S110 in the above method embodiment, the intercepting module 920 may execute S120 in the above method embodiment, and the processing module 930 may execute S130 in the above method embodiment.

[0094] Specifically, the receiving module 910 is used to receive a task adding request for a target pickup and dispatch task initiated by the first account; the interception module 920 is used to intercept the task adding request when it is determined that the target pickup and dispatch task is an abnormal pickup and dispatch task; the processing module 930 is used to change the target pickup and dispatch task to a target to-be-assigned task, and return the target to-be-assigned task to the task allocation pool; the task allocation pool is used to store each to-be-assigned task; for each to-be-assigned task, the current to-be-assigned task is changed to a pickup and dispatch task after being assigned.

[0095] Optionally, in a possible implementation manner, the task processing device provided by the embodiment of the present invention may further include an acquisition module;

[0096] An acquisition module is used to acquire task association information of a target pick-up and dispatch task; a processing module 930 is used to determine a target pick-up and dispatch site corresponding to the target pick-up and dispatch task based on the task association information; the processing module 930 is also used to determine whether the target pick-up and dispatch site is consistent with the current pick-up and dispatch site, and if the target pick-up and dispatch site is inconsistent with the current pick-up and dispatch site, determine that the target pick-up and dispatch task is an abnormal pick-up and dispatch task.

[0097] Optionally, in another possible implementation manner, the processing module 930 is specifically configured to:

[0098] An exception pop-up window is displayed on the task adding page presented by the first terminal corresponding to the first account, so as to prompt the first user corresponding to the first account of the task adding exception; in response to the task handover operation performed by the first user on the first terminal, the target dispatch task is changed to a target to-be-assigned task, and the target to-be-assigned task is returned to the task allocation pool.

[0099] Optionally, in another possible implementation manner, the processing module 930 is further configured to:

[0100] In response to the first user's confirmation operation on the exception pop-up window, the exception pop-up window on the task adding page is dismissed, and the target collection and dispatch task is added to the list of tasks to be handed over; in response to the first user's selection operation on the task adding warning control in the task adding page, the task handover page is presented on the first terminal; in response to the first user's selection operation on the target collection and dispatch task in the list of tasks to be handed over in the task handover page, the task management and control end is called to change the target collection and dispatch task to the target to be assigned task, and the target to be assigned task is returned to the task allocation pool; the target collection and dispatch task is removed from the list of tasks to be handed over.

[0101] Optionally, in another possible implementation, the processing module 930 is further specifically used to: add the target delivery task to the list of tasks to be handed over, and update the warning state of the task adding warning control; wherein the warning state is used to represent the number of tasks to be handed over in the list of tasks to be handed over;

[0102] The processing module 930 is also specifically used to: remove the target pick-up task from the list of tasks to be handed over, and update the warning status of the task adding warning control.

[0103] Optionally, in another possible implementation manner, the task processing device provided by the embodiment of the present invention may further include an acquisition module;

[0104] an acquisition module, configured to acquire each task to be assigned currently stored in the task allocation pool and present a task allocation page on a second terminal corresponding to the second account when a task allocation request initiated by the second account is detected; wherein the task allocation page displays each task to be assigned currently stored;

[0105] The processing module 930 is also used to, in response to a task assignment operation performed by a second user corresponding to the second account on a task assignment page, perform assignment processing on the target task to be assigned, so as to change the target task to be assigned into a dispatch task.

[0106] Optionally, in another possible implementation manner, the processing module 930 is specifically configured to:

[0107] In response to the second user's selection operation on the target task to be assigned in the task assignment page, when it is determined that the target task to be assigned is a secondary assignment task, the task management and control end is called to change the target task to be assigned to a target abnormal task to be processed, and the target abnormal task to be processed is added to the abnormal task processing pool; the target task to be assigned is removed from the task assignment pool; when an abnormal task processing request initiated by the second account is detected, each abnormal task to be processed currently stored in the abnormal task processing pool is obtained, and an abnormal task processing page is presented on the second terminal; wherein the abnormal task processing page displays each abnormal task to be processed currently stored; in response to the abnormal task processing operation performed by the second user on the abnormal task processing page, a dispatch task for the target abnormal task to be processed is created.

[0108] Optionally, in another possible implementation manner, the processing module 930 is further configured to:

[0109] In response to the second user's selection operation on the target abnormal task to be processed in the abnormal task processing page, the task association information of the target abnormal task to be processed is obtained; the task label of the target abnormal task to be processed is generated based on the task association information, and the printing terminal is called to print the task label; the target abnormal task to be processed is changed to a collection and dispatch task, and the changed collection and dispatch task is added to the list of collection and dispatch tasks to be added, and the target abnormal task to be processed is removed from the abnormal task processing pool.

[0110] Optionally, in another possible implementation manner, the processing module 930 is further configured to:

[0111] Determine whether the abnormal control switch of the current collection and dispatch site is in the on state; if the abnormal control switch is in the on state, change the target collection and dispatch task to the target to-be-assigned task, and return the target to-be-assigned task to the task allocation pool.

[0112] The task processing device provided in the embodiment of the present invention belongs to the same inventive concept as the task processing method provided in the aforementioned embodiments. For details not fully described in the embodiment of the task processing device, reference can be made to the relevant contents of the aforementioned method embodiments, and the corresponding beneficial effects can also be referred to the beneficial effect analysis of the aforementioned method embodiments.

[0113] Fig.10 A schematic diagram of the structure of a task processing device provided by an embodiment of the present invention. Fig.10 A block diagram of an exemplary task processing device 12 suitable for use in implementing embodiments of the present invention is shown. Fig.10 The task processing device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0114] like Fig.10As shown, the task processing device 12 is in the form of a general purpose computing device. The components of the task processing device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).

[0115] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0116] Task processing device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by task processing device 12, including volatile and non-volatile media, removable and non-removable media.

[0117] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory (i.e., Fig.10 The task processing device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Fig.10 not shown, usually called a "hard drive"). Although Fig.10 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0118] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0119] The task processing device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), one or more devices that enable a user to interact with the task processing device 12, and / or any device that enables the task processing device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed through an input / output (I / O) interface 22. Furthermore, the task processing device 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 20. Fig.10 As shown, the network adapter 20 communicates with other modules of the task processing device 12 via the bus 18. It should be understood that although Fig.10 Not shown, other hardware and / or software modules may be used in conjunction with the task processing device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0120] The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, such as implementing the steps of the task processing method provided in an embodiment of the present invention, the method comprising: receiving a task adding request for a target pickup and dispatch task initiated by a first account; when it is determined that the target pickup and dispatch task is an abnormal pickup and dispatch task, intercepting the task adding request; changing the target pickup and dispatch task to a target to-be-assigned task, and returning the target to-be-assigned task to a task allocation pool; wherein the task allocation pool is used to store each to-be-assigned task; for each to-be-assigned task, the current to-be-assigned task is changed to a pickup and dispatch task after being assigned.

[0121] Of course, those skilled in the art can understand that the processor can also implement the technical solution of the task processing method provided by any embodiment of the present invention.

[0122] The present embodiment provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a task processing method as provided in the aforementioned embodiment of the present invention, the method comprising: receiving a task adding request for a target pickup and dispatch task initiated by a first account; intercepting the task adding request when determining that the target pickup and dispatch task is an abnormal pickup and dispatch task; changing the target pickup and dispatch task to a target to-be-assigned task, and returning the target to-be-assigned task to a task allocation pool; wherein the task allocation pool is used to store each to-be-assigned task; for each to-be-assigned task, the current to-be-assigned task is changed to a pickup and dispatch task after being assigned.

[0123] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0124] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0125] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0126] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or task processing device. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0127] It should be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0128] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A task processing method, characterized in that: The method comprises: Receive a task adding request for a target pickup task initiated by the first account; When it is determined that the target dispatching task is an abnormal dispatching task, intercepting the task adding request; The target dispatching task is changed into a target to-be-assigned task, and the target to-be-assigned task is returned to a task assignment pool; wherein the task assignment pool is used to store each to-be-assigned task; for each to-be-assigned task, the current to-be-assigned task is changed into a dispatching task after being assigned.

2. The task processing method according to claim 1, characterized in that: After receiving the task adding request initiated by the first account for the target pickup task, the method further includes: Obtaining task-related information of the target pickup task; Determine the target pick-up and dispatch site corresponding to the target pick-up and dispatch task based on the task association information; Determine whether the target pickup site is consistent with the current pickup site; When the target pickup site is inconsistent with the current pickup site, the target pickup task is determined to be the abnormal pickup task.

3. The task processing method according to claim 1, characterized in that: The step of changing the target dispatching task to a target to-be-allocated task, and returning the target to-be-allocated task to the task allocation pool, includes: An abnormal pop-up window is displayed on a task adding page presented by a first terminal corresponding to the first account, so as to prompt a first user corresponding to the first account of an abnormal task adding; In response to the task handover operation performed by the first user at the first terminal, the target dispatch task is changed to the target task to be assigned, and the target task to be assigned is returned to the task assignment pool.

4. The task processing method according to claim 3, characterized in that: In response to the task handover operation performed by the first user on the first terminal, changing the target dispatch task to the target to-be-assigned task, and returning the target to-be-assigned task to the task assignment pool, includes: In response to the first user's confirmation operation on the abnormal pop-up window, canceling the abnormal pop-up window on the task adding page, and adding the target delivery task to the list of tasks to be handed over; In response to the first user's selection operation of a task adding warning control in the task adding page, presenting a task handover page on the first terminal; In response to the first user's selection operation on the target dispatch task in the list of tasks to be handed over in the task handover page, calling the task management and control end to change the target dispatch task to the target task to be assigned, and returning the target task to be assigned to the task assignment pool; The target dispatch task is removed from the list of tasks to be handed over.

5. The task processing method according to claim 4, characterized in that: The adding of the target dispatch task to the list of tasks to be handed over includes: adding the target dispatch task to the list of tasks to be handed over, and updating the warning state of the task adding warning control; wherein the warning state is used to characterize the number of tasks to be handed over in the list of tasks to be handed over; The removing the target dispatch task from the list of tasks to be handed over includes: removing the target dispatch task from the list of tasks to be handed over, and updating the warning status of the task adding warning control.

6. The task processing method according to claim 1, characterized in that: After changing the target dispatching task to a target to-be-allocated task and returning the target to-be-allocated task to the task allocation pool, the method further includes: When a task assignment request initiated by a second account is detected, each task to be assigned currently stored in the task assignment pool is obtained, and a task assignment page is presented on a second terminal corresponding to the second account; wherein the task assignment page displays each task to be assigned currently stored; In response to a task assignment operation performed by a second user corresponding to the second account on the task assignment page, the target task to be assigned is assigned to change the target task to be assigned to a dispatch task.

7. The task processing method according to claim 6, characterized in that: In response to the task assignment operation performed by the second user corresponding to the second account on the task assignment page, the target task to be assigned is assigned to change the target task to be assigned to a dispatch task, including: In response to the second user's selection operation on the target task to be assigned in the task assignment page, when it is determined that the target task to be assigned is a secondary assignment task, calling the task management and control end to change the target task to be assigned to a target abnormal task to be processed, and adding the target abnormal task to be processed to the abnormal task processing pool; Removing the target task to be assigned from the task assignment pool; When an abnormal task processing request initiated by the second account is detected, each abnormal task to be processed currently stored in the abnormal task processing pool is obtained, and an abnormal task processing page is presented on the second terminal; wherein the abnormal task processing page displays each abnormal task to be processed currently stored; In response to the abnormal task processing operation performed by the second user on the abnormal task processing page, a dispatch task for the target abnormal task to be processed is created.

8. The task processing method according to claim 7, characterized in that: In response to the abnormal task processing operation performed by the second user on the abnormal task processing page, creating a dispatch task for the target abnormal task to be processed, including: In response to the second user's selection operation on the target abnormal task to be processed in the abnormal task processing page, acquiring task association information of the target abnormal task to be processed; Generate a task label for the target abnormal task to be processed based on the task association information, and call a printing terminal to print the task label; The target abnormal pending task is changed into a pick-up and dispatch task, and the changed pick-up and dispatch task is added to the list of pick-up and dispatch tasks to be added, and the target abnormal pending task is removed from the abnormal task processing pool.

9. The task processing method according to any one of claims 1 to 8, characterized in that: The step of changing the target dispatching task to a target to-be-allocated task, and returning the target to-be-allocated task to the task allocation pool, includes: Determine whether the abnormal control switch of the current pickup and delivery site is turned on; When the abnormal control switch is in the on state, the target dispatch task is changed to the target task to be assigned, and the target task to be assigned is returned to the task assignment pool.

10. A task processing device, characterized in that: The device comprises: A receiving module, used to receive a task adding request initiated by the first account for a target pickup task; An interception module, used for intercepting the task adding request when determining that the target dispatching task is an abnormal dispatching task; A processing module is used to change the target dispatch task into a target to-be-assigned task, and return the target to-be-assigned task to a task allocation pool; wherein the task allocation pool is used to store each to-be-assigned task; for each to-be-assigned task, the current to-be-assigned task is changed into a dispatch task after being processed by the allocation.

11. A task processing device, characterized in that: The task processing device comprises: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the task processing method according to any one of claims 1 to 9.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the task processing method as described in any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Task scheduling method, device and equipment and storage medium

    CN111930489A

  • Method and device for supporting modification of receiving information

    CN112686587A

  • Express interception early warning method, device and equipment and storage medium

    CN113988742A

  • Express delivery address modification method and device, equipment and storage medium

    CN115456510A

  • Distribution management method, server and system

    CN116862332A