Task status determination methods, apparatus and computer equipment

By receiving task status query instructions and matching historical business information with compliance conditions, the problem of low efficiency in confirming business task status in a big data environment is solved, and automated and efficient task status confirmation is achieved.

CN116795871BActive Publication Date: 2026-03-13CHINA CONSTRUCTION BANK +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-21
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

In a big data environment, business providers struggle to efficiently track and assess the task completion status of a large number of business users, leading to resource waste and low utilization.

Method used

By receiving a task status query command, the system obtains the historical business information of the queried object, matches it with the target task's compliance conditions, determines the task status, and achieves automated task status confirmation.

Benefits of technology

It reduces redundant data processing, saves resources, achieves a high degree of automated confirmation of task status, and improves resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116795871B_ABST
    Figure CN116795871B_ABST
Patent Text Reader

Abstract

This application relates to a task status determination method, apparatus, computer device, storage medium, and computer program product. The task status determination method includes: receiving a task status query instruction; the task status query instruction carrying the identity information of the query object; when the query object does not have completion information for the target task corresponding to the task status query instruction, obtaining the historical business information of the query object; matching the historical business information with the target task's achievement conditions; and determining the task status of the target task corresponding to the query object based on the matching result. This approach eliminates redundant processing of data acquisition, data matching, and status determination for completed tasks of the query object, thereby greatly preventing resource waste.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of big data processing technology, and in particular to a method, apparatus, computer equipment, storage medium, and computer program product for determining task status. Background Technology

[0002] With the development of big data and mobile internet, there are more and more scenarios involving data statistics and data analysis, and more and more business can be presented in a data-driven way.

[0003] To understand the actual development of various services, service providers typically set multiple indicators, such as quantity and quality, to define the phased goals for service users. This establishes phased tasks for service users, and subsequent services are provided based on the completion of these tasks. However, the diversity of services results in a massive number of tasks. Service providers need to spend a lot of time and resources to collect data from various service users and assess task completion. Furthermore, the large volume of data, including redundant data, leads to low resource utilization and waste. Summary of the Invention

[0004] Therefore, it is necessary to provide a method, apparatus, computer device, storage medium, and computer program product that can accelerate the confirmation of task status in order to address the above-mentioned technical problems.

[0005] Firstly, this application provides a method for determining a task state, including:

[0006] Receive a task status query instruction; the task status query instruction carries the identity information of the queried object;

[0007] When the query object does not have completion information for the target task corresponding to the task status query instruction, the historical business information of the query object is obtained;

[0008] The historical business information is matched with the target task achievement conditions corresponding to the target task;

[0009] Based on the matching results, determine the task status of the target task corresponding to the query object.

[0010] In one embodiment, before receiving the task status query instruction, the method further includes:

[0011] Receive configuration instructions;

[0012] Based on the configuration instructions, a first mapping relationship is established between the task corresponding to the configuration instructions and at least one task compliance condition.

[0013] In one embodiment, before matching the historical business information with the target task achievement conditions corresponding to the target task, the process includes:

[0014] Based on the target task, at least one corresponding task compliance condition is matched from the first mapping relationship and used as the target task compliance condition;

[0015] Determining the task status of the target task corresponding to the query object based on the matching result includes:

[0016] When the matching result indicates that the historical business information meets the target task achievement conditions, the task status is determined to be "task completed".

[0017] When the matching result indicates that the historical business information does not meet any of the target task's eligibility criteria, the task status is determined to be "task not completed".

[0018] In one embodiment, after receiving the configuration instruction, the method further includes:

[0019] Establish a second mapping relationship between the task corresponding to the configuration instruction, at least one task qualification condition, and virtual resource information;

[0020] After determining the task status of the target task corresponding to the query object based on the matching result, the method further includes:

[0021] When the task status is "task completed", the corresponding virtual resource information is matched from the second mapping relationship according to the target task;

