CN113868073A - Graphical analysis method and device for state jump log and storage medium - Google Patents

Graphical analysis method and device for state jump log and storage medium Download PDF

Info

Publication number
CN113868073A
CN113868073A CN202110992114.9A CN202110992114A CN113868073A CN 113868073 A CN113868073 A CN 113868073A CN 202110992114 A CN202110992114 A CN 202110992114A CN 113868073 A CN113868073 A CN 113868073A
Authority
CN
China
Prior art keywords
state
jump
dot
source
log
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.)
Withdrawn
Application number
CN202110992114.9A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110992114.9A priority Critical patent/CN113868073A/en
Publication of CN113868073A publication Critical patent/CN113868073A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application relates to a graphical analysis method and device for a state jump log and a storage medium. The method comprises the following steps: collecting the content of the corresponding state jump log; analyzing the content of the state jump log to acquire a source state, a trigger condition and a target state; traversing all the source states, the trigger conditions and the target states to acquire the source state, the target state corresponding to the source state and the corresponding trigger conditions in the process of skipping each state; each time a group of source states, trigger conditions and target states forming a state jump process are obtained in a traversing manner, a group of first dot description, second dot description and third dot description are correspondingly configured; and generating a dot drawing file by the first dot description, the second dot description and the third dot description, and executing to draw a state jump relation picture. The method and the device can be used for imaging each state, trigger condition and trigger condition occurrence time recorded by characters. The imaging enables a user to read and analyze the state jump log more intuitively, and the problem can be conveniently analyzed according to the log.

Description

