CN111754189A - Task delivery method and device, computer equipment and computer readable storage medium - Google Patents

Task delivery method and device, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN111754189A
CN111754189A CN202010418711.6A CN202010418711A CN111754189A CN 111754189 A CN111754189 A CN 111754189A CN 202010418711 A CN202010418711 A CN 202010418711A CN 111754189 A CN111754189 A CN 111754189A
Authority
CN
China
Prior art keywords
task
target
configuration
target scene
scene configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010418711.6A
Other languages
Chinese (zh)
Inventor
董宁宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN202010418711.6A priority Critical patent/CN111754189A/en
Publication of CN111754189A publication Critical patent/CN111754189A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/01Customer relationship services

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Finance (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a task putting method, a device, computer equipment and a computer readable storage medium, which relate to the technical field of Internet, can acquire target task configuration and target scene configuration according to putting triggering operation, automatically create and put a target task and a related task according to the target task configuration and the target scene configuration, do not need to set the task in advance, and can automatically generate the task according to the configuration, thereby not only reducing the workload of task putting, but also improving the flexibility of task putting, and improving the efficiency of task putting by adopting an automatic generating and putting mode. The method comprises the following steps: when a release triggering operation is detected, acquiring target task configuration and target scene configuration; constructing a target task and an associated task based on the target task configuration and the target scene configuration; and delivering the target task and the associated task.

Description

Task delivery method and device, computer equipment and computer readable storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a task delivery method and apparatus, a computer device, and a computer-readable storage medium.
Background
With the rapid development of internet technology, more and more services can be executed or handled on line, and therefore, a large number of service platforms for providing service handling windows are in force. For an access party to be loaded on a service platform, the access party needs to provide a large number of parameters to the service platform, and the parameters need to be provided in sequence. In order to assist the access party to correctly complete the process of providing the parameters and reduce the operation pressure of the access party, the service platform generally puts a series of tasks to the access party, and the access party sequentially executes the series of tasks to upload the parameters, so that the parameters are guaranteed to be accurate in content and sequence.
In the related technology, a service system determines a series of preset tasks according to the operation requested to be executed by an access party, puts the series of tasks to the access party, determines a first task in the series of tasks, displays the first task to the access party for execution, determines a next task for display after the access party successfully executes the first task, and so on until the access party completes all the tasks.
In the process of implementing the invention, the inventor finds that the related art has at least the following problems:
the business system is divided into a plurality of business scenes, when an access party requests to execute the same operation in different business scenes, tasks which need to be released to the access party by the business system may be different, for example, when the access party simultaneously requests to execute registration operation in an article pushing scene and a money receiving scene, the tasks released to the access party by the business system in the article pushing scene are business account number input tasks, and the tasks released to the access party in the money receiving scene are bank account number input tasks.
Disclosure of Invention
In view of this, the present invention provides a task delivery method, a task delivery device, a computer device, and a computer-readable storage medium, and mainly aims to solve the problems that the present delivery process of the whole task involves a large amount of workload, the task delivery efficiency is not high, and the flexibility is poor.
According to a first aspect of the present invention, a task delivery method is provided, the method comprising:
when a release triggering operation is detected, acquiring a target task configuration and a target scene configuration, wherein the target task configuration is a configuration corresponding to the release triggering operation, and the target scene configuration is a configuration of a scene where the release triggering operation is located;
constructing a target task and an associated task based on the target task configuration and the target scene configuration, wherein the task attribute of the target task is from the target task configuration, and the associated task is a task which has an association relation with the target scene configuration or a task which is triggered in the target scene configuration by the launching triggering operation;
and delivering the target task and the associated task.
In another embodiment, after the obtaining of the target task configuration and the target scenario configuration when the drop trigger operation is detected, the method further includes:
generating a first approval work order and a second approval work order, wherein the first approval work order is used for approving the target task configuration, and the second approval work order is used for approving the target scene configuration;
if the approval is determined to be successful based on the first approval work order and the second approval work order, issuing the target task configuration and the target scene configuration, and continuing to construct the target task and the associated task based on the target task configuration and the target scene configuration;
and if the approval failure is determined based on the first approval worksheet or the second approval worksheet, generating failure feedback by using the first approval worksheet or the second approval worksheet, feeding back based on the failure feedback, and finishing the current process.
In another embodiment, the constructing the target task and the associated task based on the target task configuration and the target scenario configuration includes:
determining at least one target configuration item in the target task configuration according to the target scene configuration, wherein the at least one target configuration item is a configuration item required to be executed by the target scene configuration in the target task configuration;
taking the at least one target configuration item as the task attribute to construct the target task;
extracting a task source in the target scene configuration, wherein the task source is used for limiting the creation mode of the associated task;
when the task source indicates a static source, acquiring a preset task list having an association relation with the target scene configuration, and taking at least one first preset task included in the preset task list as the association task;
and when the task source indicates a dynamic source, at least one second preset task with a trigger identifier consistent with the launching trigger operation is inquired in the preset task list, and the at least one second preset task is used as the associated task.
In another embodiment, the delivering the target task and the associated task includes:
grouping the target tasks and the associated tasks according to the target scene configuration to obtain a first task group and a second task group, wherein the tasks in the first task group have a progressive relation in the target scene configuration, and the tasks in the second task group are independent in the target scene configuration;
determining a first task in the first task group according to the progressive relation, delivering the first task, continuing to determine a next task of the first task according to the progressive relation after determining that the first task is successfully executed, and delivering the next task until all the first task groups are delivered;
and parallelly releasing the tasks included in the second task group.
In another embodiment, after the delivering the target task and the associated task, the method further includes:
creating a task instance, wherein the task instance is used for monitoring the task states of the target task and the associated task and recording the task states;
monitoring the task states of the target task and the associated task based on the task instance;
when the task state of the target task or the associated task is monitored to be updated, extracting a task code of the updated task, generating an update state carrying the task code, and updating the update state to the task instance, wherein the task code is a unique identifier for indicating the task.
In another embodiment, after the creating of the task instance, the method further comprises:
generating a rated task number based on the target scene configuration and the release triggering operation;
verifying the task instance by adopting the rated task number;
when the task number monitored by the task instance is determined to be consistent with the rated task number through verification, starting a monitoring function of the task instance, and starting to monitor the task states of the target task and the associated task;
and when the task data monitored by the task instance is checked to be inconsistent with the rated task number, re-determining the target task and the associated task based on the target scene configuration and the launching triggering operation, and updating the task instance according to the re-determined target task and the associated task.
In another embodiment, the generating a rated number of tasks based on the target scenario configuration and the launch trigger operation includes:
acquiring a preset task list having an association relation with the target scene configuration, and counting a first task number triggered in the preset task list by the release triggering operation according to a task source indicated by the target scene configuration;
counting the number of second tasks required to be executed by the release triggering operation in the target scene configuration;
and calculating the sum of the number of the first task number and the second task number as the rated task number.
According to a second aspect of the present invention, there is provided a task delivery apparatus, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring target task configuration and target scene configuration when a release triggering operation is detected, the target task configuration is a configuration corresponding to the release triggering operation, and the target scene configuration is a configuration of a scene where the release triggering operation is located;
a construction module, configured to construct a target task and an associated task based on the target task configuration and the target scene configuration, where a task attribute of the target task is from the target task configuration, and the associated task is a task having an association relationship with the target scene configuration or a task triggered in the target scene configuration by the launch trigger operation;
and the releasing module is used for releasing the target task and the associated task.
In another embodiment, the apparatus further comprises:
the first generation module is used for generating a first approval worksheet and a second approval worksheet, wherein the first approval worksheet is used for approving the target task configuration, and the second approval worksheet is used for approving the target scene configuration;
the construction module is further configured to issue the target task configuration and the target scene configuration if the approval is determined to be successful based on the first approval work order and the second approval work order, and continue to construct the target task and the associated task based on the target task configuration and the target scene configuration;
and the feedback module is used for generating failure feedback by adopting the first approval worksheet or the second approval worksheet if the approval failure is determined based on the first approval worksheet or the second approval worksheet, feeding back based on the failure feedback, and finishing the current process.
In another embodiment, the first creating module includes:
the determining unit is used for determining at least one target configuration item in the target task configuration according to the target scene configuration, wherein the at least one target configuration item is a configuration item required to be executed by the target scene configuration in the target task configuration;
the construction unit is used for constructing the target task by taking the at least one target configuration item as the task attribute;
an extracting unit, configured to extract a task source in the target scene configuration, where the task source is used to limit a creation manner of the associated task;
an obtaining unit, configured to obtain a preset task list having an association relationship with the target scene configuration if the task source indicates a static source, and use at least one first preset task included in the preset task list as the association task;
and the query unit is used for querying at least one second preset task with a trigger identifier consistent with the launching trigger operation in the preset task list if the task source indicates a dynamic source, and taking the at least one second preset task as the associated task.
In another embodiment, the delivery module includes:
a grouping unit, configured to group the target task and the associated task according to the target scene configuration to obtain a first task group and a second task group, where a progressive relationship exists between tasks included in the first task group in the target scene configuration, and tasks included in the second task group are independent in the target scene configuration;
the releasing unit is used for determining a first task in the first task group according to the progressive relation, releasing the first task, continuing to determine a next task of the first task according to the progressive relation after determining that the first task is successfully executed, and releasing the next task until all the first task group is released;
and the launching unit is also used for launching the tasks included in the second task group in parallel.
In another embodiment, the apparatus further comprises:
the second creating module is used for creating a task instance, and the task instance is used for monitoring the task states of the target task and the associated task and recording the task states;
the monitoring module is used for monitoring the task states of the target task and the associated task based on the task instance;
and the updating module is used for extracting a task code of the task which is updated when the task state of the target task or the associated task is monitored to be updated, generating an updating state carrying the task code, and updating the updating state to the task instance, wherein the task code is a unique identifier for indicating the task.
In another embodiment, the apparatus further comprises:
the second generation module is used for generating a rated task number based on the target scene configuration and the launching triggering operation;
the checking module is used for checking the task instance by adopting the rated task number;
the monitoring module is further configured to start a monitoring function of the task instance to start monitoring task states of the target task and the associated task when it is determined by the verification that the number of tasks monitored by the task instance is consistent with the rated number of tasks;
and the building module is further configured to determine the target task and the associated task based on the target scene configuration and the launching triggering operation again when it is determined by verification that the task data monitored by the task instance is inconsistent with the rated task number, and update the task instance according to the re-determined target task and the associated task.
In another embodiment, the second generating module includes:
an obtaining unit, configured to obtain a preset task list having an association relationship with the target scene configuration, and count a first task number triggered in the preset task list by the launch triggering operation according to a task source indicated by the target scene configuration;
the counting unit is used for counting the number of second tasks required to be executed by the releasing triggering operation in the target scene configuration;
and the calculating unit is used for calculating the sum of the number of the first task number and the second task number as the rated task number.
According to a third aspect of the present invention, there is provided a computer device comprising a memory storing a computer program and a processor implementing the steps of the method of the first aspect when the processor executes the computer program.
According to a fourth aspect of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the first aspect described above.
By means of the technical scheme, the task releasing method, the device, the computer equipment and the computer readable storage medium provided by the invention have the advantages that the target task configuration and the target scene configuration are obtained according to the releasing triggering operation, the target task and the associated task are automatically established according to the target task configuration and the target scene configuration for releasing, the task is not required to be set in advance, the task can be automatically generated according to the configuration for releasing, the workload of task releasing is reduced, the flexibility of task releasing is improved, and the efficiency of task releasing is improved by adopting an automatic generating and releasing mode.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a task delivery method according to an embodiment of the present invention;
fig. 2A is a schematic flowchart illustrating a task delivery method according to an embodiment of the present invention;
fig. 2B shows an interaction diagram of a task delivery method according to an embodiment of the present invention;
fig. 3A is a schematic structural diagram illustrating a task delivering device according to an embodiment of the present invention;
fig. 3B is a schematic structural diagram of a task delivering device according to an embodiment of the present invention;
fig. 3C is a schematic structural diagram of a task delivering device according to an embodiment of the present invention;
fig. 3D is a schematic structural diagram of a task delivering device according to an embodiment of the present invention;
fig. 3E is a schematic structural diagram of a task releasing device according to an embodiment of the present invention;
fig. 3F is a schematic structural diagram of a task delivering device according to an embodiment of the present invention;
fig. 3G is a schematic structural diagram of a task releasing device according to an embodiment of the present invention;
fig. 4 shows a schematic device structure diagram of a computer apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
An embodiment of the present invention provides a task delivery method, as shown in fig. 1, the method includes:
101. when the launching triggering operation is detected, acquiring target task configuration and target scene configuration, wherein the target task configuration is the configuration corresponding to the launching triggering operation, and the target scene configuration is the configuration of the scene where the launching triggering operation is located.
102. And constructing a target task and an associated task based on the target task configuration and the target scene configuration, wherein the task attribute of the target task is from the target task configuration, and the associated task is a task which has an association relation with the target scene configuration or a task triggered in the target scene configuration by the release triggering operation.
103. And delivering the target task and the associated task.
According to the method provided by the embodiment of the invention, the target task configuration and the target scene configuration are obtained according to the launching triggering operation, the target task and the associated task are automatically established according to the target task configuration and the target scene configuration for launching, the task is not required to be set in advance, the task can be automatically generated according to the configuration for launching, the workload of task launching is reduced, the flexibility of task launching is improved, and the efficiency of task launching is improved by adopting an automatic generating and launching mode.
An embodiment of the present invention provides a task delivery method, as shown in fig. 2A, the method includes:
201. and when the launching triggering operation is detected, acquiring target task configuration and target scene configuration.
The inventors have recognized that a CRM (Customer relationship management) system has been currently derived for the purpose of enabling the delivery of tasks. Various business functions are provided in the CRM system, so that the CRM system can help a user to integrate online and offline resources, update and promote the activity efficiently, and the product value is improved. However, the CRM system is mainly directed at users with purchase demands, that is, customers, when the customers access the CRM system, in order to help the customers to quickly complete basic settings, the CRM system generally sets in advance a series of tasks to be delivered to the customers, the tasks usually include a plurality of tasks, the tasks are sequential, some tasks are mandatory, some tasks have obvious timeliness, the tasks are suitable for delivery to the customers, but if the tasks are delivered to merchants, the purpose of assisting the merchants to complete the basic settings is probably not achieved, and troubles are brought to the merchants. In addition, the complexity of the CRM system is high, the coverage business domain is wide, the access flow is long, the characteristic is not friendly to a merchant using the CRM system for the first time, and the working efficiency of the merchant can be reduced. Further, the needs of the merchants under different scenes are different, and if the merchants only require one business function under the current scene, the CRM system still puts all tasks into the merchants to execute, and a large amount of task resources are wasted. Therefore, the invention provides a task putting method, when the putting trigger operation of a merchant is detected, a series of tasks are constructed by integrating the putting trigger operation and the scene where the putting trigger operation is located, the tasks are screened, a large number of useless tasks are prevented from being put, the workload of task putting is reduced, the tasks do not need to be set in advance aiming at each scene, the efficiency of task putting is improved, and the flexibility of task putting is also improved.
The invention relates to a task delivery system which can be divided into a console, a delivery platform and an application platform. The console is used for configuring the task configuration and the scene configuration related to the invention, and transmitting the configured task configuration and scene configuration to the application platform for approval. And after the application platform passes the approval, the application platform can transmit the configuration to the releasing platform so that the releasing platform can use the configuration in the process of executing task releasing.
In order to implement the scheme of the present invention, a plurality of task configurations and scene configurations need to be set, so that when a release triggering operation is detected in the following, corresponding task configurations and scene configurations can be obtained according to the release triggering operation, and a series of tasks to be released are automatically generated according to the obtained task configurations and scene configurations, thereby implementing automatic generation and release of tasks. The task configuration is, for example, related attributes of the task, such as a file, a title, an icon, a pre-task, and the like. The scene configuration is also task attributes required by the scene, and the scene configuration can collect a batch of related tasks to form a preset task list and configure the execution sequence of the tasks included in the preset task list. In addition, the scene configuration itself may also record some dependency relationships with other scene configurations, for example, a task in the scene configuration a must be completed first to continue executing a task in the scene configuration B, or a skipped task in the scene configuration a may be automatically added to the scene configuration B to continue executing, and so on. The present invention does not limit the specific contents included in the task configuration and the scene configuration.
Therefore, when the release triggering operation is detected, the target task configuration and the target scene configuration can be obtained according to the release triggering operation. The target task is configured to be a configuration corresponding to the release triggering operation, and the target scene is configured to be a configuration of a scene where the release triggering operation is located. In the actual application process, in order to ensure the correctness and reliability of the operation on the configuration, after the target task configuration and the target scene configuration are obtained, the target task configuration and the target scene configuration need to be approved, and the specific approval process can be realized based on an approval work order. That is, after the target task configuration and the target scene configuration are obtained, the first approval work order and the second approval work order are generated. The first approval worksheet is used for approving the target task configuration, the second approval worksheet is used for approving the target scene configuration, the configuration can be displayed on the approval worksheets regardless of the first approval worksheets or the second approval worksheets, and the first approval worksheets and the second approval worksheets are displayed so that a worker can approve the target task configuration and the target scene configuration based on the approval worksheets. Then, if the approval is determined to be successful based on the first approval work order and the second approval work order, that is, the confirmation instruction of the worker is received based on the first approval work order and the second approval work order, it may be directly determined that the obtained configurations are all correct, the target task configuration and the target scene configuration are issued, and the process of establishing the target task and the associated task based on the target task configuration and the target scene configuration in the subsequent steps 202 to 206 may be continuously performed. If the approval failure is determined based on the first approval work order or the second approval work order, that is, if a cancellation instruction of the worker is received based on any one of the first approval work order or the second approval work order, it can be determined that the configuration related to the approval work order receiving the cancellation instruction is wrong, the acquired configuration cannot be used, and the configuration needs to be acquired again, so that failure feedback is generated by adopting the first approval work order or the second approval work order, feedback is performed based on the failure feedback, the current process is ended, and the worker selects to execute the acquisition of the configuration again or completely ends the whole process.
202. And determining at least one target configuration project in the target task configuration according to the target scene configuration, and constructing the target task by adopting the at least one target configuration project.
In the embodiment of the present invention, the target scene configuration substantially specifies task attributes of tasks that need to be delivered in the current scene, so the target task configuration and the target scene configuration are compared, a configuration item that is required to be executed by the target scene configuration is determined as at least one target configuration item in the target task configuration, and the task is constructed by using the at least one target configuration item as the task attributes to obtain the target task. In fact, the target task configuration and the target scene configuration are the same in expression mode, so that in the process of practical application, a configuration item consistent with the target scene configuration can be directly extracted from the target task configuration to serve as at least one target configuration item, and a target task is further constructed. For example, assuming that the target scene configuration includes an ID (Identity Document), a title, a description, and a footer, and the target task configuration includes an ID, a Document, and a title, the target configuration items determined in the target task configuration are the ID and the title, and the ID and the title are used as task attributes to construct the target task.
203. And establishing a related task based on the target scene configuration and the release triggering operation.
In the embodiment of the invention, some scenes carry some tasks, the tasks are scene-specific, and if the scene is the scene where the release triggering operation is located, the tasks carried by the scenes also need to be the tasks to be released, so that associated tasks need to be created based on the target scene configuration and the release triggering operation, and the associated tasks are tasks involved in the target scene configuration.
In the process of practical application, the configuration of the associated task has two task sources, one is a static source, namely a task directly derived from a target configuration scene, and is a task preset by the target scene configuration. The other is a dynamic source, namely, a release triggering operation is triggered in the target scene configuration and added to the task to be released. Therefore, the associated task may be a task having an association relationship with the target scene configuration, or may also be a task triggered in the target scene configuration by the release triggering operation. However, a task source that is generally used to limit a creation manner of the associated task is specified in the scene configuration of each scene, so that the task source is extracted from the target scene configuration, if the task source indicates a static source, a preset task list having an association relationship with the target scene configuration is obtained, and at least one first preset task included in the preset task list is used as the associated task. If the task source indicates a dynamic source, at least one second preset task with the trigger identifier consistent with the releasing trigger operation is inquired in the preset task list, and if the trigger identifier is consistent with the releasing trigger operation, the task is triggered by the releasing trigger operation, so that the at least one second preset task is used as an associated task.
204. And delivering the target task and the associated task.
In the invention, after the creation of the target task and the associated task is completed, the target task and the associated task can be released, the automatic creation of the task is realized, and the task is ensured to be related to the scene and the releasing triggering operation. However, when the target task and the associated task are delivered, because some tasks have a progressive relationship, for example, only after the task a is completed, the task B can be delivered, otherwise, the task B is not delivered or started, and some tasks are independent, and have no relationship with any task, and no influence is caused when the task is completed or not completed, it is necessary to determine whether the progressive relationship and the specific content of the progressive relationship exist before the task when the target task and the associated task are delivered, so that the task is correctly delivered.
In this way, the target task and the associated task are delivered in the following specific process: firstly, grouping target tasks and associated tasks according to target scene configuration to obtain a first task group and a second task group. Wherein the tasks included in the first task group have a progressive relationship in the target scene configuration and the tasks included in the second task group are independent in the target scene configuration. And then, for the first task group, determining a first task in the first task group according to a progressive relation, delivering the first task, after determining that the first task is successfully executed, continuing to determine a next task of the first task according to the progressive relation, and delivering the next task until all the first task groups are delivered. For the second task group, the tasks included in the second task group can be directly put in parallel.
205. And creating a task instance, and monitoring the task states of the target task and the associated task based on the task instance.
In the embodiment of the invention, in order to acquire the task state of each task in time, the task instance for monitoring the task states of the target task and the associated task and recording the task states is created, and the task states of the target task and the associated task are monitored based on the task instance. The task instance can be one, and all tasks are monitored and recorded by the one task instance. Or, the number of the task instances may be multiple, one task instance is created for each task, and the corresponding task is monitored and recorded based on the task instance.
Considering that the creation and the use of the task instance and the creation of the task are performed asynchronously and are not synchronous, and it cannot be guaranteed that the record of the task instance is completely consistent with the actual condition of the task, therefore, the task instance can be verified, and when the record of the task instance is found to have deviation from the actual condition of the task, the task instance is updated. The specific verification process is as follows: first, a rated task number is generated based on target scene configuration and delivery trigger operation. The method comprises the steps of obtaining a preset task list which has an incidence relation with target scene configuration, counting a first task number triggered in the preset task list by a launching triggering operation according to a task source indicated by the target scene configuration, counting a second task number required to be executed by the launching triggering operation in the target scene configuration, and calculating the sum of the first task number and the second task number to serve as a rated task number. Subsequently, the task instance is checked with the nominal number of tasks. And when the number of the tasks monitored by the task instance is determined to be consistent with the rated number of the tasks through verification, starting a monitoring function of the task instance, and starting monitoring the task states of the target task and the associated tasks. And when the task data monitored by the task instance is checked to be inconsistent with the rated task number, determining the target task and the associated task based on the target scene configuration and the launching triggering operation again, and updating the task instance according to the re-determined target task and the associated task.
206. And when the task state of the target task or the associated task is monitored to be updated, extracting the task code of the updated task, generating an update state carrying the task code, and updating the update state to the task instance.
In the embodiment of the invention, after the creation of the task instance is completed, the task state of the target task and the task related to the target task is monitored based on the task instance. The transfer of information such as task state and the like is realized by depending on an information link in the system, and the creation of an asynchronous task instance and the touch of the task state can be performed only through the information transfer, so that a callback code can be configured in the task launching system, the task callback information is acquired by executing the callback code, whether the task state of a target task or a related task is updated or not is determined, namely, when the task launching system initializes the task instance, the callback logic configured by a business system of a merchant is called back, the latest task state of the currently executed task is acquired, and the situation that whether the task is completed or not can not be confirmed forever due to the loss of information is prevented. Specifically, the callback code may be configured in the task delivery system by means of an SPI (Serial Peripheral Interface).
In order to determine which task is updated, the task code of the updated task is extracted, the task code is a unique identifier indicating the task, an update state carrying the task code is generated, and the update state is updated to the task instance.
In the process of practical application, the target scene configuration is associated with a preset task list, and the associated task may be determined only by the target scene configuration according to the difference of task sources, or may be determined by both the target scene configuration and the release triggering operation. Considering that the task configuration may be large in quantity, in order to configure and integrally manage a large quantity of tasks, a task classification entry including an ID, a name and a classification code may be set, and each task is classified into a corresponding task classification entry according to the classification code, so that the task configuration is conveniently updated in the process of using the task delivery system. Specifically, a corresponding task instance may be created for each task, and the task instance is divided into a target task instance and an associated task instance, so that the target task and the associated task have corresponding task instances. When the task instance records the task state, not only basic information such as an ID, a task code, the task state, completion time and the like can be recorded, but also an operator of the task, an instance version used for indicating whether the task instance is updated or not and the like can be recorded. It should be noted that the details included in the configurations, tasks, examples, and the like are all examples, and during the actual application process, other contents may be included or only a few items may be included.
In addition, the whole task releasing process is realized by interaction of a console, a releasing platform and an application platform in the task releasing system, and when the task is specifically released, a business system of a merchant is involved, and the specific interaction process is as follows:
referring to fig. 2B, the console collects a plurality of task configurations and scene configurations, and when the delivery platform needs to use the target task configuration and the target scene configuration, an approval work order is generated and sent to the application platform for approval. After the application platform passes the approval, the application platform informs the launching platform, the launching platform stores the obtained target task configuration and the target scene configuration, creates a task and launches the created task to a business system of a merchant, the task state of the task is obtained in the business system of the merchant through callback logic, and the task instance is updated based on the obtained task state, so that the launching and monitoring of the task are realized.
According to the method provided by the embodiment of the invention, the target task configuration and the target scene configuration are obtained according to the launching triggering operation, the target task and the associated task are automatically established according to the target task configuration and the target scene configuration for launching, the task is not required to be set in advance, the task can be automatically generated according to the configuration for launching, the workload of task launching is reduced, the flexibility of task launching is improved, and the efficiency of task launching is improved by adopting an automatic generating and launching mode.
Further, as a specific implementation of the method shown in fig. 1, an embodiment of the present invention provides a task delivering device, and as shown in fig. 3A, the task delivering device includes: an acquisition module 301, a construction module 302 and a delivery module 303.
The obtaining module 301 is configured to obtain a target task configuration and a target scene configuration when a launch trigger operation is detected, where the target task configuration is a configuration corresponding to the launch trigger operation, and the target scene configuration is a configuration of a scene where the launch trigger operation is located;
the building module 302 is configured to build a target task and an associated task based on the target task configuration and the target scene configuration, where a task attribute of the target task is from the target task configuration, and the associated task is a task having an association relationship with the target scene configuration or a task triggered in the target scene configuration by the launch triggering operation;
the delivering module 303 is configured to deliver the target task and the associated task.
In a specific application scenario, as shown in fig. 3B, the apparatus further includes: a first generation module 304 and a feedback module 305.
The first generating module 304 is configured to generate a first approval worksheet and a second approval worksheet, where the first approval worksheet is used to approve the target task configuration, and the second approval worksheet is used to approve the target scene configuration;
the construction module 302 is further configured to issue the target task configuration and the target scene configuration if the approval is determined to be successful based on the first approval work order and the second approval work order, and continue to construct the target task and the associated task based on the target task configuration and the target scene configuration;
the feedback module 305 is configured to generate a failure feedback by using the first approval worksheet or the second approval worksheet if the approval failure is determined based on the first approval worksheet or the second approval worksheet, perform feedback based on the failure feedback, and end the current process.
In a specific application scenario, as shown in fig. 3C, the building module 302 includes: a determination unit 3021, a construction unit 3022, an extraction unit 3023, an acquisition unit 3024, and a query unit 3025.
The determining unit 3021 is configured to determine at least one target configuration item in the target task configuration according to the target scenario configuration, where the at least one target configuration item is a configuration item in the target task configuration that is required to be executed by the target scenario configuration;
the constructing unit 3022 is configured to construct the target task by using the at least one target configuration item as the task attribute;
the extracting unit 3023 is configured to extract a task source in the target scene configuration, where the task source is used to limit a creating manner of the associated task;
the obtaining unit 3024 is configured to, if the task source indicates a static source, obtain a preset task list having an association relationship with the target scene configuration, and use at least one first preset task included in the preset task list as the association task;
the querying unit 3025 is configured to query, if the task source indicates a dynamic source, at least one second preset task having a trigger consistent with the launching trigger operation in the preset task list, and use the at least one second preset task as the associated task.
In a specific application scenario, as shown in fig. 3D, the delivering module 303 includes: a grouping unit 3031 and a delivery unit 3032.
The grouping unit 3031 is configured to group the target task and the associated task according to the target scene configuration to obtain a first task group and a second task group, where tasks included in the first task group have a progressive relationship in the target scene configuration, and tasks included in the second task group are independent in the target scene configuration;
the delivering unit 3032 is configured to determine a first task in the first task group according to the progressive relationship, deliver the first task, and after it is determined that the first task is successfully executed, continue to determine a next task of the first task according to the progressive relationship, and deliver the next task until all the first task groups are delivered;
the delivering unit 3032 is further configured to deliver the tasks included in the second task group in parallel.
In a specific application scenario, as shown in fig. 3E, the apparatus further includes: a creation module 306, a monitoring module 307, and an update module 308.
The creating module 306 is configured to create a task instance, where the task instance is configured to monitor task states of the target task and the associated task and record the task states;
the monitoring module 307 is configured to monitor task states of the target task and the associated task based on the task instance;
the updating module 308 is configured to, when it is monitored that the task state of the target task or the associated task is updated, extract a task code of the task that is updated, generate an updated state carrying the task code, and update the updated state to the task instance, where the task code is a unique identifier indicating a task.
In a specific application scenario, as shown in fig. 3F, the apparatus further includes: a second generation module 309 and a verification module 310.
The second generating module 309 is configured to generate a rated task number based on the target scene configuration and the launch triggering operation;
the checking module 310 is configured to check the task instance by using the rated task number;
the monitoring module 307 is further configured to start a monitoring function of the task instance and start monitoring task states of the target task and the associated task when it is determined by the verification that the number of tasks monitored by the task instance is consistent with the rated number of tasks;
the building module 302 is further configured to determine the target task and the associated task based on the target scene configuration and the launch triggering operation again when it is determined by checking that the task data monitored by the task instance is inconsistent with the rated task number, and update the task instance according to the determined target task and the determined associated task.
In a specific application scenario, as shown in fig. 3G, the second generating module 309 includes: an acquisition unit 3091, a statistical unit 3092 and a calculation unit 3093.
The obtaining unit 3091 is configured to obtain a preset task list having an association relationship with the target scene configuration, and count a first task number triggered in the preset task list by the launch triggering operation according to a task source indicated by the target scene configuration;
the statistic unit 3092 is configured to count the number of second tasks that are required to be executed by the launch trigger operation in the target scene configuration;
the calculating unit 3093 is configured to calculate a sum of the first task count and the second task count as the rated task count.
The device provided by the embodiment of the invention obtains the target task configuration and the target scene configuration according to the launching triggering operation, automatically creates the target task and the associated task according to the target task configuration and the target scene configuration for launching, does not need to set the task in advance, can automatically generate the task according to the configuration for launching, not only lightens the workload for launching the task, but also improves the flexibility for launching the task, and improves the efficiency for launching the task by adopting an automatic generating and launching mode.
It should be noted that other corresponding descriptions of the functional units related to the task releasing device provided in the embodiment of the present invention may refer to the corresponding descriptions in fig. 1 and fig. 2A, and are not described herein again.
In an exemplary embodiment, referring to fig. 4, there is further provided a device, where the device 400 includes a communication bus, a processor, a memory, and a communication interface, and may further include an input/output interface and a display device, where the functional units may communicate with each other through the bus. The memory stores computer programs, and the processor is used for executing the programs stored in the memory and executing the task putting method in the embodiment.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the task delivery method.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by hardware, and also by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application.
Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios.
The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (10)

1. A task delivery method, comprising:
when a release triggering operation is detected, acquiring a target task configuration and a target scene configuration, wherein the target task configuration is a configuration corresponding to the release triggering operation, and the target scene configuration is a configuration of a scene where the release triggering operation is located;
constructing a target task and an associated task based on the target task configuration and the target scene configuration, wherein the task attribute of the target task is from the target task configuration, and the associated task is a task which has an association relation with the target scene configuration or a task which is triggered in the target scene configuration by the launching triggering operation;
and delivering the target task and the associated task.
2. The method of claim 1, wherein after obtaining the target task configuration and the target scenario configuration when the drop trigger operation is detected, the method further comprises:
generating a first approval work order and a second approval work order, wherein the first approval work order is used for approving the target task configuration, and the second approval work order is used for approving the target scene configuration;
if the approval is determined to be successful based on the first approval work order and the second approval work order, issuing the target task configuration and the target scene configuration, and continuing to construct the target task and the associated task based on the target task configuration and the target scene configuration;
and if the approval failure is determined based on the first approval worksheet or the second approval worksheet, generating failure feedback by using the first approval worksheet or the second approval worksheet, feeding back based on the failure feedback, and finishing the current process.
3. The method of claim 1, wherein constructing a target task and an associated task based on the target task configuration and the target scenario configuration comprises:
determining at least one target configuration item in the target task configuration according to the target scene configuration, wherein the at least one target configuration item is a configuration item required to be executed by the target scene configuration in the target task configuration;
taking the at least one target configuration item as the task attribute to construct the target task;
extracting a task source in the target scene configuration, wherein the task source is used for limiting the creation mode of the associated task;
when the task source indicates a static source, acquiring a preset task list having an association relation with the target scene configuration, and taking at least one first preset task included in the preset task list as the association task;
and when the task source indicates a dynamic source, at least one second preset task with a trigger identifier consistent with the launching trigger operation is inquired in the preset task list, and the at least one second preset task is used as the associated task.
4. The method of claim 1, wherein the delivering the target task and the associated task comprises:
grouping the target tasks and the associated tasks according to the target scene configuration to obtain a first task group and a second task group, wherein the tasks in the first task group have a progressive relation in the target scene configuration, and the tasks in the second task group are independent in the target scene configuration;
determining a designated task in the first task group according to the progressive relation, delivering the designated task, continuing to determine a next task of the designated task according to the progressive relation after determining that the designated task is successfully executed, and delivering the next task until all the first task groups are delivered, wherein the designated task is at the head in the progressive relation;
and parallelly releasing the tasks included in the second task group.
5. The method of claim 1, wherein after the delivering the target task and the associated task, the method further comprises:
creating a task instance, wherein the task instance is used for monitoring the task states of the target task and the associated task and recording the task states;
monitoring the task states of the target task and the associated task based on the task instance;
when the task state of the target task or the associated task is monitored to be updated, extracting a task code of the updated task, generating an update state carrying the task code, and updating the update state to the task instance, wherein the task code is a unique identifier for indicating the task.
6. The method of claim 5, wherein after the creating a task instance, the method further comprises:
generating a rated task number based on the target scene configuration and the release triggering operation;
verifying the task instance by adopting the rated task number;
when the task number monitored by the task instance is determined to be consistent with the rated task number through verification, starting a monitoring function of the task instance, and starting to monitor the task states of the target task and the associated task;
and when the task data monitored by the task instance is checked to be inconsistent with the rated task number, re-determining the target task and the associated task based on the target scene configuration and the launching triggering operation, and updating the task instance according to the re-determined target task and the associated task.
7. The method of claim 6, wherein generating a nominal number of tasks based on the target scenario configuration and the launch trigger operation comprises:
acquiring a preset task list having an association relation with the target scene configuration, and counting a first task number triggered in the preset task list by the release triggering operation according to a task source indicated by the target scene configuration;
counting the number of second tasks required to be executed by the release triggering operation in the target scene configuration;
and calculating the sum of the number of the first task number and the second task number as the rated task number.
8. A task delivery apparatus, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring target task configuration and target scene configuration when a release triggering operation is detected, the target task configuration is a configuration corresponding to the release triggering operation, and the target scene configuration is a configuration of a scene where the release triggering operation is located;
a construction module, configured to construct a target task and an associated task based on the target task configuration and the target scene configuration, where a task attribute of the target task is from the target task configuration, and the associated task is a task having an association relationship with the target scene configuration or a task triggered in the target scene configuration by the launch trigger operation;
and the releasing module is used for releasing the target task and the associated task.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010418711.6A 2020-05-18 2020-05-18 Task delivery method and device, computer equipment and computer readable storage medium Pending CN111754189A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010418711.6A CN111754189A (en) 2020-05-18 2020-05-18 Task delivery method and device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010418711.6A CN111754189A (en) 2020-05-18 2020-05-18 Task delivery method and device, computer equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111754189A true CN111754189A (en) 2020-10-09

Family

ID=72673230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010418711.6A Pending CN111754189A (en) 2020-05-18 2020-05-18 Task delivery method and device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111754189A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112612362A (en) * 2020-12-17 2021-04-06 拉扎斯网络科技(上海)有限公司 Task execution method and device based on gesture interaction
CN112948099A (en) * 2021-05-13 2021-06-11 太平金融科技服务(上海)有限公司 Task issuing flow method and device, computer equipment and storage medium
CN113282390A (en) * 2021-05-20 2021-08-20 北京达佳互联信息技术有限公司 Task scheduling method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278986A (en) * 2015-09-30 2016-01-27 小米科技有限责任公司 Control method and apparatus of electronic device
CN107291718A (en) * 2016-03-30 2017-10-24 阿里巴巴集团控股有限公司 Page resource put-on method and device
CN108958900A (en) * 2017-05-18 2018-12-07 腾讯科技(深圳)有限公司 A kind of task dissemination method and task delivery system
WO2019184123A1 (en) * 2018-03-30 2019-10-03 平安科技(深圳)有限公司 Method for automatically generating financial document, device, computer apparatus, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278986A (en) * 2015-09-30 2016-01-27 小米科技有限责任公司 Control method and apparatus of electronic device
CN107291718A (en) * 2016-03-30 2017-10-24 阿里巴巴集团控股有限公司 Page resource put-on method and device
CN108958900A (en) * 2017-05-18 2018-12-07 腾讯科技(深圳)有限公司 A kind of task dissemination method and task delivery system
WO2019184123A1 (en) * 2018-03-30 2019-10-03 平安科技(深圳)有限公司 Method for automatically generating financial document, device, computer apparatus, and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112612362A (en) * 2020-12-17 2021-04-06 拉扎斯网络科技(上海)有限公司 Task execution method and device based on gesture interaction
CN112612362B (en) * 2020-12-17 2023-04-07 拉扎斯网络科技(上海)有限公司 Task execution method and device based on gesture interaction
CN112948099A (en) * 2021-05-13 2021-06-11 太平金融科技服务(上海)有限公司 Task issuing flow method and device, computer equipment and storage medium
CN113282390A (en) * 2021-05-20 2021-08-20 北京达佳互联信息技术有限公司 Task scheduling method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US10348809B2 (en) Naming of distributed business transactions
CN111754189A (en) Task delivery method and device, computer equipment and computer readable storage medium
CN108492183B (en) Block chain account transaction method, system and computer readable storage medium
CN113157419A (en) Task processing method based on robot process automation
CN111240812B (en) Task execution method and device
CN110489161B (en) Version file management method and related device
CN108959385A (en) Database portion arranging method, device, computer equipment and storage medium
CN111695876A (en) Approval process processing method, device, equipment and storage medium
CN113961332A (en) Method and device for realizing workflow engine, electronic equipment and storage medium
US20150095098A1 (en) Work management method and management system
CN114237994A (en) Test method and system for distributed system, electronic device and storage medium
CN115907900A (en) Order processing method and device, electronic equipment and storage medium
CN107463391A (en) Task processing method, device and equipment
CN111353841B (en) Document data processing method, device and system
CN107203471B (en) Joint debugging method, service platform and computer storage medium
CN116701053B (en) Method, device, equipment and medium for restoring data backup of production environment database
CN111435484B (en) Task cooperative processing method, device, equipment and system
CN111798161A (en) Flow configuration method, device, equipment and storage medium
CN107741885B (en) Transaction and service association method and system based on CS framework
CN111917779B (en) Data processing method, device and system based on target account and server equipment
CN107704557B (en) Processing method and device for operating mutually exclusive data, computer equipment and storage medium
CN110825756B (en) Data synchronization method, device, storage medium and equipment
CN111222845A (en) Resource transfer method, device, equipment and readable storage medium
CN113742093A (en) Message processing method, device, equipment and storage medium
CN112732413B (en) Exception handling method, exception handling device, computer equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination