Task visualization processing method and device, electronic device, and storage medium

By establishing a business process management flow chart in the task platform, the problem of inconsistency between the business process implemented by the business code and the actual business process of the task is solved, and the accuracy of the task and the efficiency of business process management are improved.

CN113253991BActive Publication Date: 2025-03-21BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010091519.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-08
Publication Date
2025-03-21
Estimated Expiration
2040-02-08

AI Technical Summary

Technical Problem

In the prior art, the business process implemented by the business code is inconsistent with the actual business process of the task, resulting in low accuracy of the task and other personnel are unable to effectively analyze the correspondence between the business process and the business code.

Method used

By establishing a business process management flow chart corresponding to the business process, the business process is visually presented, so that the business code is consistent with the business process, the accuracy of tasks is improved, and non-code writers are allowed to analyze the correspondence between business processes and business code from a business perspective.

Benefits of technology

It improves the accuracy of tasks, makes the correspondence between business processes and business code clearer, makes it easier for code writers and other personnel to analyze and modify, and improves the efficiency and accuracy of business process management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113253991B_ABST
    Figure CN113253991B_ABST
Patent Text Reader

Abstract

This disclosure provides a task visualization processing method, apparatus, electronic device, and storage medium; relating to the field of computer technology. The method includes: acquiring a task to be processed; determining the business process corresponding to the task; acquiring a business process management flowchart and business code established by the user based on the business process; and processing the task to be processed according to the business process management flowchart and business code. This disclosure can visually align business code with the business process, improving the accuracy of task processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a task visualization processing method, a task visualization processing device, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the increasingly complex external environment, as the scale of enterprises grows and the business forms become more and more complex, a management system and methodology that adapts to the business is needed, and a corresponding management platform is built with the help of technology. JD.com proposed the Big Boss concept, which minimizes the operating units, making the organization relatively flexible and agile, greatly improving the operating capabilities and enhancing the overall competitiveness. In order to activate the vitality of the organization, it is necessary to use the internal marketization mechanism to allow the operating units to compete internally and externally within the appropriate scope and circumstances. Therefore, in order to solve the problem of uneven distribution of internal resources and capabilities caused by information asymmetry and organizational barriers between operating units, and to conveniently and quickly realize "tasks looking for people", "people looking for tasks", and "people looking for people", and maximize the activation of internal resources, it is necessary to build a platform for issuing and receiving tasks and free transactions within the company.

[0003] In the establishment of the task platform, the release and collection of tasks require the support of business processes. Technically, the task design can be met by writing code, and the business status and business processes can be maintained by using a database. If the business process changes, the business process of the new task can be supported by modifying the source code. However, the business process implemented by the modified business code may be inconsistent with the actual business process of the new task, resulting in low accuracy of the new task. In addition, for people other than the code writers, it is impossible to judge the accuracy of the business process implemented by the business code.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of the present disclosure is to provide a task visualization processing method, a task visualization processing device, an electronic device and a computer-readable storage medium, thereby overcoming to a certain extent the problems of inconsistency between the business process implemented by the business code and the actual business process of the task and low accuracy of the task caused by the limitations and defects of the relevant technology.

[0006] According to a first aspect of the present disclosure, a task visualization processing method is provided, comprising:

[0007] Obtaining pending tasks and determining business processes corresponding to the pending tasks;

[0008] Obtaining a business process management flowchart and business code established by the user based on the business process;

[0009] The pending tasks are processed according to the business process management flowchart and the business code.

[0010] Optionally, the task visualization processing method further includes:

[0011] When processing the task to be processed, generating a task file corresponding to the task to be processed;

[0012] The task file is stored in an object storage service.

[0013] Optionally, the task visualization processing method further includes:

[0014] When the business process includes a plurality of task nodes, in response to a user's connection operation on the plurality of task nodes, the plurality of task nodes are connected through a process middleware to establish the business process management flowchart.

[0015] Optionally, the task visualization processing method further includes:

[0016] For a target task that contains the same task node as the task to be processed, the target task is processed by reusing the same task node.

[0017] Optionally, the task visualization processing method further includes:

[0018] When the business process corresponding to the pending task changes, in response to a user's modification operation on the business process management flowchart and the business code, modify the business process management flowchart and the business code;