[0022] Based on the virtual resource information, the virtual resource is transferred from the first preset storage address to the second preset storage address corresponding to the query object.

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

[0024] Receive change instructions;

[0025] Based on the task corresponding to the change instruction, at least one task compliance condition corresponding to the change instruction is matched from the first mapping relationship;

[0026] Update at least one matching task compliance condition according to at least one update compliance condition carried by the change instruction.

[0027] In one embodiment, updating at least one matched task compliance condition according to at least one updated compliance condition carried by the change instruction includes:

[0028] From at least one task compliance condition corresponding to the change instruction, match the task compliance conditions corresponding to each update compliance condition, and use them as the task compliance conditions to be updated.

[0029] Replace the conditions for each task to be updated with the corresponding conditions for updating.

[0030] In one embodiment, updating at least one matched task compliance condition according to at least one updated compliance condition carried by the change instruction includes:

[0031] Replace at least one task compliance condition corresponding to the change instruction with at least one updated compliance condition carried by the change instruction.

[0032] In one embodiment, the target task includes a single-transaction task;

[0033] After determining the task status of the target task corresponding to the query object based on the matching result, the method further includes:

[0034] When the task status of the single-transaction task is "task completed", the completion information corresponding to the query object is generated based on the query object and the single-transaction task.

[0035] In one embodiment, the target task includes a repetitive task;

[0036] After determining the task status of the target task corresponding to the query object based on the matching result, the method further includes:

[0037] When the task status of the repetitive task is "task completed", the historical business information is used as the judged historical business information.

[0038] In one embodiment, matching the historical business information with the target task achievement conditions corresponding to the target task further includes:

[0039] When the historical business information contains the identified historical business information, the remaining historical business information, excluding the identified historical business information, is matched with the target task achievement conditions corresponding to the target task.

[0040] Secondly, this application also provides a task status determination device, comprising:

[0041] The receiving module is used to receive a task status query instruction; the task status query instruction carries the identity information of the queried object.

[0042] The acquisition module is used to acquire historical business information of the query object when the query object does not have completion information for the target task corresponding to the task status query instruction;

[0043] The matching module is used to match the historical business information with the target task achievement conditions corresponding to the target task;

[0044] The determination module is used to determine the task status of the target task corresponding to the query object based on the matching result.

[0045] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the task state determination method described in any of the above embodiments.

[0046] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the task state determination method described in any of the above embodiments.

[0047] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the task state determination method described in any of the above embodiments.

[0048] The aforementioned task status determination method, apparatus, computer equipment, storage medium, and computer program product, upon receiving a task status query instruction, first determine the query object and target task corresponding to the instruction. Then, they search for relevant information about the query object and target task from pre-stored completion information. If not found, they continue to retrieve historical business information of the query object. This setup eliminates redundant processing of data acquisition, data matching, and status judgment for completed tasks of the query object, thereby greatly preventing resource waste. Furthermore, it enables automated querying of the status of completed phased tasks by business stakeholders, achieving a high degree of automated confirmation of phased task completion, and saving manpower and resources. Attached Figure Description

[0049] Figure 1 This is an application environment diagram of the task state determination method in one embodiment;

[0050] Figure 2 This is a flowchart illustrating a task status determination method in one embodiment;

[0051] Figure 3 This is a flowchart illustrating a task status determination method in one embodiment;

[0052] Figure 4 This is a flowchart illustrating a task status determination method in one embodiment;

[0053] Figure 5 This is a flowchart illustrating a task status determination method in one embodiment;

[0054] Figure 6 This is a flowchart illustrating a task status determination method in one embodiment;

[0055] Figure 7 This is a flowchart illustrating a task status determination method in one embodiment;

[0056] Figure 8 This is a flowchart illustrating a task status determination method in one embodiment;

[0057] Figure 9 This is a flowchart illustrating a task status determination method in one embodiment;

[0058] Figure 10 This is a structural block diagram of a task status determination device in one embodiment;

