CN116167600A - Work item processing method, device, computer equipment and storage medium - Google Patents

Work item processing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN116167600A
CN116167600A CN202310014120.6A CN202310014120A CN116167600A CN 116167600 A CN116167600 A CN 116167600A CN 202310014120 A CN202310014120 A CN 202310014120A CN 116167600 A CN116167600 A CN 116167600A
Authority
CN
China
Prior art keywords
work item
state
work
circulation
target
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
CN202310014120.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.)
Shenzhen Fulin Technology Co Ltd
Original Assignee
Shenzhen Fulin 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 Shenzhen Fulin Technology Co Ltd filed Critical Shenzhen Fulin Technology Co Ltd
Priority to CN202310014120.6A priority Critical patent/CN116167600A/en
Publication of CN116167600A publication Critical patent/CN116167600A/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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application belongs to the technical field of data processing, and relates to a work item processing method, a device, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring work item configuration information; executing a creating operation according to the work item configuration information, wherein the creating operation comprises creating a work item, creating a plurality of work item states and work item state tables contained in the work item, and adding a circulation step between each work item state according to the work item configuration information, wherein each work item state corresponds to a state type, and each work item state table contains each created work item state; generating a work item control table based on the work item configuration information and the creating operation; a target circulation step of obtaining a current request for processing; performing circulation control on the target circulation step according to the work item control table and the work item state table so as to realize work item state circulation and generate a work item state record table; and extracting information from the work item state record table according to the state type to obtain statistical information. The work item processing efficiency is improved.

Description