[0019] The pending tasks are processed according to the modified business process management flowchart and the modified business code.

[0020] Optionally, the task node includes: an automatic execution node and a manual execution node, wherein the automatic execution node has a corresponding business code, and the manual execution node has a corresponding operation page;

[0021] The task visualization processing method further includes:

[0022] Processing the automatic execution node through the automatic task in the process middleware;

[0023] The manual execution node is processed by a user task in the process middleware.

[0024] Optionally, determining the business process corresponding to the task to be processed includes:

[0025] Determine the task type of the task to be processed;

[0026] The business process corresponding to the task to be processed is determined according to the task type of the task to be processed and the mapping relationship between the task type and the business process.

[0027] According to a second aspect of the present disclosure, there is provided a task visualization processing device, comprising:

[0028] A business process determination module is used to obtain pending tasks and determine the business process corresponding to the pending tasks;

[0029] An acquisition module is used to acquire a business process management flowchart and a business code established by a user based on the business process;

[0030] The task processing module is used to process the pending tasks according to the business process management flowchart and the business code.

[0031] Optionally, the task visualization processing device further includes:

[0032] A file generation module, used for generating a task file corresponding to the task to be processed when processing the task to be processed;

[0033] The file storage module is used to store the task file through an object storage service.

[0034] Optionally, the task visualization processing device further includes:

[0035] The flowchart generation module is used to connect the multiple task nodes through the process middleware to establish the business process management flowchart in response to the user's connection operation on the multiple task nodes when the business process contains multiple task nodes.

[0036] Optionally, the task visualization processing device further includes:

[0037] The task node multiplexing module is used to process the target task that contains the same task node as the task to be processed by multiplexing the same task node.

[0038] Optionally, the task visualization processing device further includes:

[0039] A modification module, configured to modify the business process management flowchart and the business code in response to a user's modification operation on the business process management flowchart and the business code when the business process corresponding to the task to be processed changes;

[0040] The task processing module is specifically used to process the pending tasks according to the modified business process management flowchart and the modified business code.

[0041] Optionally, the task node includes: an automatic execution node and a manual execution node, wherein the automatic execution node has a corresponding business code, and the manual execution node has a corresponding operation page;

[0042] The task visualization processing device further includes:

[0043] Processing the automatic execution node through the automatic task in the process middleware;

[0044] The manual execution node is processed by a user task in the process middleware.

[0045] Optionally, the business process determination module is specifically used to determine the task type of the task to be processed; and determine the business process corresponding to the task to be processed according to the task type of the task to be processed and the mapping relationship between the task type and the business process.

[0046] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned methods by executing the executable instructions.

[0047] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, any one of the methods described above is implemented.

[0048] The exemplary embodiments of the present disclosure may have at least some or all of the following beneficial effects:

[0049] In a task visualization processing method provided in an example embodiment of the present disclosure, a business process management flowchart corresponding to a business process is established, and the business process is presented through the business process management flowchart, so that the business code is visually consistent with the business process, thereby improving the accuracy of the task. In addition, other personnel other than the code writer can also analyze whether the business process and the business code are effectively corresponding from a business perspective.

[0050] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0052] Figure 1 A schematic diagram showing an exemplary system architecture to which the task visualization processing method and device according to an embodiment of the present disclosure can be applied;

[0053] Figure 2 A schematic diagram of task visualization processing in an embodiment of the present disclosure is shown;

[0054] Figure 3 A flowchart of a task visualization processing method in an embodiment of the present disclosure is shown;

[0055] Figure 4 A business process management flow chart in an embodiment of the present disclosure is shown;

[0056] Figure 5 A schematic diagram of a distributed file storage architecture in an embodiment of the present disclosure is shown;

[0057] Figure 6 A schematic diagram of the structure of a task visualization processing device in an embodiment of the present disclosure is shown;

[0058] Figure 7 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0059] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0060] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0061] Figure 1 A schematic diagram of a system architecture of an exemplary application environment to which a task visualization processing method and apparatus according to an embodiment of the present disclosure can be applied is shown.