[0059] Figure 11 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0060] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0061] The task status determination method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network.

[0062] For example, the task status determination method is applied to terminal 102. Terminal 102 receives a task status query instruction; the task status query instruction carries the identity information of the queried object; when the queried object does not have completion information for the target task corresponding to the task status query instruction, terminal 102 retrieves the historical business information of the queried object from the data storage system of server 104; then, it matches the historical business information with the target task's achievement conditions; finally, based on the matching result, it determines the task status of the target task corresponding to the queried object. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. Server 104 can be implemented using a standalone server or a server cluster composed of multiple servers. Terminal 102 and server 104 can be directly or indirectly connected via wired or wireless communication, such as through a network connection.

[0063] For example, the task status determination method is applied to server 104. When terminal 102 receives a task status query instruction, terminal 102 sends the instruction to server 104. Then, if the server 104 finds that the target task corresponding to the query instruction does not have completion information, it retrieves the historical business information of the query object from the data storage system. The historical business information is then matched with the target task's achievement conditions. Finally, based on the matching result, the task status of the target task corresponding to the query object is determined. It is understood that the data storage system can be an independent storage device, or it can be located on a server, or it can be located on another terminal.

[0064] In one embodiment, a task state determination method is provided. This embodiment uses the application of the task state determination method to a terminal as an example for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and can be implemented through the interaction between the terminal and the server.

[0065] like Figure 2 As shown, the method for determining the task status includes:

[0066] Step 202: Receive the task status query instruction; the task status query instruction carries the identity information of the queried object.

[0067] Typically, in order to understand the actual development of various services, service providers usually set multiple indicators such as quantity and quality to limit the phased goals of service users, thereby setting phased tasks related to the services for service users, and providing follow-up services to service users based on the completion of phased tasks.

[0068] The task status query command refers to the command to query the actual status of the business requester in completing the above-mentioned phased tasks.

[0069] The query target is used to indicate the aforementioned business requester. Specifically, the query target can be any account that has been pre-registered on the platform designated by the business provider. The identity information of the query target can consist of at least one of letters, characters, or numbers, used to uniquely identify the business requester.

[0070] As an example, a task status query command can be issued by the user through the terminal's human-computer interaction interface. Alternatively, the terminal can automatically generate task status query commands according to a pre-set query frequency to periodically check the task completion status of the queried object. Or, the task status query command can be automatically generated by the terminal when the user inputs a specific command through the terminal's human-computer interaction interface. Specific commands could be, for example, interface switching commands or page refresh commands. In actual use, when a user clicks to enter a specific interface on the terminal's human-computer interaction interface, it can be understood as issuing an interface switching command, at which point the terminal is automatically triggered to generate a task status query command. Similarly, when a user refreshes a specific interface displayed on the terminal's human-computer interaction interface, it can be understood as issuing a page refresh command, at which point the terminal is automatically triggered to generate a task status query command.

[0071] Step 204: When the query object does not have completion information for the target task corresponding to the task status query instruction, obtain the historical business information of the query object.

[0072] The target task refers to at least one business-related phased task set by the business provider.

[0073] The completion information of the target task can be understood as information used to indicate that the business requester has completed the phased tasks set by the business provider.

[0074] Completion information can be pre-stored in the server's data storage system to indicate information related to the various stages of tasks previously completed by different business stakeholders.

[0075] Historical business information can be interaction-related data and operation-related data generated by the account corresponding to the query object on the platform specified by the service provider. Historical business information reflects all past operations performed by the account corresponding to the query object on the platform specified by the service provider. Specifically, the terminal can acquire historical business information according to a preset time interval. For example, the terminal can use the current moment as a starting point to acquire business information generated by the query object within a preset time period in the past, as historical business information.

[0076] As an example, the task status query instruction also carries task identity information, which can consist of at least one of letters, characters, or numbers, and is used to uniquely identify the phased tasks set by the service provider.

