CN110764817A - Method, device, medium and electronic equipment for acquiring process instance - Google Patents
Method, device, medium and electronic equipment for acquiring process instance Download PDFInfo
- Publication number
- CN110764817A CN110764817A CN201910922356.3A CN201910922356A CN110764817A CN 110764817 A CN110764817 A CN 110764817A CN 201910922356 A CN201910922356 A CN 201910922356A CN 110764817 A CN110764817 A CN 110764817A
- Authority
- CN
- China
- Prior art keywords
- flow
- flow definition
- identifier
- information
- definition
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Data Mining & Analysis (AREA)
- Computer Security & Cryptography (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The disclosure provides a method, a device, a medium and an electronic device for acquiring a process instance. The method comprises the following steps: acquiring trigger request information of a process instance; acquiring a plurality of first flow definition identifications and first creation time corresponding to the first flow definition identifications from a version management data set based on the first flow total identification corresponding to the trigger request information; acquiring the latest first creation time from the first creation time; acquiring a corresponding latest first flow definition identifier from the first flow definition identifiers based on the latest first creation time; acquiring latest first flow definition information from a flow definition data set according to the latest first flow definition identifier; and generating a latest first flow instance according to the latest first flow definition information. The flow total identification and the flow definition identification in the disclosure represent the flow and the version respectively, so that the problem caused by using the version field is avoided, and the multi-version complexity is encapsulated in the flow total identification.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a medium, and an electronic device for acquiring a process instance.
Background
Workflow (Workflow) refers to "automation of a portion or the whole of a business process in a computer application environment". The method is an abstract and general description of the workflow and the business rules among the operation steps of the workflow. In computers, workflows are part of Computer Supported Collaborative Work (CSCW). The latter is a general study on how a group can achieve cooperative work with the help of computers.
The main problems mainly solved by the workflow are as follows: to achieve a business goal, documents, information, or tasks are automatically communicated between multiple participants using a computer according to some predetermined rule.
After the workflow process is run, the flow definition needs to be modified and edited due to the service change or the optimization of the flow links. For example, adding a procedure or modifying an approver definition of a procedure. Modifying the flow definition faces two problems: the finished flow can not be influenced; the flow in operation will not be affected.
To solve the above problem, currently, in the flow definition of the workflow, the version number is generally recorded by using a version field. Each time the flow is changed, the version number is incremented by 1. However, the version management process is too complex to manage versions, and the versions are difficult to effectively distinguish in data processing.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
An object of the present disclosure is to provide a method, an apparatus, a medium, and an electronic device for acquiring a process instance, which can solve at least one of the above-mentioned technical problems. The specific scheme is as follows:
according to a first aspect, the present disclosure provides a method of operating a portable electronic device
According to a second aspect thereof, the present disclosure provides a method of operating a portable electronic device
According to a third aspect, the present disclosure provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method for obtaining a flow instance according to any one of the first aspect.
According to a fourth aspect thereof, the present disclosure provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of obtaining a flow instance as claimed in any one of the first aspects.
Compared with the prior art, the scheme of the embodiment of the disclosure at least has the following beneficial effects:
the disclosure provides a method, a device, a medium and an electronic device for acquiring a process instance. The method comprises the following steps: acquiring trigger request information of a process instance; acquiring a plurality of first flow definition identifications and first creation time corresponding to the first flow definition identifications from a version management data set based on the first flow total identification corresponding to the trigger request information; wherein the version management dataset comprises: the method comprises the steps of (1) identifying the total process, identifying the definition of the process and establishing time; the flow total identification is a system unique identification; the flow definition identification is a system unique identification; acquiring the latest first creation time from the first creation time; acquiring a corresponding latest first flow definition identifier from the first flow definition identifiers based on the latest first creation time; acquiring latest first flow definition information from a flow definition data set according to the latest first flow definition identifier; and generating a latest first flow instance according to the latest first flow definition information.
In the present disclosure, the total flow identifier and the definition flow identifier represent a flow and a version, respectively, one is an external system unique identifier, and the other is an internal system unique identifier. The problem that external association depends on a specific version caused by using a version field is solved by adopting two identifiers, and multi-version complexity is encapsulated in a flow total identifier. Meanwhile, the change of the process (including the adding operation, the modifying operation or the deleting operation) is only the adding process definition information. The complicated operation is simplified.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale. In the drawings:
FIG. 1 shows a flow diagram of a method of obtaining a flow instance according to an embodiment of the disclosure;
FIG. 2 illustrates a block diagram of elements of an apparatus for obtaining a flow instance in accordance with an embodiment of the disclosure;
fig. 3 shows an electronic device connection structure schematic according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Alternative embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The first embodiment provided by the present disclosure, that is, an embodiment of a method for acquiring a process instance.
The embodiment of the present disclosure is described in detail below with reference to fig. 1, where fig. 1 is a flowchart of a method for obtaining a flow example provided by the embodiment of the present disclosure.
Step S101, acquiring triggering request information of the process instance.
The process instance is a process for a specific service offering. For example, if the employee a needs to make a travel reimbursement, the reimbursement process is started in the process, and the process for the employee a is an example of the reimbursement process.
The trigger information is information that triggers a certain reaction due to touch.
The trigger request information in the embodiments of the present disclosure refers to request information for requesting to create a process instance.
Step S102, a plurality of first flow definition identifications and first creation time corresponding to the first flow definition identifications are obtained from the version management data set based on the first flow total identification corresponding to the trigger request information.
The version management dataset is a collection for storing version information. For example, a version management dataset comprising: a data table, a configuration file, or a text file of the database.
A version management dataset comprising: the method comprises the steps of flow total identification, flow definition identification and creation time.
The embodiment of the disclosure designs two identifiers: the flow total identification and the flow definition identification. The purpose of supporting multiple versions is achieved through the two identifications.
The total flow identification is a common identification representing different versions of the same flow and is an external system unique identification. The flow total identification of each flow is different. Likewise, the process total identification is a system unique identification in the version management dataset. All versions of the same process can be queried through the process total identification.
The process definition identifier represents a specific process version and is an internal system unique identifier. Thus, the flow definition identity of each version is different. Also, the process definition identifier is a system unique identifier in the version management dataset or the process definition dataset. The process definition identifier is also a primary key of the process definition data set, and a specific version of the process definition information can be determined through the process definition identifier.
Because different processing scenes need different processing modes, different internal and external application scenes can be processed by utilizing the flow total identification and the flow definition identification.
The creation time may be a time when the flow definition identifier is acquired, that is, a time after the flow definition identifier is generated. Since the changes to the flow (including the addition operation, the modification operation, or the deletion operation) in the embodiment of the present disclosure are all added to the version management dataset in the form of the addition information, the creation time may also be the time when the save information is saved in the version management dataset. Of course, the disclosed embodiments are not limited as long as the creation time can distinguish the differences between the versions of the process. The first creation time corresponds to a first process definition identification.
Step S103, obtaining the latest first creation time from the first creation time.
In a computer system, time is essentially a value, and when the latest first creation time is obtained, the first creation time may be arranged in a reverse order, and the first value is the latest first creation time.
Step S104, acquiring the corresponding latest first flow definition identifier from the first flow definition identifiers based on the latest first creation time.
Step S105, acquiring the latest first flow definition information from the flow definition data set according to the latest first flow definition identification.
The flow definition data set is a set for storing different versions of flow definition information. For example, a process defines a data set comprising: a data table, a configuration file, or a text file of the database.
Compared with the version field in the prior art, the version of the latest flow is judged by the creation time at the running time, and the latest first flow definition information corresponding to the latest creation time is the latest version. Thereby realizing the management of different internal versions.
And step S106, generating a latest first flow instance according to the latest first flow definition information.
The above steps are embodiments of obtaining the latest version flow.
Optionally, after the step of obtaining a plurality of first flow definition identifiers and a first creation time corresponding to the first flow definition identifiers from the version management dataset based on the first flow total identifier corresponding to the trigger request information, the method further includes the following steps:
and step S102-1, showing the first flow definition identification and the corresponding first creation time.
The purpose of this step is to obtain all the corresponding first flow definition identifiers, that is, all the version information, through the first flow total identifier, and display the version information of the flow through the display device, so that the user can browse the version information conveniently.
And step S102-2, determining a second flow definition identifier from the displayed first flow definition identifiers.
For example, if the user wishes to see a version of a process instance, the first process definition identifier displayed, i.e., version information, is selected and determined.
And step S102-3, acquiring second flow definition information from the flow definition data set according to the second flow definition identification.
And step S102-4, generating a second flow instance according to the second flow definition information. The steps are to generate corresponding process instances according to the selected versions.
Optionally, the version management data set further includes: the flow total identification relationship information. Because each flow total identification represents a flow, the flow total identification relationship information describes the logical relationship between different flows. The flow relation diagram is embodied as a connection relation among a plurality of flows.
The method of the embodiment of the disclosure further comprises the following steps:
step S111, obtaining a plurality of second flow total identifiers and second flow total identifier relationship information corresponding to the second flow total identifiers from the version management dataset.
The plurality of second processes collectively identify that a plurality of processes exist in the embodiment of the present disclosure.
And step S112, generating a flow relation chart based on the second flow total identification and the second flow total identification relation information.
The method and the device for generating the flow relation graph have the advantages that the flow relation graph is generated by the aid of the total flow identification, and influence of versions on the flow relation is eliminated. That is, the flow relationship is independent of the version, and the flow relationship is not affected no matter how many versions are generated. The complexity of the version is masked.
The method of the embodiment of the disclosure further comprises a step of adding a new flow. The method comprises the following specific steps:
in step S121, third new information of the third flow definition information is acquired.
Step S122, acquiring a third flow total identifier, a third flow definition identifier, and a third creation time based on the third newly added information, and adding the third flow total identifier, the third flow definition identifier, and the third creation time as a record to the version management dataset.
Wherein, the total identifier of the third process is a unique identifier of a newly added system; and the third flow definition identifier is a newly added system unique identifier.
Step S123, adding the third flow definition identifier and the third flow definition information to the flow definition data set.
The method of the embodiment of the disclosure further comprises a step of modifying the flow. The method comprises the following specific steps:
step S131, acquiring fifth modification information for modifying fourth flow definition information into fifth flow definition information, and a fourth flow total identifier corresponding to the fourth flow definition information.
Step S132, acquiring a fifth flow definition identifier and a fifth creation time based on the fifth modification information.
And the fifth process definition identifier is a newly added system unique identifier.
Step S133, adding the fourth flow total identifier, the fifth flow definition identifier, and the fifth creation time as a record to the version management data set.
Step S134, adding the fifth flow definition identifier and the fifth flow definition information to the flow definition dataset.
The method of the embodiment of the disclosure further comprises a step of deleting the flow. The method comprises the following specific steps:
step S141, obtain sixth deletion information of a sixth process instance, and a sixth process total identifier corresponding to the sixth process instance.
Step S142, acquiring a sixth flow definition identifier and a sixth creation time based on the sixth deletion information.
And the sixth process definition identifier is a newly added system unique identifier.
Step S143, adding the sixth flow total identifier, the sixth flow definition identifier, and the sixth creation time as a record to the version management dataset.
Information associated with the sixth flow definition identifier is not added to the flow definition dataset in the step of deleting the flow. And when the returned information is null after the flow definition data set is retrieved, the flow is deleted.
In the embodiment of the disclosure, the total flow identifier and the flow definition identifier represent a flow and a version, respectively, one is an external system unique identifier, and the other is an internal system unique identifier. The problem that external association depends on a specific version caused by using a version field is solved by adopting two identifiers, and multi-version complexity is encapsulated in a flow total identifier. Meanwhile, the change of the process (including the adding operation, the modifying operation or the deleting operation) is only the adding process definition information. The complicated operation is simplified.
Corresponding to the first embodiment provided by the present disclosure, the present disclosure also provides a second embodiment, that is, an apparatus for acquiring a process instance. Since the second embodiment is basically similar to the first embodiment, the description is simple, and the relevant portions should be referred to the corresponding description of the first embodiment. The device embodiments described below are merely illustrative.
Fig. 2 illustrates an embodiment of an apparatus for acquiring a flow example provided by the present disclosure. Fig. 2 is a block diagram of units of an apparatus for acquiring an example flow provided in the embodiment of the present disclosure.
Referring to fig. 2, the present disclosure provides an apparatus for acquiring a flow instance, including: an acquire trigger request information unit 201, an acquire identification unit 202, an acquire latest first creation time unit 203, an acquire latest first flow definition identification unit 204, an acquire latest first flow definition information unit 205, and a generate latest first flow instance unit 206.
An acquire trigger request information unit 201, configured to acquire trigger request information of a process instance;
an obtaining identification unit 202, configured to obtain, based on a first total flow identifier corresponding to the trigger request information, a plurality of first flow definition identifiers and a first creation time corresponding to the first flow definition identifiers from a version management dataset; wherein the version management dataset comprises: the method comprises the steps of (1) identifying the total process, identifying the definition of the process and establishing time; the flow total identification is a system unique identification; the flow definition identification is a system unique identification;
an acquire latest first creation time unit 203 for acquiring latest first creation time from the first creation time;
an obtaining latest first flow definition identification unit 204, configured to obtain a corresponding latest first flow definition identification from the first flow definition identifications based on the latest first creation time;
an obtain latest first process definition information unit 205, configured to obtain latest first process definition information from the process definition dataset according to the latest first process definition identifier;
a generate latest first process instance unit 206, configured to generate a latest first process instance according to the latest first process definition information.
Optionally, in the apparatus, the apparatus further includes:
and the version display unit is used for displaying the first flow definition identification and the corresponding first creation time.
Optionally, in the apparatus, the apparatus further includes: selecting a version unit;
in the selected version unit, the method includes:
a determining second flow definition identifier subunit, configured to determine a second flow definition identifier from the displayed first flow definition identifier;
a second flow definition information acquiring subunit, configured to acquire second flow definition information from the flow definition data set according to the second flow definition identifier;
and the second process instance generation unit is used for generating a second process instance according to the second process definition information.
Optionally, the version management data set further includes: flow total identification relationship information;
in the apparatus, further comprising: generating a flow relation chart unit;
in the unit for generating the flow chart, the method includes:
the acquiring relation information subunit is used for acquiring a plurality of second process total identifications and second process total identification relation information corresponding to the second process total identifications from the version management data set;
and the flow relation chart generating subunit is used for generating a flow relation chart based on the second flow total identification and the second flow total identification relation information.
Optionally, in the apparatus, the apparatus further includes: a newly added unit;
in the newly added unit, the method includes:
a newly added information acquiring subunit, configured to acquire third newly added information of the third flow definition information;
adding a newly added first record subunit, configured to obtain a third flow total identifier, a third flow definition identifier, and a third creation time based on the third newly added information, and add the third flow total identifier, the third flow definition identifier, and the third creation time as a record to the version management data set; wherein, the total identifier of the third process is a unique identifier of a newly added system; the third flow definition identifier is a newly added system unique identifier;
and adding a newly added second recording subunit, configured to add the third flow definition identifier and the third flow definition information to the flow definition data set.
Optionally, in the apparatus, the apparatus further includes: a modification unit;
in the modification unit, comprising:
the acquiring and modifying information subunit is configured to acquire fifth modifying information that modifies fourth process definition information into fifth process definition information, and a fourth process total identifier corresponding to the fourth process definition information;
a modified record acquiring subunit, configured to acquire a fifth process definition identifier and a fifth creation time based on the fifth modification information; wherein, the fifth flow definition identifier is a newly added system unique identifier;
an add-modify-first-record subunit, configured to add the fourth flow total identifier, the fifth flow definition identifier, and the fifth creation time as a record to the version management data set;
and the second record adding and modifying subunit is used for adding the fifth flow definition identifier and the fifth flow definition information into the flow definition data set.
Optionally, in the apparatus, the apparatus further includes: a deletion unit;
in the deletion unit, the method includes:
the acquiring and deleting information subunit is configured to acquire sixth deleting information of a sixth process instance and a sixth process total identifier corresponding to the sixth process instance;
a delete record acquiring subunit, configured to acquire a sixth flow definition identifier and a sixth creation time based on the sixth deletion information; wherein, the sixth flow definition identifier is a newly added system unique identifier;
and the record adding and deleting subunit is configured to add the sixth flow total identifier, the sixth flow definition identifier, and the sixth creation time as one record to the version management data set.
In the embodiment of the disclosure, the total flow identifier and the flow definition identifier represent a flow and a version, respectively, one is an external system unique identifier, and the other is an internal system unique identifier. The problem that external association depends on a specific version caused by using a version field is solved by adopting two identifiers, and multi-version complexity is encapsulated in a flow total identifier. Meanwhile, the change of the process (including the adding operation, the modifying operation or the deleting operation) is only the adding process definition information. The complicated operation is simplified.
The third embodiment provides a method for acquiring a process instance, where the method includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the one processor to cause the at least one processor to perform the method of obtaining a flow instance as described in the first embodiment.
The fourth embodiment of the present disclosure provides a computer storage medium for acquiring a process instance, where the computer storage medium stores computer-executable instructions that can execute the method for acquiring a process instance as described in the first embodiment.
Referring now to FIG. 3, shown is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 3, the electronic device may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)302 or a program loaded from a storage device 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While fig. 3 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 309, or installed from the storage means 308, or installed from the ROM 302. The computer program, when executed by the processing device 301, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims (10)
1. A method for obtaining a process instance, comprising:
acquiring trigger request information of a process instance;
acquiring a plurality of first flow definition identifications and first creation time corresponding to the first flow definition identifications from a version management data set based on the first flow total identification corresponding to the trigger request information; wherein the version management dataset comprises: the method comprises the steps of (1) identifying the total process, identifying the definition of the process and establishing time; the flow total identification is a system unique identification; the flow definition identification is a system unique identification;
acquiring the latest first creation time from the first creation time;
acquiring a corresponding latest first flow definition identifier from the first flow definition identifiers based on the latest first creation time;
acquiring latest first flow definition information from a flow definition data set according to the latest first flow definition identifier;
and generating a latest first flow instance according to the latest first flow definition information.
2. The method according to claim 1, wherein after the obtaining the plurality of first flow definition identifiers and the first creation time corresponding to the first flow definition identifiers from the version management dataset based on the first total flow identification corresponding to the trigger request information, further comprises:
and displaying the first flow definition identification and the corresponding first creation time.
3. The method of claim 2, wherein after said presenting said first flow definition identifier and corresponding first creation time, further comprising:
determining a second flow definition identifier from the displayed first flow definition identifiers;
acquiring second flow definition information from the flow definition data set according to the second flow definition identifier;
and generating a second process instance according to the second process definition information.
4. The method of claim 1, wherein the version management dataset further comprises: flow total identification relationship information;
the method further comprises the following steps:
acquiring a plurality of second process total identifications and second process total identification relation information corresponding to the second process total identifications from the version management data set;
and generating a flow relation diagram based on the second flow total identification and the second flow total identification relation information.
5. The method of claim 1, further comprising:
acquiring third newly-added information of third flow definition information;
acquiring a third flow total identifier, a third flow definition identifier and third creation time based on the third newly-added information, and adding the third flow total identifier, the third flow definition identifier and the third creation time as a record into the version management data set; wherein, the total identifier of the third process is a unique identifier of a newly added system; the third flow definition identifier is a newly added system unique identifier;
adding the third flow definition identification and the third flow definition information to the flow definition dataset.
6. The method of claim 1, further comprising:
acquiring fifth modification information for modifying fourth process definition information into fifth process definition information and a fourth process total identifier corresponding to the fourth process definition information;
acquiring a fifth flow definition identifier and a fifth creation time based on the fifth modification information; wherein, the fifth flow definition identifier is a newly added system unique identifier;
adding the fourth flow total identifier, the fifth flow definition identifier and the fifth creation time as a record into the version management data set;
adding the fifth flow definition identification and the fifth flow definition information to the flow definition dataset.
7. The method of claim 1, further comprising:
acquiring sixth deletion information of a sixth process example and a sixth process total identifier corresponding to the sixth process example;
acquiring a sixth flow definition identifier and sixth creation time based on the sixth deletion information; wherein, the sixth flow definition identifier is a newly added system unique identifier;
and adding the sixth flow total identifier, the sixth flow definition identifier and the sixth creation time as a record to the version management data set.
8. An apparatus for obtaining a process instance, comprising:
a trigger request information acquiring unit, configured to acquire trigger request information of a process instance;
the acquiring identification unit is used for acquiring a plurality of first flow definition identifications and first creating time corresponding to the first flow definition identifications from the version management data set based on the first flow total identification corresponding to the triggering request information; wherein the version management dataset comprises: the method comprises the steps of (1) identifying the total process, identifying the definition of the process and establishing time; the flow total identification is a system unique identification; the flow definition identification is a system unique identification;
a unit for obtaining the latest first creation time, which is used for obtaining the latest first creation time from the first creation time;
the latest first flow definition identification obtaining unit is used for obtaining the corresponding latest first flow definition identification from the first flow definition identifications based on the latest first creation time;
the latest first flow definition information acquiring unit is used for acquiring latest first flow definition information from the flow definition data set according to the latest first flow definition identification;
and the latest first flow instance generating unit is used for generating the latest first flow instance according to the latest first flow definition information.
9. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
10. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910922356.3A CN110764817A (en) | 2019-09-27 | 2019-09-27 | Method, device, medium and electronic equipment for acquiring process instance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910922356.3A CN110764817A (en) | 2019-09-27 | 2019-09-27 | Method, device, medium and electronic equipment for acquiring process instance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110764817A true CN110764817A (en) | 2020-02-07 |
Family
ID=69330550
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910922356.3A Pending CN110764817A (en) | 2019-09-27 | 2019-09-27 | Method, device, medium and electronic equipment for acquiring process instance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110764817A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6151583A (en) * | 1996-09-27 | 2000-11-21 | Hitachi, Ltd. | Workflow management method and apparatus |
CN102831122A (en) * | 2011-06-15 | 2012-12-19 | 阿里巴巴集团控股有限公司 | Data storage method, inquiring method and inquiring device for workflow table |
CN109214785A (en) * | 2018-10-23 | 2019-01-15 | 北京奇艺世纪科技有限公司 | Implementation method, server and the system of workflow |
CN109324824A (en) * | 2018-09-25 | 2019-02-12 | 平安科技(深圳)有限公司 | Process version-switching method, device and computer equipment |
CN109472540A (en) * | 2017-09-07 | 2019-03-15 | 北京京东尚科信息技术有限公司 | Method and device for business processing |
-
2019
- 2019-09-27 CN CN201910922356.3A patent/CN110764817A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6151583A (en) * | 1996-09-27 | 2000-11-21 | Hitachi, Ltd. | Workflow management method and apparatus |
CN102831122A (en) * | 2011-06-15 | 2012-12-19 | 阿里巴巴集团控股有限公司 | Data storage method, inquiring method and inquiring device for workflow table |
CN109472540A (en) * | 2017-09-07 | 2019-03-15 | 北京京东尚科信息技术有限公司 | Method and device for business processing |
CN109324824A (en) * | 2018-09-25 | 2019-02-12 | 平安科技(深圳)有限公司 | Process version-switching method, device and computer equipment |
CN109214785A (en) * | 2018-10-23 | 2019-01-15 | 北京奇艺世纪科技有限公司 | Implementation method, server and the system of workflow |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111858518B (en) | Method and device for updating reference document, electronic equipment and storage medium | |
US20150006608A1 (en) | Networked solutions integration using a cloud business object broker | |
CN111813685B (en) | Automatic test method and device | |
CN115344688B (en) | Business data display method and device, electronic equipment and computer readable medium | |
CN113918659A (en) | Data manipulation method, device, storage medium and electronic device | |
CN111931464A (en) | Document editing method and device and electronic equipment | |
CN111857720B (en) | User interface state information generation method and device, electronic equipment and medium | |
CN112732652A (en) | Information display method and device and electronic equipment | |
US10185747B2 (en) | Presenting publisher data sets in context | |
CN110674082B (en) | Method and device for removing online document, electronic equipment and computer readable medium | |
CN112380476A (en) | Information display method and device and electronic equipment | |
CN112148744A (en) | Page display method and device, electronic equipment and computer readable medium | |
CN111787043A (en) | Data request method and device | |
CN117311684A (en) | Information circulation method, device, medium and electronic equipment | |
CN112699289B (en) | House source information aggregation display method and device, electronic equipment and computer readable medium | |
CN110764817A (en) | Method, device, medium and electronic equipment for acquiring process instance | |
CN110941683B (en) | Method, device, medium and electronic equipment for acquiring object attribute information in space | |
CN115080521A (en) | Information display method and device, electronic equipment and storage medium | |
CN114418482A (en) | Order information processing method, apparatus, electronic device and computer readable medium | |
CN111240657A (en) | Method and device for generating SDK and electronic equipment | |
CN113722315A (en) | Data generation method and device, electronic equipment and computer readable medium | |
CN112163399A (en) | Online document pushing method and device, electronic equipment and computer readable medium | |
CN111899071A (en) | Order data processing method and device, storage medium and electronic equipment | |
CN112486494B (en) | File generation method, device, electronic device, and computer-readable storage medium | |
CN111294321B (en) | Information processing method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200207 |