[0062] like Figure 1 As shown, the system architecture 100 may include one or more of terminal devices 101, 102, a network 103 and a server 104. The network 103 is used to provide a medium for a communication link between the terminal devices 101, 102 and the server 104. The network 103 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. The terminal devices 101, 102 may be various electronic devices with display screens, including but not limited to desktop computers, portable computers, smart phones, tablet computers, etc. It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration, and any number of terminal devices, networks and servers may be provided according to the implementation requirements. For example, the server 104 may be a server cluster composed of multiple servers.

[0063] The task visualization processing method provided in the embodiment of the present disclosure is generally executed by the server 104, and accordingly, the task visualization processing device is generally set in the server 104. For example, in an exemplary embodiment, the user may upload the task to be processed to the server 104 through the terminal devices 101 and 102, and the server 104 may process the task to be processed through the task visualization processing method provided in the embodiment of the present disclosure, and may also send the obtained task processing result to the terminal devices 101 and 102.

[0064] The technical solution of the embodiment of the present disclosure is described in detail below:

[0065] At present, the business process of tasks in the task platform can be implemented by writing codes. However, with the repeated revision of the business process, it is impossible to determine whether the business process implemented by the business code is consistent with the actual business process of the task. In order to solve the above problem, the embodiment of the present disclosure provides a task visualization processing method, which can improve the accuracy of the task.

[0066] See also Figure 2 , Figure 2 A schematic diagram of task visualization processing in the disclosed embodiment is shown. Users can process tasks after entering the intranet account system through single sign-on. Business process management (JBPM, full name Java Business Process Management) defines all business processes. JBPM is a popular middleware for configuring and managing workflows in Business Process Modeling and Notation (BPMN2, full name Business Process Modeling Notation 2.0). It can be well integrated with the Java language, deployed in an independent manner, and expose application programming interfaces to the outside world. It can initiate, circulate, and end processes. The object storage service is a standard distributed file storage service that provides file upload and download functions and can be used to store static files. The database can maintain the status and business logic of the business.

[0067] The process of project release and small demand release is relatively complicated. Figure 2 The process in the figure is a simplified schematic diagram. The task nodes can be connected in series through the process middleware. Each node corresponds to a specific code. In this way, we can analyze from a business perspective whether the business process effectively corresponds to the actual code.

[0068] See also Figure 3 , Figure 3 A flowchart of a task visualization processing method according to an embodiment of the present disclosure is shown, comprising the following steps:

[0069] Step S310, obtaining the task to be processed and determining the business process corresponding to the task to be processed.

[0070] Step S320, obtaining the business process management flowchart and business code established by the user based on the business process.

[0071] Step S330: Process the task to be processed according to the business process management flowchart and the business code.

[0072] The task visualization processing method of the disclosed embodiment establishes a business process management flowchart corresponding to the business process, and presents the business process through the business process management flowchart, thereby visually making the business code consistent with the business process and improving the accuracy of the task. In addition, other personnel other than the code writer can also analyze whether the business process and the business code are effectively corresponding from a business perspective.

[0073] The task visualization processing method of the embodiment of the present disclosure is described in more detail below.

[0074] In step S310, the tasks to be processed are obtained, and the business processes corresponding to the tasks to be processed are determined.

[0075] In the disclosed embodiment, pending tasks are tasks that users need to process according to business needs. For example, if a user wants to publish a project, then the pending task may be publishing a project; if a user wants to publish a small demand, then the pending task may be publishing a small demand. In addition, pending tasks may also include: bidding on published projects, bidding on published small demands, accepting delivered projects, accepting delivered small demands, and so on. In order to effectively communicate between the publisher and the contractor, when publishing a project or a small demand, the publisher can publish the bidding documents of the project together to describe the details of the project requirements. During the bidding process, the contractor can upload the solution document to facilitate the publisher to evaluate the solution.

[0076] For each task, there may be a corresponding business process, that is, each task can be executed according to the corresponding business process. In the disclosed embodiment, the business process corresponding to the pending task can be determined directly based on the pending task. For example, the pending task carries identification information, and there is a mapping relationship between the identification information and the business process. In this case, the business process corresponding to the pending task can be directly determined.