[0077] After receiving a task status query command, the terminal can determine the corresponding target task based on the task identity information carried in the task status query command.

[0078] As an example, when the server's data storage system generates and stores completion information based on the phased tasks completed by various business requesters, it can pre-mark the identity information of the corresponding business requester and the task identity information of the corresponding phased task on each piece of completion information. After receiving a task status query instruction, the terminal can first match the identity information and task identity information of the query object carried in the task status query instruction with the identity information of the business requester and the task identity information of the phased task carried in the completion information to determine whether there is information in the completion information that the current query object has completed the target task. If not, it can be assumed that when the terminal last received the task status query instruction for the current query object to complete the target task, the query object had not yet completed the target task. At this time, the terminal needs to re-obtain historical business information to determine whether the query object has completed the target task.

[0079] Step 206: Match historical business information with the target task's achievement conditions.

[0080] The target task achievement criteria refer to the standards for judging the completion status of phased tasks set by the business provider.

[0081] The criteria for achieving the target task can include the indicators that the business stakeholders need to meet when completing the target task.

[0082] The terminal determines whether the past operations of the account corresponding to the query object on the platform specified by the service provider have met the completion criteria of the phased tasks set by the service provider by matching all relevant information of the past operations of the account corresponding to the query object with the completion criteria of the phased tasks set by the service provider.

[0083] Step 208: Based on the matching results, determine the task status of the target task corresponding to the query object.

[0084] The task status can include whether the task is completed or not.

[0085] When the terminal determines that all past operations performed by the account corresponding to the query object on the platform specified by the service provider meet the completion criteria for the phased task set by the service provider, the matching result is that the query object has completed the target task, and the terminal determines the task status of the target task corresponding to the query object as "task completed". When the terminal determines that all past operations performed by the account corresponding to the query object on the platform specified by the service provider do not meet the completion criteria for the phased task set by the service provider, the matching result is that the query object has not completed the target task, and the terminal determines the task status of the target task corresponding to the query object as "task not completed".

[0086] As an example, after determining the task status of the target task corresponding to the query object, the terminal can display the task status through the terminal's human-computer interaction interface, and the business requester can directly obtain the completion status of the target task through the human-computer interaction interface.

[0087] Alternatively, the task status can also include the completion progress of the target task. For example, when the target task achievement condition is a quantity-related indicator corresponding to a phased task, the target task achievement condition can be a preset value. Then, the terminal can calculate the quotient of the actual value and the preset value based on the corresponding actual value in the historical business information as the completion progress of the target task.

[0088] In the above-described task status determination method, after receiving a task status query instruction, the terminal can first determine the query object and target task corresponding to the task status query instruction. Then, it searches for relevant information of the query object and target task from the pre-stored completion information. If not found, it continues to obtain the historical business information of the query object. Through this setting, the repetitive processing of data acquisition, data matching, and status judgment for the completed tasks of the query object is eliminated, thereby greatly preventing resource waste. Furthermore, the above-described task status determination method realizes the automated query of the status of the business requester's completion of the phased tasks, and achieves a high degree of automated confirmation of the completion status of the phased tasks, saving manpower and material resources.

[0089] like Figure 3 As shown, in some optional embodiments, before step 202, the following steps are also included:

[0090] Step 201a: Receive configuration instructions;

[0091] Step 201b: Based on the configuration instructions, establish a first mapping relationship between the task corresponding to the configuration instructions and at least one task compliance condition.

[0092] Configuration commands refer to commands that configure or change the indicators that need to be met for different stages of tasks.

