CN111507636A - Business process running state analysis method and system - Google Patents

Business process running state analysis method and system Download PDF

Info

Publication number
CN111507636A
CN111507636A CN202010321789.6A CN202010321789A CN111507636A CN 111507636 A CN111507636 A CN 111507636A CN 202010321789 A CN202010321789 A CN 202010321789A CN 111507636 A CN111507636 A CN 111507636A
Authority
CN
China
Prior art keywords
business process
activity
business
activity data
flow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010321789.6A
Other languages
Chinese (zh)
Inventor
王铁堂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shishi Tongyun Technology Chengdu Co ltd
Original Assignee
Shishi Tongyun Technology Chengdu Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shishi Tongyun Technology Chengdu Co ltd filed Critical Shishi Tongyun Technology Chengdu Co ltd
Priority to CN202010321789.6A priority Critical patent/CN111507636A/en
Publication of CN111507636A publication Critical patent/CN111507636A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

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

Abstract

The invention discloses a method and a system for analyzing the running state of a business process, wherein the method for analyzing the running state of the business process comprises the following steps: defining a reference flow chart of a business process; acquiring activity data generated by each business process activity in the business processes; connecting the activity data in series to determine a flow path of the business process; and analyzing the running state of the business flow according to the flow path of the business flow and the reference flow chart of the business flow to obtain an analysis result. According to the technical scheme provided by the invention, the determination of the circulation path of the actual operation of the business process is conveniently realized based on the collected activity data of the business process activity, the operation state of the business process can be quickly and effectively analyzed from the business dimension, and the effective monitoring of the operation state of the business process is realized.

Description