[0077] In one implementation of the embodiment of the present disclosure, the task type of the pending task may be determined first, and the task type may be the above-mentioned project publishing, small demand publishing, etc. Afterwards, the business process corresponding to the pending task is determined according to the task type of the pending task and the mapping relationship between the task type and the business process. For example, the business process corresponding to the project publishing may include: filling in the project description, filling in the project constraints, filling in the contractor constraints, budget approval, and project publishing. The business process corresponding to the small demand may include: filling in the small demand description and publishing the small demand, etc. If it is determined that the pending task is a project publishing, then the business process corresponding to the pending task can be determined as: filling in the project description, filling in the project constraints, filling in the contractor constraints, budget approval, and project publishing.

[0078] In step S320, the business process management flowchart and business code established by the user based on the business process are obtained.

[0079] Specifically, after determining the business process corresponding to the task to be processed, the user can determine the business process management flowchart according to the business process.

[0080] In the embodiment of the present disclosure, when a business process includes multiple task nodes, in response to a user's connection operation on the multiple task nodes, the multiple task nodes are connected through the process middleware to establish a business process management flowchart. The business process management flowchart includes: task nodes, flows and events. Figure 4 , Figure 4 A business process management flowchart in an embodiment of the present disclosure is shown. The business process management flowchart is a flowchart about evaluating a user, including multiple task nodes: start, self-evaluation, human resources evaluation, supervisor evaluation, and end. In addition, the above multiple nodes can be connected in sequence through one-way arrows. According to the business process management flowchart, the business process corresponding to the task can be intuitively determined.

[0081] It is understandable that for two tasks of different task types, there may be the same task nodes. For example, for the project process and the small demand process, although they are two different business processes, some of the task nodes are exactly the same. Specifically, from the business process corresponding to the project release and the business process corresponding to the small demand release, it can be seen that filling in the project description is consistent with filling in the small demand description, and publishing the project is consistent with publishing the small demand. The business process management flowchart can also be used to determine the key nodes of each business process and the difference from other business processes.

[0082] It should be noted that when establishing a business process management flowchart, an XML (Extensible Markup Language) file corresponding to the business process management flowchart can be generated. The XML file contains attribute information of each node, such as class, uniform resource identifier, etc. The attribute information can be defined in the corresponding business code.

[0083] Optionally, the task nodes in the business process management flowchart may include: automatic execution nodes and manual execution nodes, wherein the automatic execution nodes have corresponding business codes and the manual execution nodes have corresponding operation pages. The automatic execution nodes are nodes that can be automatically executed according to the corresponding business codes, and the manual execution nodes are nodes that are executed through manual operations. For example, for nodes that require supervisor approval, the supervisor proceeds to the next node after approving the operation page. In the disclosed embodiment, the automatic execution nodes can be processed by the automatic tasks (Service Task) in the process middleware, for example, the business logic can be written by the automatic tasks. The manual execution nodes are processed by the user tasks (User Task) in the process middleware, for example, the approval operation is completed by the user tasks.

[0084] In step S330, the task to be processed is processed according to the business process management flowchart and the business code.

[0085] Specifically, when processing a task, for an automatic execution node in a business process management flowchart, when the process runs to the node, the corresponding business code can be executed. After the execution is completed, the process enters the next node. For a manual execution node in a business process management flowchart, when the process runs to the node, the corresponding operation page is displayed, and the user can operate on the operation page. After the operation is completed, the process enters the next node. When the process flows to the end node, or when there is no next node to flow to, the process ends, that is, the task processing is completed.

[0086] In one implementation of the present disclosure, for a target task that contains the same task nodes as a pending task, the target task can be processed by reusing the same task nodes. For example, the pending task is a project process, which is a process for formal projects and can go through a two-level approval process. Therefore, it is a relatively important business and the internal process is relatively complex. Therefore, the business process can be visualized through JBPM, and each process node can be bound to the business code to ensure the visualization of the business process. Small-demand processes are tasks for short construction periods and have simple processes, but some nodes are exactly the same as the project process, so reusing the project process nodes and adding personalized nodes can quickly deliver it online.

[0087] In one implementation of the present disclosure, when the business process corresponding to the pending task changes, the business process management flowchart and the business code are modified in response to the user's modification operation on the business process management flowchart and the business code; the pending task is processed according to the modified business process management flowchart and the modified business code. Since the business process management flowchart can be used to visually determine whether the business process and the business code are consistent, the code writer can easily modify the business process management flowchart and the business code, which can improve the modification efficiency and ensure the accuracy of task processing.

