CN113032637A - Accident rule saving method, device, equipment and storage medium - Google Patents
Accident rule saving method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN113032637A CN113032637A CN202110253533.0A CN202110253533A CN113032637A CN 113032637 A CN113032637 A CN 113032637A CN 202110253533 A CN202110253533 A CN 202110253533A CN 113032637 A CN113032637 A CN 113032637A
- Authority
- CN
- China
- Prior art keywords
- interface
- accident
- current
- procedure
- current accident
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 299
- 238000004590 computer program Methods 0.000 claims description 25
- 230000009191 jumping Effects 0.000 claims description 7
- 238000004321 preservation Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Retry When Errors Occur (AREA)
Abstract
The application relates to an accident rule saving method, an accident rule saving device, accident rule saving equipment and a storage medium, wherein the method comprises the following steps: and taking an accident rule file and executing the accident rule file, and storing the recording information of the current accident rule interface according to an interface switching instruction if the interface switching instruction is monitored on the current accident rule interface in the process of executing the accident rule file. The technical scheme provided by the embodiment of the application can improve the efficiency of saving the accident procedure record information and save human resources.
Description
Technical Field
The application relates to the technical field of digital regulations of nuclear power plants, in particular to an accident regulation storage method, device, equipment and storage medium.
Background
The digital accident operation rule is used for managing the accident operation rule and providing technical support for operators to operate the power station. The digital accident operation regulation is adopted in the nuclear power station, and when the nuclear power station has an accident, the accident operation regulation provides necessary basis and guidance for an operator to safely, reliably and efficiently control the unit. In the process of executing the digital accident operation regulations, according to the mandatory requirements of administrative supervision, the regulation execution records need to be saved, and meanwhile, the follow-up traceability analysis of the execution process of the regulations is facilitated.
At present, in the process of saving a digital accident operation rule, an operator needs to manually save an accident rule execution record, that is, an executed accident rule page is manually saved, so that the workload of the operator is increased, and the condition of saving omission occurs.
Therefore, the existing digital accident operation regulations have low preservation efficiency and waste human resources.
Disclosure of Invention
Based on this, the embodiment of the application provides an accident rule saving method, an accident rule saving device, an accident rule saving apparatus and a storage medium, which can improve the efficiency of saving accident rule recording information and save human resources.
In a first aspect, there is provided an accident protocol preservation method, including:
acquiring an accident rule file; executing an accident rule file; in the process of executing the accident procedure file, if an interface switching instruction is monitored on the current accident procedure interface, the recording information of the current accident procedure interface is stored according to the interface switching instruction.
In one embodiment, the interface switching instruction comprises a triggering instruction for a target control in the current accident protocol interface; if an interface switching instruction is monitored on the current accident procedure interface, storing the recording information of the current accident procedure interface according to the interface switching instruction, wherein the interface switching instruction comprises the following steps:
and if the triggering instruction of the target control in the current accident procedure interface is monitored in the current accident procedure interface, storing the recording information of the current accident procedure interface according to the triggering instruction.
In one embodiment, the target control includes at least one of a jump control, a navigation control, and a close control, the jump control is used to jump from a current accident procedure interface of the accident procedure file to the target accident procedure interface, the navigation control is used to navigate to an intermediate interface corresponding to the current accident procedure interface, and the close control is used to close the current accident procedure interface.
In one embodiment, the interface switching instruction includes a trigger instruction for the target accident protocol file; if an interface switching instruction is monitored on the current accident procedure interface, storing the recording information of the current accident procedure interface according to the interface switching instruction, wherein the interface switching instruction comprises the following steps:
and if a triggering instruction of the target accident procedure file is monitored on the current accident procedure interface, storing the recording information of the current accident procedure interface according to the triggering instruction.
In one embodiment, the storing the information included in the current accident protocol interface according to the interface switching instruction includes:
acquiring time of entering a current accident regulation interface, triggering conditions of an interface switching instruction, recording information of the current accident regulation interface and storage time of the recording information of the current accident regulation interface; and storing the recording information of the current accident rule interface according to the time of entering the current accident rule interface, the triggering condition of the interface switching instruction and the storage time of the recording information of the current accident rule interface.
In one embodiment, the storing the record information of the current accident rule interface according to the time of entering the current accident rule interface, the trigger condition of the interface switching instruction, and the time information of the record information of the current accident rule interface includes:
if the record information of the current accident regulation interface is obtained again, the record information of the current accident regulation interface obtained last time is updated by adopting the record information of the current accident regulation interface obtained again, and the updated record information of the current accident regulation interface is obtained; and storing the updated recording information of the current accident regulation interface according to the time of entering the updated current accident regulation interface, the trigger condition of the interface switching instruction of the updated current accident regulation interface and the storage time of the updated recording information of the current accident regulation interface.
In one embodiment, the method further includes:
and if the accident procedure file is executed, sequentially combining the stored recording information of the current accident procedure interface into a file with a preset format, and storing the file with the preset format.
In a second aspect, there is provided an accident protocol preservation apparatus, the apparatus comprising:
the acquisition module is used for acquiring an accident rule file;
the execution module is used for executing the accident rule file;
and the storage module is used for storing the recording information of the current accident procedure interface according to the interface switching instruction if the interface switching instruction is monitored on the current accident procedure interface in the process of executing the accident procedure file.
In a third aspect, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, the computer program, when executed by the processor, implementing the method steps in any of the embodiments of the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, is adapted to carry out the method steps of any of the embodiments of the first aspect described above.
According to the accident procedure saving method, the accident procedure saving device, the accident procedure saving equipment and the accident procedure saving storage medium, the accident procedure file is obtained and executed, and in the process of executing the accident procedure file, if an interface switching instruction is monitored on a current accident procedure interface, recording information of the current accident procedure interface is stored according to the interface switching instruction. In the technical scheme provided by the embodiment of the application, when the terminal monitors the interface switching instruction, the terminal triggers the automatic saving function of the recorded information of the current accident regulation interface so as to store the recorded information of the current accident regulation interface, and an operator does not need to manually save an executed accident regulation page, so that the workload of the operator is reduced, the efficiency of saving the accident regulation recorded information is improved, and the human resources are saved.
Drawings
FIG. 1 is a diagram of an application environment according to an embodiment of the present application;
fig. 2 is a flowchart of an accident procedure saving method according to an embodiment of the present application;
fig. 3 is a schematic diagram of interface switching according to an embodiment of the present disclosure;
fig. 4 is a flowchart of an accident procedure saving method according to an embodiment of the present application;
fig. 5 is a flowchart of an accident procedure saving method according to an embodiment of the present application;
fig. 6 is a block diagram of an accident protocol saving apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of an accident protocol saving apparatus according to an embodiment of the present application;
fig. 8 is a block diagram of a computer device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The accident rule saving method provided by the application can be applied to the application environment shown in fig. 1. Among other things, the terminal 102 may communicate with a computing server 104, a history server 106, and a printer 108, respectively. The terminal 102 is used to call up and execute the accident protocol file from the computing server 104, and the terminal 102 may be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The computing server 104 is configured to store the pre-edited accident rule file, and the computing server 104 may be one server or a server cluster composed of multiple servers, which is not specifically limited in this embodiment of the present application. The history server 106 is configured to store accident procedure record information in the process of executing the accident procedure file, and the history server 106 may be one server or a server cluster composed of multiple servers, which is not specifically limited in this embodiment of the present application. The user can print the accident protocol record information stored in the history server 106 through the printer 108.
The following describes in detail the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems by embodiments and with reference to the drawings. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. It should be noted that, in the accident rule saving method provided by the present application, the execution main body in fig. 2 to 5 is a terminal, where the execution main body may also be an accident rule saving device, where the device may be implemented as part or all of the terminal by software, hardware, or a combination of software and hardware.
In one embodiment, as shown in fig. 2, a flow chart of an accident protocol saving method provided by the embodiment of the present application is shown, and the method may include the following steps:
The method comprises the steps that a digital accident rule is adopted in the operation process of the nuclear power station, the digital accident rule is used for managing the accident operation rule and knowing an operator to operate the nuclear power station, and when the nuclear power station has an accident, the accident operation rule provides necessary basis and guidance for the operator to safely, reliably and efficiently control a unit. The digital accident rule is characterized in that specific contents of the rule are recorded by adopting an HTML format file, different digital accident rules are designed according to different accident types, an accident rule file is formed, and the accident rule file can be stored in a computing server. When an accident occurs in the nuclear power station, an operator can select an accident type, and then the terminal acquires a corresponding accident procedure file from the calculation server according to the accident type, wherein the acquired accident procedure file can be one accident procedure file or a plurality of accident procedure files, and for example, when the accident of the nuclear power station is processed, the accident is completed by combining the plurality of accident procedure files together.
And step 240, executing the accident rule file.
After the accident procedure file is acquired, the steps in the current accident procedure interface need to be executed, and as one accident procedure file can comprise a plurality of accident procedure interfaces, after the steps in the current accident procedure interface are executed, the interfaces can be switched according to the received interface jump instruction until the procedure steps for solving the nuclear power station accident are executed; under the condition of acquiring a plurality of accident procedure files, switching the procedure files according to the received interface jump instruction in the step of executing the current accident procedure interface until all procedure steps for solving the nuclear power station accident are executed. The digital accident rule interface provides a hooking frame control, and after a rule step is executed, an operator can perform hooking operation in the hooking frame control, so that the executed rule step is marked.
And step 260, in the process of executing the accident procedure file, if an interface switching instruction is monitored on the current accident procedure interface, storing the recorded information of the current accident procedure interface according to the interface switching instruction.
In the process of executing the accident procedure file, according to the administrative supervision mandatory requirement, procedure execution process information needs to be stored, and meanwhile, the subsequent procedure execution process is convenient to perform traceability analysis, so that the recorded information of the current accident procedure interface needs to be stored, the recorded information of the current accident procedure interface can include procedure step information of the current accident procedure interface, state information of a hooked frame, coded information of the current accident procedure interface and the like, the coded information of the current accident procedure interface can include mop coded information and page number information and the like corresponding to the accident procedure file where the current accident procedure interface is located, and mop coded information is the unique number of the accident procedure file in a specific coding form. And if an interface switching instruction is monitored on the current accident procedure interface, an automatic storage function is triggered according to the interface switching instruction so as to store the recorded information of the current accident procedure interface. When the recording information of the current accident regulation interface is stored, the recording information can be stored in a picture format in a mode of copying the current accident regulation interface, and can also be stored in a text format in a mode of extracting the content of the current accident regulation interface. The saved record information of the current accident protocol interface can be stored locally, can be stored in a history server, and can be stored together.
The interface switching instruction is used for instructing a process of switching from a current accident procedure interface to other interfaces, and because the digitized accident procedure interface provides a plurality of controls for an operator to operate, for example, the interface switching instruction may include a start control, a close control, a page jump control, a navigation control, and the like, the interface switching instruction may be a trigger instruction for the control in the current accident procedure interface, a trigger instruction for jumping to other procedure file interfaces, or a trigger instruction for switching a display interface, for example, a plurality of accident procedure interfaces are displayed on different display screens.
In this embodiment, by acquiring the accident procedure file and executing the accident procedure file, in the process of executing the accident procedure file, if an interface switching instruction is monitored on the current accident procedure interface, the recording information of the current accident procedure interface is stored according to the interface switching instruction. When monitoring the interface switching instruction, the terminal triggers the automatic saving function of the recorded information of the current accident regulation interface so as to store the recorded information of the current accident regulation interface, and an operator does not need to manually save the executed accident regulation page, so that the workload of the operator is reduced, the efficiency of saving the accident regulation recorded information is improved, and the human resources are saved.
In one embodiment, the interface switching instruction comprises a triggering instruction of a target control in the current accident protocol interface; if an interface switching instruction is monitored on the current accident procedure interface, storing the recording information of the current accident procedure interface according to the interface switching instruction, wherein the interface switching instruction comprises the following steps: and if the triggering instruction of the target control in the current accident procedure interface is monitored in the current accident procedure interface, storing the recording information of the current accident procedure interface according to the triggering instruction.
The target control is a control used for performing specific operations on the current accident procedure interface, for example, specific operations such as closing operations, page jumping operations, page tag switching operations and the like can be performed on the current accident procedure interface, where the closing operations are used for closing the current accident procedure interface, the page jumping operations are used for jumping to the accident procedure interface of a specific page number, and the page tag switching operations are used for switching among the accident procedure interfaces in different accident procedure files through page tags. If a triggering instruction of a target control in the current accident rule interface is monitored on the current accident rule interface, the recording information of the current accident rule interface is stored according to the triggering instruction, for example, when the triggering instruction of the closing control is monitored on the current accident rule interface, an automatic storage function is triggered according to the triggering instruction of the closing control, so that the recording information of the current accident rule interface is stored.
Optionally, the target control may include at least one of a jump control, a navigation control, and a close control, where the jump control is configured to jump from a current accident procedure interface of the accident procedure file to the target accident procedure interface, the navigation control is configured to navigate to an intermediate interface corresponding to the current accident procedure interface, and the close control is configured to close the current accident procedure interface. The target accident regulation interface may be an accident regulation interface in another accident regulation file, and the intermediate interface may be an interface for issuing a control instruction to another device, for example, a control instruction for disconnecting a switch may be issued to another device on the intermediate interface.
In the embodiment, when the triggering instruction of the target control in the current accident regulation interface is monitored in the current accident regulation interface, the recorded information of the current accident regulation interface is stored according to the triggering instruction, and the automatic saving function is triggered according to the triggering instruction of the target control, so that the timeliness and effectiveness of saving the recorded information of the current accident regulation interface are improved, and the saving efficiency is improved. The target control comprises at least one of a jump control, a navigation control and a closing control, and the characteristics of the digital procedure interface are combined, so that the types of interface switching are considered in advance, and the reliability of storing the recorded information of the current accident procedure interface is improved.
In one embodiment, the interface switching instruction comprises a triggering instruction for the target accident protocol file; if an interface switching instruction is monitored on the current accident procedure interface, storing the recording information of the current accident procedure interface according to the interface switching instruction, wherein the interface switching instruction comprises the following steps: and if a triggering instruction of the target accident procedure file is monitored on the current accident procedure interface, storing the recording information of the current accident procedure interface according to the triggering instruction.
The target accident protocol file refers to other accident protocol files different from the accident protocol file to which the current accident protocol interface belongs, the trigger instruction for the target accident protocol file can be the accident protocol file acquired from the computing server again and started to be executed, or the accident protocol file can be switched by protocol tags in a plurality of opened accident protocol files, and the protocol tags are similar to tags of different pages in a browser. When the current accident regulation interface monitors a trigger instruction for a target accident regulation file, the recording information of the current accident regulation interface is stored according to the trigger instruction, for example, when the current accident regulation interface is switched to an accident regulation interface in another accident regulation file, the recording information of the current accident regulation interface is stored according to the trigger instruction, as shown in fig. 3, fig. 3 is a schematic diagram of interface switching provided by an embodiment of the present application.
In the embodiment, the triggering instruction of the target accident regulation file is monitored on the current accident regulation interface, the recording information of the current accident regulation interface is stored according to the triggering instruction, and the automatic storage function is triggered according to the triggering instruction of other accident regulation files, so that the timeliness and effectiveness of storing the recording information of the current accident regulation interface are improved, and the storage efficiency is improved.
In an embodiment, as shown in fig. 4, a flowchart of an accident protocol saving method provided in an embodiment of the present application is shown, where this embodiment relates to a process of storing record information of a current accident protocol interface according to an interface switching instruction, and the method may include the following steps:
and step 420, acquiring the time of entering the current accident regulation interface, the triggering condition of the interface switching instruction, the recording information of the current accident regulation interface and the storage time of the recording information of the current accident regulation interface.
The time of entering the current accident rule interface refers to the time of executing the current accident rule interface for the first time after the accident rule file is acquired from the computing server; the triggering condition of the interface switching instruction can comprise a triggering instruction of a target control, a triggering instruction of a target accident procedure file and the like; the recording information of the current accident regulation interface can include regulation step information of the current accident regulation interface, state information of a hooked frame, coding information of the current accident regulation interface and the like, and the recording information of the current accident regulation interface can be obtained by copying the current accident regulation interface, for example, the recording information can be obtained by extracting the text content of a copied picture which is copied to the current accident regulation interface; the storage time of the recording information of the current accident rule interface is the time for storing the recording information of the current accident rule interface, namely the time for obtaining the interface switching instruction is the same. The time of entering the current accident regulation interface, the triggering condition of the interface switching instruction, the recording information of the current accident regulation interface and the storage time of the recording information of the current accident regulation interface can be extracted from an operation log file, and the operation log file is a tracking record of the operation behavior of an operator when the current accident regulation interface is operated.
And 440, storing the recording information of the current accident rule interface according to the time of entering the current accident rule interface, the triggering condition of the interface switching instruction and the storage time of the recording information of the current accident rule interface.
The recording information of the current accident regulation interface is stored according to the time of entering the current accident regulation interface, the triggering condition of the interface switching instruction and the storage time of the recording information of the current accident regulation interface, the storage time of the recording information of the current accident regulation interface can be stored in the recording information of the current accident regulation interface in a watermark mode, and the time of entering the current accident regulation interface and the triggering condition of the interface switching instruction can also be stored together with the recording information of the current accident regulation interface in a text format.
In this embodiment, the time of entering the current accident procedure interface, the triggering condition of the interface switching instruction, the recording information of the current accident procedure interface, and the storage time of the recording information of the current accident procedure interface are obtained, and the recording information of the current accident procedure interface is stored according to the time of entering the current accident procedure interface, the triggering condition of the interface switching instruction, and the storage time of the recording information of the current accident procedure interface, so that the recording information of the current accident procedure interface can be classified and stored, and the subsequent procedure execution process can be conveniently subjected to traceability analysis.
On the basis of the foregoing embodiment, as shown in fig. 5, a flowchart of an accident protocol saving method provided in an embodiment of the present application is shown, where this embodiment relates to a process of storing updated record information of a current accident protocol interface, and the method may include the following steps:
and step 520, if the record information of the current accident regulation interface is obtained again, updating the record information of the current accident regulation interface obtained last time by adopting the record information of the current accident regulation interface obtained again to obtain the updated record information of the current accident regulation interface.
When all the procedure steps in the current accident procedure interface are not executed in the process of executing the procedure steps in the current accident procedure interface, jumping to other accident procedure interfaces to execute corresponding procedure steps, and jumping back again to continue executing other procedure steps in the current accident procedure interface after the procedure steps are executed in other accident procedure interfaces, at the moment, the recording information of the current accident procedure interface is obtained again, the recording information of the current accident procedure interface obtained again can be adopted, and the recording information of the current accident procedure interface obtained last time is updated, so that the updated recording information of the current accident procedure interface is obtained. For example, the procedure steps in the current accident procedure interface a are step 1 to step 10, when step 5 is executed, the procedure step is executed by triggering the jump control to jump to the accident procedure interface B, after the procedure step in the accident procedure interface B is executed, the procedure step is executed by triggering the jump control to jump to the current accident procedure interface a, and then step 6 is executed, at this time, the record information of the current accident procedure interface a is obtained again, and the record information of the current accident procedure interface a obtained last time can be updated by adopting the record information of the current accident procedure interface a obtained again.
And 540, storing the updated recording information of the current accident procedure interface according to the time of entering the updated current accident procedure interface, the trigger condition of the interface switching instruction of the updated current accident procedure interface and the storage time of the updated recording information of the current accident procedure interface.
After the updated recording information of the current accident regulation interface is obtained, the updated recording information of the current accident regulation interface can be stored according to the time of entering the updated current accident regulation interface, the trigger condition of the interface switching instruction of the updated current accident regulation interface and the storage time of the updated recording information of the current accident regulation interface. The updated storage time of the recording information of the current accident regulation interface can be stored in the updated recording information of the current accident regulation interface in a watermark mode, and the time of entering the updated current accident regulation interface and the updated trigger condition of the interface switching instruction of the current accident regulation interface can also be stored together with the recording information of the current accident regulation interface in a text format.
In this embodiment, when the record information of the current accident regulation interface is acquired again, the record information of the current accident regulation interface acquired last time is updated by using the acquired record information of the current accident regulation interface, and the updated record information of the current accident regulation interface is stored, so that it is ensured that the record information of the accident regulation interface finally stored is the latest version, and waste of storage resources is avoided.
In an embodiment, if the accident procedure file is executed, the recording information of the multiple current accident procedure interfaces is stored at this time, the stored recording information of the current accident procedure interfaces may be merged and stored, and optionally, if the accident procedure file is executed, the stored recording information of the current accident procedure interfaces are sequentially merged into a file in a preset format, and the file in the preset format is stored.
If the accident procedure file is executed, the stored recording information of the current accident procedure interface is sequentially merged into a file with a preset format, optionally, the recording information of the current accident procedure interface can be sequentially merged according to the storage time sequence of the recording information of the current accident procedure interface, the file with the preset format can be a PDF file, the file naming can be named according to the time and date of the accident procedure file, for example, if the accident procedure file is executed, the stored recording information of the current accident procedure interface can be sequentially merged into the PDF file according to the storage time sequence, and the PDF file is sent to a history server for storage.
In this embodiment, when the accident regulation file is executed, the stored recording information of the current accident regulation interface is sequentially merged into a file in a preset format, the file in the preset format is stored, the recording information of the current accident regulation interface is merged and arranged, so that subsequent viewing and printing are facilitated, the recording information is merged into the file in the preset format, the file is also facilitated to be encrypted, malicious tampering of the recording information of the current accident regulation interface is prevented, and the security of the recording information of the current accident regulation interface is ensured.
It should be understood that although the various steps in the flow charts of fig. 2-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
Referring to fig. 6, a block diagram of an accident protocol saving apparatus 600 provided in an embodiment of the present application is shown. As shown in fig. 6, the accident protocol saving apparatus 600 may include: an obtaining module 620, an executing module 640, and a storing module 660, wherein:
and an obtaining module 620, configured to obtain the accident procedure file.
And the execution module 640 is used for executing the accident rule file.
The storage module 660 is configured to, in the process of executing the accident procedure file, store the recording information of the current accident procedure interface according to the interface switching instruction if the interface switching instruction is monitored on the current accident procedure interface.
In one embodiment, the interface switching instruction comprises a triggering instruction for a target control in the current accident protocol interface; the storage module 660 is configured to, if a trigger instruction for the target control in the current accident procedure interface is monitored in the current accident procedure interface, store the recording information of the current accident procedure interface according to the trigger instruction.
In one embodiment, the target control includes at least one of a jump control, a navigation control, and a close control, the jump control is used to jump from a current accident procedure interface of the accident procedure file to the target accident procedure interface, the navigation control is used to navigate to an intermediate interface corresponding to the current accident procedure interface, and the close control is used to close the current accident procedure interface.
In one embodiment, the interface switching instruction comprises a triggering instruction for a target accident protocol file; the storage module 660 is specifically configured to store the recording information of the current accident procedure interface according to the trigger instruction if the trigger instruction of the target accident procedure file is monitored on the current accident procedure interface.
In one embodiment, the storage module 660 includes an obtaining unit and a storage unit, where the obtaining unit is configured to obtain time for entering the current accident procedure interface, a trigger condition of an interface switching instruction, recording information of the current accident procedure interface, and storage time of the recording information of the current accident procedure interface; and the storage unit is used for storing the recording information of the current accident regulation interface according to the time of entering the current accident regulation interface, the triggering condition of the interface switching instruction and the storage time of the recording information of the current accident regulation interface.
In an embodiment, the storage unit is specifically configured to, if the record information of the current accident regulation interface is obtained again, update the record information of the current accident regulation interface obtained last time by using the record information of the current accident regulation interface obtained again, and obtain the updated record information of the current accident regulation interface; and storing the updated recording information of the current accident regulation interface according to the time of entering the updated current accident regulation interface, the trigger condition of the interface switching instruction of the updated current accident regulation interface and the storage time of the updated recording information of the current accident regulation interface.
Referring to fig. 7, a block diagram of an accident rule saving apparatus 700 provided in an embodiment of the present application is shown. As shown in fig. 7, the accident protocol preservation apparatus 700 may further include a merging module 720, wherein:
and a merging module 720, configured to sequentially merge the stored recording information of the current accident procedure interface into a file with a preset format and store the file with the preset format if the accident procedure file is executed.
For the specific definition of the accident protocol saving device, reference may be made to the above definition of the accident protocol saving method, which is not described herein again. The modules in the accident protocol saving device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute the operations of the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement an incident protocol preservation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment of the present application, there is provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the following steps when executing the computer program:
acquiring an accident rule file; executing an accident rule file; in the process of executing the accident procedure file, if an interface switching instruction is monitored on the current accident procedure interface, the recording information of the current accident procedure interface is stored according to the interface switching instruction.
In an embodiment of the application, the interface switching instruction includes a trigger instruction for a target control in a current accident procedure interface; the processor, when executing the computer program, further performs the steps of:
and if the triggering instruction of the target control in the current accident procedure interface is monitored in the current accident procedure interface, storing the recording information of the current accident procedure interface according to the triggering instruction.
In an embodiment of the application, the target control includes at least one of a jump control, a navigation control, and a close control, the jump control is configured to jump from a current accident procedure interface of the accident procedure file to the target accident procedure interface, the navigation control is configured to navigate to an intermediate interface corresponding to the current accident procedure interface, and the close control is configured to close the current accident procedure interface.
In an embodiment of the application, the interface switching instruction includes a trigger instruction for the target accident protocol file; the processor, when executing the computer program, further performs the steps of:
and if a triggering instruction of the target accident procedure file is monitored on the current accident procedure interface, storing the recording information of the current accident procedure interface according to the triggering instruction.
In one embodiment of the application, the processor when executing the computer program further performs the steps of:
acquiring time of entering a current accident regulation interface, triggering conditions of an interface switching instruction, recording information of the current accident regulation interface and storage time of the recording information of the current accident regulation interface; and storing the recording information of the current accident rule interface according to the time of entering the current accident rule interface, the triggering condition of the interface switching instruction and the storage time of the recording information of the current accident rule interface.
In one embodiment of the application, the processor when executing the computer program further performs the steps of:
if the record information of the current accident regulation interface is obtained again, the record information of the current accident regulation interface obtained last time is updated by adopting the record information of the current accident regulation interface obtained again, and the updated record information of the current accident regulation interface is obtained; and storing the updated recording information of the current accident regulation interface according to the time of entering the updated current accident regulation interface, the trigger condition of the interface switching instruction of the updated current accident regulation interface and the storage time of the updated recording information of the current accident regulation interface.
In one embodiment of the application, the processor when executing the computer program further performs the steps of:
and if the accident procedure file is executed, sequentially combining the stored recording information of the current accident procedure interface into a file with a preset format, and storing the file with the preset format.
The implementation principle and technical effect of the computer device provided by the embodiment of the present application are similar to those of the method embodiment described above, and are not described herein again.
In an embodiment of the application, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of:
acquiring an accident rule file; executing an accident rule file; in the process of executing the accident procedure file, if an interface switching instruction is monitored on the current accident procedure interface, the recording information of the current accident procedure interface is stored according to the interface switching instruction.
In an embodiment of the application, the interface switching instruction includes a trigger instruction for a target control in a current accident procedure interface; the computer program when executed by the processor further realizes the steps of:
and if the triggering instruction of the target control in the current accident procedure interface is monitored in the current accident procedure interface, storing the recording information of the current accident procedure interface according to the triggering instruction.
In an embodiment of the application, the target control includes at least one of a jump control, a navigation control, and a close control, the jump control is configured to jump from a current accident procedure interface of the accident procedure file to the target accident procedure interface, the navigation control is configured to navigate to an intermediate interface corresponding to the current accident procedure interface, and the close control is configured to close the current accident procedure interface.
In an embodiment of the application, the interface switching instruction includes a trigger instruction for the target accident protocol file; the computer program when executed by the processor further realizes the steps of:
and if a triggering instruction of the target accident procedure file is monitored on the current accident procedure interface, storing the recording information of the current accident procedure interface according to the triggering instruction.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of:
acquiring time of entering a current accident regulation interface, triggering conditions of an interface switching instruction, recording information of the current accident regulation interface and storage time of the recording information of the current accident regulation interface; and storing the recording information of the current accident rule interface according to the time of entering the current accident rule interface, the triggering condition of the interface switching instruction and the storage time of the recording information of the current accident rule interface.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of:
if the record information of the current accident regulation interface is obtained again, the record information of the current accident regulation interface obtained last time is updated by adopting the record information of the current accident regulation interface obtained again, and the updated record information of the current accident regulation interface is obtained; and storing the updated recording information of the current accident regulation interface according to the time of entering the updated current accident regulation interface, the trigger condition of the interface switching instruction of the updated current accident regulation interface and the storage time of the updated recording information of the current accident regulation interface.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of:
and if the accident procedure file is executed, sequentially combining the stored recording information of the current accident procedure interface into a file with a preset format, and storing the file with the preset format.
The implementation principle and technical effect of the computer-readable storage medium provided by this embodiment are similar to those of the above-described method embodiment, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the claims. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method for accident protocol preservation, the method comprising:
acquiring an accident rule file;
executing the accident protocol file;
and in the process of executing the accident procedure file, if an interface switching instruction is monitored on the current accident procedure interface, storing the recording information of the current accident procedure interface according to the interface switching instruction.
2. The method of claim 1, wherein the interface switching instructions comprise a triggering instruction for a target control in the current incident protocol interface; if an interface switching instruction is monitored on the current accident procedure interface, storing the recording information of the current accident procedure interface according to the interface switching instruction, wherein the method comprises the following steps:
and if a triggering instruction of a target control in the current accident procedure interface is monitored on the current accident procedure interface, storing the recording information of the current accident procedure interface according to the triggering instruction.
3. The method of claim 2, wherein the target control comprises at least one of a jump control for jumping from a current incident protocol interface of the incident protocol file to a target incident protocol interface, a navigation control for navigating to an intermediate interface corresponding to the current incident protocol interface, and a close control for closing the current incident protocol interface.
4. The method of claim 2, wherein the interface switching instructions include a trigger instruction for a target incident protocol file; if an interface switching instruction is monitored on the current accident procedure interface, storing the recording information of the current accident procedure interface according to the interface switching instruction, wherein the method comprises the following steps:
if a triggering instruction of a target accident procedure file is monitored on a current accident procedure interface, storing the recording information of the current accident procedure interface according to the triggering instruction.
5. The method of claim 1, wherein storing information contained in the current incident protocol interface in accordance with the interface switch instruction comprises:
acquiring the time of entering the current accident procedure interface, the triggering condition of the interface switching instruction, the recording information of the current accident procedure interface and the storage time of the recording information of the current accident procedure interface;
and storing the recording information of the current accident rule interface according to the time of entering the current accident rule interface, the triggering condition of the interface switching instruction and the storage time of the recording information of the current accident rule interface.
6. The method of claim 5, wherein the storing the record information of the current incident rule interface according to the time of entering the current incident rule interface, the trigger condition of the interface switching instruction, and the time information of storing the record information of the current incident rule interface comprises:
if the record information of the current accident regulation interface is obtained again, updating the record information of the current accident regulation interface obtained last time by adopting the record information of the current accident regulation interface obtained again to obtain the updated record information of the current accident regulation interface;
and storing the updated recording information of the current accident procedure interface according to the time of entering the updated current accident procedure interface, the triggering condition of the interface switching instruction of the updated current accident procedure interface and the storage time of the updated recording information of the current accident procedure interface.
7. The method of claim 1, further comprising:
and if the accident procedure file is executed, sequentially combining the stored recording information of the current accident procedure interface into a file with a preset format, and storing the file with the preset format.
8. An accident protocol preservation apparatus, the apparatus comprising:
the acquisition module is used for acquiring an accident rule file;
the execution module is used for executing the accident rule file;
and the storage module is used for storing the recording information of the current accident procedure interface according to the interface switching instruction if the interface switching instruction is monitored on the current accident procedure interface in the process of executing the accident procedure file.
9. A computer arrangement comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, carries out the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110253533.0A CN113032637A (en) | 2021-03-09 | 2021-03-09 | Accident rule saving method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110253533.0A CN113032637A (en) | 2021-03-09 | 2021-03-09 | Accident rule saving method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113032637A true CN113032637A (en) | 2021-06-25 |
Family
ID=76467125
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110253533.0A Pending CN113032637A (en) | 2021-03-09 | 2021-03-09 | Accident rule saving method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113032637A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108062241A (en) * | 2017-12-28 | 2018-05-22 | 努比亚技术有限公司 | A kind of switching method of display interface, terminal and storage medium |
CN109636322A (en) * | 2018-11-27 | 2019-04-16 | 岭澳核电有限公司 | Nuclear power plant's malfunction protocol information system and nuclear power plant's malfunction protocol information-based method |
CN111145927A (en) * | 2019-12-04 | 2020-05-12 | 中广核工程有限公司 | Nuclear power station master control room human-computer interface display method and system based on task guidance |
CN112306256A (en) * | 2020-11-03 | 2021-02-02 | 维沃移动通信有限公司 | Application program switching processing method and device and electronic equipment |
-
2021
- 2021-03-09 CN CN202110253533.0A patent/CN113032637A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108062241A (en) * | 2017-12-28 | 2018-05-22 | 努比亚技术有限公司 | A kind of switching method of display interface, terminal and storage medium |
CN109636322A (en) * | 2018-11-27 | 2019-04-16 | 岭澳核电有限公司 | Nuclear power plant's malfunction protocol information system and nuclear power plant's malfunction protocol information-based method |
CN111145927A (en) * | 2019-12-04 | 2020-05-12 | 中广核工程有限公司 | Nuclear power station master control room human-computer interface display method and system based on task guidance |
CN112306256A (en) * | 2020-11-03 | 2021-02-02 | 维沃移动通信有限公司 | Application program switching processing method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108920354B (en) | Embedded point management method and device, computer equipment and storage medium | |
US11119812B2 (en) | Method and device for processing application program page according to a common interface container | |
CN110008118B (en) | Page data testing method and device, computer equipment and storage medium | |
CN109901834B (en) | Document page generation method, device, computer equipment and storage medium | |
CN108829477B (en) | Interface jump method, device, computer equipment and storage medium | |
CN109814854B (en) | Project framework generation method, device, computer equipment and storage medium | |
CN110266752B (en) | Block chain information pushing method and device, computer equipment and storage medium | |
CN108848142B (en) | Message pushing method and device, computer equipment and storage medium | |
CN110309109B (en) | Data monitoring method, device, computer equipment and storage medium | |
CN110413922B (en) | Page information display method, device, computer equipment and storage medium | |
CN111866158B (en) | Routing method, routing device, computer equipment and storage medium | |
CN108255566B (en) | Data entry optimization processing method and device, computer equipment and storage medium | |
CN111130925B (en) | Resource monitoring method and device, computer equipment and storage medium | |
CN111176767B (en) | Table data processing method, apparatus, computer device and storage medium | |
CN108595697B (en) | Webpage integration method, device and system | |
CN111222153B (en) | Application program authority management method and device and storage medium | |
CN110888709A (en) | Intelligent operation method and device of monitoring screen, computer equipment and storage medium | |
CN110119290A (en) | The spare page switching method of application program, device, computer equipment and storage medium | |
CN111190609B (en) | Service processing method, device, equipment and storage medium | |
CN111191167A (en) | Page resource updating method and device, computer equipment and storage medium | |
CN111107132A (en) | Early warning method, system, device, equipment and storage medium | |
CN111008132A (en) | Application debugging method and device for Android system, computer equipment and storage medium | |
CN112114994A (en) | Exception handling method, device, equipment and medium | |
CN109976683B (en) | Data printing method, device, equipment and storage medium | |
CN110659435A (en) | Page data acquisition processing method and device, computer equipment and storage medium |
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 |