Business process running state analysis method and system
Technical Field
The invention relates to the technical field of computers, in particular to a method and a system for analyzing a service process running state.
Background
Currently, the monitoring of the business activity mainly includes collecting technical indexes related to the business by calling a technical component, such as response time, calling times, and the like, and then determining the operation state of the business activity by analyzing the technical indexes. However, the collected technical indexes can only detect whether the operation state of the business activity is abnormal, and these technical indexes cannot be used for reflecting the complete calling process of the business process operation, and cannot effectively identify the calling state of each business process activity in the operation process of the business process, and cannot analyze the actual operation state of the business process from the business dimension, and cannot monitor the operation state of the business process.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide a business process operation state analysis method and system that overcome the above problems or at least partially solve the above problems.
According to an aspect of an embodiment of the present invention, a method for analyzing a service process running state is provided, where the method includes:
defining a reference flow chart of a business process;
acquiring activity data generated by each business process activity in the business processes;
connecting the activity data in series to determine a flow path of the business process;
and analyzing the running state of the business flow according to the flow path of the business flow and the reference flow chart of the business flow to obtain an analysis result.
Further, collecting activity data generated by each business process activity in the business process further comprises:
setting a buried point in a service code of the service flow according to a preset execution logic of the service flow; and when the service code runs to the embedded point, triggering the embedded point to acquire activity data generated by corresponding service flow activities.
Further, the activity data are connected in series, and determining the flow path of the business process further includes:
searching activity data containing the same service activity identification from the collected activity data;
and according to the service process occurrence time of the activity data containing the same service activity identification, the activity data are connected in series, and the circulation path of the service process is determined.
Further, according to the service process occurrence time of the activity data containing the same service activity identifier, the activity data are concatenated, and determining the flow path of the service process further includes:
and aiming at each business activity identifier, serially connecting the activity data containing the business activity identifier according to the sequence of the occurrence time of the business process, and determining the circulation path of the business process according to the business process activity identifier and the activity calling state in the serially connected activity data.
Further, the analysis result includes: normal analysis results and abnormal analysis results;
analyzing the operation state of the business process according to the flow path of the business process and the reference flow chart of the business process, and obtaining an analysis result further comprises:
judging whether the circulation path of the business process is matched with any reference circulation path in a reference circulation diagram of the business process;
if so, determining that the operation state of the business process is a normal circulation state, and obtaining a normal analysis result; if not, determining that the operation state of the business process is an abnormal circulation state, and obtaining an abnormal analysis result.
Further, defining the reference flow graph of the business process further comprises:
determining each business process activity of the business process, the activity calling state and the execution sequence of each business process activity according to the preset execution logic of the business process, and drawing at least one reference circulation path between the initial business process activity and the ending business process activity in each business process activity;
and defining to obtain a reference flow chart of the service flow according to the at least one reference flow path.
Further, the method further comprises:
receiving an activity data query condition recorded in a page component through a front-end page, searching activity data matched with the activity data query condition from the collected activity data, and acquiring an analysis result corresponding to the matched activity data;
and outputting the matched activity data and the analysis result corresponding to the matched activity data to a front-end page for displaying.
Further, outputting the matched activity data and the analysis result corresponding to the matched activity data to a front-end page for display further comprises:
and displaying the activity data which is not matched with the reference circulation path in the activity data corresponding to the abnormal analysis result in a highlighted mode in the front-end page.
Further, after collecting activity data generated by each business process activity in the business process, the method further comprises:
analyzing the collected activity data, and storing the analyzed activity data into a database according to a preset storage model.
According to another aspect of the embodiments of the present invention, there is provided a system for analyzing a service process running state, the system including:
the definition module is suitable for defining a reference flow chart of the business process;
the acquisition module is suitable for acquiring activity data generated by each business process activity in the business processes;
the determining module is suitable for serially connecting the activity data and determining a circulation path of the business process;
and the analysis module is suitable for analyzing the operation state of the business process according to the flow path of the business process and the reference flow chart of the business process to obtain an analysis result.
Further, the acquisition module is further adapted to:
setting a buried point in a service code of the service flow according to a preset execution logic of the service flow; and when the service code runs to the embedded point, triggering the embedded point to acquire activity data generated by corresponding service flow activities.
Further, the determination module is further adapted to:
searching activity data containing the same service activity identification from the collected activity data;
and according to the service process occurrence time of the activity data containing the same service activity identification, the activity data are connected in series, and the circulation path of the service process is determined.
Further, the determination module is further adapted to:
and aiming at each business activity identifier, serially connecting the activity data containing the business activity identifier according to the sequence of the occurrence time of the business process, and determining the circulation path of the business process according to the business process activity identifier and the activity calling state in the serially connected activity data.
Further, the analysis result includes: normal analysis results and abnormal analysis results;
the analysis module is further adapted to: judging whether the circulation path of the business process is matched with any reference circulation path in a reference circulation diagram of the business process; if so, determining that the operation state of the business process is a normal circulation state, and obtaining a normal analysis result; if not, determining that the operation state of the business process is an abnormal circulation state, and obtaining an abnormal analysis result.
Further, the definition module is further adapted to: determining each business process activity of the business process, the activity calling state and the execution sequence of each business process activity according to the preset execution logic of the business process, and drawing at least one reference circulation path between the initial business process activity and the ending business process activity in each business process activity; and defining to obtain a reference flow chart of the service flow according to the at least one reference flow path.
Further, the system further comprises:
a front-end page adapted to receive active data query conditions entered in the page component;
the searching module is suitable for searching the activity data matched with the activity data searching condition from the collected activity data and acquiring an analysis result corresponding to the matched activity data; and outputting the matched activity data and the analysis result corresponding to the matched activity data to a front-end page for displaying.
Further, the front end page is further adapted to: and displaying the activity data which is not matched with the reference circulation path in the activity data corresponding to the abnormal analysis result in a highlighting mode.
Further, the system further comprises:
the analysis module is suitable for analyzing the collected activity data;
and the storage module is suitable for storing the analyzed activity data into a database according to a preset storage model.
According to still another aspect of an embodiment of the present invention, there is provided a computing device including: the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the business process running state analysis method.
According to another aspect of the embodiments of the present invention, a computer storage medium is provided, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform an operation corresponding to the service flow operation state analysis method.
According to the technical scheme provided by the embodiment of the invention, the collected activity data of the business process activities are connected in series, so that the determination of the circulation path of the actual operation of the business process is conveniently realized; according to the flow path of the business flow and the reference flow diagram of the business flow, the running state of the business flow can be analyzed from the business dimension quickly and effectively, the running state of the business flow is effectively monitored, the abnormal situation of business logic execution can be found in time, the business flow and business codes can be optimized as early as possible, and the running stability of the business flow is improved.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the embodiments of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the embodiments of the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a method for analyzing a service flow operating state according to an embodiment of the present invention;
fig. 2a is a flowchart illustrating a method for analyzing a service process running state according to another embodiment of the present invention;
FIG. 2b is a diagram illustrating a reference flow graph of a business process;
FIG. 2c is a diagram illustrating a benchmark flow graph of an online shopping business process;
FIG. 2d illustrates a flow path of a business process;
FIG. 2e illustrates a flow path of another business process;
fig. 3 is a schematic structural diagram illustrating a system for analyzing a service flow operation state according to an embodiment of the present invention;
FIG. 4 shows a schematic structural diagram of a computing device according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 is a flowchart illustrating a method for analyzing a service process running state according to an embodiment of the present invention, where as shown in fig. 1, the method includes the following steps:
and step S101, defining a reference flow chart of the business process.
In order to conveniently and quickly analyze the running state of the business process based on the flow path of the business process, a reference flow diagram of the business process can be defined according to the preset execution logic of the business process, wherein a plurality of flow branches may exist in the flow process of a complete business process, so that the reference flow diagram of the business process comprises all reference flow paths corresponding to the business process, and the reference flow paths record the normal execution sequence of each business process activity in the reference flow paths, the business process activity identification of each business process activity and the normal activity calling state of each business process activity.
Step S102, collecting activity data generated by each business process activity in the business process.
A service invocation will usually be associated with the invocation of each service flow activity to form a complete service flow. The business process includes various business process activities. Taking the business process as an online shopping business process as an example, the online shopping business process may include: business process activities such as ordering business process activity, online payment business process activity, goods arrival payment business process activity, ex-warehouse business process activity, distribution business process activity and the like. In order to accurately analyze the operation state of the business process, a buried point can be set in a business code of the business process according to the preset execution logic of the business process, and the activity data of each business process activity to be monitored is collected in the operation process of the business code.
The collected activity data may include, but is not limited to: the service flow generation time, the service flow identification used for identifying the service flow identity to which the service flow activity belongs, the service flow activity identification used for identifying the service flow activity identity, the service activity identification when the service flow occurs, the activity calling state and the like. Specifically, the service flow identifier may be information such as a name and an ID of the service flow; the business process activity identification can be information such as name and ID of the business process activity; the service activity identifier is information capable of uniquely identifying the service activity, such as a transaction number, a serial number, an order number and the like; the activity calling state can be set according to a specific business process and a business scenario, for example, the activity calling state of the online payment business process activity can include an online payment success state and an online payment failure state.
And step S103, connecting the activity data in series and determining a circulation path of the business process.
After the activity data of each business process activity is collected, the activity data can be serially connected according to the information such as the business activity identification and the business process occurrence time, specifically, considering that the activity data generated in the same business process operation process all contain the same business activity identification, in order to accurately analyze the operation state of the business process, the activity data generated in each business operation process can be analyzed, the activity data containing the same business activity identification needs to be searched from the collected activity data, then the activity data are serially connected according to the sequence of the business process occurrence time of the activity data containing the business activity identification, the activity data are sequenced according to the actual execution sequence of the corresponding business process activity, and then the circulation path of the business process is determined according to the serially connected activity data, the actual execution sequence of each business process activity in the circulation path, the business process activity identification of each business process activity, the actual activity calling state of each business process activity and other information are recorded in the circulation path.
And step S104, analyzing the operation state of the business process according to the flow path of the business process and the reference flow chart of the business process to obtain an analysis result.
Wherein, the analysis result may include: normal analysis results and abnormal analysis results. Specifically, after the flow path of the service flow is determined in step S103, the flow path of the service flow may be matched with a reference flow path in a reference flow diagram of the service flow; if the circulation path of the business process is matched with any one reference circulation path, and the operation of the business process is normal, determining that the operation state of the business process is a normal circulation state, and obtaining a normal analysis result; and if the circulation path of the business flow is not matched with any reference circulation path, indicating that the operation of the business flow is abnormal, determining that the operation state of the business flow is an abnormal circulation state, and obtaining an abnormal analysis result.
The method for analyzing the operation state of the business process provided by the embodiment is used for serially connecting the collected activity data of the business process activities, so that the determination of the circulation path of the actual operation of the business process is conveniently realized; according to the flow path of the business flow and the reference flow diagram of the business flow, the running state of the business flow can be analyzed from the business dimension quickly and effectively, the running state of the business flow is effectively monitored, the abnormal situation of business logic execution can be found in time, the business flow and business codes can be optimized as early as possible, and the running stability of the business flow is improved.
Fig. 2a is a flowchart illustrating a method for analyzing a service process running state according to another embodiment of the present invention, and as shown in fig. 2a, the method includes the following steps:
step S201, determining each business process activity of the business process, an activity calling state of each business process activity, and an execution sequence according to a preset execution logic of the business process.
In order to conveniently analyze the operation state of the business process, a reference flow chart of the business process can be defined according to the preset execution logic of the business process. The service flow comprises a starting service flow activity and an ending service flow activity, wherein the starting service flow activity represents a starting point of service logic execution, and the ending service flow activity represents an ending point of service logic execution. The business process further includes an intermediate business process activity between the initial business process activity and the ending business process activity, that is, each business process activity of the business process includes: a start business process activity, an end business process activity, and an intermediate business process activity. In a specific service scenario, the number of the initial service flow activity and the ending service flow activity included in a service flow may be one or more.
Specifically, according to the preset execution logic of the business process, the initial business process activity and the ending business process activity of the business process are determined, and the intermediate business process activity between the initial business process activity and the ending business process activity, the activity calling state of each business process activity and the execution sequence are determined.
Step S202, at least one reference circulation path is drawn between the initial business process activity and the end business process activity in each business process activity.
After the activity calling state and the execution sequence of each business process activity are determined, at least one reference flow path can be drawn between the initial business process activity and the ending business process activity according to the execution sequence and the activity calling state and the execution sequence of each business process activity in the business process, each reference flow path is from the initial business process activity to the ending business process activity, and one or more intermediate business process activities can be included between the initial business process activity and the ending business process activity. For the business process without flow branches in the flow process, a reference flow path is drawn between the initial business process activity and the ending business process activity; for the business process with the flow branch in the flow process, a plurality of reference flow paths are drawn between the initial business process activity and the ending business process activity. The reference circulation path records information such as a normal execution sequence of each business process activity in the reference circulation path, a business process activity identifier of each business process activity, and a normal activity calling state of each business process activity.
Step S203, defining and obtaining a reference circulation diagram of the business process according to at least one reference circulation path.
After the drawing of all the reference circulation paths of the business process is completed, summarizing all the drawn reference circulation paths, and defining to obtain a reference circulation diagram of the business process. The preset execution logic of the service flow is accurately reflected in the reference flow chart, normal service logic can be executed according to the reference flow path in the reference flow chart, and abnormal service logic cannot be matched with the reference flow path in the reference flow chart.
Fig. 2b shows a schematic diagram of a reference flow diagram of a business process, as shown in fig. 2b, the business process includes a start business process activity and an end business process activity, and also includes 5 intermediate business process activities, which are respectively business process activity 1 to business process activity 5, and the start business process activity identifier, the end business process activity identifier and the business process activity identifier of each intermediate business process activity are identified in brackets [ ], and the start business process activity, the end business process activity and the activity call state of each intermediate business process activity are identified in brackets (). The initial business process activity identifier is S1, the end business process activity identifier is E1, and the business process activity identifiers from business process activity 1 to business process activity 5 are a1, a2, A3, a4, and a5, respectively. For the activity call state of the initial business process activity, a success state can be represented by 100, and for the activity call state of the ending business process activity, a success state can be represented by 200; for the activity call states of the business process activities 1 to 5, a success state may be represented by 1, and a failure state may be represented by 0, and fig. 2b shows the corresponding reference flow path of each business process activity when the activity call state is the success state. Those skilled in the art can set the activity call states of the initial business process activity, the ending business process activity, and each intermediate business process activity according to actual needs, which is not limited herein.
As shown in fig. 2b, during the execution of the business process activity 1, the business process activity is divided into 2 flow branches according to the preset execution logic of the business process, and then the reference flow branch includes 2 reference flow paths. The decision of the circulation branch may be free, or only 1 circulation branch may be selected to be executed, or each circulation branch may be executed in parallel, or each circulation branch may be executed simultaneously but not in parallel, and a person skilled in the art may set the decision of the circulation branch according to actual needs, which is not specifically limited herein.
And selecting only 1 flow branch execution example from the business process activity 1, and after the business process activity 1 is executed, continuing to execute the business process activity 2 or the business process activity 4 according to a preset execution logic. If the business process activity 2 is executed after the business process activity 1, the business process activity 3 is continuously executed according to the preset execution logic after the execution of the business process activity 2 is completed, and the business process activity is ended after the execution of the business process activity 3 is completed. If the business process activity 4 is executed after the business process activity 1, the business process activity 5 is continuously executed according to the preset execution logic after the execution of the business process activity 4 is completed, and the business process activity is ended after the execution of the business process activity 5 is completed.
FIG. 2c is a diagram of a reference flow diagram of an online shopping business process, as shown in FIG. 2c, the online shopping business process includes a start business process activity and an end business process activity, and also includes 10 intermediate business process activities, the 10 intermediate business process activities are respectively a lower order business process activity, an online payment business process activity, a cash-in-goods business process activity, a warehouse-out 1 business process activity, a warehouse-out 2 business process activity, a distribution 1 business process activity, a distribution 2 business process activity, a receipt business process activity, a payment business process activity and a receipt business process activity, and the start business process activity identification, the end business process activity identification and the business process activity identification of each intermediate business process activity are identified in a bracket [ ], and the start business process activity identification, the end business process activity identification, the business process identification of each intermediate business process activity are identified in a bracket () circle, Ending the business process activities and the activity call state of each intermediate business process activity. For the activity call state of the initial business process activity, a success state can be represented by 100, and for the activity call state of the ending business process activity, a success state can be represented by 200; for the activity call state of each intermediate business process activity, a success state may be represented by 1, and a failure state may be represented by 0, and fig. 2c shows a corresponding reference flow path of each business process activity when the activity call state is the success state.
The online shopping business process comprises 2 circulation branches, namely an online payment circulation branch and a goods arrival payment circulation branch, and different processes can be executed according to selection of online payment or goods arrival payment after ordering. And if online payment is selected, executing the online payment business process activities, and after the execution of the online payment business process activities is finished, sequentially executing the ex-warehouse 1 business process activities, the distribution 1 business process activities and the receiving business process activities according to preset execution logic, and finally ending the business process activities. If the payment on delivery is selected, the business flow activity of payment on delivery is executed, after the business flow activity of payment on delivery is executed, the business flow activity of delivery 2, the business flow activity of payment and the business flow activity of signing for receipt are executed in sequence according to the preset execution logic, and finally the business flow activity is ended.
Step S204, collecting activity data generated by each business process activity in the business process.
In order to analyze the operation state of the business process, a buried point can be set in the business code of the business process according to the preset execution logic of the business process, and the activity data of each business process activity to be monitored is collected in the operation process of the business code. And when the service code runs to the embedded point, triggering the embedded point to acquire activity data generated by corresponding service flow activities. Specifically, when the service code runs to the embedded point, the embedded point is triggered, so that the embedded point runs the corresponding data acquisition program, and the data acquisition program acquires the activity data generated by the corresponding service flow activity. The collected activity data may include, but is not limited to: the service flow generation time, the service flow identifier, the service flow activity identifier, the service activity identifier when the service flow occurs, the activity calling state and the like.
Taking the business process as an online shopping business process as an example, the collected activity data generated by each business process activity can be shown in table 1.
TABLE 1 Activity data generated by various business process activities in an online shopping business process
Figure BDA0002461705560000111
In specific application, the collected activity data can be uniformly stored and managed by utilizing the database. Specifically, the data collection program packages the collected activity data according to a data transmission protocol, and sends the packaged activity data to the data collection program of the server through the network, and after receiving the data sent by the data collection program, the data collection program also needs to perform data transmission protocol conversion processing so as to obtain the actual content of the activity data. In order to realize efficient management of the activity data, a storage model may be preset, the preset storage model may include a plurality of data storage items, each data storage item may correspond to specific data included in the activity data one to one, for example, the preset storage model may include a service flow occurrence time storage item, a service flow identifier storage item, a service flow activity identifier storage item, a service activity identifier storage item, and an activity call state storage item. Specifically, the collected activity data may be analyzed to obtain each data included in the activity data, and then the analyzed activity data is stored in the database according to a preset storage model.
Step S205, searching the collected activity data for activity data containing the same service activity identifier.
Since the activity data generated in the same business process running process all contain the same business activity identifier, in order to accurately analyze the running state of the business process, the activity data generated in each business running process can be analyzed, so that the activity data containing the same business activity identifier needs to be searched from the collected activity data, and the activity data containing the same business activity identifier is subsequently used as a group of data to be analyzed.
Step S206, according to the business process occurrence time of the activity data containing the same business activity mark, the activity data are connected in series, and the circulation path of the business process is determined.
And determining a circulation path of the business process according to the business process activity identification and the activity calling state in the serially connected activity data. The actual execution sequence of each business process activity in the circulation path, the business process activity identification of each business process activity, the actual activity calling state of each business process activity and other information are recorded in the circulation path.
For the activity data identified as 20200101231202 for the business activity set forth in Table 1, the determined flow path may be as shown in FIG. 2 d; the determined flow path may be as shown in fig. 2e for the activity data identified as 20200102231321 for the business activity set forth in table 1.
Step S207, judging whether the circulation path of the business process is matched with any reference circulation path in the reference circulation diagram of the business process; if yes, go to step S208; if not, step S209 is executed.
After the circulation paths of the business process are determined, each circulation path is matched with the reference circulation path in the reference circulation diagram of the business process. Specifically, for each flow path of the business process, it is determined whether the flow path matches any reference flow path in a reference flow diagram of the business process. If the matching result indicates that the operation of the business process is normal, executing step S208; if the two match, the operation of the business process is abnormal, step S209 is executed.
And step S208, determining that the operation state of the business process is a normal circulation state, and obtaining a normal analysis result.
If it is determined in step S207 that the obtained flow path of the service flow matches any one of the reference flow paths in the reference flow graph of the service flow, it is determined that the operation state of the service flow is a normal flow state, and a normal analysis result is obtained. For example, if the determined flow path of the business process is shown in fig. 2d, it can be known by the judgment in step S207 that the flow path matches the reference flow path corresponding to the cash-in-goods flow branch in the reference flow diagram, which indicates that the operation state of the business process is normal, and a normal analysis result is obtained.
Step S209, determining that the operation state of the business process is an abnormal circulation state, and obtaining an abnormal analysis result.
In the case that it is determined in step S207 that the obtained flow path of the service flow does not match any reference flow path in the reference flow graph of the service flow, the operation of the service flow is abnormal, and the operation state of the service flow is determined to be an abnormal flow state, so that an abnormal analysis result is obtained. For example, if the determined flow path of the service flow is shown in fig. 2e, it can be known through the determination in step S207 that the flow path is not matched with the reference flow path corresponding to the online payment flow branch in the reference flow diagram, or is not matched with the reference flow path corresponding to the cash-in-goods flow branch in the reference flow diagram, which indicates that the operation state of the service flow at this time is abnormal, and an abnormal analysis result is obtained. The part of the flow path from the initial business process activity to the distribution 1 business process activity is matched with the reference flow path corresponding to the online payment flow branch, and the part of the flow path after the distribution 1 business process activity is not matched with the reference flow path corresponding to the online payment flow branch, which indicates that the business process activity (i.e. the payment business process activity) executed after the distribution 1 business process activity is the wrong business process activity.
To facilitate the user to view the collected activity data, the activity data may be displayed to the user via a front-end page. Optionally, the method may further comprise: receiving an activity data query condition recorded in a page component through a front-end page, searching activity data matched with the activity data query condition from the collected activity data, and acquiring an analysis result corresponding to the matched activity data; and outputting the matched activity data and the analysis result corresponding to the matched activity data to a front-end page for displaying.
The front-end page is provided with a page component, and the page component may specifically include a plurality of basic page elements which are divided according to functions and the like and used for forming a page, for example, the page component may include: page elements in the form of text boxes, input boxes, page options, buttons, forms, drop-down boxes, navigation tags, etc. in a page. A user can input activity data query conditions such as a service flow identification, a time period, a service activity identification, a service flow running state (including a normal flow state and/or an abnormal flow state), a service flow activity identification and the like into a page component, after the activity data query conditions are received, activity data matched with the activity data query conditions are queried from the activity data stored in a database according to the activity data query conditions, analysis results corresponding to the matched activity data are obtained, and the queried matched activity data and the obtained corresponding analysis results are output to a front-end page to be displayed, so that multidimensional query of the activity data is realized. Specifically, in order to facilitate a user to conveniently and intuitively determine activity data corresponding to the abnormal analysis result from the activity data displayed on the front-end page, the activity data which is not matched with the reference circulation path in the activity data corresponding to the abnormal analysis result may be displayed in a highlighted manner on the front-end page. For example, the activity data that does not match the reference stream path may be displayed in the front page in a highlighted manner, such as highlighting, font bolding, and font tilting.
According to the business process running state analysis method provided by the embodiment, the reference flow chart of the business process can be defined conveniently and accurately according to the preset execution logic of the business process; the collected activity data containing the same service activity identification are connected in series according to the sequence of the occurrence time of the service flow, so that the determination of the circulation path of the actual operation of the service flow is conveniently realized; by matching the flow path of the business flow with the reference flow diagram of the business flow, the running state of the business flow can be analyzed from the business dimension quickly and effectively, the running state of the business flow is effectively monitored, the abnormal condition of business logic execution can be found in time, the business flow and business codes can be optimized as early as possible, the abnormal business flow in a large area is avoided, the running stability of the business flow is improved, and the business operation cost is reduced.
Fig. 3 shows a schematic structural diagram of a business process operation state analysis system provided in an embodiment of the present invention, and as shown in fig. 3, the system includes: a definition module 301, an acquisition module 302, a determination module 303, and an analysis module 304.
The definition module 301 is adapted to: and defining a reference flow chart of the business process.
The acquisition module 302 is adapted to: and collecting activity data generated by each business process activity in the business process.
The determination module 303 is adapted to: and connecting the activity data in series to determine the flow path of the business process.
The analysis module 304 is adapted to: and analyzing the running state of the business flow according to the flow path of the business flow and the reference flow chart of the business flow to obtain an analysis result.
Optionally, the acquisition module 302 is further adapted to: setting a buried point in a service code of the service flow according to a preset execution logic of the service flow; and when the service code runs to the embedded point, triggering the embedded point to acquire activity data generated by corresponding service flow activities.
Optionally, the determining module 303 is further adapted to: searching activity data containing the same service activity identification from the collected activity data; and according to the service process occurrence time of the activity data containing the same service activity identification, the activity data are connected in series, and the circulation path of the service process is determined.
Optionally, the determining module 303 is further adapted to: and aiming at each business activity identifier, serially connecting the activity data containing the business activity identifier according to the sequence of the occurrence time of the business process, and determining the circulation path of the business process according to the business process activity identifier and the activity calling state in the serially connected activity data.
Optionally, the analysis results comprise: normal analysis results and abnormal analysis results. The analysis module 304 is further adapted to: judging whether the circulation path of the business process is matched with any reference circulation path in a reference circulation diagram of the business process; if so, determining that the operation state of the business process is a normal circulation state, and obtaining a normal analysis result; if not, determining that the operation state of the business process is an abnormal circulation state, and obtaining an abnormal analysis result.
Optionally, the defining module 301 is further adapted to: determining each business process activity of the business process, the activity calling state and the execution sequence of each business process activity according to the preset execution logic of the business process, and drawing at least one reference circulation path between the initial business process activity and the ending business process activity in each business process activity; and defining to obtain a reference flow chart of the service flow according to the at least one reference flow path.
Optionally, the system may further comprise: a front-end page 305 and a lookup module 306.
The front end page 305 is adapted to: receiving an active data query condition entered in a page component; the lookup module 306 is adapted to: searching activity data matched with the activity data query condition from the collected activity data, and acquiring an analysis result corresponding to the matched activity data; and outputting the matched activity data and the analysis result corresponding to the matched activity data to the front-end page 305 for displaying.
Optionally, the front end page 305 is further adapted to: and displaying the activity data which is not matched with the reference circulation path in the activity data corresponding to the abnormal analysis result in a highlighting mode.
Optionally, the system may further comprise: a parsing module 307 and a storage module 308. Wherein the parsing module 307 is adapted to: and analyzing the collected activity data. The storage module 308 is adapted to: and storing the analyzed activity data into a database according to a preset storage model.
The service flow operation state analysis system provided by this embodiment can define the reference flow chart of the service flow conveniently and accurately according to the preset execution logic of the service flow; the collected activity data containing the same service activity identification are connected in series according to the sequence of the occurrence time of the service flow, so that the determination of the circulation path of the actual operation of the service flow is conveniently realized; by matching the flow path of the business flow with the reference flow diagram of the business flow, the running state of the business flow can be analyzed from the business dimension quickly and effectively, the running state of the business flow is effectively monitored, the abnormal condition of business logic execution can be found in time, the business flow and business codes can be optimized as early as possible, the abnormal business flow in a large area is avoided, the running stability of the business flow is improved, and the business operation cost is reduced.
The embodiment of the invention provides a nonvolatile computer storage medium, wherein at least one executable instruction is stored in the computer storage medium, and the computer executable instruction can execute the service flow operation state analysis method in any method embodiment.
Fig. 4 is a schematic structural diagram of a computing device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the computing device.
As shown in fig. 4, the computing device may include: a processor (processor)402, a Communications Interface 404, a memory 406, and a Communications bus 408.
Wherein:
the processor 402, communication interface 404, and memory 406 communicate with each other via a communication bus 408.
A communication interface 404 for communicating with network elements of other devices, such as clients or other servers.
The processor 402 is configured to execute the program 410, and may specifically execute relevant steps in the embodiment of the business process operation state analysis method.
In particular, program 410 may include program code comprising computer operating instructions.
The processor 402 may be a central processing unit CPU, or an application specific Integrated circuit asic, or one or more Integrated circuits configured to implement an embodiment of the present invention. The computing device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 406 for storing a program 410. Memory 406 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as disk storage.
The program 410 may be specifically configured to enable the processor 402 to execute the business process operation state analysis method in any of the method embodiments described above. For specific implementation of each step in the program 410, reference may be made to corresponding steps and corresponding descriptions in units in the foregoing service flow operation state analysis embodiment, which are not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of embodiments of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best modes of embodiments of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that is, the claimed embodiments of the invention require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise. Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in accordance with embodiments of the present invention. Embodiments of the invention may also be implemented as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing embodiments of the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. Embodiments of the invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (10)