[0088] Optionally, when processing pending tasks, task files corresponding to the pending tasks can be generated. When the task file size is small, it is possible to store the task file through a file server, but as the user scale increases, the file storage server will have bottlenecks. By introducing an object storage service, the capacity limitation of the file server can be solved. Therefore, the task file can be stored through the object storage service.

[0089] The object storage service uses HDFS (Hadoop Distributed File System) to solve the single point problem of the storage server and ensure the horizontal expansion of capacity. Hadoop is a distributed system infrastructure developed by the Apache Foundation. Figure 5 , Figure 5A schematic diagram of the architecture of distributed file storage in an embodiment of the present disclosure is shown, where HDFS runs in a management node-worker node mode, namely, a name node and multiple data nodes.

[0090] The name node is a management node that manages data block mapping, processes client read and write requests, configures copy strategies, and manages the name space of HDFS. The name node can monitor the survival status of the data nodes, balance the load of each data node, and replicate the data blocks stored in the data nodes. The auxiliary name node can share part of the workload of the name node and is a cold backup of the name node. It can merge the metadata image file (directory tree of the file system) and the metadata operation log (modification operation record for the file system) and then send it to the name node. Among them, cold backup refers to a complete backup of the database when the database is closed and the database cannot be updated. The data node is a working node, responsible for storing the data blocks sent by the client. It can regularly send a list of the data blocks they store to the name node and perform read and write operations on the data blocks. New data nodes can be added according to the increase in stored files. It can be seen that the present disclosure can avoid single point failures through object storage services and can freely expand storage capacity.

[0091] The task visualization processing method of the disclosed embodiment establishes a business process management flowchart corresponding to the business process, and presents the business process through the business process management flowchart, so as to visually make the business code consistent with the business process and improve the accuracy of the task. By introducing the object storage service, single point failure can be avoided and the storage capacity can be easily expanded. In addition, the same task nodes can be reused to improve the efficiency of task processing. In addition, other personnel besides the code writers can also analyze whether the business process and the business code effectively correspond from a business perspective based on the business process management flowchart.

[0092] It should be noted that although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0093] Furthermore, in this example implementation, a task visualization processing device 600 is also provided. Figure 6 As shown, including:

[0094] The business process determination module 610 is used to obtain the task to be processed and determine the business process corresponding to the task to be processed;

[0095] Acquisition module 620, used to acquire the business process management flowchart and business code established by the user based on the business process;

[0096] The task processing module 630 is used to process the pending tasks according to the business process management flowchart and business code.

[0097] Optionally, the task visualization processing device of the embodiment of the present disclosure further includes:

[0098] A file generation module is used to generate a task file corresponding to the task to be processed when processing the task to be processed;

[0099] The file storage module is used to store task files through the object storage service.

[0100] Optionally, the task visualization processing device of the embodiment of the present disclosure further includes:

[0101] The flowchart generation module is used to connect the multiple task nodes through the process middleware to establish a business process management flowchart when the business process contains multiple task nodes in response to the connection operation for the multiple task nodes.

[0102] Optionally, the task visualization processing device of the embodiment of the present disclosure further includes:

[0103] The task node reuse module is used to process the target task that contains the same task node as the task to be processed by reusing the same task node.

[0104] Optionally, the task visualization processing device of the embodiment of the present disclosure further includes:

[0105] A modification module, used to modify the business process management flowchart and the business code in response to the user's modification operation on the business process management flowchart and the business code when the business process corresponding to the pending task changes;

[0106] The task processing module is specifically used to process the pending tasks according to the modified business process management flowchart and the modified business code.

[0107] Optionally, the task node includes: an automatic execution node and a manual execution node, wherein the automatic execution node has a corresponding business code, and the manual execution node has a corresponding operation page;

[0108] The task visualization processing device of the embodiment of the present disclosure further includes:

[0109] Automatically execute nodes through automatic task processing in process middleware;

[0110] Manual execution nodes are handled through user tasks in the process middleware.