[0093] As an example, a configuration command may carry task information for a phased task and at least one indicator content information. The task information may include task identity information and task content information. After receiving the configuration command, the terminal can first determine whether a task corresponding to the task identity information exists based on the task identity information carried in the configuration command. If it does not exist, a new task is created according to the task content information. Then, based on the at least one indicator content information carried in the configuration command, at least one task achievement condition is established. Subsequently, a first mapping relationship is established between the created task and the at least one task achievement condition. If the task identity information exists, the terminal directly establishes at least one task achievement condition based on the at least one indicator content information carried in the configuration command, and then establishes a first mapping relationship between the task corresponding to the task identity information and the at least one task achievement condition. The task content information may include the task name, number, etc.

[0094] In another alternative embodiment, the terminal may also accept a deletion instruction, which carries task identity information and indicator content information to be deleted. After receiving the deletion instruction, the terminal matches the corresponding task according to the task identity information carried in the deletion instruction, and further matches the corresponding task compliance conditions according to the indicator content information to be deleted, and finally deletes the matched task compliance conditions.

[0095] like Figure 4 As shown, in some optional embodiments, before step 206, the following steps are also included:

[0096] Step 205: Based on the target task, match at least one corresponding task compliance condition from the first mapping relationship, and use it as the target task compliance condition;

[0097] Step 208 includes:

[0098] When the matching result indicates that the historical business information meets the target conditions for each objective task, the task status is determined to be "task completed".

[0099] When the matching result indicates that the historical business information does not meet the criteria for any target task, the task status is determined to be "task not completed".

[0100] In this embodiment, a phased task can be understood as containing multiple phased sub-tasks, each with a corresponding target task fulfillment condition. When the terminal determines that historical service information meets all the task fulfillment conditions corresponding to the target task, it can consider that the historical service information meets all the phased sub-tasks of the phased task, and at this time, the task status can be confirmed as completed. When the terminal determines that historical service information does not meet the target task or any of the task fulfillment conditions corresponding to the target task, it can consider that the historical service information does not meet a certain phased sub-task of the phased task, and at this time, the task status is confirmed as incomplete.

[0101] In some alternative embodiments, step 201a may be followed by:

[0102] Establish a second mapping relationship between the task corresponding to the configuration command, at least one task qualification condition, and virtual resource information;

[0103] After step 208, it also includes:

[0104] When the task status is "task completed", the corresponding virtual resource information is matched from the second mapping relationship according to the target task;

[0105] Based on the virtual resource information, the virtual resource is transferred from the first preset storage address to the second preset storage address corresponding to the queried object.

[0106] Virtual resource information represents the specific information corresponding to a virtual resource, such as the storage address and numerical information of the virtual resource.

[0107] By pre-setting virtual resource information corresponding to each stage of the task, the service provider can distribute virtual resources to the service requester based on the completion status of the stage of the task, thereby providing better services to the service requester.

[0108] like Figure 5 As shown, in some optional embodiments, the task status confirmation method further includes:

[0109] Step 502: Receive the change instruction;

[0110] Step 504: Based on the task corresponding to the change instruction, match at least one task compliance condition corresponding to the change instruction from the first mapping relationship;

[0111] Step 506: Update at least one matching task compliance condition according to at least one update compliance condition carried by the change instruction.

[0112] Modification instructions refer to instructions that delete or add indicators that need to be met for different stages of tasks.

[0113] As an example, a change instruction can carry task identity information and change task content information of a phased task that needs to modify the corresponding indicator. After receiving the change instruction, the terminal can first determine whether there is a task corresponding to the task identity information based on the task identity information carried by the change instruction. If there is, it can further match at least one task compliance condition corresponding to the task from the first mapping relationship, that is, at least one task compliance condition corresponding to the change instruction. Then, based on the change task content information, at least one updated compliance condition is established, and then the updated compliance condition is used to update at least one task compliance condition corresponding to the task.

[0114] like Figure 6 As shown, in some optional embodiments, step 506 includes:

[0115] Step 5062a: From at least one task compliance condition corresponding to the change instruction, match the task compliance conditions corresponding to each update compliance condition, and use them as the task compliance conditions to be updated.