1. A business process running state analysis method comprises the following steps:
defining a reference flow chart of a business process;
acquiring activity data generated by each business process activity in the business processes;
connecting the activity data in series, and determining a circulation path of the business process;
and analyzing the running state of the business process according to the flow path of the business process and the reference flow chart of the business process to obtain an analysis result.
2. The method of claim 1, wherein the collecting activity data generated by each business process activity in a business process further comprises:
setting a buried point in a service code of the service flow according to the preset execution logic of the service flow; and when the service code runs to the embedded point, triggering the embedded point to acquire activity data generated by corresponding service flow activities.
3. The method of claim 1, wherein the concatenating the activity data, determining the flow path of the business process further comprises:
searching activity data containing the same service activity identification from the collected activity data;
and according to the service process occurrence time of the activity data containing the same service activity identification, serially connecting the activity data and determining the circulation path of the service process.
4. The method of claim 3, wherein the concatenating the activity data according to the occurrence time of the business process of the activity data containing the same business activity identifier, and determining the flow path of the business process further comprises:
and aiming at each business activity identifier, serially connecting the activity data containing the business activity identifier according to the sequence of the occurrence time of the business process, and determining the circulation path of the business process according to the business process activity identifier and the activity calling state in the serially connected activity data.
5. The method of any of claims 1-4, wherein the analysis results comprise: normal analysis results and abnormal analysis results;
the analyzing the operation state of the service flow according to the flow path of the service flow and the reference flow diagram of the service flow to obtain an analysis result further comprises:
judging whether the circulation path of the business process is matched with any reference circulation path in the reference circulation diagram of the business process;
if so, determining that the operation state of the business process is a normal circulation state, and obtaining a normal analysis result; if not, determining that the operation state of the business process is an abnormal circulation state, and obtaining an abnormal analysis result.
6. The method of any of claims 1-5, wherein the defining the benchmark flow graph of the business process further comprises:
determining each business process activity of the business process, the activity calling state and the execution sequence of each business process activity according to the preset execution logic of the business process, and drawing at least one reference circulation path between the initial business process activity and the ending business process activity in each business process activity;
and defining to obtain a reference flow chart of the business process according to the at least one reference flow path.
7. The method of any of claims 1-6, wherein the method further comprises:
receiving an activity data query condition recorded in a page component through a front-end page, searching activity data matched with the activity data query condition from the collected activity data, and acquiring an analysis result corresponding to the matched activity data;
and outputting the matched activity data and the analysis result corresponding to the matched activity data to the front-end page for displaying.
8. A business process operational state analysis system, the system comprising:
the definition module is suitable for defining a reference flow chart of the business process;
the acquisition module is suitable for acquiring activity data generated by each business process activity in the business processes;
the determining module is suitable for serially connecting the activity data and determining a circulation path of the business process;
and the analysis module is suitable for analyzing the running state of the business process according to the circulation path of the business process and the reference circulation diagram of the business process to obtain an analysis result.
9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the business process operation state analysis method as claimed in any one of claims 1-7.
10. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the business process operational state analysis method of any one of claims 1-7.
CN202010321789.6A 2020-04-22 2020-04-22 Business process running state analysis method and system Pending CN111507636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010321789.6A CN111507636A (en) 2020-04-22 2020-04-22 Business process running state analysis method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010321789.6A CN111507636A (en) 2020-04-22 2020-04-22 Business process running state analysis method and system