[0111] Optionally, the business process determination module is specifically used to determine the task type of the task to be processed; and determine the business process corresponding to the task to be processed according to the task type of the task to be processed and the mapping relationship between the task type and the business process.

[0112] The specific details of each module or unit in the above device have been described in detail in the corresponding method, so they will not be repeated here.

[0113] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0114] In an exemplary embodiment of the present disclosure, an electronic device is also provided, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute all or part of the steps of the task visualization processing method in this exemplary embodiment.

[0115] Figure 7 The structure diagram of the computer system of the electronic device used to implement the embodiment of the present disclosure is shown. It should be noted that: Figure 7 The computer system 700 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0116] like Figure 7 As shown, the computer system 700 includes a central processor 701, which can perform various appropriate actions and processes according to the program stored in the read-only memory 702 or the program loaded from the storage part 708 to the random access memory 703. In the random access memory 703, various programs and data required for system operation are also stored. The central processor 701, the read-only memory 702 and the random access memory 703 are connected to each other through a bus 704. An input / output interface 705 is also connected to the bus 704.

[0117] The following components are connected to the input / output interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a local area network (LAN) card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the input / output interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed so that a computer program read therefrom is installed into the storage section 708 as needed.

[0118] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 709, and / or installed from a removable medium 711. When the computer program is executed by the central processor 701, various functions defined in the device of the present application are executed.

[0119] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor, any one of the above-mentioned methods is implemented.

[0120] It should be noted that the computer-readable storage medium shown in the present disclosure may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, radio frequency, etc., or any suitable combination of the above.

[0121] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0122] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A task visualization processing method, characterized in that: The method comprises: Obtaining pending tasks and determining business processes corresponding to the pending tasks; Obtaining a business process management flowchart and business code established by the user based on the business process; Processing the pending tasks according to the business process management flowchart and the business code; Wherein, constructing the business process management flowchart includes: when the business process includes multiple task nodes, in response to the user's connection operation on the multiple task nodes, the multiple task nodes are connected through the process middleware to establish the business process management flowchart; wherein, the task nodes include: automatic execution nodes and manual execution nodes, the automatic execution nodes have corresponding business codes, and the manual execution nodes have corresponding operation pages; the automatic execution nodes are processed by the automatic tasks in the process middleware; the manual execution nodes are processed by the user tasks in the process middleware; The method further includes: for a target task that includes the same task node as the task to be processed, processing the target task by reusing the same task node.

2. The method according to claim 1, characterized in that The method further comprises: When processing the task to be processed, generating a task file corresponding to the task to be processed; The task file is stored in an object storage service.

3. The method according to claim 1, characterized in that The method further comprises: When the business process corresponding to the pending task changes, in response to a user's modification operation on the business process management flowchart and the business code, modify the business process management flowchart and the business code; The pending tasks are processed according to the modified business process management flowchart and the modified business code.

4. The method according to claim 1, characterized in that The determining of the business process corresponding to the task to be processed includes: Determine the task type of the task to be processed; The business process corresponding to the task to be processed is determined according to the task type of the task to be processed and the mapping relationship between the task type and the business process.

5. A task visualization processing device, characterized in that: The device comprises: A business process determination module is used to obtain pending tasks and determine the business process corresponding to the pending tasks; An acquisition module is used to acquire a business process management flowchart and a business code established by a user based on the business process; A task processing module, used to process the pending tasks according to the business process management flowchart and the business code; A flowchart generation module is used for connecting the multiple task nodes through the process middleware to establish a business process management flowchart when the business process contains multiple task nodes, in response to a connection operation for the multiple task nodes; wherein the task nodes include: automatic execution nodes and manual execution nodes, wherein the automatic execution nodes have corresponding business codes, and the manual execution nodes have corresponding operation pages; The device is also used to automatically execute nodes through automatic task processing in the process middleware; Handle manual execution nodes through user tasks in the process middleware; The task node reuse module is used to process the target task that contains the same task node as the task to be processed by reusing the same task node.

6. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method according to any one of claims 1 to 4 by executing the executable instructions.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Code reuse-oriented MES (manufacturing execution system) business modeling system and method

    CN102479348A

  • Visualization rapid developing platform based on jbpm workflow engine

    CN105700888A