[0116] Step 5064a: Replace the compliance conditions of each task to be updated with the corresponding update compliance conditions.

[0117] In this embodiment, after the terminal matches at least one task compliance condition corresponding to the change instruction from the first mapping relationship, it can further obtain the task content information of at least one task compliance condition corresponding to the change instruction, and compare and match this task content information with the change task content information carried by the change instruction. If there is task content information that is the same as the change task content information, the task compliance condition corresponding to the task content information is taken as the task compliance condition to be updated, and the updated compliance condition corresponding to the change task content information is used to replace it, so as to complete the partial change of multiple task compliance conditions corresponding to a stage task.

[0118] like Figure 7 As shown, in some optional embodiments, step 506 includes:

[0119] Step 5062b: Replace at least one task compliance condition corresponding to the change instruction with at least one update compliance condition carried by the change instruction.

[0120] In this embodiment, after the terminal matches at least one task compliance condition corresponding to the change instruction from the first mapping relationship, it deletes all of these task compliance conditions and establishes at least one updated compliance condition to replace the deleted task compliance conditions according to the change task content information carried by the change instruction, so as to complete the complete change of multiple task compliance conditions corresponding to a phased task.

[0121] like Figure 8As shown, in some optional embodiments, the target task includes a single-transaction task;

[0122] Following step 208, the following also includes:

[0123] Step 209a: When the task status of a single-transaction task is "task completed", generate the completion information corresponding to the query object based on the query object and the single-transaction task.

[0124] As an example, when the task status of a single task is "task completed", the task identity information of the single task and the identity information of the query object are packaged and stored in the data storage system where all completion information is located. When the terminal receives a task status confirmation instruction again, it can determine whether the query object has completed the target task based on the latest completion information.

[0125] The completion information can be continuously updated based on the actual completion status of the phased tasks, so that each time the terminal receives a task status confirmation instruction, it can make a more accurate judgment on whether the target task has been completed. This avoids the process of repetitive data retrieval, data matching, and status judgment for the completed tasks of the business requesters.

[0126] like Figure 9 As shown, in some optional embodiments, the target task includes repetitive tasks;

[0127] Following step 208, the following also includes:

[0128] Step 209b: When the task status of a repetitive task is "task completed", the historical business information is used as the judged historical business information.

[0129] Repetitive tasks refer to metrics that a business requester can complete multiple times. When a business requester completes a repetitive task once, the terminal will reassess the completion status of the repetitive task based on subsequent historical business information generated by the business requester.

[0130] In this embodiment, when the terminal confirms that the task status of a repetitive task is completed, it can encapsulate the query object obtained in step 204, namely the historical business information of the business demander, as the judged historical business information.

[0131] Furthermore, in step 206, when there is already judged historical business information in the historical business information, the remaining historical business information other than the judged historical business information is matched with the target task achievement conditions corresponding to the target task, so as to prevent the repeated processing of business information that meets the indicators of repetitive tasks in the past.

[0132] In the above-mentioned task status determination method, users can flexibly configure and modify the indicators corresponding to each stage task through the terminal, which improves the configuration flexibility and universality of the task achievement conditions corresponding to the stage task, reduces development costs, and achieves the purpose of issuing corresponding virtual resources according to the completion status of the stage task of the business demander by pre-setting corresponding virtual resource information for each stage task. In this way, the automation of task completion status and virtual resource issuance is improved. Furthermore, the above-mentioned task status determination method achieves the differentiation of different types of stage tasks by packaging the historical business data of single tasks and encapsulating the historical business data of repetitive tasks, which increases the flexibility of task configuration.

[0133] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0134] Based on the same inventive concept, this application also provides a task state determination apparatus for implementing the task state determination method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more task state determination apparatus embodiments provided below can be found in the limitations of the task state determination method described above, and will not be repeated here.

[0135] In one embodiment, such as Figure 10 As shown, a task status determination device 1000 is provided, including: a receiving module 1002, an acquisition module 1004, a matching module 1006, and a determination module 1008, wherein:

[0136] The receiving module 1002 is used to receive a task status query command; the task status query command carries the identity information of the queried object;

[0137] The acquisition module 1004 is used to acquire historical business information of the query object when the completion information of the target task corresponding to the task status query instruction does not exist.

[0138] The matching module 1006 is used to match historical business information with the target task's achievement conditions.

[0139] The determination module 1008 is used to determine the task status of the target task corresponding to the query object based on the matching results.

[0140] In some optional embodiments, the receiving module 1002 is further configured to:

[0141] Receive configuration instructions;

[0142] Based on the configuration instructions, establish a first mapping relationship between the task corresponding to the configuration instructions and at least one task qualification condition.

[0143] In some optional embodiments, the matching module 1006 is further configured to:

[0144] Based on the target task, at least one corresponding task compliance condition is matched from the first mapping relationship and used as the target task compliance condition;

[0145] Module 1008 is also configured as follows:

[0146] When the matching result indicates that the historical business information meets the target conditions for each objective task, the task status is determined to be "task completed".

[0147] When the matching result indicates that the historical business information does not meet the criteria for any target task, the task status is determined to be "task not completed".

[0148] In some optional embodiments, the receiving module 1002 is further configured to:

[0149] Establish a second mapping relationship between the task corresponding to the configuration command, at least one task qualification condition, and virtual resource information;

[0150] Module 1008 is also configured as follows:

[0151] When the task status is "task completed", the corresponding virtual resource information is matched from the second mapping relationship according to the target task;

[0152] Based on the virtual resource information, the virtual resource is transferred from the first preset storage address to the second preset storage address corresponding to the queried object.

[0153] In some optional embodiments, the receiving module 1002 is further configured to:

[0154] Receive change instructions;

[0155] Based on the task corresponding to the change instruction, at least one task compliance condition corresponding to the change instruction is matched from the first mapping relationship;

[0156] Update at least one matching task compliance condition based on at least one update compliance condition carried by the change instruction.

[0157] In some optional embodiments, the receiving module 1002 is further configured to:

[0158] From at least one task compliance condition corresponding to the change instruction, match the task compliance conditions corresponding to each update compliance condition, and use them as the task compliance conditions to be updated.

[0159] Replace the completion criteria for each task to be updated with the corresponding completion criteria for the update.

[0160] In some optional embodiments, the receiving module 1002 is further configured to:

[0161] Replace at least one task compliance condition corresponding to the change instruction with at least one updated compliance condition carried by the change instruction.

[0162] In some alternative embodiments, the target task includes a single-shot task;

[0163] Module 1008 is also configured as follows:

[0164] When the task status of a one-time task is "task completed", the completion information corresponding to the query object is generated based on the query object and the one-time task.

[0165] In some alternative embodiments, the target task includes a repetitive task;

[0166] Module 1008 is also configured as follows:

[0167] When the task status of a repetitive task is "task completed", historical business information is used as the judged historical business information.

[0168] In some optional embodiments, the matching module 1006 is further configured to:

[0169] When there is already judged historical business information in the historical business information, the remaining historical business information other than the judged historical business information will be matched with the target task's achievement conditions.

[0170] Each module in the aforementioned task status determination device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0171] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 11 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a task state determination method. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0172] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0173] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the various steps of the task state determination method described above.

[0174] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the various steps of the task state determination method described above.