Publications (1)

Publication Number Publication Date
CN111507636A true CN111507636A (en) 2020-08-07

Family

ID=71871147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010321789.6A Pending CN111507636A (en) 2020-04-22 2020-04-22 Business process running state analysis method and system

Country Status (1)

Country Link
CN (1) CN111507636A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112395333A (en) * 2020-11-20 2021-02-23 北京百度网讯科技有限公司 Method and device for checking data exception, electronic equipment and storage medium
CN113064905A (en) * 2021-03-25 2021-07-02 北京京东乾石科技有限公司 Business process processing method and device, electronic equipment and computer readable medium
CN113312409A (en) * 2021-06-07 2021-08-27 平安证券股份有限公司 Task monitoring method and device, electronic equipment and computer readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178798A (en) * 2007-12-12 2008-05-14 江苏省电力公司 Method for monitoring process flow across business system
CN102609818A (en) * 2012-02-15 2012-07-25 苏州亚新丰信息技术有限公司 Circulating method of 3rd Generation (3G) mobile communication operating and maintaining flows based on sequence number
CN102609346A (en) * 2012-01-16 2012-07-25 深信服网络科技(深圳)有限公司 Monitoring method and monitoring device on basis of service operation
CN102722771A (en) * 2011-12-06 2012-10-10 新奥特(北京)视频技术有限公司 Method for realizing service flow monitoring
CN103886398A (en) * 2012-12-20 2014-06-25 中国电信股份有限公司 Service monitoring method and system in cross-system heterogeneous environment
CN105719078A (en) * 2016-01-20 2016-06-29 广东电网有限责任公司电力调度控制中心 Holographic flow management method based on business flow butt joint and state monitoring
CN106228306A (en) * 2016-07-26 2016-12-14 深圳中兴网信科技有限公司 Operation flow methods of exhibiting based on modeling configuration and operation flow exhibiting device
CN106651301A (en) * 2016-11-29 2017-05-10 东软集团股份有限公司 Process monitoring method and apparatus
CN107301197A (en) * 2017-05-12 2017-10-27 上海瀚银信息技术有限公司 A kind of business datum tracking processing system and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178798A (en) * 2007-12-12 2008-05-14 江苏省电力公司 Method for monitoring process flow across business system
CN102722771A (en) * 2011-12-06 2012-10-10 新奥特(北京)视频技术有限公司 Method for realizing service flow monitoring
CN102609346A (en) * 2012-01-16 2012-07-25 深信服网络科技(深圳)有限公司 Monitoring method and monitoring device on basis of service operation
CN102609818A (en) * 2012-02-15 2012-07-25 苏州亚新丰信息技术有限公司 Circulating method of 3rd Generation (3G) mobile communication operating and maintaining flows based on sequence number
CN103886398A (en) * 2012-12-20 2014-06-25 中国电信股份有限公司 Service monitoring method and system in cross-system heterogeneous environment
CN105719078A (en) * 2016-01-20 2016-06-29 广东电网有限责任公司电力调度控制中心 Holographic flow management method based on business flow butt joint and state monitoring
CN106228306A (en) * 2016-07-26 2016-12-14 深圳中兴网信科技有限公司 Operation flow methods of exhibiting based on modeling configuration and operation flow exhibiting device
CN106651301A (en) * 2016-11-29 2017-05-10 东软集团股份有限公司 Process monitoring method and apparatus
CN107301197A (en) * 2017-05-12 2017-10-27 上海瀚银信息技术有限公司 A kind of business datum tracking processing system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112395333A (en) * 2020-11-20 2021-02-23 北京百度网讯科技有限公司 Method and device for checking data exception, electronic equipment and storage medium
CN112395333B (en) * 2020-11-20 2023-07-25 北京百度网讯科技有限公司 Method, device, electronic equipment and storage medium for checking data abnormality
CN113064905A (en) * 2021-03-25 2021-07-02 北京京东乾石科技有限公司 Business process processing method and device, electronic equipment and computer readable medium
CN113064905B (en) * 2021-03-25 2024-04-16 北京京东乾石科技有限公司 Business process processing method, device, electronic equipment and computer readable medium
CN113312409A (en) * 2021-06-07 2021-08-27 平安证券股份有限公司 Task monitoring method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN111507636A (en) Business process running state analysis method and system
US20160335279A1 (en) Method for loading website commenting information, and browser client
CN109933617B (en) Data processing method, data processing device, related equipment and related medium
CN109213773B (en) Online fault diagnosis method and device and electronic equipment
AU2016352206A1 (en) Data processing method and device
CN110377356B (en) Task processing method, device and system and computer readable storage medium
CN111881221A (en) Method, device and equipment for customer portrait in logistics service
CN108563736B (en) Method and device for querying data based on data characteristics
CN107480260B (en) Big data real-time analysis method and device, computing equipment and computer storage medium
CN111523043B (en) Resource information display and management method and device
CN110968478A (en) Log collection method, server and computer storage medium
CN111639965A (en) Integral updating method and device
CN114549068A (en) Short link generation method, equipment, device and computer readable storage medium
CN116523457A (en) Workflow processing method, device, equipment and storage medium based on business process
CN110704486B (en) Data processing method, device, system, storage medium and server
CN113420041A (en) Data processing method, device, equipment and medium in distributed database
CN110020890B (en) Method and device for configuring store for commodity
CN111209368A (en) Information prompting method and device, computer readable storage medium and electronic device
CN113094248B (en) User behavior data analysis method and device, electronic equipment and medium
CN112258244B (en) Method, device, equipment and storage medium for determining task to which target object belongs
CN108512822B (en) Risk identification method and device for data processing event
CN110874365A (en) Information query method and related equipment thereof
CN108345600B (en) Management of search application, data search method and device thereof
CN105677776A (en) Data processing method and device
CN103034719B (en) CPU type identifier method, equipment and hardware detection system

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

Application publication date: 20200807

RJ01 Rejection of invention patent application after publication