CN115248753A - Automatic generation method and system for standardized fault records and visual terminal - Google Patents

Automatic generation method and system for standardized fault records and visual terminal Download PDF

Info

Publication number
CN115248753A
CN115248753A CN202210529163.3A CN202210529163A CN115248753A CN 115248753 A CN115248753 A CN 115248753A CN 202210529163 A CN202210529163 A CN 202210529163A CN 115248753 A CN115248753 A CN 115248753A
Authority
CN
China
Prior art keywords
fault
target
shared storage
storage area
processing
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
CN202210529163.3A
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.)
Dezhou Power Supply Co of State Grid Shandong Electric Power Co Ltd
Original Assignee
Dezhou Power Supply Co of State Grid Shandong Electric Power 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 Dezhou Power Supply Co of State Grid Shandong Electric Power Co Ltd filed Critical Dezhou Power Supply Co of State Grid Shandong Electric Power Co Ltd
Priority to CN202210529163.3A priority Critical patent/CN115248753A/en
Publication of CN115248753A publication Critical patent/CN115248753A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2023Failover techniques
    • G06F11/203Failover techniques using migration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Multimedia (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method and a system for automatically generating a standardized fault record and a visual terminal, and belongs to the technical field of fault processing. The method comprises the following steps of S1: acquiring currently received fault information; s2, acquiring the type of fault information; s3, determining a target fault processing process corresponding to the category; s4, determining a plurality of target shared storage areas; s5, processing currently received fault information based on the state of the fault processing progress stored in each shared storage area; and S6, generating a fault record output. The system comprises a plurality of processor groups, a fault information receiving unit, a fault information analyzing unit, a fault category broadcasting unit, a target processing core determining unit, a target processor group determining unit and a process migration unit, wherein each processor group comprises a plurality of processing cores. The invention can realize the adaptation and the migration of the fault automatic analysis and processing process based on the multi-core processor, and improve the fault processing efficiency.

Description

Automatic generation method and system for standardized fault records and visual terminal
Technical Field
The invention belongs to the technical field of fault processing, and particularly relates to a method and a system for automatically generating a standardized fault record and a visual terminal.
Background
Currently, most fault records are still recorded and the manual recording stage is stopped. For example, for distribution network fault records, the inspection results of field patrol personnel still need to be reported by telephone and manually input OMS (operation management system) on-duty records, the records are delayed and easy to miss, and the fault command processing efficiency needs to be improved.
To this end, the prior art proposes various automated fault intelligence handling and generation techniques. For example, application No. CN201910605357.5 (classification No. G06F16/36, G16h40/40) proposes a knowledge base for storing device fault records, and a method and a system for assisting in locating device faults by using the same, which can help locate faults of medical devices by continuously expanding maintenance experience through a maintenance knowledge base, thereby greatly improving processing efficiency and saving manpower.
However, the inventor finds that in the prior art, a unified fault handling process or a fault handling model is adopted to execute fault response, but different types of faults require different handling modes; or simply adopting a multi-process model to carry out fault load balancing processing, and not fully considering the specific information of the fault type and the possible blocking or idle state of each process area, so that the fault processing efficiency is low; this prior art approach does not meet the practical needs, especially considering the need to generate a fault log output for subsequent analysis.
Disclosure of Invention
In order to solve the technical problems, the invention provides a method and a system for automatically generating a standardized fault record and a visual terminal.
In a first aspect of the present invention, a method for automatically generating a standardized fault record is provided, where the method is implemented based on at least one shared storage area, and each shared storage area stores multiple fault handling processes;
specifically, the method comprises the following steps:
s1: acquiring currently received fault information;
s2: analyzing the fault information to obtain the category of the fault information;
s3: determining a target fault processing process corresponding to the category based on the category of the fault information;
s4: determining a plurality of target shared memory areas based on the target fault handling process;
s5: processing the currently received fault information based on the states of all fault processing processes stored in each shared storage area;
s6: a fault log output is generated.
In an initial state, each shared storage area stores a plurality of fault processing processes, and each fault processing process corresponds to different types of fault information.
In the technical scheme of the invention, the state of the shared memory area is dynamically changed, and after the shared memory area is started from an initial state, process migration is executed based on the states of all fault processing processes stored in the shared memory area so as to change the state; then, according to the actual dynamic resource state parameter change, the initial state can be recovered, and the above process is circulated.
More specifically, in step S2, the fault information is analyzed, and after the type of the fault information is obtained, the type of the fault information is broadcasted to all shared storage areas through a broadcasting process;
then, based on the category of the fault information, determining a target fault processing process corresponding to the category;
next, a plurality of target shared memory areas are determined based on the target failure handling process.
More specifically, taking an example that the plurality of target shared memory areas include a first target shared memory area and a second target shared memory area, the first target shared memory area includes a first target failure handling process corresponding to the category; the second target shared storage area comprises a second target fault processing process corresponding to the category;
then, in step S5, the first target failure handling process or the second target failure handling process is migrated based on the states of all failure handling processes stored in each of the shared storage areas.
And after the migration is finished, determining a target shared storage area used for receiving currently received fault information and automatically generating fault records, wherein the target shared storage area is a shared storage area into which a target fault processing process migrates.
At this time, the step S5 further includes:
determining a target shared storage area for receiving currently received fault information and automatically generating fault records based on the states of all fault processing processes stored in each shared storage area;
and judging all target states of the target fault processing process contained in the target shared storage area, and determining whether to execute the initialization operation of the target shared storage area or not based on all the target states.
In a second aspect of the invention, a standardized fault record auto-generation system is provided that includes a plurality of processor complexes, each processor complex including a plurality of processing cores.
In a specific structure, the system further comprises:
a fault information receiving unit for receiving fault information;
the fault information analysis unit is used for analyzing the fault information to obtain a fault type;
the fault type broadcasting unit is used for broadcasting the fault type analyzed by the fault information analyzing unit to each processor group;
a target processing core determination unit for determining a target processing core in each processor group based on the received fault category;
a target processor group determination unit for determining whether each processor group is a target processor group based on the target processing core;
the process migration unit is used for migrating the running process on at least one target processing core based on the resource occupation condition of each processing core in each target processor group;
and processing the fault information in the target processor group receiving the migration process, and generating a fault record output.
As a further improvement, the processor group initialization unit is configured to initialize processes running on the processors included in each processor group, and the initialization is configured to enable each processor included in each processor group to run different classes of fault handling processes.
As a further improvement, the system further comprises a processor group initialization judgment unit;
the processor group initialization judging unit is used for judging whether the target processor group receiving the migration process meets the initialization condition or not, and if so, calling the processor group initialization unit to initialize the target processor group receiving the migration process.
In the technical solutions of the two aspects, the fault category includes any combination of the following categories (1) and (2):
class (1): periodic errors, sporadic errors, and frequent errors;
class (2): response errors and non-response errors.
The method of the invention can be realized automatically by computer program instructions. The invention may thus also be embodied as a computer storage medium having stored thereon computer program instructions executable by a processor to perform the method of the first aspect.
In addition, in order to facilitate field application, the invention also provides a visual handheld portable terminal, which comprises a memory and a processor, wherein the processor executes the automatic standardized fault record generation method of the first aspect to process the received fault information by operating the executable instruction codes stored in the memory, and then generates a fault record to be displayed on a human-computer interaction interface of the visual handheld portable terminal.
According to the technical scheme, a plurality of fault processing processes of different types are stored in a shared storage area mode, the fault type is obtained through analysis after fault information is received, then a plurality of corresponding target processing processes of different shared storage areas are determined, process migration is executed based on an actual running state, the running process of the shared storage area for processing the current fault type is always in the maximum efficiency and the most suitable state, the fault of the current type can be timely processed and generated to form a fault record, process blocking or process idling is avoided, and the fault processing efficiency is improved; meanwhile, the setting mode of periodically judging the state of the target shared storage area and performing initialization recovery can also avoid data accumulation errors.
Further advantages of the invention will be apparent in the detailed description section in conjunction with the drawings attached hereto.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating the steps of a method for automatically generating a standardized fault record according to an embodiment of the present invention;
FIG. 2 is a schematic view of a flow node of the standardized fault record automatic generation method of FIG. 1 implemented by a computer process;
FIG. 3 is a flow chart of a first preferred embodiment of a method for automatic generation of a standardized fault record illustrated in FIG. 1;
FIG. 4 is a flow chart of a second preferred embodiment of a method for automatically generating a standardized fault record of FIG. 1;
FIG. 5 is a block diagram of a standardized fault record auto-generation system that implements the method described in FIG. 1;
FIG. 6 is a schematic diagram of a preferred embodiment of the standardized fault record automatic generation system of FIG. 5.
Detailed Description
The invention is further described with reference to the following drawings and detailed description.
Before describing the technical solutions and embodiments of the present invention, a source of the related problems involved is described in order to better understand the inventive aspects of the present invention and the improvements over the prior art.
In various embodiments of the present invention, the fault information is continuously received.
For example, the fault information may be uploaded by the field device or the terminal in real time when the fault is detected, or may be uploaded according to a preset period based on a period in which the fault occurs.
As an example, the terminal may terminate due to an error during operation, and at this time, fault information is generated in real time to be uploaded, and a fault response is waited, where the fault is called a response error, that is, the terminal can continue to operate after the fault occurs and a fault response is required;
as another example, the device may log failure information, which is usually a non-response error, that is, an error may be skipped, which does not affect the task execution process of the current device or terminal, but some unexpected common errors occur, and the log is saved for the subsequent optimization procedure.
Faults can also be divided into periodic errors, sporadic errors and frequent errors, distinguished from occurrence frequency.
The periodic error is based on historical record analysis, and the error appears with certain periodicity; sporadic errors are based on historical analysis, which rarely occur; the frequent errors are based on a preset time period as a unit, and the frequency of the errors in the preset time period is larger than a threshold value.
It is understood that the classification of periodic errors, sporadic errors, and frequent errors is not fixed, and that certain types may be inverted, e.g., frequent errors may evolve into periodic errors, current sporadic errors may evolve into frequent errors, etc.
Thus, in various embodiments of the present invention, the fault category includes one or any combination of the following categories (1) and (2):
class (1): periodic errors, sporadic errors, and frequent errors;
class (2): response errors and non-response errors.
Thus, the fault categories include at least:
1 periodic response error, 2 periodic non-response error, 3 occasional response error, 4 occasional non-response error, 5 frequent response error, 6 frequent non-response error;
or:
a periodic errors, B sporadic errors, C frequent errors, D responsive errors, and E non-responsive errors.
The inventor finds that different types of faults need different processing modes, for example, a response error needs to be processed in real time and record feedback is given in time, and a non-response error may be processed later and does not affect the system process; frequent errors need to call a frequency analysis model and a prediction model to predict the next failure occurrence time and generate a record to remind a user, and occasional errors do not need to be specially processed; periodic response errors may require periodic analysis models and attempts to eliminate or extend the period, etc.
However, in the prior art, most of the methods adopt a unified fault handling process or a fault handling model to execute fault response, or simply adopt a multi-process model to perform fault load balancing processing, and specific information of fault categories and possible blocked or idle states of process areas are not fully considered, so that the fault handling efficiency is low; this prior art approach does not meet the practical needs, especially considering the need to generate a fault log output for subsequent analysis.
To solve the above technical problem, various embodiments of the present invention are as follows. For convenience, in some places, "fault" and "error" have the same meaning unless the context specifically indicates otherwise.
Fig. 1 is a schematic step diagram of a method for automatically generating a standardized fault record according to an embodiment of the present invention.
The step diagram of fig. 1 includes steps S1 to S6, and each step is implemented as follows:
s1: acquiring currently received fault information;
s2: analyzing the fault information to obtain the category of the fault information;
s3: determining a target fault processing process corresponding to the category based on the category of the fault information;
s4: determining a plurality of target shared memory areas based on the target fault handling process;
s5: processing the currently received fault information based on the states of all fault processing processes stored in each shared storage area;
s6: a fault log output is generated.
The method is implemented based on at least one shared memory area, each of which stores a plurality of fault handling processes.
In particular implementations of the method, it may be implemented based on multiple many-core processor groups, each including multiple processor cores.
In the actual execution process, a fault handling process runs on each processor core, a plurality of fault handling processes run on a plurality of processor cores of a processor group, and one processor group forms a shared memory area.
In the embodiment of the present invention, "shared memory" means that all processor cores located in one processor group share each other's state and share processing class information with each other.
In this sense, shared storage may also be referred to as "shared mapping," i.e., the same fault category information will be mapped to all processor cores. The map area is shared as described in fig. 2.
In an initial state, each shared storage area stores a plurality of fault processing processes, and each fault processing process corresponds to different types of fault information.
Specifically, taking the error (failure) category as an example,
if the fault type is: 1 periodic response error, 2 periodic non-response error, 3 occasional response error, 4 occasional non-response error, 5 frequent response error, 6 frequent non-response error;
then, in an initial state, each shared storage area stores 6 fault handling processes, and the 6 types of faults are respectively handled;
for example, fault handling process 1 is used to handle periodic response errors, which include a period analysis model and an algorithm that seeks to eliminate or extend the period; other fault processing processes 2-6 are respectively corresponding to the corresponding fault types;
or:
if the fault type is: a periodic error, B sporadic error, C frequent error, D response error and E non-response error,
then, in the initial state, each of the shared storage areas stores 5 fault handling processes, and the 5 types of faults are handled respectively.
For example, the fault handling process D is used for handling a response error, and performs fault error handling in real time and gives recording feedback in time; the other fault processing processes A-C/E are respectively corresponding to the corresponding fault types.
To better illustrate the implementation of the method described in fig. 1, reference is made to fig. 2 on the basis of fig. 1. Fig. 2 is a schematic view of a flow node when the method for automatically generating a standardized fault record in fig. 1 is implemented by using a computer process.
In fig. 2, a failure information receiving node, a failure information analyzing node (outputting the failure category in fig. 2), and a broadcasting process node are included, and broadcast to all the failure processing processes through the broadcasting process node, and then the migration process executes the migration of the failure processing processes.
With reference to fig. 2, the step S2 further includes: broadcasting the fault information category to all shared storage areas.
Based on fig. 1-2, fig. 3-4 show two different preferred embodiments of the method, respectively.
In fig. 3, the method is implemented as the following steps:
s31: acquiring currently received fault information;
s32: analyzing the fault information to obtain the category of the fault information;
s33: broadcasting the fault information category to all shared storage (mapping) areas;
s34: determining a target fault handling process corresponding to the category;
s35: determining a first target shared storage (mapping) area and a second target shared storage (mapping) area;
s36: migrating the first target fault handling process or the second target fault handling process;
s37: determining a target shared storage area for receiving currently received fault information and automatically generating fault records;
s38: a fault log output is generated.
It is worth pointing out that, as mentioned above, each of the shared memory areas stores a plurality of fault handling processes, specifically, each of the shared memory areas stores N fault handling processes, N > 2, for example, the aforementioned embodiment refers to the category classification of N =5 or N = 6. Of course, the failure categories may also be divided into other numbers of categories.
S3, determining a target fault processing process corresponding to the type based on the type of the fault information;
then, step S4 determines a plurality of target shared memory areas based on the target failure handling process.
It can be understood that, in the initial situation, since each shared memory area stores multiple failure processing processes, and each failure processing process corresponds to different types of failure information, all shared memory areas are target memory areas at this time, but are dynamically changed and migrated subsequently.
For convenience of description, the following embodiments are introduced by taking the example that the multiple target shared storage areas determined in step S4 include the first target shared storage area and the second target shared storage area.
It is obvious that the "first target shared memory area and the second target shared memory area" herein are any two "target shared memory areas", and do not refer to a certain two target shared memory areas specifically.
The first target shared storage area comprises a first target fault processing process corresponding to the category;
the second target shared storage area comprises a second target fault processing process corresponding to the category; for example, the type of the fault information analyzed from the currently received fault information is a periodic response error, and at this time, the first target shared memory area and the second target shared memory area both include a first target fault handling process 1 (fault handling process 1, which is used to handle a periodic response error and includes a period analysis model and an algorithm trying to eliminate or extend a period) and a second target fault handling process 1 (fault handling process 1, which is used to handle a periodic response error and includes a period analysis model and an algorithm trying to eliminate or extend a period).
Next, the step S5 includes:
migrating the first target failure handling process or the second target failure handling process based on the states of all failure handling processes stored in each shared storage area.
Then, determining a target shared storage area for receiving currently received fault information and automatically generating fault records; a fault log output is generated.
Specifically, in this embodiment, after the migration is completed, a target shared memory area for receiving currently received fault information and automatically generating a fault record is determined, where the target shared memory area is a shared memory area into which a target fault handling process migrates.
Specific embodiments reference may be made to fig. 5, which fully illustrates another embodiment of the method as follows:
s51: acquiring currently received fault information;
s52: analyzing the fault information to obtain the category of the fault information;
s53: broadcasting the fault information category to all shared storage areas;
s54: determining a target fault handling process corresponding to the category;
s55: determining a first target shared memory area and a second target shared memory area;
s56: determining a first resource occupation ratio R1 of a first target fault processing process in a first target shared memory area and determining a second resource occupation ratio R2 of a second target fault processing process in a second target shared memory area;
s57: judging whether R1> R2 is established or not,
if so, migrating the second target fault handling process from the second target shared storage area to the first target shared storage area; receiving currently received fault information by the first target shared storage area and automatically generating fault records;
if not, the first target fault processing process is migrated from the first target shared storage area to the second target shared storage area, and the second target shared storage area receives currently received fault information and automatically generates fault records.
S58: a fault log output is generated.
In the above embodiment, the step S5 further includes:
and determining a target shared storage area used for receiving currently received fault information and automatically generating fault records based on the states of all fault processing processes stored in each shared storage area, wherein the target shared storage area is a shared storage area in which the target fault processing process is migrated.
At this time, it can be understood that the target shared memory area at least includes two identical target failure processing processes for processing the same type of failure information.
And the target shared storage area receives the current fault information, and distributes the current fault information to a plurality of target fault processing processes corresponding to the current fault category information according to a load balancing principle to automatically generate fault records.
Next, the step S5 further includes:
and judging all target states of the target fault processing process contained in the target shared storage area, and determining whether to execute the initialization operation of the target shared storage area or not based on all the target states.
Here, all target states of the target failure processing processes refer to resource occupancy rates of each target processing process.
And if the resource occupancy rates of the target fault processing processes contained in the target shared storage area all exceed a preset value, executing the initialization operation to enable the target shared storage area where the target fault processing processes are located to recover the processing state.
It will be appreciated that if the resource occupancy of a certain class of fault handling processes is left high for a long period of time, the handling of other types of errors (faults) will be greatly affected, resulting in an increase in the overall accumulated error.
Therefore, the embodiment of the present invention is further improved in that, if the resource occupancy rates of the target failure processing processes contained in the target shared storage area all exceed the preset value, the initialization operation is executed, so that the target shared storage area where the target failure processing processes are located recovers the processing state, which is one of another improvement points of the present invention.
The foregoing fig. 1-4 describe the solution of the invention from a method. Referring next to fig. 5-6, block diagrams of one embodiment of a standardized fault-log automatic generation system for performing the described method are shown, respectively.
Referring to FIG. 5, a standardized fault record auto-generation system is shown that includes a plurality of processor groups, each processor group containing a plurality of processing cores.
In a specific structure, the system further comprises:
a fault information receiving unit for receiving fault information;
the fault information analysis unit is used for analyzing the fault information to obtain a fault type;
the fault type broadcasting unit is used for broadcasting the fault type analyzed by the fault information analyzing unit to each processor group;
a target processing core determination unit for determining a target processing core in each processor group based on the received fault category;
a target processor group determination unit for determining whether each processor group is a target processor group based on the target processing core;
the process migration unit is used for migrating the running process on at least one target processing core based on the resource occupation condition of each processing core in each target processor group;
and processing the fault information in the target processor group receiving the migration process, and generating a fault record output.
Further, referring to fig. 6, the system further includes a processor group initialization unit and a processor group initialization judgment unit;
the processor group initialization unit is configured to initialize processes running on the processors included in each processor group, where the initialization causes each processor included in each processor group to run a different type of failure handling process.
The processor group initialization judging unit is used for judging whether the target processor group receiving the migration process meets the initialization condition or not, and if so, calling the processor group initialization unit to initialize the target processor group receiving the migration process.
The fault category comprises any combination of the following categories (1) and (2):
class (1): periodic errors, sporadic errors, and frequent errors;
class (2): response errors and non-response errors.
Further embodiments of the present invention further include a visualization terminal, where the visualization terminal includes a memory and a processor, and the processor executes the executable instruction code stored in the memory to process the received fault information by executing the standardized automatic fault record generation method described in fig. 1 to 4, and then generates a fault record to display on the visualization terminal.
It can be understood that each unit of the system corresponding to fig. 5 or fig. 6 may execute the steps of the method corresponding to fig. 1 to fig. 4, and therefore, the relevant steps of the corresponding method embodiment may also be combined with the embodiment of fig. 5 or fig. 6, and are not described again here.
Aiming at the problems that the fault processing efficiency is low because the fault response is executed by adopting a unified fault processing process or a fault processing model or the fault load balancing processing is simply executed by adopting a multi-process model in the prior art and the specific information of the fault type and the possible blocked or idle state of each process area are not fully considered, the technical scheme of the invention stores a plurality of fault processing processes of different types in a shared storage area mode, analyzes the fault type after receiving the fault information to obtain the fault type, then determines a plurality of corresponding target processing processes of different shared storage areas, executes process migration based on the actual operation state, ensures that the operation process of the shared storage area for processing the current fault type is always in the maximum efficiency and the most suitable state, avoids process blockage or process idle while ensuring that the fault of the current type can be processed and generate a fault record in time, and improves the fault processing efficiency; meanwhile, the setting mode of periodically judging the state of the target shared storage area and performing initialization recovery can also avoid data accumulation errors.
It should be noted that the present invention can solve a plurality of technical problems or achieve corresponding technical effects, but does not require that each embodiment of the present invention solves all the technical problems or achieves all the technical effects, and an embodiment that separately solves one or several technical problems or achieves one or more improved effects also constitutes a separate technical solution.

Claims (10)

1. A standardized fault record automatic generation method is realized based on at least one shared storage area, and each shared storage area stores a plurality of fault processing processes;
characterized in that the method comprises the following steps:
s1: acquiring currently received fault information;
s2: analyzing the fault information to obtain the category of the fault information;
s3: determining a target fault processing process corresponding to the category based on the category of the fault information;
s4: determining a plurality of target shared memory areas based on the target fault handling process;
s5: processing the currently received fault information based on the states of all fault processing processes stored in each shared storage area;
s6: a fault log output is generated.
2. The method of claim 1, wherein the standardized fault record is generated automatically by:
in an initial state, each shared storage area stores a plurality of fault processing processes, and each fault processing process corresponds to different types of fault information.
3. The method of claim 1, wherein the standardized fault log is generated automatically by:
the step S2 further includes: broadcasting the fault information category to all shared storage areas;
the plurality of target shared memory areas determined in the step S4 include a first target shared memory area and a second target shared memory area;
the first target shared storage area comprises a first target fault processing process corresponding to the category;
the second target shared storage area comprises a second target fault processing process corresponding to the category;
the step S5 includes:
migrating the first target fault handling process or the second target fault handling process based on the states of all fault handling processes stored in each shared storage area.
4. A method for the automatic generation of standardized fault records according to claim 3, characterized in that:
the migrating the first target fault handling process or the second target fault handling process based on the states of all the fault handling processes stored in each shared storage area specifically includes:
determining a first resource occupation proportion of the first target fault processing process in the first target shared storage area;
determining a second resource occupation proportion of the second target fault processing process in the second target shared storage area;
if the first resource occupation proportion is larger than the second resource occupation proportion, migrating the second target fault processing process from the second target shared storage area to the first target shared storage area; receiving currently received fault information by the first target shared storage area and automatically generating fault records;
if the first resource occupation proportion is smaller than the second resource occupation proportion, the first target fault processing process is migrated from the first target shared memory area to the second target shared memory area; and receiving currently received fault information by the second target shared storage area and automatically generating fault records.
5. A method for the automatic generation of standardized fault records according to claim 3, characterized in that:
the step S5 further includes:
determining a target shared storage area for receiving currently received fault information and automatically generating fault records based on the states of all fault processing processes stored in each shared storage area;
and judging all target states of the target fault processing process contained in the target shared storage area, and determining whether to execute the initialization operation of the target shared storage area or not based on all the target states.
6. An automatic generation system for standardized fault records, the system comprising a plurality of processor groups, each processor group comprising a plurality of processing cores,
the system further comprises:
a fault information receiving unit for receiving fault information;
the fault information analysis unit is used for analyzing the fault information to obtain a fault type;
the fault type broadcasting unit is used for broadcasting the fault type analyzed by the fault information analyzing unit to each processor group;
a target processing core determination unit for determining a target processing core in each processor group based on the received fault category;
a target processor group determination unit to determine whether each processor group is a target processor group based on the target processing core;
the process migration unit is used for migrating the running process on at least one target processing core based on the resource occupation condition of each processing core in each target processor group;
and processing the fault information in the target processor group receiving the migration process, and generating a fault record output.
7. The system of claim 6, wherein the system further comprises a processor group initialization unit;
the processor group initialization unit is configured to initialize processes running on the processors included in each processor group, where the initialization causes each processor included in each processor group to run a different class of fault handling processes.
8. The system of claim 7, wherein the fault log is automatically generated,
the system also comprises a processor group initialization judgment unit;
the processor group initialization judging unit is used for judging whether the target processor group receiving the migration process meets the initialization condition or not, and if so, calling the processor group initialization unit to initialize the target processor group receiving the migration process.
9. An automatic standardized fault record generation system as claimed in any one of claims 6-8, characterized in that:
the fault category comprises any combination of the following categories (1) and (2):
class (1): periodic errors, sporadic errors, and frequent errors;
class (2): response errors and non-response errors.
10. A visualization terminal, comprising a memory and a processor, wherein the processor executes the executable instruction codes stored in the memory to process the received fault information by executing the standardized fault record automatic generation method according to any one of claims 1 to 5, and then generates a fault record to be displayed on the visualization terminal.
CN202210529163.3A 2022-05-16 2022-05-16 Automatic generation method and system for standardized fault records and visual terminal Pending CN115248753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210529163.3A CN115248753A (en) 2022-05-16 2022-05-16 Automatic generation method and system for standardized fault records and visual terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210529163.3A CN115248753A (en) 2022-05-16 2022-05-16 Automatic generation method and system for standardized fault records and visual terminal

Publications (1)

Publication Number Publication Date
CN115248753A true CN115248753A (en) 2022-10-28

Family

ID=83698529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210529163.3A Pending CN115248753A (en) 2022-05-16 2022-05-16 Automatic generation method and system for standardized fault records and visual terminal

Country Status (1)

Country Link
CN (1) CN115248753A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118282041A (en) * 2024-03-30 2024-07-02 中海石油(中国)有限公司海南分公司 Energy management method and device for new energy power system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118282041A (en) * 2024-03-30 2024-07-02 中海石油(中国)有限公司海南分公司 Energy management method and device for new energy power system

Similar Documents

Publication Publication Date Title
CN111125444A (en) Big data task scheduling management method, device, equipment and storage medium
CN103714137B (en) The delet method and system of a kind of data file
US9979630B2 (en) Optimized consumption of third-party web services in a composite service
CN110502366B (en) Case execution method, device, equipment and computer readable storage medium
CN111752710B (en) Data center PUE dynamic optimization method, system and equipment and readable storage medium
CN111045911A (en) Performance test method, performance test device, storage medium and electronic equipment
CN109409948B (en) Transaction abnormity detection method, device, equipment and computer readable storage medium
CN107203464B (en) Method and device for positioning service problem
US20210240459A1 (en) Selection of deployment environments for applications
CN114327881A (en) Task scheduling method and device
CN111400041A (en) Server configuration file management method and device and computer readable storage medium
CN111930357A (en) Construction method of visual modeling job flow scheduling engine
CN115248753A (en) Automatic generation method and system for standardized fault records and visual terminal
CN111382031A (en) Test method and device
CN110347546B (en) Dynamic adjustment method, device, medium and electronic equipment for monitoring task
US11216352B2 (en) Method for automatically analyzing bottleneck in real time and an apparatus for performing the method
CN114661571B (en) Model evaluation method, device, electronic equipment and storage medium
CN114244681B (en) Equipment connection fault early warning method and device, storage medium and electronic equipment
CN110928750A (en) Data processing method, device and equipment
CN113296907B (en) Task scheduling processing method, system and computer equipment based on clusters
CN112052087B (en) Deep learning training system and method for dynamic resource adjustment and migration
CN115185683A (en) Cloud platform stream processing resource allocation method based on dynamic optimization model
CN116501386B (en) Automatic calculation program solving method based on data pool and related device
CN112883654B (en) Model training system based on data driving
CN116303570A (en) Optimization method, storage medium and equipment for database operation statement message protocol

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