Task processing method and device
The task processing method enhances logistics quotation efficiency by directly completing tasks that meet preset criteria, reducing the number of review nodes and shortening the processing cycle.
Patent Information
- Application Number
- CN202310800224.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-12-31
AI Technical Summary
The existing logistics quotation process involves multiple approval nodes, leading to a long cycle and low efficiency due to the need for step-by-step approval by various personnel, which complicates the discount determination process.
A task processing method that involves obtaining attribute information, matching it with preset task information, and generating a processing result based on the matching, allowing direct completion of the process if the task meets the preset criteria, thereby reducing the number of review nodes.
This method improves task processing efficiency and shortens the processing cycle by allowing tasks to pass through only one review node if they meet preset criteria, thus streamlining the logistics quotation process.
Smart Images

Figure CN119227987A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the fields of computer technology and Internet technology, and in particular, to a task processing method and device. Background Art
[0002] With the continuous advancement of technology, there are different discount quotations for different logistics products. When a user uses a certain logistics product, the salesperson needs to complete the internal quotation process, mainly in the form of a step-by-step discount quotation, to clarify the corresponding discounts for different order quantities or amounts.
[0003] When the salesperson submits a quotation, it is necessary to determine whether the submitted quotation is lower than the discount threshold of each approval node. If it is lower than the configured threshold, it needs to go through the approval node. The approval nodes that need to be passed are: the third-level person in charge of the war zone, the price post, the war zone person in charge, the second-level person in charge of regional sales, and the district general manager. Only after passing the approval at each approval node can the quotation process be considered completed. Therefore, the existing approval process needs to go through many approval nodes, the cycle is very long, and the quotation efficiency is very low. Summary of the invention
[0004] Embodiments of the present disclosure provide a task processing method, device, electronic device, and computer-readable medium.
[0005] In a first aspect, an embodiment of the present disclosure provides a task processing method, the method comprising: in response to receiving a task to be processed, obtaining attribute information corresponding to the task to be processed; based on the attribute information corresponding to the task to be processed, selecting preset task information corresponding to the task to be processed; matching the task to be processed with the preset task information to obtain a matching result of the task to be processed; and generating a processing result corresponding to the task to be processed based on the matching result of the task to be processed.
[0006] In some embodiments, based on the attribute information corresponding to the task to be processed, selecting preset task information corresponding to the task to be processed includes: based on the attribute information corresponding to the task to be processed, determining the area information corresponding to the attribute information; and selecting preset task information corresponding to the task to be processed from the task information corresponding to the area information.
[0007] In some embodiments, the task to be processed includes multiple subtasks arranged in sequence; and the task to be processed is matched with preset task information to obtain a matching result of the task to be processed, including: based on the arrangement order of the multiple subtasks, the subtasks are compared with the preset task information in turn to obtain comparison results of the multiple subtasks; based on the comparison results of the multiple subtasks, a matching result of the task to be processed is generated.
[0008] In some embodiments, based on the arrangement order of multiple subtasks, the subtasks are compared with the preset task information in turn to obtain comparison results of the multiple subtasks, including: based on the arrangement order of multiple subtasks, obtaining multiple sub-preset tasks corresponding to the multiple subtasks from the preset task information; comparing the multiple subtasks with the multiple sub-preset tasks to obtain comparison results of the multiple subtasks.
[0009] In some embodiments, based on the comparison results of multiple subtasks, a matching result of the task to be processed is generated, including: in response to determining that the comparison results of the multiple subtasks are not less than the preset task information, generating a first matching result indicating that the task to be processed has passed the match; and based on the matching result of the task to be processed, generating a processing result corresponding to the task to be processed, including: in response to determining that the matching result of the task to be processed is the first matching result, generating a processing result indicating that the task to be processed has passed the review.
[0010] In some embodiments, based on the comparison results of multiple subtasks, a matching result of the task to be processed is generated, including: in response to determining that the comparison results of multiple subtasks are that the multiple subtasks are less than preset task information, a second matching result characterizing that the task to be processed does not pass the match is generated; and based on the matching result of the task to be processed, a processing result corresponding to the task to be processed is generated, including: in response to determining that the matching result of the task to be processed is the second matching result, a preset review process is executed on the task to be processed to obtain the processing result of the task to be processed.
[0011] In a second aspect, an embodiment of the present disclosure provides a task processing device, which includes: an acquisition module, configured to acquire attribute information corresponding to the task to be processed in response to receiving the task to be processed; a selection module, configured to select preset task information corresponding to the task to be processed based on the attribute information corresponding to the task to be processed; a matching module, configured to match the task to be processed with the preset task information to obtain a matching result of the task to be processed; and a generation module, configured to generate a processing result corresponding to the task to be processed based on the matching result of the task to be processed.
[0012] In some embodiments, the selection module is further configured to: determine the area information corresponding to the attribute information based on the attribute information corresponding to the task to be processed; and select the preset task information corresponding to the task to be processed from the task information corresponding to the area information.
[0013] In some embodiments, the task to be processed includes multiple subtasks arranged in sequence; and the matching module includes: a comparison unit, configured to: based on the arrangement order of the multiple subtasks, compare the subtasks with preset task information in sequence to obtain comparison results of the multiple subtasks; a generation unit, configured to: based on the comparison results of the multiple subtasks, generate a matching result of the task to be processed.
[0014] In some embodiments, the comparison unit is further configured to: based on the arrangement order of the multiple subtasks, obtain multiple sub-preset tasks corresponding to the multiple subtasks from the preset task information; compare the multiple subtasks with the multiple sub-preset tasks to obtain comparison results of the multiple subtasks.
[0015] In some embodiments, the generation unit is further configured to: in response to determining that the comparison result of multiple subtasks is that the multiple subtasks are not less than the preset task information, generate a first matching result representing that the task to be processed has passed the match; and the generation module is further configured to: in response to determining that the matching result of the task to be processed is the first matching result, generate a processing result representing that the task to be processed has passed the review.
[0016] In some embodiments, the generation unit is further configured to: in response to determining that the comparison result of multiple subtasks is that the multiple subtasks are less than the preset task information, generate a second matching result representing that the task to be processed does not pass the match; and the generation module is further configured to: in response to determining that the matching result of the task to be processed is the second matching result, execute a preset review process for the task to be processed to obtain the processing result of the task to be processed.
[0017] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: one or more processors; a storage device on which one or more programs are stored; when the one or more programs are executed by one or more processors, the one or more processors implement the task processing method described in any embodiment of the first aspect.
[0018] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the task processing method as described in any embodiment of the first aspect.
[0019] The task processing method provided by the embodiment of the present disclosure, the above-mentioned execution subject first responds to receiving the task to be processed, obtains the attribute information corresponding to the task to be processed, and then selects the preset task information corresponding to the task to be processed based on the attribute information corresponding to the task to be processed, and then matches the task to be processed with the preset task information to obtain the matching result of the task to be processed, and finally generates the processing result corresponding to the task to be processed based on the matching result of the task to be processed. The preset task information corresponding to the task to be processed can be set in advance. After receiving the task to be processed, the task to be processed and the preset task information can be directly compared to determine whether the task to be processed matches the preset task information. If they match, the task to be processed only needs to pass through one review node to complete the processing flow of the task to be processed, which can reduce the review nodes passed by the task to be processed and reduce the task processing flow that the task to be processed needs to go through, thereby improving the task processing efficiency and shortening the processing cycle. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Other features, objects and advantages of the present disclosure will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0021] Figure 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;
[0022] Figure 2 is a flow chart of an embodiment of a task processing method according to the present disclosure;
[0023] Figure 3 is a flow chart of an embodiment of obtaining a matching result of a task to be processed according to the present disclosure;
[0024] Figure 4 is a flowchart of another embodiment of the task processing method according to the present disclosure;
[0025] Figure 5 is a structural schematic diagram of an embodiment of a task processing device according to the present disclosure;
[0026] Figure 6 It is a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. DETAILED DESCRIPTION
[0027] The present disclosure is 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 relevant disclosure, rather than to limit the disclosure. It is also necessary to explain that, for ease of description, only the parts related to the relevant disclosure are shown in the accompanying drawings.
[0028] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0029] Figure 1 An exemplary system architecture 100 is shown to which the task processing method and apparatus according to the embodiments of the present disclosure can be applied.
[0030] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0031] The user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages, etc. The terminal devices 101, 102, 103 can be user terminal devices, on which various client applications can be installed, such as e-commerce platform applications, image applications, video applications, search applications, financial applications, etc.
[0032] The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting receiving server messages, including but not limited to smart phones, tablet computers, e-book readers, electronic players, laptop computers, desktop computers, and the like.
[0033] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. They can be implemented as multiple software or software modules (for example, multiple software modules for providing distributed services), or they can be implemented as a single software or software module. No specific limitation is made here.
[0034] The server 105 may be a server providing various services, such as a backend server that receives a request sent by a terminal device that establishes a communication connection with the server 105. The backend server may receive and analyze the request sent by the terminal device and generate a processing result.
[0035] The server 105 can receive the pending tasks sent by the terminal devices 101, 102, and 103, and then obtain the attribute information corresponding to the pending tasks, and based on the attribute information corresponding to the pending tasks, select the preset task information corresponding to the pending tasks, and then match the pending tasks with the preset task information to obtain the matching results of the pending tasks, and finally generate the processing results corresponding to the pending tasks based on the matching results of the pending tasks.
[0036] It should be noted that the server can be hardware or software. When the server is hardware, it can be various electronic devices that provide various services to the terminal device. When the server is software, it can be implemented as multiple software or software modules that provide various services to the terminal device, or it can be implemented as a single software or software module that provides various services to the terminal device. No specific limitation is made here.
[0037] It should be noted that the task processing method provided in the embodiments of the present disclosure may be executed by the server 105 , and accordingly, the task processing device may be disposed in the server 105 .
[0038] It should be understood that Figure 1The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0039] refer to Figure 2 , a flowchart 200 of an embodiment of a task processing method according to the present disclosure is shown. The task processing method comprises the following steps:
[0040] Step 210: in response to receiving the task to be processed, obtaining attribute information corresponding to the task to be processed.
[0041] In this step, the terminal device can display a submission interface of a pending task to the user through the screen. The pending task can be a discount quotation application task for a logistics product by a salesperson. The logistics product can include multiple different products for buyers to use. Different logistics products can correspond to different discount quotations. Discount quotations can include discounts of different gradients for the same logistics product under different statistical results. The user can submit a discount quotation application task for a certain logistics product in the terminal device. The terminal device generates a pending task based on the application task and sends the pending task to the execution subject (e.g., Figure 1 Server 105 in).
[0042] The above-mentioned execution entity can receive the pending tasks sent by the terminal device, parse and process the pending tasks, and obtain attribute information corresponding to the pending tasks. The attribute information may include the logistics product targeted by the pending tasks and the usage area targeted by the logistics products.
[0043] As an example, the pending tasks may be discount application tasks submitted for logistics products, which may include discount application tasks for the logistics products under multiple statistical types. The pending tasks may be shown in the following table:
[0044]
[0045]
[0046] Step 220: based on the attribute information corresponding to the task to be processed, select the preset task information corresponding to the task to be processed.
[0047] In this step, after the above-mentioned execution entity obtains the attribute information corresponding to the task to be processed, it can read the preset task information corresponding to the task to be processed from the locally stored preset task information correspondence table according to the attribute information of the task to be processed. The preset task information correspondence table includes the correspondence between the attribute information and the preset task information. Different attribute information can correspond to different preset task information, and the preset task information can be different discounts for different logistics products stipulated by the pre-stored logistics company.
[0048] As an example, the preset task information is for a logistics product called special delivery. The logistics company has different discount ranges for the logistics product. The preset task information can be shown in the following table:
[0049] Product Name Statistics Type Statistical minimum value (not included) Statistical maximum value (inclusive) Discount Special Offer Monthly Ticket Volume 0 1000 70% Special Offer Monthly Ticket Volume 1000 5000 60% Special Offer Monthly Ticket Volume 5000 infinity 50%
[0050] As an optional implementation, the above step 220, based on the attribute information corresponding to the task to be processed, selects the preset task information corresponding to the task to be processed, and may include the following steps:
[0051] The first step is to determine the region information corresponding to the attribute information based on the attribute information corresponding to the task to be processed.
[0052] Specifically, after the above-mentioned execution entity obtains the attribute information corresponding to the task to be processed, it can read the regional information corresponding to the attribute information from the locally stored regional information correspondence table according to the attribute information. The regional information correspondence table includes the correspondence between the attribute information and the regional information. Different attribute information corresponds to different regional information. The regional information can represent the use area targeted by the task to be processed. Each regional information may include task information of multiple different logistics products.
[0053] The second step is to select preset task information corresponding to the task to be processed from the task information corresponding to the area information.
[0054] Specifically, after the above-mentioned execution entity determines the area information corresponding to the attribute information, it can read multiple task information corresponding to the area information, and then the above-mentioned execution entity can select the preset task information corresponding to the task to be processed from the multiple task information corresponding to the area information according to the attribute information of the task to be processed.
[0055] In this implementation, by using attribute information to determine the corresponding area information, and selecting the preset task information corresponding to the task to be processed from the task information corresponding to the area information, the corresponding area information can be determined first, and the preset task information can be determined based on the area information. The steps for determining the preset task information can be further refined, thereby improving the accuracy of the preset task information corresponding to the task to be processed.
[0056] Step 230, matching the task to be processed with the preset task information to obtain a matching result of the task to be processed.
[0057] In this step, after the above-mentioned execution entity obtains the preset task information corresponding to the task to be processed, it can match the task to be processed and the preset task information, that is, compare the task to be processed with the preset task information, use the preset task information as the matching basis, judge whether the task to be processed matches the preset task information, and obtain the matching result of the task to be processed.
[0058] Specifically, the above-mentioned execution entity can compare the task to be processed with the preset task information to determine whether the task to be processed is not less than the preset task information, thereby determining whether the task to be processed matches the preset task information. If the task to be processed is not less than the preset task information, it is determined that the task to be processed matches the preset task information; if the task to be processed is less than the preset task information, it is determined that the task to be processed does not match the preset task information.
[0059] Step 240: Generate a processing result corresponding to the task to be processed based on the matching result of the task to be processed.
[0060] In this step, after the above-mentioned execution entity obtains the matching result of the task to be processed, it can determine whether the task to be processed matches the preset task information based on the matching result. If it is determined that the task to be processed matches the preset task information, it is determined that the task to be processed meets the requirements of the preset task information and meets the discount regulations of the logistics company. The processing result corresponding to the task to be processed can be generated directly through the review process of the task to be processed; if it is determined that the task to be processed does not match the preset task information, it is determined that the task to be processed does not meet the requirements of the preset task information and does not meet the discount regulations of the logistics company. The task to be processed can be sent to the manual review process, and the processing result corresponding to the task to be processed is generated according to the manual review result.
[0061] The task processing method provided by the embodiment of the present disclosure, the above-mentioned execution subject first responds to receiving the task to be processed, obtains the attribute information corresponding to the task to be processed, and then selects the preset task information corresponding to the task to be processed based on the attribute information corresponding to the task to be processed, and then matches the task to be processed with the preset task information to obtain the matching result of the task to be processed, and finally generates the processing result corresponding to the task to be processed based on the matching result of the task to be processed. The preset task information corresponding to the task to be processed can be set in advance. After receiving the task to be processed, the task to be processed and the preset task information can be directly compared to determine whether the task to be processed matches the preset task information. If they match, the task to be processed only needs to pass through one review node to complete the processing flow of the task to be processed, which can reduce the review nodes passed by the task to be processed and reduce the task processing flow that the task to be processed needs to go through, thereby improving the task processing efficiency and shortening the processing cycle.
[0062] See also Figure 3 , Figure 3 A flowchart 300 of an embodiment of obtaining a matching result of a task to be processed is shown, that is, the above step 230, matching the task to be processed with preset task information to obtain a matching result of the task to be processed, which may include the following steps:
[0063] The task to be processed may include a plurality of subtasks arranged in sequence, and the subtasks may be tasks sorted according to the statistical type of the logistics product targeted by the task to be processed.
[0064] Step 310 , based on the arrangement order of the multiple subtasks, sequentially compare the subtasks with the preset task information to obtain comparison results of the multiple subtasks.
[0065] In this step, the above-mentioned execution entity can compare the multiple subtasks with the preset task information in sequence according to the arrangement order of the multiple subtasks, that is, it can compare the first subtask with the preset task information to obtain the comparison result of the first subtask, and then compare the second subtask with the preset task information to obtain the comparison result of the second subtask, and execute the comparison steps in sequence to obtain the comparison results of multiple subtasks.
[0066] As an optional implementation, the above step 310, based on the arrangement order of the multiple subtasks, sequentially compares the subtasks with the preset task information to obtain the comparison results of the multiple subtasks, may include the following steps:
[0067] In the first step, based on the arrangement order of the multiple subtasks, multiple sub-preset tasks corresponding to the multiple subtasks are obtained from the preset task information.
[0068] Specifically, the above-mentioned execution entity can first determine the first subtask according to the arrangement order of multiple subtasks, and then determine the corresponding first sub-preset task from the preset task information according to the statistical type corresponding to the first subtask, and then determine the corresponding second sub-preset task from the preset task information according to the statistical type corresponding to the second subtask, and determine the sub-preset task corresponding to each subtask in turn.
[0069] The second step is to compare the multiple subtasks with the multiple sub-preset tasks to obtain comparison results of the multiple subtasks.
[0070] Specifically, after the above-mentioned execution subject obtains the sub-preset task corresponding to each subtask, it can compare each subtask with the sub-preset task respectively, that is, compare the first subtask with the first sub-preset task to obtain the comparison result of the first subtask, and then compare the second subtask with the second sub-preset task to obtain the comparison result of the second subtask, and compare them in sequence to obtain the comparison results of multiple subtasks.
[0071] The comparison results of multiple subtasks can be shown in the following table:
[0072]
[0073] In this implementation, by comparing each subtask with the sub-preset task respectively to obtain comparison results of multiple subtasks, the comparison result of each subtask in the task to be processed can be determined more accurately, thereby obtaining the comparison result of the task to be processed more accurately.
[0074] Step 320: Generate a matching result of the task to be processed based on the comparison results of the multiple subtasks.
[0075] In this step, after the execution subject obtains the comparison results of multiple subtasks, it can count the comparison results of multiple subtasks, determine whether there are mismatched comparison results among the multiple comparison results, and generate matching results for the task to be processed based on the determination results.
[0076] Specifically, after the above-mentioned execution entity statistics the comparison results of multiple subtasks, if it is determined that there are mismatched comparison results among the multiple comparison results, it is determined that the task to be processed does not match the preset task information, and a matching result is generated indicating that the task to be processed does not pass the match; if it is determined that all of the multiple comparison results are matching comparison results, it is determined that the task to be processed matches the preset task information, and a matching result is generated indicating that the task to be processed passes the match.
[0077] In this implementation, by generating the matching result of the task to be processed based on the comparison results of multiple subtasks, it is necessary to determine the comparison result of each subtask, and the specific content of the matching result can be refined so that the user can understand the comparison result of each subtask, making the matching result more concrete.
[0078] refer to Figure 4 , Figure 4 A flowchart 400 of another embodiment of a method for processing a task to be processed is shown. The method may include the following steps:
[0079] Step 410: In response to receiving the task to be processed, obtaining attribute information corresponding to the task to be processed.
[0080] In this step, step 410 and Figure 2 Step 210 in the illustrated embodiment is the same and will not be described in detail here.
[0081] Step 420: based on the attribute information corresponding to the task to be processed, select the preset task information corresponding to the task to be processed.
[0082] In this step, step 420 and Figure 2 Step 220 in the illustrated embodiment is the same and will not be described in detail here.
[0083] Step 430 , based on the arrangement order of the multiple subtasks, sequentially compare the subtasks with the preset task information to obtain comparison results of the multiple subtasks.
[0084] In this step, step 430 and Figure 3 Step 310 in the illustrated embodiment is the same and will not be described in detail here.
[0085] Step 440 , in response to determining that the comparison result of the multiple subtasks is that the multiple subtasks are not less than the preset task information, generating a first matching result indicating that the task to be processed passes the matching.
[0086] In this step, after the above-mentioned execution entity obtains the comparison results of multiple subtasks, it can analyze the comparison results of multiple subtasks to determine that the comparison results of multiple subtasks are not less than the matching results of the preset task information, then it is determined that the task to be processed can pass the match, and a first matching result is generated to characterize that the task to be processed has passed the match.
[0087] Step 450 , in response to determining that the matching result of the task to be processed is the first matching result, generating a processing result indicating that the task to be processed has passed the review.
[0088] In this step, after the execution subject generates the first matching result indicating that the pending task has passed the matching, it can be determined that the pending task can pass the review without the need for manual review, and a processing result indicating that the pending task has passed the review can be directly generated.
[0089] In this embodiment, by generating a processing result representing that the task to be processed has passed the review based on the first matching result, different steps can be executed based on different matching results. After determining that the task to be processed has passed the match, the task to be processed only needs to pass through one review node to complete the processing flow of the task to be processed, which can reduce the number of review nodes passed by the task to be processed and reduce the task processing flow that the task to be processed needs to go through.
[0090] Continue to refer Figure 4 , the method may further include the following steps:
[0091] Step 460 , in response to determining that the comparison result of the multiple subtasks is that the multiple subtasks are smaller than the preset task information, generating a second matching result indicating that the task to be processed fails the matching.
[0092] In this step, after the above-mentioned execution entity obtains the comparison results of multiple subtasks, it can analyze the comparison results of multiple subtasks to determine that there is a matching result in which the subtask is less than the preset task information in the comparison results of multiple subtasks, then it is determined that the task to be processed cannot pass the match, and a second matching result is generated to indicate that the task to be processed does not pass the match.
[0093] Step 470 , in response to determining that the matching result of the task to be processed is the second matching result, a preset review process is executed on the task to be processed to obtain a processing result of the task to be processed.
[0094] In this step, after the above-mentioned execution entity can generate a second matching result indicating that the task to be processed does not pass the match, it can be determined that the task to be processed cannot pass the review and needs to be manually reviewed. The preset review process can be executed on the task to be processed, and then the processing result of the task to be processed can be generated based on the review result.
[0095] In this embodiment, by determining that the pending task cannot pass the review based on the second matching result, the preset review process is executed on the pending task, and then the processing result of the pending task is generated according to the review result. Different steps can be executed based on different matching results. After determining that the pending task passes the match, the pending task only needs to pass through one review node to complete the processing process of the pending task, which can reduce the review nodes passed by the pending task and reduce the task processing process that the pending task needs to go through.
[0096] refer to Figure 5As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a task processing device. Figure 2 The method embodiments shown correspond.
[0097] like Figure 5 As shown, the task processing device 500 of this embodiment may include: an acquisition module 510 , a selection module 520 , a matching module 530 and a generation module 540 .
[0098] The acquisition module 510 is configured to acquire attribute information corresponding to the task to be processed in response to receiving the task to be processed;
[0099] The selection module 520 is configured to select preset task information corresponding to the task to be processed based on the attribute information corresponding to the task to be processed;
[0100] The matching module 530 is configured to match the task to be processed with the preset task information to obtain a matching result of the task to be processed;
[0101] The generating module 540 is configured to generate a processing result corresponding to the task to be processed based on the matching result of the task to be processed.
[0102] In some optional implementations of the present embodiment, the selection module 520 is further configured to: determine the area information corresponding to the attribute information based on the attribute information corresponding to the task to be processed; and select the preset task information corresponding to the task to be processed from the task information corresponding to the area information.
[0103] In some optional implementations of the present embodiment, the task to be processed includes multiple subtasks arranged in sequence; and the matching module 530 includes: a comparison unit, configured to: based on the arrangement order of the multiple subtasks, compare the subtasks with preset task information in sequence to obtain comparison results of the multiple subtasks; a generation unit, configured to: based on the comparison results of the multiple subtasks, generate a matching result of the task to be processed.
[0104] In some optional implementations of the present embodiment, the comparison unit is further configured to: based on the arrangement order of multiple subtasks, obtain multiple sub-preset tasks corresponding to the multiple subtasks from the preset task information; compare the multiple subtasks with the multiple sub-preset tasks to obtain comparison results of the multiple subtasks.
[0105] In some optional implementations of the present embodiment, the generation unit is further configured to: in response to determining that the comparison result of multiple subtasks is that the multiple subtasks are not less than the preset task information, generate a first matching result representing that the task to be processed has passed the match; and the generation module 540 is further configured to: in response to determining that the matching result of the task to be processed is the first matching result, generate a processing result representing that the task to be processed has passed the review.
[0106] In some optional implementations of the present embodiment, the generation unit is further configured to: in response to determining that the comparison result of multiple subtasks is that the multiple subtasks are less than the preset task information, generate a second matching result indicating that the task to be processed does not pass the match; and the generation module 540 is further configured to: in response to determining that the matching result of the task to be processed is the second matching result, execute a preset review process for the task to be processed to obtain the processing result of the task to be processed.
[0107] In the task processing device provided by the above-mentioned embodiment of the present disclosure, the above-mentioned execution subject first responds to receiving the task to be processed, obtains the attribute information corresponding to the task to be processed, and then selects the preset task information corresponding to the task to be processed based on the attribute information corresponding to the task to be processed, and then matches the task to be processed with the preset task information to obtain the matching result of the task to be processed, and finally generates the processing result corresponding to the task to be processed based on the matching result of the task to be processed. The preset task information corresponding to the task to be processed can be set in advance. After receiving the task to be processed, the task to be processed and the preset task information can be directly compared to determine whether the task to be processed matches the preset task information. If they match, the task to be processed only needs to pass through one review node to complete the processing flow of the task to be processed, which can reduce the review nodes passed by the task to be processed and reduce the task processing flow that the task to be processed needs to go through, thereby improving the task processing efficiency and shortening the processing cycle.
[0108] Those skilled in the art will appreciate that the above device also includes some other well-known structures, such as a processor, a memory, etc. In order to unnecessarily obscure the embodiments of the present disclosure, these well-known structures are described in detail. Figure 5 Not shown in FIG.
[0109] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security and national security.
[0110] Reference below Figure 6, which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing an embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as smart screens, notebook computers, PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0111] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0112] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 6 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0113] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above functions defined in the method of the embodiment of the present disclosure are executed. It should be noted that the computer-readable medium of the embodiment of the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more conductors, 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 an embodiment of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus, or a device. In an embodiment of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. 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. A computer-readable signal medium 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 combination with an instruction execution system, an apparatus, or a device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
[0114] Computer program code for performing the operations of the embodiments of the present disclosure 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" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via 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., using an Internet service provider to connect via the Internet).
[0115] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0116] The units involved in the embodiments described in the present application may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes an acquisition module, a selection module, a matching module and a generation module, wherein the names of these modules do not constitute a limitation on the modules themselves in some cases.
[0117] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device; or may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: in response to receiving a task to be processed, obtains attribute information corresponding to the task to be processed; based on the attribute information corresponding to the task to be processed, selects preset task information corresponding to the task to be processed; matches the task to be processed with the preset task information to obtain a matching result of the task to be processed; based on the matching result of the task to be processed, generates a processing result corresponding to the task to be processed.
[0118] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) to form a technical solution.
Claims
1. A task processing method, the method comprising: In response to receiving a task to be processed, obtaining attribute information corresponding to the task to be processed; Based on the attribute information corresponding to the task to be processed, selecting the preset task information corresponding to the task to be processed; Matching the task to be processed with the preset task information to obtain a matching result of the task to be processed; Based on the matching result of the task to be processed, a processing result corresponding to the task to be processed is generated.
2. The method according to claim 1, wherein: The selecting, based on the attribute information corresponding to the task to be processed, the preset task information corresponding to the task to be processed includes: Based on the attribute information corresponding to the task to be processed, determining the area information corresponding to the attribute information; The preset task information corresponding to the task to be processed is selected from the task information corresponding to the area information.
3. The method according to claim 1, wherein: The task to be processed includes a plurality of subtasks arranged in sequence; And, matching the task to be processed with the preset task information to obtain a matching result of the task to be processed includes: Based on the arrangement order of the multiple subtasks, the subtasks are compared with the preset task information in sequence to obtain comparison results of the multiple subtasks; Based on the comparison results of the multiple subtasks, a matching result of the task to be processed is generated.
4. The method according to claim 3, wherein: The step of comparing the subtasks with the preset task information in sequence based on the arrangement order of the multiple subtasks to obtain comparison results of the multiple subtasks includes: Based on the arrangement order of the multiple subtasks, acquiring multiple sub-preset tasks corresponding to the multiple subtasks from the preset task information; The multiple subtasks are compared with the multiple preset subtasks to obtain comparison results of the multiple subtasks.
5. The method according to claim 3, wherein: The generating the matching result of the task to be processed based on the comparison results of the multiple subtasks includes: In response to determining that the comparison result of the plurality of subtasks is that the plurality of subtasks are not less than the preset task information, generating a first matching result indicating that the task to be processed passes the matching; and The generating, based on the matching result of the task to be processed, a processing result corresponding to the task to be processed comprises: In response to determining that the matching result of the task to be processed is the first matching result, a processing result indicating that the task to be processed has passed the review is generated.
6. The method according to claim 3, wherein: The generating the matching result of the task to be processed based on the comparison results of the multiple subtasks includes: In response to determining that the comparison result of the plurality of subtasks is that the plurality of subtasks are smaller than the preset task information, generating a second matching result indicating that the task to be processed fails the matching; and The generating, based on the matching result of the task to be processed, a processing result corresponding to the task to be processed comprises: In response to determining that the matching result of the task to be processed is the second matching result, a preset review process is executed on the task to be processed to obtain a processing result of the task to be processed.
7. A task processing device, comprising: An acquisition module, configured to, in response to receiving a task to be processed, acquire attribute information corresponding to the task to be processed; A selection module is configured to select preset task information corresponding to the task to be processed based on the attribute information corresponding to the task to be processed; A matching module is configured to match the task to be processed with the preset task information to obtain a matching result of the task to be processed; The generating module is configured to generate a processing result corresponding to the task to be processed based on the matching result of the task to be processed.
8. The device according to claim 7, wherein: The selection module is further configured to: Based on the attribute information corresponding to the task to be processed, determining the area information corresponding to the attribute information; The preset task information corresponding to the task to be processed is selected from the task information corresponding to the area information.
9. The device according to claim 7, wherein: The task to be processed includes a plurality of subtasks arranged in sequence; And, the matching module includes: A comparison unit is configured to: compare the subtasks with the preset task information in sequence based on the arrangement order of the multiple subtasks to obtain comparison results of the multiple subtasks; The generating unit is configured to generate a matching result of the task to be processed based on the comparison results of the multiple subtasks.
10. The device according to claim 9, wherein: The comparison unit is further configured to: Based on the arrangement order of the multiple subtasks, acquiring multiple sub-preset tasks corresponding to the multiple subtasks from the preset task information; The multiple subtasks are compared with the multiple preset subtasks to obtain comparison results of the multiple subtasks.
11. The apparatus according to claim 9, wherein the generating unit is further configured to: in response to determining that the comparison result of the plurality of subtasks is that the plurality of subtasks are not less than the preset task information, generate a first matching result indicating that the task to be processed passes the matching; and The generating module is further configured to: in response to determining that the matching result of the task to be processed is the first matching result, generate a processing result indicating that the task to be processed has passed the review.
12. The apparatus according to claim 9, wherein the generating unit is further configured to: in response to determining that the comparison result of the plurality of subtasks is that the plurality of subtasks are smaller than the preset task information, generate a second matching result indicating that the task to be processed does not pass the matching; and The generation module is further configured to: in response to determining that the matching result of the task to be processed is the second matching result, execute a preset review process on the task to be processed to obtain a processing result of the task to be processed.
13. An electronic device comprising: one or more processors; a storage device 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 are enabled to implement the method according to any one of claims 1 to 6.
14. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.