Work item processing method, device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method and apparatus for processing a work item, a computer device, and a storage medium.
Background
Workflow management by project management software has become increasingly common as computer technology has evolved. The work item is the basis of the workflow, the work item is a task, the work item can have a plurality of work item states based on the business corresponding to the work item, and circulation can be realized among the work item states, so that the workflow is realized. The current project management software basically provides only simple work item state management functions, and needs to define the circulation among work item states in a chained structure in advance, and the work item states can only circulate according to the chained circulation structure. Because the real business requirement is complex, the number of work item states can be huge, so that the statistical efficiency is low, the existing work item management technology has simple functions, and the work item management technology needs to be reconfigured when being expanded and modified, so that the work item processing efficiency is low.
Disclosure of Invention
An objective of the embodiments of the present application is to provide a method, an apparatus, a computer device, and a storage medium for processing a work item, so as to solve the problem of low work item processing efficiency.
In order to solve the above technical problems, the embodiments of the present application provide a work item processing method, which adopts the following technical schemes:
acquiring work item configuration information;
executing a creating operation according to the work item configuration information, wherein the creating operation comprises creating a work item, creating a plurality of work item states contained in the work item and creating a work item state table, and adding a circulation step between each work item state according to the work item configuration information, wherein each work item state corresponds to a state type, and the work item state table contains the created work item states;
generating a work item control table based on the work item configuration information and the creating operation;
a target circulation step of obtaining a current request for processing;
performing circulation control on the target circulation step according to the work item control table and the work item state table so as to realize work item state circulation and generate a work item state record table;
and extracting information from the work item state record table according to the state type to obtain statistical information.
In order to solve the above technical problems, the embodiments of the present application further provide a work item processing apparatus, which adopts the following technical scheme:
The information acquisition module is used for acquiring the configuration information of the work items;
the creation module is used for executing creation operation according to the work item configuration information, the creation operation comprises creation of work items, creation of a plurality of work item states contained in the work items and creation of a work item state table, and addition of a circulation step between the work item states according to the work item configuration information, wherein the work item states respectively correspond to state types, and the work item state table contains the created work item states;
the control table generation module is used for generating a work item control table based on the work item configuration information and the creation operation;
the step acquisition module is used for acquiring a target circulation step of the current request processing;
the circulation control module is used for performing circulation control on the target circulation step according to the work item control table and the work item state table so as to realize work item state circulation and generate a work item state record table;
and the information extraction module is used for extracting information from the work item state record table according to the state type to obtain statistical information.
In order to solve the above technical problems, the embodiments of the present application further provide a computer device, which adopts the following technical schemes:
Acquiring work item configuration information;
executing a creating operation according to the work item configuration information, wherein the creating operation comprises creating a work item, creating a plurality of work item states contained in the work item and creating a work item state table, and adding a circulation step between each work item state according to the work item configuration information, wherein each work item state corresponds to a state type, and the work item state table contains the created work item states;
generating a work item control table based on the work item configuration information and the creating operation;
a target circulation step of obtaining a current request for processing;
performing circulation control on the target circulation step according to the work item control table and the work item state table so as to realize work item state circulation and generate a work item state record table;
and extracting information from the work item state record table according to the state type to obtain statistical information.
In order to solve the above technical problems, embodiments of the present application further provide a computer readable storage medium, which adopts the following technical solutions:
acquiring work item configuration information;
executing a creating operation according to the work item configuration information, wherein the creating operation comprises creating a work item, creating a plurality of work item states contained in the work item and creating a work item state table, and adding a circulation step between each work item state according to the work item configuration information, wherein each work item state corresponds to a state type, and the work item state table contains the created work item states;
Generating a work item control table based on the work item configuration information and the creating operation;
a target circulation step of obtaining a current request for processing;
performing circulation control on the target circulation step according to the work item control table and the work item state table so as to realize work item state circulation and generate a work item state record table;
and extracting information from the work item state record table according to the state type to obtain statistical information.
Compared with the prior art, the embodiment of the application has the following main beneficial effects: creating a work item, a plurality of work item states contained in the work item and a work item state table according to the acquired work item configuration information, adding a flow step between the work item states to connect different work item states in series, wherein each work item state corresponds to a state type, the work item state table contains the created work item states, and generating a work item control table based on the work item configuration information and the creation operation; according to the method and the device, the work items, the work item states and the circulation steps are decoupled to a certain extent, the work item state table and the work item control table are stored separately, the work items can be created and changed at will according to requirements, the expandability of the work items is improved, and the expansion and the modification of the work items are simpler and more convenient; the method comprises the steps of obtaining a target circulation step of current request processing, performing circulation control on the target circulation step according to a work item control table and a work item state table to realize work item state circulation and generating a work item state record table, wherein the work item control table can realize various control functions, so that work items are managed more conveniently; according to the state type, information of different work item states can be extracted in batches from the work item state record table, and the efficiency of data screening and statistics is improved, so that the processing efficiency of work items is greatly improved.
Drawings
For a clearer description of the solution in the present application, a brief description will be given below of the drawings that are needed in the description of the embodiments of the present application, it being obvious that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a work item processing method according to the present application;
FIG. 3 is a schematic diagram of one embodiment of a work item processing device according to the present application;
FIG. 4 is a schematic structural diagram of one embodiment of a computer device according to the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the applications herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description and claims of the present application and in the description of the figures above are intended to cover non-exclusive inclusions. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In order to better understand the technical solutions of the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as a web browser application, a shopping class application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Mov i ng P i cture Experts G roup Aud i o Layer I I I, dynamic video expert compression standard audio plane 3), MP4 (Mov i ng P i ctu re Experts Group Aud i o Layer I V, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that, the method for processing the work items provided in the embodiments of the present application is generally executed by a terminal device, and accordingly, the work item processing apparatus is generally disposed in the terminal device.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow chart of one embodiment of a work item processing method according to the present application is shown. The work item processing method comprises the following steps:
Step S201, acquiring work item configuration information.
In this embodiment, the electronic device (for example, the terminal device shown in fig. 1) on which the work item processing method operates may communicate with the server through a wired connection manner or a wireless connection manner. It should be noted that the wireless connection may include, but is not limited to, 3G/4G/5G connections, wifi connections, bluetooth connections, wimax connections, zgbee connections, UWB (u l t ra W i deband) connections, and other now known or later developed wireless connection means.
Specifically, the work item is created first, and the work item can be run and used after the work item is created. The work item needs to be created depending on work item configuration information, and the work item configuration information can be format information prepared in advance or information input by a developer in real time.
Step S202, executing a creating operation according to the work item configuration information, wherein the creating operation comprises creating a work item, creating a plurality of work item states contained in the work item and creating a work item state table, and adding a circulation step between the work item states according to the work item configuration information, wherein each work item state corresponds to a state type, and the work item state table contains each created work item state.
Specifically, the creation operation is performed based on the work configuration information, and work items required by the business and a plurality of work item states included under the work items can be created. The work items correspond to tasks in the project, different work items correspond to different tasks, and the task can have a plurality of state links, so that the work items have a plurality of work item states which represent different links or stages of the work items. The method and the system have the advantages that the concept of the state type is additionally set, the work item state has the state type, a plurality of work item states can be arranged under one state type, and the state type is equivalent to a label and can be used for information extraction.
The work item states represent links or phases of the work item, and it is understood that the business may be switched between work item states to implement a workflow. The circulation between the work item states is realized through a circulation step, wherein the circulation step needs to connect the two work item states, namely, the circulation step is between the two work item states, and when the circulation step is executed, the business can circulate from the last work item state to the next work item state. According to business requirements, a circulation step can be established between any two work item states under the work item, and a plurality of circulation steps can be established between the two work item states.
The present application may also generate a work item status table that includes the created work item statuses. The application can create a plurality of work items, and each work item can share one work item state table.
In the method, the work item state and the circulation step are decoupled to a certain extent, the work item state and the circulation step can be arbitrarily created according to requirements, the work item can be directly and arbitrarily changed on the basis of the existing work item, the expandability of the work item is improved, and the expansion and the modification of the work item are simpler and more convenient.
Further, the step of performing the creating operation according to the work item configuration information may include: creating a work item and a plurality of work item states contained under the work item according to the work item configuration information, and setting state types corresponding to the work item states, wherein the dimension of the state types is higher than that of the work item states; and generating a work item state table according to the created work item states.
Specifically, a work item and a plurality of work item states contained under the work item are created according to work item configuration information, and state types corresponding to the work item states are set. Creating a work item means creating a business processing logic, and the name of the work item needs to be filled in when the work item is created; work item may include a plurality of work item states representing different business processes, each work item state may also have a work item state name. For example, a loan audit system may need to create a work item for loan audit on a customer, the name of which may be referred to as "customer loan audit"; the auditing process is divided into three flow links, and the flow 1 is as follows: auditing personal information of customer (auditing node a execution), flow 2: auditing the financial qualification of the customer (auditing node B execution), flow 3: auditing results of the processes 1 and 2 (performed by the auditing node C), the process 1 needs to create a corresponding work item state 1, a name of the work item state 1 may be "auditing client personal information", the process 2 needs to create a corresponding work item state 2, a name of the work item state 2 may be "auditing client financial qualification", the process 3 needs to create a corresponding work item state 3, and a name of the work item state 3 may be "final auditing".
According to the method and the device, the state types are set for the work item states, the quantity and the types of the state types can be preset, the dimension of the state types is higher than that of the work item states, different work item states can have the same state type, and a plurality of work item states can be arranged under one state type. The types of status types may be set based on traffic needs, e.g., the status types may be set to include three types, in turn, a, b, c, or A, B, C, or not started, in progress, completed. It should be noted that the status type does not affect the circulation of the work item status, and even if the status type of the work item status is "completed", the work item status can still circulate, taking the above example, if the status type of the work item status 1 is "completed", it can still circulate to the work item status 2 "audit the financial qualification of the customer". When creating a work item state, a state type of the work item state needs to be set.
The present application also creates a work item status table task_status that can record the created work item status, which can include work item status under all work items. In the work item status table task_status, each work item status may have a uuid (Un i ve r sa l l yUn i que I dent i f i er, universally unique identification code) to identify the work item status.
In this embodiment, a work item and a plurality of work item states included under the work item are created, respective state types corresponding to the work item states are set, the state types are necessary attributes of the work item states, and then the created work item states are recorded through a work item state table, so that preliminary creation work is completed.
Further, the step of adding a circulation step between the work item states according to the work item configuration information may include: and creating a plurality of circulation steps according to the work item configuration information, and setting a starting state and a target state corresponding to each circulation step respectively, wherein the starting state and the target state are related to the work item states in the work item state table.
Specifically, a plurality of circulation steps are created according to the configuration information of the work items, and a starting state and a target state corresponding to each circulation step are set. In the foregoing, it is mentioned that the circulation step needs to connect two work item states, and when the circulation step is executed, the service can circulate from the last work item state to the next work item state, where the last work item state is the start state of the circulation step, and the next work item state is the target state of the circulation step. In the above example, there may be a circulation step "audit pass" between the work item state 1 "audit client personal information" and the work item state 2 "audit client financial qualification", and when the audit node a audits the personal information of the client M, if the personal information of the client M meets the requirement, the audit node a may trigger to execute the circulation step "audit pass", so as to submit the service to the work item state 2 "audit client financial qualification", that is, advance the audit service to the next flow link.
According to the method and the device, a circulation step can be established between any two work item states according to business requirements, a plurality of circulation steps can be arranged between the two work item states, the circulation steps can be connected in series between the work item states, and a highly configurable work item model is realized.
The starting state and the target state of the circulation step are related to the work item states in the work item state table, so that multiplexing of the work item states is realized, and redundant data is reduced.
In this embodiment, a plurality of circulation steps are created according to the configuration information of the work items, and a start state and a target state corresponding to each circulation step are set, where the start state and the target state may be work item states in the work item state table, so that the circulation steps may be created between any two work item states, and flexible setting may be performed according to service requirements, so that highly configurable work item management is realized, multiplexing of the work item states is realized, and redundant data is reduced.
Step S203, a work item control table is generated based on the work item configuration information and the creation operation.
Specifically, the work item configuration information further includes other control information and configuration information of the created work item state and the circulation step, for example, authority control when the circulation step is performed, attention when the circulation step is performed or the work item state circulation is performed, and the like, which generate a work item control table, and the work item state circulation or the circulation step is performed based on the work item control table.
The underlying layers of work item states and flow steps may be implemented based on the relational database MySQL. MySQL can adopt a scheme of separating and storing two database tables, namely a work item control table trans i t i on and a work item state table task_status. The task state table task_status records the established task state and the corresponding uu id, and through separate storage, the streaming step and the task state can be arbitrarily associated, so that a user can be supported to freely configure a task model; the start state (start_status) and the target state (end_status) of each circulation step point to uuid in the task_status table respectively, and based on the design, the work item states can be multiplexed, so that redundant data is reduced.
Other configuration items in the work item will be stored in the corresponding fields of the trans pi ton table. In one embodiment, the trans ii table includes a cond ii on field, an f ii e l ds field, and a post _ funcii on field.
The cond i t i on field is used for storing a permission check rule, and permission control when the circulation step is executed is realized based on the permission check rule; the f i e l ds field stores the step attribute of the circulation step, and the circulation step has the step attribute, which can be information related to the circulation step which needs to be filled in when the circulation step is executed; post_function i on stores linkage operation information, and linkage operation, namely a post-operation when a circulation step is executed, is a binding operation which needs to be executed when the circulation step is executed.
The storage form can adopt a JSON format, and the provided work item configuration information is converted into a character string form and stored in MySQL according to the st r uct field tag of the Go language and the field in the j son in one-to-one correspondence by using the j son standard library function provided by the Go language. When executing state circulation, the work item model queries the start_status and end_status of the circulation step so as to update the work item state.
The workitem model in the application comprises workitems, workitem states contained in the workitems, circulation steps of the workitem states in series, and a workitem control table and a workitem state table. The method and the device can also record the circulation of the work item states in the work item model through the work item state record table. The work item model is used for realizing the creation, control and circulation operation of work items, and can realize the customization of work flows of different work items, so that different work items can have different circulation processes in different items, and the flexibility is improved.
Step S204, a target circulation step of the current request processing is obtained.
In particular, the circulation step has an associated business operation or business process, and the operation object (such as the above-mentioned auditing node a) can execute the associated business operation or business process, and trigger an execution request of the associated target circulation step according to the business operation result or business process result, where the request is processed by the work item model.
With the above example in mind, audit node A audits personal information of customer M, and a transfer step of "audit pass" and "audit fail" may exist between work item state 1 "audit customer personal information" and work item state 2 "audit customer financial qualification". When the auditing node A determines that the personal information of the client M meets the requirement and can enter the next flow link, taking the auditing pass as a target circulation step and requesting to execute the circulation step auditing pass.
Step S205, performing circulation control on the target circulation step according to the work item control table and the work item state table to realize work item state circulation and generate a work item state record table.
Specifically, the circulation control is performed on the target circulation step according to the work item control table and the work item state table, and the work item control table can be used for judging whether the execution request on the target circulation state meets the requirement. After the target circulation step is executed, the flow node can be transferred to the target state associated with the target circulation step, so that the work item state circulation is realized. Receiving the above example, the circulation step of "audit pass" and "audit fail" may be included between the work item state 2 "audit customer finance qualification" and the work item state 3 "final audit", wherein the start state of the circulation step of "audit pass" is the work item state 2, and the target state is the work item state 3; the starting state of the flow step "audit failed" is work item state 2 and the target state is work item state 1. If the executed circulation step is 'audit passed', the flow node can be transferred to the work item state 3, and if the executed circulation step is 'audit failed', the flow node can be transferred to the work item state 1.
The method and the device can generate the work item state record table, and record and summarize the operation performed in the work item circulation and the generated data.
Further, the step of performing the flow control on the target flow step according to the work item control table and the work item status table may include: obtaining an operation object identifier corresponding to the target circulation step; performing authority verification on the operation object corresponding to the operation object identifier according to the work item control table; when the operation object passes the permission verification, executing a target circulation step to push the workflow to a target state associated with the target circulation step.
Specifically, an operation object identifier corresponding to the target circulation step is obtained, and the operation object identifier is the identifier of the object requesting to execute the target circulation step. The auditing node can be an operation object, the auditing node can be an automatic auditing robot, and the number of the robot is used as an operation object identifier; the auditing node may also be a business person, where the employee number or role number of the business person is identified as the operation object, where the role number is used to identify the role type of the employee, for example, to identify that the employee belongs to the developer.
The cond i t i on field in the work item control table stores a permission check rule, and whether the operation object corresponding to the operation object identifier has the execution permission for the target circulation step is checked according to the permission check rule. The rights verification rule may be configured for a single object or may be configured for objects belonging to a class of roles, e.g., configuration may be performed only for an operation object belonging to a developer.
When the operation object is determined to have the execution authority for the target circulation step according to the work item control table, the operation object passes the authority verification, and at the moment, the target circulation step can be executed, and the workflow is pushed to the target state associated with the target circulation step.
In this embodiment, the operation object identifier corresponding to the target circulation step is obtained, the authority verification is performed on the operation object corresponding to the operation object identifier according to the work item control table, and the target circulation step is performed only when the operation object passes the authority verification, so that the security and the accuracy of the work item state circulation are ensured.
Further, after the step of executing the target circulation step, the method may further include: and acquiring the step attribute of the target circulation step input by the operation object, wherein the step attribute is used for generating a work item state record table.
Specifically, the f i e l ds field in the work item control table stores the step attribute of the flow step, which is bound to the additional attribute on the flow step. The step attribute stored in the f i e l ds field is related information for reminding the operation object of filling in, and can be filled in after the operation object passes the permission verification and before the execution of the target flow step, or can be filled in after the execution of the target flow step. The operation object inputs the step attribute of the target circulation step according to the prompt, and the step attribute can be recorded in the work item state record table.
For example, the developer may configure the flow step, and when the operation object performs state flow, the interface needs to be filled with a corresponding task attribute, and the attribute is synchronized to the corresponding work item. For example, when developer C performs the flow step "complete repair," developer C should fill in the "repair code branch" attribute to identify where the code was repaired.
In this embodiment, the step attribute of the target circulation step input by the operation object is obtained, and the step attribute may be recorded in the work item state record table, so that more information is recorded in the work item state circulation process.
Further, in another embodiment of the present application, after the step of performing the target circulation step, the method may further include: acquiring linkage operation information corresponding to the target circulation step; and carrying out linkage operation according to the linkage operation information.
Specifically, post_function i on in the work item control table stores linkage operation information, and linkage operation, that is, a post action when a circulation step is executed, is an operation that needs to execute some binding when the circulation step is executed, such as updating an attribute, sending a notification, associating a state, executing a script, and the like. And acquiring linkage operation information corresponding to the target circulation step, and automatically executing linkage operation according to the linkage operation information. For example, after performing the "repair complete" target flow step, the work item responsible person is changed to a particular tester, and the work item responsible person may appear as an attribute.
In this embodiment, linkage operation information corresponding to the target streaming step is obtained, and linkage operation is performed according to the linkage operation information, so that required service processing is automatically implemented.
And S206, extracting information from the work item state record table according to the state type to obtain statistical information.
Specifically, the state types can classify the states of the work items, and the states of the work items can be set to be proper state types according to service requirements. When a large number of work item states exist, information extraction can be more conveniently and rapidly carried out on specific work item states from the work item state record table according to the state types, so that statistical information is obtained.
Further, the step S206 may include: responding to the received information statistics instruction to obtain a target state type; extracting work item state record information corresponding to the target state type from a work item state record table; and generating statistical information according to the extracted work item state record information, and sending the statistical information to the target terminal.
Specifically, the user may select a target state type at the target terminal, and the target terminal generates an information statistics instruction and sends the information statistics instruction to the terminal device or the server supporting the operation of the work item model.
And extracting the work item state record information corresponding to the target state type from the work item state record table, performing operations such as statistical analysis and chart generation on the extracted work item state record information to obtain statistical information, and then sending the statistical information to the target terminal so that a user can view the statistical information through the target terminal.
For example, there are now a large number of items, with different items corresponding to different businesses. There may be multiple work item states in the work item for each item, which may result in a large number of work item states. Since different items are in charge of different persons, the names of work item states may be different. In the scenes of report export, information statistics and the like, if a manager needs to acquire information in each work item, names of work item states in each item may be checked one by one and then exported, so that the efficiency is low. In this application, a state type is added to the work item states, and work item states having the same or similar characteristics may be named differently in different items, but their state types may be the same. Therefore, batch extraction of information can be realized according to the state type, and screening and statistics can be more conveniently carried out.
In this embodiment, the target state type is obtained, and the target state type may correspond to a plurality of work item states with the same or similar characteristics, so that work item state record information of a plurality of work item states may be extracted from the work item state record table at a time according to the target state type, and screening and statistics may be more conveniently performed.
In this embodiment, a work item, a plurality of work item states included in the work item, and a work item state table are created according to the obtained work item configuration information, and a streaming step is added between the work item states to connect different work item states in series, each work item state corresponds to a state type, the work item state table includes each created work item state, and a work item control table is generated based on the work item configuration information and the creation operation performed; according to the method and the device, the work items, the work item states and the circulation steps are decoupled to a certain extent, the work item state table and the work item control table are stored separately, the work items can be created and changed at will according to requirements, the expandability of the work items is improved, and the expansion and the modification of the work items are simpler and more convenient; the method comprises the steps of obtaining a target circulation step of current request processing, performing circulation control on the target circulation step according to a work item control table and a work item state table to realize work item state circulation and generating a work item state record table, wherein the work item control table can realize various control functions, so that work items are managed more conveniently; according to the state type, information of different work item states can be extracted in batches from the work item state record table, and the efficiency of data screening and statistics is improved, so that the processing efficiency of work items is greatly improved.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by computer readable instructions stored in a computer readable storage medium that, when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-On-y Memory (ROM), or a random access Memory (Random Access Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
With further reference to fig. 3, as an implementation of the method shown in fig. 2, the present application provides an embodiment of a work item processing apparatus, where an embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 3, the work item processing apparatus 300 according to the present embodiment includes: an information acquisition module 301, a creation module 302, a control table generation module 303, a step acquisition module 304, a flow control module 305, and an information extraction module 306, wherein:
the information acquisition module 301 is configured to acquire work item configuration information.
The creating module 302 is configured to perform a creating operation according to the work item configuration information, where the creating operation includes creating a work item, creating a plurality of work item states included in the work item, and creating a work item state table, and adding a circulation step between each work item state according to the work item configuration information, where each work item state corresponds to a state type, and the work item state table includes each created work item state.
The control table generating module 303 is configured to generate a work item control table based on the work item configuration information and the creating operation.
Step obtaining module 304 is configured to obtain a target flow step of the current request processing.
The circulation control module 305 is configured to perform circulation control on the target circulation step according to the work item control table and the work item status table, so as to implement work item status circulation, and generate a work item status record table.
The information extraction module 306 is configured to extract information from the work item status record table according to the status type, and obtain statistical information.
In this embodiment, a work item, a plurality of work item states included in the work item, and a work item state table are created according to the obtained work item configuration information, and a streaming step is added between the work item states to connect different work item states in series, each work item state corresponds to a state type, the work item state table includes each created work item state, and a work item control table is generated based on the work item configuration information and the creation operation performed; according to the method and the device, the work items, the work item states and the circulation steps are decoupled to a certain extent, the work item state table and the work item control table are stored separately, the work items can be created and changed at will according to requirements, the expandability of the work items is improved, and the expansion and the modification of the work items are simpler and more convenient; the method comprises the steps of obtaining a target circulation step of current request processing, performing circulation control on the target circulation step according to a work item control table and a work item state table to realize work item state circulation and generating a work item state record table, wherein the work item control table can realize various control functions, so that work items are managed more conveniently; according to the state type, information of different work item states can be extracted in batches from the work item state record table, and the efficiency of data screening and statistics is improved, so that the processing efficiency of work items is greatly improved.
In some alternative implementations of the present embodiment, creation module 302 may include: a work item creation sub-module and a state table creation sub-module, wherein:
the work item creation sub-module is used for creating work items and a plurality of work item states contained under the work items according to the work item configuration information, and setting state types corresponding to the work item states, wherein the dimension of the state types is higher than that of the work item states.
And the state table creation sub-module is used for generating a work item state table according to each created work item state.
In this embodiment, a work item and a plurality of work item states included under the work item are created, respective state types corresponding to the work item states are set, the state types are necessary attributes of the work item states, and then the created work item states are recorded through a work item state table, so that preliminary creation work is completed.
In some optional implementations of this embodiment, the creating module 302 may further include a step creating sub-module configured to create a plurality of circulation steps according to the work item configuration information, and set a start state and a target state corresponding to each circulation step, where the start state and the target state are associated with the work item states in the work item state table.
In this embodiment, a plurality of circulation steps are created according to the configuration information of the work items, and a start state and a target state corresponding to each circulation step are set, where the start state and the target state may be work item states in the work item state table, so that the circulation steps may be created between any two work item states, and flexible setting may be performed according to service requirements, so that highly configurable work item management is realized, multiplexing of the work item states is realized, and redundant data is reduced.
In some alternative implementations of the present embodiment, the flow control module 305 may include: the device comprises an identification acquisition sub-module, a permission verification sub-module and a step execution sub-module, wherein:
the identification acquisition sub-module is used for acquiring the operation object identification corresponding to the target circulation step.
And the permission checking sub-module is used for performing permission checking on the operation object corresponding to the operation object identifier according to the work item control table.
And the step execution sub-module is used for executing the target circulation step when the operation object passes the permission verification so as to push the workflow to the target state associated with the target circulation step.
In this embodiment, the operation object identifier corresponding to the target circulation step is obtained, the authority verification is performed on the operation object corresponding to the operation object identifier according to the work item control table, and the target circulation step is performed only when the operation object passes the authority verification, so that the security and the accuracy of the work item state circulation are ensured.
In some optional implementations of this embodiment, the flow control module 305 may further include an attribute obtaining sub-module configured to obtain a step attribute of the target flow step input by the operation object, where the step attribute is used to generate the work item status record table.
In this embodiment, the step attribute of the target circulation step input by the operation object is obtained, and the step attribute may be recorded in the work item state record table, so that more information is recorded in the work item state circulation process.
In other optional implementations of the present embodiment, the circulation control module 305 may further include: the linkage obtains submodule and linkage execution submodule, wherein:
and the linkage acquisition sub-module is used for acquiring linkage operation information corresponding to the target circulation step.
And the linkage execution sub-module is used for carrying out linkage operation according to the linkage operation information.
In this embodiment, linkage operation information corresponding to the target streaming step is obtained, and linkage operation is performed according to the linkage operation information, so that required service processing is automatically implemented.
In some alternative implementations of the present embodiment, the information extraction module 306 may include: the system comprises a type acquisition sub-module, an information extraction sub-module and a statistics generation sub-module, wherein:
And the type acquisition sub-module is used for responding to the received information statistical instruction and acquiring the target state type.
And the information extraction sub-module is used for extracting the work item state record information corresponding to the target state type from the work item state record table.
And the statistics generation sub-module is used for generating statistics information according to the extracted work item state record information and sending the statistics information to the target terminal.
In this embodiment, the target state type is obtained, and the target state type may correspond to a plurality of work item states with the same or similar characteristics, so that work item state record information of a plurality of work item states may be extracted from the work item state record table at a time according to the target state type, and screening and statistics may be more conveniently performed.
In order to solve the technical problems, the embodiment of the application also provides computer equipment. Referring specifically to fig. 4, fig. 4 is a basic structural block diagram of a computer device according to the present embodiment.
The computer device 4 comprises a memory 41, a processor 42, a network interface 43 communicatively connected to each other via a system bus. It should be noted that only computer device 4 having components 41-43 is shown in the figures, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead. It will be appreciated by those skilled in the art that the computer device herein is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and its hardware includes, but is not limited to, a microprocessor, an application specific integrated circuit (App l I cat I on Spec I F I C I ntegrated C I rcu I t, AS IC), a programmable gate array (Flie d-Programmab l e Gate Ar ray, FPGA), a digital processor (D I g I ta l S I gna l Processor, DSP), an embedded device, and the like.
The computer equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The computer equipment can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad or voice control equipment and the like.
The memory 41 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 41 may be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the computer device 4. Of course, the memory 41 may also comprise both an internal memory unit of the computer device 4 and an external memory device. In this embodiment, the memory 41 is typically used to store an operating system and various application software installed on the computer device 4, such as computer readable instructions of a work item processing method, and the like. Further, the memory 41 may be used to temporarily store various types of data that have been output or are to be output.
The processor 42 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is configured to execute computer readable instructions stored in the memory 41 or process data, such as computer readable instructions for executing the work item processing method.
The network interface 43 may comprise a wireless network interface or a wired network interface, which network interface 43 is typically used for establishing a communication connection between the computer device 4 and other electronic devices.
The computer device provided in this embodiment may perform the above work item processing method. The work item processing method may be the work item processing method of each of the above embodiments.
In this embodiment, a work item, a plurality of work item states included in the work item, and a work item state table are created according to the obtained work item configuration information, and a streaming step is added between the work item states to connect different work item states in series, each work item state corresponds to a state type, the work item state table includes each created work item state, and a work item control table is generated based on the work item configuration information and the creation operation performed; according to the method and the device, the work items, the work item states and the circulation steps are decoupled to a certain extent, the work item state table and the work item control table are stored separately, the work items can be created and changed at will according to requirements, the expandability of the work items is improved, and the expansion and the modification of the work items are simpler and more convenient; the method comprises the steps of obtaining a target circulation step of current request processing, performing circulation control on the target circulation step according to a work item control table and a work item state table to realize work item state circulation and generating a work item state record table, wherein the work item control table can realize various control functions, so that work items are managed more conveniently; according to the state type, information of different work item states can be extracted in batches from the work item state record table, and the efficiency of data screening and statistics is improved, so that the processing efficiency of work items is greatly improved.
The present application also provides another embodiment, namely, a computer-readable storage medium storing computer-readable instructions executable by at least one processor to cause the at least one processor to perform the steps of the work item processing method as described above.
In this embodiment, a work item, a plurality of work item states included in the work item, and a work item state table are created according to the obtained work item configuration information, and a streaming step is added between the work item states to connect different work item states in series, each work item state corresponds to a state type, the work item state table includes each created work item state, and a work item control table is generated based on the work item configuration information and the creation operation performed; according to the method and the device, the work items, the work item states and the circulation steps are decoupled to a certain extent, the work item state table and the work item control table are stored separately, the work items can be created and changed at will according to requirements, the expandability of the work items is improved, and the expansion and the modification of the work items are simpler and more convenient; the method comprises the steps of obtaining a target circulation step of current request processing, performing circulation control on the target circulation step according to a work item control table and a work item state table to realize work item state circulation and generating a work item state record table, wherein the work item control table can realize various control functions, so that work items are managed more conveniently; according to the state type, information of different work item states can be extracted in batches from the work item state record table, and the efficiency of data screening and statistics is improved, so that the processing efficiency of work items is greatly improved.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which is stored in a storage medium (such as ROM/RAM, a magnetic disk, an optical disk), and includes several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application, where the storage medium may be a non-volatile storage medium or a volatile storage medium.
It is apparent that the embodiments described above are only some embodiments of the present application, but not all embodiments, the preferred embodiments of the present application are given in the drawings, but not limiting the patent scope of the present application. This application may be embodied in many different forms, but rather, embodiments are provided in order to provide a more thorough understanding of the present disclosure. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing, or equivalents may be substituted for elements thereof. All equivalent structures made by the specification and the drawings of the application are directly or indirectly applied to other related technical fields, and are also within the protection scope of the application.

Claims (10)

1. A work item processing method, characterized by comprising the steps of:
acquiring work item configuration information;
executing a creating operation according to the work item configuration information, wherein the creating operation comprises creating a work item, creating a plurality of work item states contained in the work item and creating a work item state table, and adding a circulation step between each work item state according to the work item configuration information, wherein each work item state corresponds to a state type, and the work item state table contains the created work item states;
generating a work item control table based on the work item configuration information and the creating operation;
a target circulation step of obtaining a current request for processing;
performing circulation control on the target circulation step according to the work item control table and the work item state table so as to realize work item state circulation and generate a work item state record table;
and extracting information from the work item state record table according to the state type to obtain statistical information.
2. The work item processing method of claim 1, wherein the step of performing a creation operation according to the work item configuration information comprises:
Creating a work item and a plurality of work item states contained under the work item according to the work item configuration information, and setting state types corresponding to the work item states, wherein the dimension of the state types is higher than that of the work item states;
and generating a work item state table according to the created work item states.
3. The work item processing method of claim 2, wherein the step of adding a circulation step between work item states according to the work item configuration information comprises:
and creating a plurality of circulation steps according to the work item configuration information, and setting a starting state and a target state corresponding to each circulation step respectively, wherein the starting state and the target state are related to the work item states in the work item state table.
4. The work item processing method according to claim 3, wherein said step of performing a circulation control of said target circulation step according to said work item control table and said work item status table comprises:
acquiring an operation object identifier corresponding to the target circulation step;
performing authority verification on the operation object corresponding to the operation object identifier according to the work item control table;
And when the operation object passes the permission verification, executing the target circulation step to push the workflow to a target state associated with the target circulation step.
5. The work item processing method of claim 4, further comprising, after said step of performing said target circulation step:
and acquiring step attributes of the target circulation step input by the operation object, wherein the step attributes are used for generating a work item state record table.
6. The work item processing method of claim 4, further comprising, after said step of performing said target circulation step:
acquiring linkage operation information corresponding to the target circulation step;
and carrying out linkage operation according to the linkage operation information.
7. The method for processing work items according to claim 1, wherein the step of extracting information from the work item status record table according to the status type to obtain statistical information includes:
responding to the received information statistics instruction to obtain a target state type;
extracting work item state record information corresponding to the target state type from the work item state record table;
And generating statistical information according to the extracted work item state record information, and sending the statistical information to a target terminal.
8. A work item processing apparatus, comprising:
the information acquisition module is used for acquiring the configuration information of the work items;
the creation module is used for executing creation operation according to the work item configuration information, the creation operation comprises creation of work items, creation of a plurality of work item states contained in the work items and creation of a work item state table, and addition of a circulation step between the work item states according to the work item configuration information, wherein the work item states respectively correspond to state types, and the work item state table contains the created work item states;
the control table generation module is used for generating a work item control table based on the work item configuration information and the creation operation;
the step acquisition module is used for acquiring a target circulation step of the current request processing;
the circulation control module is used for performing circulation control on the target circulation step according to the work item control table and the work item state table so as to realize work item state circulation and generate a work item state record table;
And the information extraction module is used for extracting information from the work item state record table according to the state type to obtain statistical information.
9. A computer device comprising a memory having stored therein computer readable instructions which when executed by a processor implement the steps of the work item processing method of any of claims 1 to 7.
10. A computer readable storage medium having stored thereon computer readable instructions which when executed by a processor implement the steps of the work item processing method of any of claims 1 to 7.
CN202310014120.6A 2023-01-05 2023-01-05 Work item processing method, device, computer equipment and storage medium Pending CN116167600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310014120.6A CN116167600A (en) 2023-01-05 2023-01-05 Work item processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310014120.6A CN116167600A (en) 2023-01-05 2023-01-05 Work item processing method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116167600A true CN116167600A (en) 2023-05-26

Family

ID=86421316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310014120.6A Pending CN116167600A (en) 2023-01-05 2023-01-05 Work item processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116167600A (en)

Similar Documents

Publication Publication Date Title
CN114327374A (en) Business process generation method and device and computer equipment
CN112860662B (en) Automatic production data blood relationship establishment method, device, computer equipment and storage medium
CN116737137A (en) Business process generation method, device, computer equipment and storage medium
CN116956326A (en) Authority data processing method and device, computer equipment and storage medium
CN117251228A (en) Function management method, device, computer equipment and storage medium
CN116661936A (en) Page data processing method and device, computer equipment and storage medium
CN116974929A (en) Automatic test tool construction method, automatic test method and related equipment thereof
CN116383787A (en) Page creation method, page creation device, computer equipment and storage medium
CN115756692A (en) Method for automatically combining and displaying pages based on style attributes and related equipment thereof
CN116167600A (en) Work item processing method, device, computer equipment and storage medium
CN115809241A (en) Data storage method and device, computer equipment and storage medium
CN114911479A (en) Interface generation method, device, equipment and storage medium based on configuration
CN113806372B (en) New data information construction method, device, computer equipment and storage medium
CN114722787B (en) Tag matching method based on Excel cascading and related equipment thereof
CN114510916B (en) Template loading method and device, computer equipment and storage medium
CN116701488A (en) Data processing method, device, computer equipment and storage medium
CN116738948A (en) Data processing method, device, computer equipment and storage medium
CN118295908A (en) Commodity data processing method, commodity data processing device, computer equipment and storage medium
CN116737437A (en) Data analysis method, device, computer equipment and storage medium
CN116932486A (en) File generation method, device, computer equipment and storage medium
CN116628282A (en) Data scanning method, device, computer equipment and storage medium
CN116028135A (en) Project view management method, server, equipment and storage medium
CN117390119A (en) Task processing method, device, computer equipment and storage medium
CN115526731A (en) Task batch processing method and device, computer equipment and storage medium
CN115080045A (en) Link generation method and device, computer equipment and 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