Graphical analysis method and device for state jump log and storage medium
Technical Field
The present application relates to the field of log processing technologies, and in particular, to a method and an apparatus for graphically analyzing a state skip log, and a storage medium.
Background
The Linux system module log records the execution process of some services in a state jump mode. If the FC port establishes the following records in the log:
{RPORT_SM_STATE_INIT,RPORT_SM_STATE_AWAIT_REG_LOGIN_HNDL_PLOGI_ACK_PEND,RPORT_SM_STIM_RCV_UNSOL_PLOGI,0x00,{Wed Apr15 10:39:50 2020,410},0x000000008d496249}
this content indicates that the received STIM _ RCV _ UNSOL _ PLOGI stimulus in the STATE _ INIT STATE jumps to the STATE _ AWAIT _ REG _ logic _ HNDL _ PLOGI _ ACK _ PEND STATE.
The Linux system module log adopts the status jump condition of the character record, so that when a user analyzes problems according to the log, the readability and the identifiability of the character record are not high, the status jump process in the log is not intuitive through character display, and the problem analysis of the user according to the log is not facilitated.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present application provides a method, an apparatus and a storage medium for graphical analysis of a state jump log.
In a first aspect, the present application provides a graphical analysis method for a state jump log, including:
acquiring the content of a corresponding state jump log according to a preset acquisition configuration;
analyzing the content of the state jump log to acquire a source state, a trigger condition and a target state;
traversing all the source states, the trigger conditions and the target states to acquire the source state, the target state corresponding to the source state and the corresponding trigger conditions in the process of skipping each state;
each time a group of source states, trigger conditions and target states forming a state jump process are obtained in a traversing manner, a group of first dot description, second dot description and third dot description are correspondingly configured; calling a source state configuration to generate a first dot description of a source node, calling a target state configuration corresponding to the source state to generate a second dot description of a target node, and calling the source state, the corresponding target state and a corresponding trigger condition configuration to generate a third dot description of a jump line;
and calling a drawing tool to execute a dot drawing file generated by a plurality of first dot descriptions, second dot descriptions and third dot descriptions so as to draw a state jump relation picture, wherein the state jump relation picture expresses a state jump relation by a plurality of source nodes, target nodes and jump lines.
Furthermore, state jump information of the process is collected from a memory or a memory mirror image of the process, and the state jump information comprises a source state, a trigger condition and a target state.
Further, the trigger condition records the trigger condition content and the trigger condition occurrence time.
Further, recording the source state, the trigger condition and the target state according to a set format to form a state jump log, and storing the state jump log in a preset path; the preset acquisition configuration comprises a reading path for configuring the state jump log and the name of the state jump log.
Furthermore, the content of the state jump log is analyzed according to a set format to obtain a source state, a trigger condition and a target state.
Furthermore, the acquired source state, the trigger condition and the target state are arranged into a preset data format in a regular expression mode, and all the source state, the trigger condition and the target state are traversed according to the set data format.
Furthermore, the first dot description further includes definitions of a graph adopted by the source node, a line type and a color of an edge line of the graph adopted by the source node, and a background color of the graph adopted by the source node;
the second dot description also comprises definitions of a graph adopted by the target node, line type and color of a side line of the graph adopted by the target node and background color of the graph adopted by the target node;
the third dot description also includes definitions of the type, line type and color of the jump line.
Furthermore, a storage path of the state jump relation picture is preset, a name and a format of the state jump relation picture are defined, and the generated state jump relation picture is stored to the storage path of the preset state jump relation picture according to the defined name.
In a second aspect, the present application provides an apparatus for implementing graphical parsing of a status jump log, including:
the configuration module is used for configuring the path and the name of the state jump log needing graphical analysis;
the acquisition module is used for acquiring the content of the corresponding state jump log according to the acquisition configuration configured by the configuration module;
the log processing module analyzes the content of the state jump log to obtain a source state, a trigger condition and a target state;
the dot description construction module is used for traversing all the source states, the trigger conditions and the target states to generate corresponding first dot description, second dot description and third dot description;
the drawing module calls a drawing tool to execute a dot drawing file generated by a plurality of first dot descriptions, second dot descriptions and third dot descriptions so as to draw a state jump relation picture;
and the display module displays the state jump relation picture.
In a third aspect, the present application provides a storage medium for implementing a graphical analysis method of a state jump log, where the storage medium for implementing the graphical analysis method of the state jump log stores at least one instruction, and reads and executes the instruction to implement the graphical analysis method of the state jump log.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the method comprises the steps of collecting a source state, a target state and a trigger condition in each state jumping process in a state jumping log; the method comprises the steps that a source state, a target state and a trigger condition in the process of skipping of each state are utilized to construct a corresponding source node, a target node and a skipping line through a dot language respectively; and then, the constructed source node, the target node and the jump line are executed by utilizing a drawing tool to form a state jump relation picture. The content of the state jump log is graphically displayed to the user, so that the user can more intuitively understand the content of the state jump log, and the user can conveniently analyze the content of the state jump log. The method and the device automatically image the content of the state jump log, and the efficiency of drawing the state jump relation picture is high. The method and the device can express specific logic by configuring the shapes of the source node and the target node, the background color and the line type and color of the jump line, and are convenient for a user to more intuitively understand the content recorded by the state jump log.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a graphical analysis method for a state jump log according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a process of acquiring content of a corresponding state jump log according to a preset acquisition configuration according to an embodiment of the present application;
FIG. 3 is a graphical state jump relationship picture formed by FC port working state logs generated by the present application;
fig. 4 is a schematic diagram of an apparatus for implementing graphical parsing of a state jump log according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Dot in this application refers to the dot language.
Example 1
Referring to fig. 1, an embodiment of the present application provides a graphical analysis method for a state jump log, including:
and S100, acquiring the content of the corresponding state jump log according to preset acquisition configuration.
Specifically, acquiring the content of the corresponding state jump log according to the preset acquisition configuration includes:
s101, when a process runs in a linux system, state jump information of the process is collected from a memory or a memory mirror image of the process, and the state jump information comprises a source state, a trigger condition and a target state. The trigger condition records the content of the trigger condition and the occurrence time of the trigger condition.
S102, recording a source state, a trigger condition and a target state in the state jump information according to a set format to form a state jump log, wherein in the specific implementation process, the state jump log is recorded according to a format of { source state, target state, trigger condition content, repeated counting, { trigger condition occurrence time }, and timestamp }.
If the FC port working state log is recorded according to the format:
{IOPORT_SM_STATE_FLOGI_AWAIT_RETRY,IOPORT_SM_STATE_FLOGI_FDISC_IN_PROG,IOPORT_SM_STIM_TIMER_EXPIRY,0x00,{Mon Sep2100:40:18 2020,770},0x000000006a4e3bee}
{IOPORT_SM_STATE_SCR_IN_PROG,IOPORT_SM_STATE_PLOGI_IN_PROG,IOPORT_SM_STIM_RCV_LS_ACC,0x00,{Mon Sep 21 00:40:18 2020,780],0x000000006a4e6402}
{IOPORT_SM_STATE_PL0GI_IN_PROG,IOPORT_SM_STATE_PLOGI_IN_PROG,IOPORT_SM_STIM_TIME_0UT,0x04,{Mon Sep 21 00:40:18 2020,780},0x000000006a4e67d5}
{IOPORT_SM_STATE_PL0GI_IN_PROG,IOPORT_SM_STATE_FLOGO_IN_PROG,IOPORT_SM_STIM_TIME_0UT,0x00,{Mon Sep 21 00:40:18 2020,780},0x000000006a4e79eb}
{IOPORT_SM_STATE_FLOG0_IN_PR0G,IOPORT_SM_STATE_AWAIT_UNREG_FABRIC_HANDLB_DRAIN,IOPORT_SM_STIM_TIME_0UT,0x00,{Mon Sep 21 00:40:18 2020,780},0x000000006a4e7d67}
{IOPORT_SM_STATE_AWAIT_UNREG_FABRIC_HANDLE_DRAIN,IOPORT_SM_STATE_FLOGI_AWAIT_RETRY,IOPORT_SM_STIM_UNREG_FABRIC_HANDLE_SUCCESS,0x00,{Mon Sep 21 00;40;18 2020.780},0x000000006a4e7d6a}
{IOPORT_SM_STATE_FL0GI_AWAIT_RETRY,IOPORT_SM_STATE_FLOGI_FDISC_IN_PROG,IOPORT_SM_STIM_TIMER_EXPIRY,Ox00,{Mon Sep 21 00:40:18 2020,790},0x000000006a4e8c09}
{IOPORT_SM_STATE_FL0GI_FDISC_IN_PROG,I0PORT_SM_STATE_AWAIT_FLOGI_FDISC_DRAIN,IOPORT_SM_STTM_FABRIC_D0WN,0x00,{MonSep 21 00:40:19 2020,0},0x000000006a51fb67}
{IOPORT_SM_STATE_FLOG0_IN_PROG,IOPORT_SM_STATE_AWAIT_UNREG_FABRIC_HANDLE_DRAIN,IOPORT_SM_STIM_TIME_OUT,0x00,{Mon Sep 21 00;40;18 2020,580},0x000000006a4b5c8d}
{IOPOR_SM_STATE_AWAIT_UNERG_FABRIC_HANDLE_DRAIN,IOPORT_SM_STATE_FL0GI_AWAIT_RETRY,IOP0RT_SM_STIM_UNREG_FABRIC_HANDLE_SUCCES,0x00,{Mon Sep 21 00:40:18 2020,580},0x000000006a4b5c90}。
s103, storing the state jump log in a preset path;
and S104, acquiring a target state jump log from a preset path of the target according to preset acquisition configuration. The preset acquisition configuration comprises a reading path for configuring the state jump log and the name of the state jump log.
S200, analyzing the content of the state jump log to acquire the recorded source state, trigger condition and target state in each state jump process.
Specifically, the content of the state jump log is analyzed according to a set format to obtain a source state, a trigger condition and a target state. For the formats of { source STATE, target STATE, trigger condition content, repetition count, { trigger condition occurrence time }, timestamp }, acquiring a content acquisition source STATE after STATE _ in the first element, acquiring a content acquisition target STATE after STATE _ in the second element, acquiring a content acquisition trigger condition content after STIM _ in the third element, and matching the content acquisition trigger condition content represented in the fifth element: dividing into: the content of the second to obtain the occurrence time of the trigger condition, and the content of the trigger condition and the occurrence time of the trigger condition constitute the trigger condition.
And S300, arranging the acquired source state, the trigger condition and the target state into a preset data format in a regular expression mode.
Specifically, one possible preset data format is as follows:
source state: a; triggering conditions are as follows: time + b; target state c.
The content sorted out by the FC port working status log is as follows:
source state: FLOGI _ AWAIT _ RETRY; triggering conditions are as follows: 00:40:18TIMER _ EXPIRY; target state FLOGI _ FDISC _ IN _ PROG;
source state: SCR _ IN _ PROG; triggering conditions are as follows: 00:40:18RCV _ LS _ ACC; the target state is PLOGI _ IN _ PROG;
source state: PL0GI _ IN _ PROG; triggering conditions are as follows: 00:40:18TIME _0 UT; the target state is PLOGI _ IN _ PROG;
source state: PL0GI _ IN _ PROG; triggering conditions are as follows: 00:40:18TIME _0 UT; target state FLOGO _ IN _ PROG;
source state: FLOG0_ IN _ PR 0G; triggering conditions are as follows: 00:40:18TIME _0 UT; target state AWAIT _ UNREG _ FABRIC _ pending _ DRAIN;
source state: AWAIT _ UNREG _ FABRIC _ portable _ DRAIN; triggering conditions are as follows: 00:40:18UNREG _ FABRIC _ HANDLE _ SUCCESS; target state FLOGI _ AWAIT _ RETRY;
source state: FL0GI _ AWAIT _ RETRY; triggering conditions are as follows: 00:40:18TIMER _ EXPIRY; target state FLOG I _ FDISC _ IN _ PROG;
source state: FL0GI _ FDISC _ IN _ PROG; triggering conditions are as follows: 00:40:19FABRIC _ D0 WN; AWAIT _ FLOGI _ FDISC _ DRAIN;
source state: STATE _ FLOG0_ IN _ PROG; triggering conditions are as follows: 00:40:18TIME _ OUT; target state AWAIT _ UNREG _ FABRIC _ portable _ DRAIN;
source state: AWAIT _ UNERG _ FABRIC _ portable _ DRAIN; triggering conditions are as follows: 00:40:18UNREG _ FABRIC _ HANDLE _ SUCCES; target state FL0GI _ AWAIT _ RETRY.
S400, traversing all the source states, the trigger conditions and the target states. And traversing all the source states, the trigger conditions and the target states according to a set data format to acquire the source state, the target state corresponding to the source state and the corresponding trigger conditions in the process of jumping each state, wherein the source state and the target state can be the same state.
S500, each time a group of source states, trigger conditions and target states forming the state jump process are obtained in a traversing mode, a group of first dot description, second dot description and third dot description are configured correspondingly.
Specifically, a first dot description of a source node is generated by calling source state configuration, a second dot description of a target node is generated by calling target state configuration corresponding to the source state, and a third dot description of a jump line is generated by calling the source state, the corresponding target state and the corresponding trigger condition configuration. In a specific implementation process, the first dot description further includes definitions of a graph adopted by the source node, line types and colors of edges of the graph adopted by the source node, and background colors of the graph adopted by the source node; the second dot description also comprises definitions of a graph adopted by the target node, line type and color of a side line of the graph adopted by the target node and background color of the graph adopted by the target node; the third dot description also includes definitions of the type, line type and color of the jump line.
In particular, the method comprises the following steps of,
the first dot description includes:
' Source node
Source node label ═ Source State "
};
The second dot description includes:
"target node", its map data
Target node label ═ target state "
};
The third dot description includes:
"source node" - > "target node" [ trigger condition label ═ trigger condition "]
In the "source state: FLOGI _ AWAIT _ RETRY; triggering conditions are as follows: 00:40:18TIMER _ EXPIRY; target state FLOGI _ FDISC _ IN _ PROG; "first dot description, second dot description and third dot description for illustrating configuration:
the first dot description includes:
"FLOGI_AWAIT_RETRY"{
label="FLOGI_AWAIT_RETRY"
};
the second dot description includes:
"FLOGI_FDISC_IN_PROG"{
label="FLOGI_FDISC_IN_PROG"
};
the third dot description includes:
"FLOGI_AWAIT_RETRY"->"FLOGI_FDISC_IN_PROG"[label="00:40:18TIMER_EXPIRY"]
s600, generating a dot drawing file by the first dot description, the second dot description and the third dot description, calling a drawing tool to execute the dot drawing file to draw a state jump relation picture, wherein the state jump relation picture expresses a state jump relation by a plurality of source nodes, target nodes and jump lines.
In a specific implementation process, all the first dot description, the second dot description and the third dot description are integrated in a dot drawing file, and the dot drawing file is executed through a grapeviz drawing tool to draw a state jump relation picture.
In the specific implementation process, a storage path of the state jump relation picture is preset, the name and the format of the state jump relation picture are defined, and the generated state jump relation picture is stored to the storage path of the preset state jump relation picture according to the defined name and format.
And when the generated state jump relation picture name conflicts with the picture name in the storage path of the preset state jump relation picture, replacing the original picture in the storage path of the preset state jump relation picture by the newly generated state jump relation picture.
Referring to fig. 3, fig. 3 is a graphical state jump relationship picture formed by the FC port working state log.
The method comprises the steps of collecting a source state, a target state and a trigger condition in each state jumping process in a state jumping log; the method comprises the steps that a source state, a target state and a trigger condition in the process of skipping of each state are utilized to construct a corresponding source node, a target node and a skipping line through a dot language respectively; and then, the constructed source node, the target node and the jump line are executed by utilizing a drawing tool to form a state jump relation picture. The content of the state jump log is graphically displayed to the user, so that the user can more intuitively understand the content of the state jump log, and the user can conveniently analyze the content of the state jump log. The method and the device automatically image the content of the state jump log, and the efficiency of drawing the state jump relation picture is high. The method and the device can express specific logic by configuring the shapes of the source node and the target node, the background color and the line type and color of the jump line, and are convenient for a user to more intuitively understand the content recorded by the state jump log.
Example 2
Referring to fig. 4, an embodiment of the present application provides an apparatus for implementing graphical parsing of a state jump log, including:
and the log module is used for acquiring the state jump information from the process memory or the memory mirror image file and recording a source state, a trigger condition and a target state in the state jump information according to a set format to form a state jump log.
The configuration module is used for configuring the path and the name of a state jump log which needs to be subjected to graphical analysis;
the acquisition module is used for acquiring the content of the corresponding state jump log according to the acquisition configuration configured by the configuration module;
the log processing module analyzes the content of the state jump log to obtain a source state, a trigger condition and a target state;
the dot description construction module is used for traversing all the source states, the trigger conditions and the target states to generate corresponding first dot description, second dot description and third dot description;
the drawing module calls a drawing tool to execute a dot drawing file to draw a state jump relation picture; the dot drawing file is generated by a plurality of first dot descriptions, second dot descriptions and third dot descriptions generated by the dot description construction module.
And the storage module is used for storing operation data and result data of the log module, the configuration module, the acquisition module, the log processing module, the dot description construction module and the drawing module, and comprises a dot drawing file, a drawing tool, a state jump relation picture and a state jump log.
And the display module displays the state jump relation picture.
Example 3
The embodiment of the application provides a storage medium for realizing a state jump log graphical analysis method, which is characterized in that the storage medium for realizing the state jump log graphical analysis method stores at least one instruction, and reads and executes the instruction to realize the state jump log graphical analysis method.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A graphical analysis method for a state jump log is characterized by comprising the following steps:
acquiring the content of a corresponding state jump log according to a preset acquisition configuration;
analyzing the content of the state jump log to acquire a source state, a trigger condition and a target state;
traversing all the source states, the trigger conditions and the target states to acquire the source state, the target state corresponding to the source state and the corresponding trigger conditions in the process of skipping each state;
each time a group of source states, trigger conditions and target states forming a state jump process are obtained in a traversing manner, a group of first dot description, second dot description and third dot description are correspondingly configured; calling a source state configuration to generate a first dot description of a source node, calling a target state configuration corresponding to the source state to generate a second dot description of a target node, and calling the source state, the corresponding target state and a corresponding trigger condition configuration to generate a third dot description of a jump line;
and calling a drawing tool to execute a dot drawing file generated by a plurality of first dot descriptions, second dot descriptions and third dot descriptions so as to draw a state jump relation picture, wherein the state jump relation picture expresses a state jump relation by a plurality of source nodes, target nodes and jump lines.
2. The graphical analysis method for the state jump log according to claim 1, characterized in that the state jump information of the process is collected from the memory or the memory image of the process, and the state jump information includes a source state, a trigger condition and a target state.
3. The graphical analysis method for the state jump log according to claim 2, wherein the trigger condition records the content of the trigger condition and the occurrence time of the trigger condition.
4. The graphical analysis method for the state jump logs according to claim 2, characterized in that the source state, the trigger condition and the target state are recorded according to a set format to form the state jump logs, and the state jump logs are stored in a preset path; the preset acquisition configuration comprises a reading path for configuring the state jump log and the name of the state jump log.
5. The graphical analysis method for the state jump logs according to claim 3, characterized in that the content of the state jump logs is analyzed according to a set format to obtain the source state, the trigger condition and the target state.
6. The graphical analytic method of the state jump logs according to claim 1, characterized in that the acquired source states, trigger conditions and target states are arranged into a preset data format by means of regular expressions, and all the source states, trigger conditions and target states are traversed according to the set data format.
7. The graphical analysis method for the state jump logs according to claim 1, characterized in that the first dot description further includes definitions of a graph adopted by the source node, a line type and a color of an edge line of the graph adopted by the source node, and a background color of the graph adopted by the source node;
the second dot description also comprises definitions of a graph adopted by the target node, line type and color of a side line of the graph adopted by the target node and background color of the graph adopted by the target node;
the third dot description also includes definitions of the type, line type and color of the jump line.
8. The graphical analysis method for the state jump log according to claim 1, characterized in that a storage path of the state jump relation picture is preset, a name and a format of the state jump relation picture are defined, and the generated state jump relation picture is stored to the storage path of the preset state jump relation picture according to the defined name.
9. An apparatus for implementing graphical analysis of a state jump log, comprising:
the configuration module is used for configuring the path and the name of the state jump log needing graphical analysis;
the acquisition module is used for acquiring the content of the corresponding state jump log according to the acquisition configuration configured by the configuration module;
the log processing module analyzes the content of the state jump log to obtain a source state, a trigger condition and a target state;
the dot description construction module is used for traversing all the source states, the trigger conditions and the target states to generate corresponding first dot description, second dot description and third dot description;
the drawing module calls a drawing tool to execute a dot drawing file generated by a plurality of first dot descriptions, second dot descriptions and third dot descriptions so as to draw a state jump relation picture;
and the display module displays the state jump relation picture.
10. A storage medium for implementing a graphical analysis method of a state jump log, wherein the storage medium for implementing the graphical analysis method of the state jump log stores at least one instruction, and reads and executes the instruction to implement the graphical analysis method of the state jump log according to any one of claims 1 to 8.
CN202110992114.9A 2021-08-27 2021-08-27 Graphical analysis method and device for state jump log and storage medium Withdrawn CN113868073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110992114.9A CN113868073A (en) 2021-08-27 2021-08-27 Graphical analysis method and device for state jump log and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110992114.9A CN113868073A (en) 2021-08-27 2021-08-27 Graphical analysis method and device for state jump log and storage medium

Publications (1)

Publication Number Publication Date
CN113868073A true CN113868073A (en) 2021-12-31

Family

ID=78988439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110992114.9A Withdrawn CN113868073A (en) 2021-08-27 2021-08-27 Graphical analysis method and device for state jump log and storage medium

Country Status (1)

Country Link
CN (1) CN113868073A (en)

Similar Documents

Publication Publication Date Title
CN107526600B (en) Hadoop and spark-based visual data mining analysis platform and data cleaning method thereof
CN108847977B (en) Service data monitoring method, storage medium and server
CN108255847B (en) Page generation method and device
US11966312B2 (en) Operation logs visualization device, operation logs visualization method and operation logs visualization program
US8201135B2 (en) Printed circuit board layout system and method thereof
CN110392155B (en) Notification message display and processing method, device and equipment
CN105930139A (en) Application program control dynamic configuration method and electronic device
CN107295082A (en) Running software processing method, apparatus and system
CN112817866A (en) Recording playback method, device, system, computer equipment and storage medium
US20240119223A1 (en) Method, apparatus and electronic device for field merging
CN107632921A (en) A kind of method and system that server info is shown by Quick Response Code
WO2019090825A1 (en) Automatic comparison method, apparatus and device for fund system testing values and storage medium
CN114860699A (en) Data quality detection method, device, equipment and storage medium
CN113868073A (en) Graphical analysis method and device for state jump log and storage medium
CN113407254A (en) Form generation method and device, electronic equipment and storage medium
CN112364609A (en) Business standing book generation method and device, storage medium and electronic equipment
CN112256259A (en) Method, device and equipment for processing thinking guide graph and storage medium
CN108304118B (en) Screenshot method and device
CN105005889A (en) Method for acquiring cashing data in rapid and low-cost way
CN108520063A (en) Processing method, device and the terminal device of event log
CN114860221A (en) Workflow engine and implementation method thereof
CN108632370B (en) Task pushing method and device, storage medium and electronic device
CN109739808B (en) Method, system and related equipment for converting format of automobile data stream recording file
CN111198639A (en) Picture marking method, device, terminal and computer storage medium
CN112749235A (en) Method and device for analyzing classification result and electronic equipment

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20211231