[0175] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0176] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0177] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for determining task status, characterized in that, include: Receive task status query command; The task status query command carries the identity information of the queried object; When the query object does not have completion information for the target task corresponding to the task status query instruction, it is determined that the target task has not been completed, and the historical business information of the query object is obtained; the historical business information is the interaction-related data and operation-related information generated by the query object on the platform on which it is executed; The target task refers to at least one business-related phased task set by the business provider; The historical business information is matched with the target task achievement conditions corresponding to the target task; Based on the matching results, determine the task status of the target task corresponding to the query object; The target tasks include single-task tasks and repetitive tasks; After determining the task status of the target task corresponding to the query object based on the matching result, the method further includes: When the task status of the single-transaction task is "task completed", the completion information corresponding to the query object is generated based on the query object and the single-transaction task. When the task status of the repetitive task is "task completed", the historical business information is used as the judged historical business information. The step of matching the historical business information with the target task achievement conditions corresponding to the target task also includes: When the historical business information contains the identified historical business information, the remaining historical business information, excluding the identified historical business information, is matched with the target task achievement conditions corresponding to the target task.

2. The method according to claim 1, characterized in that, Before receiving the task status query instruction, the method further includes: Receive configuration instructions; Based on the configuration instructions, a first mapping relationship is established between the task corresponding to the configuration instructions and at least one task compliance condition.

3. The method according to claim 2, characterized in that, Before matching the historical business information with the target task achievement conditions corresponding to the target task, the following steps are included: Based on the target task, at least one corresponding task achievement condition is matched from the first mapping relationship and used as the target task achievement condition; The step of determining the task status of the target task corresponding to the query object based on the matching result includes: When the matching result indicates that the historical business information meets the target task achievement conditions, the task status is determined to be "task completed". When the matching result indicates that the historical business information does not meet any of the target task's eligibility criteria, the task status is determined to be "task not completed".

4. The method according to claim 2, characterized in that, After receiving the configuration instruction, the process also includes: Establish a second mapping relationship between the task corresponding to the configuration instruction, at least one task qualification condition, and virtual resource information; After determining the task status of the target task corresponding to the query object based on the matching result, the method further includes: When the task status is "task completed", the corresponding virtual resource information is matched from the second mapping relationship according to the target task; Based on the virtual resource information, the virtual resource is transferred from the first preset storage address to the second preset storage address corresponding to the query object.

5. The method according to claim 2, characterized in that, The method further includes: Receive change instructions; Based on the task corresponding to the change instruction, at least one task compliance condition corresponding to the change instruction is matched from the first mapping relationship; Update at least one matching task compliance condition according to at least one update compliance condition carried by the change instruction.

6. The method according to claim 5, characterized in that, The step of updating at least one matched task compliance condition according to at least one updated compliance condition carried by the change instruction includes: From at least one task compliance condition corresponding to the change instruction, match the task compliance conditions corresponding to each update compliance condition, and use them as the task compliance conditions to be updated. Replace the conditions for each task to be updated with the corresponding conditions for updating.

7. The method according to claim 6, characterized in that, The step of updating at least one matched task compliance condition according to at least one updated compliance condition carried by the change instruction includes: Replace at least one task compliance condition corresponding to the change instruction with at least one updated compliance condition carried by the change instruction.

8. A task status determination device, characterized in that, include: The receiving module is used to receive task status query commands; The task status query command carries the identity information of the queried object; The acquisition module is used to determine that the target task has not been completed when the query object does not have completion information for the target task corresponding to the task status query instruction, and to acquire the historical business information of the query object; the historical business information is the interaction-related data and operation-related data generated by the query object on the platform on which it is executed; The matching module is used to match the historical business information with the target task achievement conditions corresponding to the target task; The determination module is used to determine the task status of the target task corresponding to the query object based on the matching results; The target task includes single-task tasks and repetitive tasks; the determining module is further configured to generate completion information corresponding to the query object based on the query object and the single-task when the task status of the single-task is "task completed"; The determining module is further configured to, when the task status of the repetitive task is that the task has been completed, use the historical business information as the judged historical business information. The matching module is further configured to match the remaining historical business information (excluding the judged historical business information) with the target task achievement conditions corresponding to the target task when the judged historical business information exists in the historical business information.

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

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

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the task state determination method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Task processing method and device, electronic equipment and storage medium

    CN112132612A