CN113138966A - Method, device, storage medium and equipment for reproducing detonation operation scene - Google Patents

Method, device, storage medium and equipment for reproducing detonation operation scene Download PDF

Info

Publication number
CN113138966A
CN113138966A CN202110499932.5A CN202110499932A CN113138966A CN 113138966 A CN113138966 A CN 113138966A CN 202110499932 A CN202110499932 A CN 202110499932A CN 113138966 A CN113138966 A CN 113138966A
Authority
CN
China
Prior art keywords
event
detonation
data information
log data
initiator
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.)
Granted
Application number
CN202110499932.5A
Other languages
Chinese (zh)
Other versions
CN113138966B (en
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.)
Guizhou Qaml Of Science And Technology Co ltd
Original Assignee
Guizhou Qaml Of Science And Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guizhou Qaml Of Science And Technology Co ltd filed Critical Guizhou Qaml Of Science And Technology Co ltd
Priority to CN202110499932.5A priority Critical patent/CN113138966B/en
Publication of CN113138966A publication Critical patent/CN113138966A/en
Application granted granted Critical
Publication of CN113138966B publication Critical patent/CN113138966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1734Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs
    • 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Abstract

The invention discloses a method for reproducing a detonation operation scene, which comprises the following steps: determining an initiator model and an initiation operation event according to the initiator, wherein the initiation operation event is an event generated when the initiator initiates to operate an electronic detonator; acquiring operation log data information of the detonator, wherein the operation log data information is obtained after the detonator records the detonation operation event; and simulating and reproducing the detonation operation scene presented when the detonation operation event occurs by using the detonator model according to the operation log data information. According to the invention, the log record of the detonator after the detonator operates the detonating electronic detonator is operated and reproduced through the detonator model according to the acquired operational log data information of the detonator, and states of the detonator operation process, screen data change and the like during detonating are reproduced. Operation in the detonation process and whether data are abnormal or not are observed through a recurrent process, and reference is provided for later analysis and decision.

Description

Method, device, storage medium and equipment for reproducing detonation operation scene
Technical Field
The invention relates to the technical field of civil explosion, in particular to a method, a device, a storage medium and equipment for reproducing an explosion operation scene.
Background
With the continuous development and improvement of the electronic detonator technology, a large number of electronic detonators are put into production and use, the electronic detonators are operated and detonated through the detonators, abnormal conditions can inevitably occur in the operation and detonation process of the detonators, but in the prior art, after the electronic detonators are operated and detonated through the detonators, due to the fact that the scenes of the detonators in the operation and detonation process cannot be reproduced according to the obtained log records of the detonators, relevant personnel cannot observe the conditions of operation and data abnormality in the operation and detonation process, the abnormal conditions in the operation and detonation process cannot be collected and sorted, and therefore reference cannot be provided for subsequent analysis and decision making.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a storage medium and equipment for reproducing a detonation operation scene, which are used for solving the problem that the scene of an initiator in the operation detonation process cannot be reproduced in the prior art.
According to a first aspect of the present invention, there is provided a method of reproducing a detonation operating scenario, comprising:
determining an initiator model and an initiation operation event according to an initiator, wherein the initiation operation event is an event generated when the initiator initiates to operate an electronic detonator;
acquiring operation log data information of the initiator, wherein the operation log data information is obtained after the initiator records the detonation operation event;
and simulating and reproducing the detonation operation scene presented when the detonation operation event occurs by using the detonator model according to the operation log data information.
Optionally, before the simulating and reproducing, by using the initiator model, the initiation operation scenario presented when the initiation operation event occurs according to the operation log data information, the method further includes:
and setting the initiator model into a plurality of sub-modules according to the initiation operation event, so that the initiator model simulates and reproduces the initiation operation scene presented when the initiation operation event occurs through the sub-modules according to the operation log data information.
Optionally, the initiation operation scenario includes:
an operation log list display scene, a screen change scene and an operation key scene;
the sub-modules into which the initiator model is arranged according to the initiation operation event include: the device comprises a log module, a screen module and an operation keyboard module.
Optionally, the simulating and reproducing, by the initiator model, the initiation operation scene presented when the initiation operation event occurs according to the operation log data information by the plurality of sub-modules respectively includes:
simulating and reproducing the operation log list display scene through the log module according to the operation log data information, and determining to simulate and reproduce the screen change scene and/or the operation key scene of the specified initiator according to the content displayed by the operation log list display scene;
and simulating and reproducing the screen change scene and/or the operation key scene of the appointed initiator through the screen module and/or the operation keyboard module according to the operation log data information.
Optionally, when determining the initiator model and the initiation operation event according to the initiator, the method further includes:
setting a detonation simulator simulation page according to the detonator, and then simulating and reproducing the screen change scene and/or the operation key scene of the specified detonator through the detonation simulator simulation page by the screen module and/or the operation keyboard module according to the operation log data information respectively.
Optionally, after the obtaining of the operation log data information of the initiator, the method further includes:
processing and caching the acquired operation log data information through a preset data management module;
and binding the operation log data information after the cache processing to the detonation simulator simulation page.
Optionally, before the simulating and reproducing, by using the initiator model, the initiation operation scenario presented when the initiation operation event occurs according to the operation log data information, the method further includes:
and setting simulation control parameters for the operation log data information.
Optionally, the operation log data information records one or more of the following characteristics for the detonation operation event:
event source, event type, trigger event, event value and event occurrence timestamp;
the event source is used for collecting an event log of the detonation operation event in the corresponding part of the detonator;
the triggering event is used for recording triggering information of the detonation operation event so as to form an event occurrence path;
the event value is used for recording the specific operation value of the detonation operation event.
Optionally, after the operation log data information after the processing of the cache is bound to the detonation simulator emulation page, the method includes:
acquiring a preset event polling tool;
triggering the event polling tool once per second to acquire the operation log data information of a time point corresponding to the event occurrence timestamp;
and transmitting the operation log data information of the corresponding time point into the screen module and the operation keyboard module.
Optionally, when the sub-module is the screen module, the event type is a screen type set under the screen module, and the simulation control parameter is a parameter for describing the screen type, and after the operation log data information at the corresponding time point is transmitted to the screen module, the method includes:
and judging the screen type which is required to be displayed currently according to the simulation control parameters so as to control the screen module to simulate and reproduce the screen change scene of the screen type of the initiator through the initiation simulator simulation page according to the operation log data information.
According to a second aspect of the present invention there is provided apparatus for reproducing a detonation operating scenario, comprising:
the device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining an initiator model and an initiation operation event according to an initiator, and the initiation operation event is an event generated when the initiator initiates to operate an electronic detonator;
the data acquisition unit is used for acquiring operation log data information of the initiator, wherein the operation log data information is obtained after the initiator records the initiation operation event;
and the simulation reproduction unit is used for simulating and reproducing the detonation operation scene presented when the detonation operation event occurs by utilizing the detonator model according to the operation log data information.
According to a third aspect of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of:
determining an initiator model and an initiation operation event according to an initiator, wherein the initiation operation event is an event generated when the initiator initiates to operate an electronic detonator;
acquiring operation log data information of the initiator, wherein the operation log data information is obtained after the initiator records the detonation operation event;
and simulating and reproducing the detonation operation scene presented when the detonation operation event occurs by using the detonator model according to the operation log data information.
According to a fourth aspect of the present invention, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method when executing the program:
determining an initiator model and an initiation operation event according to an initiator, wherein the initiation operation event is an event generated when the initiator initiates to operate an electronic detonator;
acquiring operation log data information of the initiator, wherein the operation log data information is obtained after the initiator records the detonation operation event;
and simulating and reproducing the detonation operation scene presented when the detonation operation event occurs by using the detonator model according to the operation log data information.
The invention has the beneficial effects that:
according to the invention, the initiator model is divided into a plurality of sub-modules for development, so that the log records of the initiator after the initiator operates the electronic detonator are operated and reproduced through the plurality of sub-modules according to the acquired operational log data information of the initiator, and the states of the initiator operation process, screen data change and the like during initiation are reproduced. Whether the operation and data in the detonation process are abnormal or not is observed through the recurrent process, so that related personnel can collect and arrange the abnormal conditions in the detonation process, and reference is provided for later analysis and decision.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flowchart of a method for reproducing a detonation operation scenario according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an embodiment of step S13 in FIG. 1;
FIG. 3 is a schematic view of a process for acquiring operation log data information by a simulation page of the detonation simulator;
FIG. 4 is a flowchart illustrating a method performed after step S22 in FIG. 3;
FIG. 5 is a schematic diagram of a process of the screen module performing simulation and reproduction on the detonation process screen according to the operation log data information;
fig. 6 is a schematic structural diagram of an apparatus for reproducing an initiation operation scenario according to an embodiment of the present invention.
Fig. 7 is an interaction diagram illustrating data interaction between a simulation page of the initiation simulator and a data server according to an embodiment of the present invention.
In the figure: the method comprises the following steps of 1-determining unit, 2-data acquiring unit, 3-setting unit, 4-processing buffer unit, 5-binding unit, 6-polling tool acquiring unit, 7-triggering unit, 8-transmitting unit, 9-judging unit and 10-simulating reproduction unit.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Referring to fig. 1, in a first embodiment of the present invention, a method for reproducing a detonation operation scenario is provided, including the steps of:
step S11: determining an initiator model and an initiation operation event according to the initiator, wherein the initiation operation event is an event generated when the initiator initiates to operate an electronic detonator;
step S12: acquiring operation log data information of the detonator, wherein the operation log data information is obtained after the detonator records the detonation operation event;
step S13: and simulating and reproducing the detonation operation scene presented when the detonation operation event occurs by using the detonator model according to the operation log data information.
Optionally, in step S13, before the initiator model is used to perform simulated reproduction on the initiation operation scenario presented when the initiation operation event occurs according to the operation log data information, the method further includes the following steps: and setting the initiator model into a plurality of sub-modules according to the initiation operation event so that the initiator model simulates and reproduces the initiation operation scene presented when the initiation operation event occurs through the plurality of sub-modules according to the operation log data information.
Preferably, the detonation operation event comprises events such as screen change, keyboard action, bus change, Bluetooth/WiFi data transmission module, current and voltage states and the like. In the embodiment of the present invention, the initiation operation scenario includes: the operation log list display scene, the screen change scene and the operation key scene, and the plurality of sub-modules which set the initiator model according to the initiation operation event comprise: the device comprises a log module, a screen module and an operation keyboard module. Therefore, referring to fig. 2, the initiator model respectively simulates and reproduces the initiation operation scenario presented when the initiation operation event occurs through a plurality of sub-modules according to the operation log data information, and includes the following steps:
step S131: simulating and reproducing an operation log list display scene through a log module according to operation log data information, wherein in a specific engineering example, the display content of the operation log list display scene can comprise blasting items, blasting companies, blasting personnel, the number of corresponding detonators, the number of electronic detonators detonated by each detonator, detonation time, latitude and longitude information and the like, and the simulation and reproduction of a screen change scene and/or an operation key scene of a specified detonator are determined according to the display content of the operation log list display scene;
step S132: and simulating and reproducing the screen change scene and/or the operation key scene of the appointed initiator through the screen module and/or the operation keyboard module according to the operation log data information. It should be noted that, in the actual engineering, the screen change scene and the operation key scene can be reproduced simultaneously according to the actual requirement, and one of the scenes can also be reproduced separately, so that the reproduction mode has selectivity, and the reproduction analysis mode is more flexible and convenient, thereby improving the reproduction efficiency.
Optionally, when the step S11 is executed to determine the initiator model and the initiation operation event according to the initiator, the method further includes: and setting a detonation simulator simulation page according to the detonator, and simulating and reproducing a screen change scene and/or an operation key scene of the specified detonator by the detonation simulator simulation page through the screen module and/or the operation keyboard module according to the operation log data information. The information items displayed on the simulation page of the detonation simulator are divided into a blasting item, a detonator information list, an event sequence and a simulation detonator module. The detonation simulator simulation page is mainly a simulation detonator module part, the simulation detonator module is constructed according to physical structure characteristics of the detonator, and then after operation log data information of corresponding time points is obtained, the operation log data information is transmitted to a corresponding screen module and an operation keyboard module, so that the screen state and the button state of the detonator can be visually displayed.
Optionally, referring to fig. 3, after the step S12 is executed to obtain the operation log data information of the initiator, the method further includes the following steps:
step S21: processing and caching the acquired operation log data information through a preset data management module;
step S22: and binding the operation log data information after the cache processing to a simulation page of the detonation simulator.
Optionally, before the step S13 is executed, and according to the operation log data information, the method further includes, before the step S13 is executed, performing simulated reproduction on a detonation operation scenario presented when a detonation operation event occurs: and setting simulation control parameters for the operation log data information, wherein the simulation control parameters are used for controlling different change states of each submodule of the initiator model. The operation log data information in this embodiment has the following characteristics for the detonation operation event record: event source, event type, trigger event, event value, and event occurrence timestamp. The event source is used for collecting an event log of the detonation operation event in the corresponding component, such as collecting the event log of a keyboard, a screen, a bus and a Bluetooth/WiFi component. The trigger event is used for recording trigger information of the detonation operation event so as to form an event occurrence path. The event value is used for recording the specific operation value of the detonation operation event, such as an F1 key, an F2 key and the like which are specifically pressed by a keyboard action event, and the specific value is saved by inheriting the extended association record for the events such as detection, screen display and the like. If more part logs need to be expanded, the enumeration value and the corresponding expansion class are increased, and then, the information of the operator and the project is completed by the data receiving end when the initiator uploads the logs to the data receiving end.
Specifically, each piece of operation log data information of the embodiment of the present invention is composed of a basic log model and an event log model, the event source, the event type, the trigger event, the event value, the event occurrence timestamp, and the like of the operation log data information recorded to the initiation operation event are recorded in the basic log model in the form of an event log, the event log model is used for recording event parameters describing the initiation operation event, for example, when the initiation operation event is a screen change event, the event parameter information recorded by the event log model has information such as a screen identifier, a parameter model, a screen code, and the like, when the scene recorded to the operation log data information is presented through the initiation simulator simulation page, rendering is performed through the parameters, that is, when the simulator simulation page simulates and repeats a screen change scene and/or an operation key scene of a designated initiator, rendering is performed by event parameters recorded within an event log model for each piece of oplog data information.
Referring to fig. 4, after step S22 is executed to bind the operation log data information after processing the cache to the emulation page of the detonation simulator, the method includes the following steps:
step S31: acquiring a preset event polling tool;
step S32: the method comprises the steps that an event polling tool is triggered once every second to obtain operation log data information of a time point corresponding to an event occurrence timestamp;
step S33: and transmitting the operation log data information of the corresponding time point into the screen module and the operation keyboard module.
In the embodiment of the present invention, when the sub-module is a screen module, the event type is a screen type set under the screen module, and the simulation control parameter is a parameter for describing the screen type, please refer to fig. 5, where the screen type in the embodiment of the present invention includes: after the step S33 is executed, the method includes the following steps that the operation log data information of the corresponding time point is transmitted to the screen module, where the operation log data information includes: and judging the type of the screen which is currently required to be displayed according to the simulation control parameters of the operation log data information so as to control the screen module to simulate and reproduce the screen change scene of the screen type of the initiator through the initiation simulator simulation page according to the operation log data information. Specifically, in an actual operation, after obtaining the bound operation log data information, the embodiment of the present invention triggers an event polling tool once per second to obtain the log data at the corresponding time point. And judging what type of screen should be displayed currently according to the screen type. Referring to fig. 5, for example, when the simulation control parameter is type ═ 6, it is determined that the currently displayed screen type is a detonation flow screen, the detonation flow screen is a core module of a screen module of the initiator model, and when the screen module performs simulation and reproduction on a screen change scene of the detonation flow screen according to the operation log data information, the operation process of the detonation flow is displayed according to the data state recorded by the operation log data information after the detonation flow screen is entered. The operation process of the detonation flow is specifically shown in fig. 5, the information of the detection detonator is detonated firstly, the detection of the authorized detonator and the like is carried out in the detonation flow, the detonation charging preparation is carried out to determine the charging when the detection is passed, the charging is completed, the detonation is confirmed in the detonation confirmation page, and the flow is completed. The normal flow of the whole initiator simulation page is the process, and when the log is abnormal, the abnormal analysis processing of related personnel can be assisted through the simulation recurrent flow.
In summary, the embodiment of the present invention develops the initiator model by dividing it into a plurality of sub-modules, so that the plurality of sub-modules respectively reproduce the operation of the initiator after the initiation of the electronic detonator according to the acquired operation log data information of the initiator, and reproduce the states of the initiator operation process, the screen data change, and the like during initiation. Whether the operation and data in the detonation process are abnormal or not is observed through the recurrent process, so that related personnel can collect and arrange the abnormal conditions in the detonation process, and reference is provided for later analysis and decision.
Referring to fig. 6, a second embodiment of the present invention provides an apparatus for reproducing an initiation operation scenario, including:
the determining unit 1 is used for determining an initiator model and an initiation operation event according to the initiator, wherein the initiation operation event is an event generated when the initiator initiates to operate an electronic detonator;
the data acquisition unit 2 is used for acquiring operation log data information of the detonator, wherein the operation log data information is obtained after the detonator records the detonation operation event;
and the simulation reproduction unit 10 is used for simulating and reproducing the detonation operation scene presented when the detonation operation event occurs by using the detonator model according to the operation log data information.
Optionally, the device further includes a setting unit 3, before the simulation reproduction unit 10 utilizes the initiator model to perform simulation reproduction on the initiation operation scene presented when the initiation operation event occurs according to the operation log data information, the setting unit 3 sets the initiator model into a plurality of sub-modules according to the initiation operation event, so that the initiator model performs simulation reproduction on the initiation operation scene presented when the initiation operation event occurs through the plurality of sub-modules according to the operation log data information.
Preferably, in the embodiment of the present invention, the initiation operation scenario includes: if the operation log list shows a scenario, a screen change scenario, and an operation key scenario, the setting unit 3 sets the initiator model into a plurality of sub-modules according to the initiation operation event, including: the device comprises a log module, a screen module and an operation keyboard module. Therefore, when the simulation reproduction unit 10 performs simulation reproduction on the detonation operation scene presented when the detonation operation event occurs by using the detonator model and respectively through the plurality of sub-modules according to the operation log data information, the following method steps are specifically executed:
step S131: simulating and reproducing an operation log list display scene through a log module according to operation log data information, wherein in a specific engineering example, the display content of the operation log list display scene can comprise blasting items, blasting companies, blasting personnel, the number of corresponding detonators, the number of electronic detonators detonated by each detonator, detonation time, latitude and longitude information and the like, and the simulation and reproduction of a screen change scene and/or an operation key scene of a specified detonator are determined according to the display content of the operation log list display scene;
step S132: and simulating and reproducing the screen change scene and/or the operation key scene of the appointed initiator through the screen module and/or the operation keyboard module according to the operation log data information. It should be noted that, in the actual engineering, the screen change scene and the operation key scene can be reproduced simultaneously according to the actual requirement, and one of the scenes can also be reproduced separately, so that the reproduction mode has selectivity, and the reproduction analysis mode is more flexible and convenient, thereby improving the reproduction efficiency.
Optionally, when the determining unit 1 determines the initiator model and the initiation operation event according to the initiator, the following method steps are further executed: and setting a detonation simulator simulation page according to the detonator, and simulating and reproducing a screen change scene and/or an operation key scene of the specified detonator by the detonation simulator simulation page through the screen module and/or the operation keyboard module according to the operation log data information.
Optionally, referring to fig. 6, after the data obtaining unit 2 obtains the operation log data information of the initiator, the apparatus further includes:
the processing cache unit 4 is used for processing and caching the acquired operation log data information through a preset data management module;
and the binding unit 5 is used for binding the operation log data information after the cache processing to the simulation page of the detonation simulator.
After the binding unit 5 binds the operation log data information after the cache processing to the detonation simulator emulation page, the device further comprises:
a polling tool acquisition unit 6, configured to acquire a preset event polling tool;
the trigger unit 7 is used for triggering the event polling tool once per second to acquire the operation log data information of a time point corresponding to the event occurrence timestamp;
and the transmission unit 8 is used for transmitting the operation log data information of the corresponding time point into the screen module and the operation keyboard module.
In this embodiment of the present invention, when the sub-module is a screen module, the event type is a screen type set under the screen module, and the simulation control parameter is a parameter for describing the screen type, after the transmission unit 8 transmits the operation log data information corresponding to the time point to the screen module, the apparatus further includes: and the judging unit 9 is configured to judge the screen type to be currently displayed according to the simulation control parameter of the operation log data information, so as to control the screen module to perform simulation reproduction on a screen change scene of the screen type of the initiator through the initiation simulator simulation page according to the operation log data information.
In a third embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, see fig. 1, which when executed by a processor implements the steps of the method:
step S11: determining an initiator model and an initiation operation event according to the initiator, wherein the initiation operation event is an event generated when the initiator initiates to operate an electronic detonator;
step S12: acquiring operation log data information of the detonator, wherein the operation log data information is obtained after the detonator records the detonation operation event;
step S13: and simulating and reproducing the detonation operation scene presented when the detonation operation event occurs by using the detonator model according to the operation log data information.
The method steps executed after the program is executed by the processor to perform the steps of the method in the embodiment of the present invention are consistent with the method flow in the first embodiment of the present invention, and are not described herein again.
In a fourth embodiment of the present invention, a computer device is provided, which includes a memory, a processor and a computer program stored in the memory and executable on the processor, please refer to fig. 1, wherein the processor executes the program to implement the following steps of the method:
step S11: determining an initiator model and an initiation operation event according to the initiator, wherein the initiation operation event is an event generated when the initiator initiates to operate an electronic detonator;
step S12: acquiring operation log data information of the detonator, wherein the operation log data information is obtained after the detonator records the detonation operation event;
step S13: and simulating and reproducing the detonation operation scene presented when the detonation operation event occurs by using the detonator model according to the operation log data information.
The method steps executed after the processor executes the steps of the method in the embodiment of the present invention are consistent with the method flow in the first embodiment of the present invention, and are not described herein again.
In order to make the technical scheme of the present invention clearer, in the fifth embodiment of the present invention, the automated testing method provided by the present invention is further described in combination with a specific application scenario.
The method for reproducing the detonation operation scene is applied to a browser end, and can be used for reproducing the operation of the detonation in the detonation process, the screen data change and other states. The operation in the detonation process and whether the data are abnormal or not are observed through the repeated process, and reference is provided for later analysis.
Specifically, the application is a web application developed by using an vue framework, and the initiator model is developed by dividing the initiator model into several modules, namely an operation keyboard module, a screen module and a log module, based on a vue framework by using a modular development mode. The operation keyboard module can display according to the log data transmitted by the data server, and which keys are pressed during the detonation operation. The screen module displays the screen change of the initiator during the initiation operation. The log module is used for displaying the operation log list.
All module pages are subdivided into a plurality of components, the state of each component is controlled by simulation control parameters, and the states of different screens and keyboards of the initiator model are controlled by transmitting different simulation control parameters. Before the process, log data of the initiator can be obtained by collecting and storing events generated by the initiator through a black box at the initiator end, the log data are sent to a data server end, and a Personal Computer (PC) end browser analyzes the obtained log data and then reproduces operation scenes including keys, screen display, bus data transmission, current and voltage states and the like.
The initiator can store the obtained operation log data information to the data server, and the application can pull the log data of the data server through the/device/burst DeviceEventLog/list interface so as to display the operation log list.
In order to visually reproduce the detonation operation scene, the embodiment of the invention presents contents to be reproduced by the screen module and the operation keyboard module through a detonation simulator simulation page, selects the detonators to be checked through a log list, operates the reproduction to enter the detonation simulator simulation page for reproducing the detonators, and the page is divided into blasting items, a detonator information list, an event sequence and a simulation detonator module, and is mainly a simulation detonator module part and also a core of the application. The state updating is triggered once per second, and when the time is equal to the recording time of a certain log, the recorded data parameters are transmitted to the corresponding module components (namely, the screen module and the operation keyboard module) so as to display the screen state and the button state at the time point.
Specifically, before contents to be reproduced by the screen module and the operation keyboard module are presented through the initiation simulator emulation page, please refer to fig. 7, since the application embodiment is developed by using an vue framework, at this time, the data management module is in a state management mode vuex, the initiation simulator emulation page initiates an ajax request to pull data on the data server, the pulled data is processed and cached through vuex, and the initiation simulator emulation page is displayed by binding the data on the state management mode vuex through a vue framework.
Each piece of operation log data information of the embodiment of the invention consists of a basic log model and an event log model, wherein the event source, the event type, the trigger event, the event value, the event occurrence timestamp and the like of the operation log data information for recording the detonation operation event are recorded in the basic log model in the form of an event log, the basic log model consists of a fixed format, and the last 4 bytes indicate how the subsequent content of the log should be analyzed; for fixed-length data, serialization or analysis is directly performed according to the offset, for variable-length data, r marks are passed among parameters in the log, and r/n marks are adopted for the end of the whole log, which can be specifically referred to the content in table 2. The event log model is used for recording event parameters describing the detonation operation event, for example, when the detonation operation event is a screen change event, the event parameter information recorded by the event log model includes information such as a screen identifier, a parameter model, a screen code, and the like, when a scene recorded by the operation log data information is presented through a detonation simulator simulation page, rendering is performed through the parameters, and the contents of table 1 can be specifically referred to. Similarly, it will be apparent to those skilled in the art that other types of event log models of detonation operation events may be recorded according to the parameter information to be recorded for the event, and are not described one by one herein.
Figure BDA0003056039420000161
Figure BDA0003056039420000171
TABLE 1
Figure BDA0003056039420000181
Figure BDA0003056039420000191
Figure BDA0003056039420000201
Figure BDA0003056039420000211
TABLE 2
Therefore, when the scene recorded by the operation log data information is presented through the detonation simulator simulation page, (1) the screen log is processed in such a way that events generated by each screen change mainly comprise screen codes, screen parameters and time, and the scene is presented according to the parameters when being reproduced. (2) The keyboard log processing comprises the steps that each time a key is pressed, a key event is generated, and the key event mainly comprises an event identifier (id), a key value and time. (3) And (4) bus log processing, namely detecting current and voltage changes on the bus. (4) The Bluetooth/WiFi data transmission module processes logs and records connection and disconnection events of the data transmission module, and data transmission only records the size of the data transmitted at this time and does not record specific transmission contents. (5) And processing the application program APP/platform log, providing a uniform operation log submitting interface, and routing the interface to internal logic for log persistent storage according to information such as log types in the log. (6) The log is visualized, a time axis and a detonation networking schematic diagram are set on a simulation page of the detonation simulator, the current state is replayed according to a time line and a project, and the replay effect is rendered by application according to log data.
In addition, because the application of the detonation simulation reproduction needs to be accessed to the platform of the internet of things, and the number of sub-applications in the platform of the internet of things is large, the data of the state management mode vuex is completely written in one block, so that the state management mode vuex is required to be subjected to modularized setting processing, the state management mode vuex of the single sub-application is divided into corresponding application modules for processing, the state management mode vuex is divided into 4 objects for processing data according to the characteristics of the state management mode vuex and different processing tasks, the objects are respectively states, events, actions and getters, and the state cache data provides the processed data and the page state for the page. The states are responsible for performing modification operations on state data. Actions can perform asynchronous operation and processing of data, and processed data can be transmitted to the rotation processing through the commit method. Getters processes the data in the page that needs secondary processing calculation.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), and includes a plurality of instructions for controlling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (13)

1. A method of reproducing a detonation operational scenario, comprising:
determining an initiator model and an initiation operation event according to an initiator, wherein the initiation operation event is an event generated when the initiator initiates to operate an electronic detonator;
acquiring operation log data information of the initiator, wherein the operation log data information is obtained after the initiator records the detonation operation event;
and simulating and reproducing the detonation operation scene presented when the detonation operation event occurs by using the detonator model according to the operation log data information.
2. The method for reproducing a detonation operation scenario according to claim 1, wherein before the performing simulated reproduction of the detonation operation scenario presented when the detonation operation event occurs using the detonator model according to the operation log data information, further comprises:
and setting the initiator model into a plurality of sub-modules according to the initiation operation event, so that the initiator model simulates and reproduces the initiation operation scene presented when the initiation operation event occurs through the sub-modules according to the operation log data information.
3. The method of reproducing a detonation operating scenario according to claim 2, wherein the detonation operating scenario includes:
an operation log list display scene, a screen change scene and an operation key scene;
the sub-modules into which the initiator model is arranged according to the initiation operation event include: the device comprises a log module, a screen module and an operation keyboard module.
4. The method for reproducing the detonation operation scenario according to claim 3, wherein the detonation model, based on the operation log data information, respectively reproduces the detonation operation scenario presented when the detonation operation event occurs in a simulation manner by means of a plurality of the sub-modules, and includes:
simulating and reproducing the operation log list display scene through the log module according to the operation log data information, and determining to simulate and reproduce the screen change scene and/or the operation key scene of the specified initiator according to the content displayed by the operation log list display scene;
and simulating and reproducing the screen change scene and/or the operation key scene of the appointed initiator through the screen module and/or the operation keyboard module according to the operation log data information.
5. The method for reproducing a detonation operation scenario of claim 2, wherein determining the model of the detonator and the detonation operation event based on the detonator further comprises:
setting a detonation simulator simulation page according to the detonator, and then simulating and reproducing the screen change scene and/or the operation key scene of the specified detonator through the detonation simulator simulation page by the screen module and/or the operation keyboard module according to the operation log data information respectively.
6. The method of reproducing a detonation operating scenario of claim 1, wherein after obtaining operational log data information for the detonator, further comprising:
processing and caching the acquired operation log data information through a preset data management module;
and binding the operation log data information after the cache processing to the detonation simulator simulation page.
7. The method for reproducing a detonation operation scenario according to claim 1, wherein before the performing simulated reproduction of the detonation operation scenario presented when the detonation operation event occurs using the detonator model according to the operation log data information, further comprises:
and setting simulation control parameters for the operation log data information.
8. The method of reproducing a detonation operation scenario of claim 7, wherein the oplog data information records one or more of the following characteristics for the detonation operation event:
event source, event type, trigger event, event value and event occurrence timestamp;
the event source is used for collecting an event log of the detonation operation event in the corresponding part of the detonator;
the triggering event is used for recording triggering information of the detonation operation event so as to form an event occurrence path;
the event value is used for recording the specific operation value of the detonation operation event.
9. The method for reproducing an initiation operation scenario of claim 8, wherein the binding the operation log data information after processing the cache to the initiation simulator emulation page comprises:
acquiring a preset event polling tool;
triggering the event polling tool once per second to acquire the operation log data information of a time point corresponding to the event occurrence timestamp;
and transmitting the operation log data information of the corresponding time point into the screen module and the operation keyboard module.
10. The method for reproducing a detonation operation scenario according to claim 9, wherein when the sub-module is the screen module, the event type is a screen type set under the screen module, and the simulation control parameter is a parameter for describing the screen type, after the operation log data information of the corresponding time point is transmitted to the screen module, the method comprises:
and judging the screen type which is required to be displayed currently according to the simulation control parameters so as to control the screen module to simulate and reproduce the screen change scene of the screen type of the initiator through the initiation simulator simulation page according to the operation log data information.
11. An apparatus for reproducing a detonation operating scenario, comprising:
the device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining an initiator model and an initiation operation event according to an initiator, and the initiation operation event is an event generated when the initiator initiates to operate an electronic detonator;
the data acquisition unit is used for acquiring operation log data information of the initiator, wherein the operation log data information is obtained after the initiator records the initiation operation event;
and the simulation reproduction unit is used for simulating and reproducing the detonation operation scene presented when the detonation operation event occurs by utilizing the detonator model according to the operation log data information.
12. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 10.
13. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of any one of claims 1 to 10 when executing the program.
CN202110499932.5A 2021-05-08 2021-05-08 Method, device, storage medium and equipment for reproducing detonation operation scene Active CN113138966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110499932.5A CN113138966B (en) 2021-05-08 2021-05-08 Method, device, storage medium and equipment for reproducing detonation operation scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110499932.5A CN113138966B (en) 2021-05-08 2021-05-08 Method, device, storage medium and equipment for reproducing detonation operation scene

Publications (2)

Publication Number Publication Date
CN113138966A true CN113138966A (en) 2021-07-20
CN113138966B CN113138966B (en) 2023-06-06

Family

ID=76816664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110499932.5A Active CN113138966B (en) 2021-05-08 2021-05-08 Method, device, storage medium and equipment for reproducing detonation operation scene

Country Status (1)

Country Link
CN (1) CN113138966B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116126568A (en) * 2021-11-12 2023-05-16 博泰车联网(大连)有限公司 Fault reproduction method, device, apparatus and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102650510A (en) * 2012-03-27 2012-08-29 沈阳维深自动识别技术研究院有限公司 Detonation and programming integrated device for digital electronic detonator
CN104154990A (en) * 2014-08-12 2014-11-19 武汉长江仪器自动化研究所有限公司 Integrated blasting recorder and working method thereof
CN104296608A (en) * 2014-10-15 2015-01-21 北京理工北阳爆破工程技术有限责任公司 Electronic detonator initiation system and method
CN105547062A (en) * 2015-12-09 2016-05-04 北京理工大学 Initiation controller of electronic detonator and control method thereof
US20170269069A1 (en) * 2016-03-14 2017-09-21 Woojin An Method for identifying histone tail proteolysis
US9838417B1 (en) * 2014-12-30 2017-12-05 Fireeye, Inc. Intelligent context aware user interaction for malware detection
CN108253855A (en) * 2018-03-09 2018-07-06 成都友创芯达电子科技有限公司 It is a kind of that there is the control device for detonation of electric detonator of management and control and management-control method
CN109002674A (en) * 2018-10-09 2018-12-14 浙江省水利水电勘测设计院 A kind of tunnel group construction speed emulation mode and system
CN112650658A (en) * 2020-12-18 2021-04-13 平安普惠企业管理有限公司 Application program exception recording and reproduction method, device and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102650510A (en) * 2012-03-27 2012-08-29 沈阳维深自动识别技术研究院有限公司 Detonation and programming integrated device for digital electronic detonator
CN104154990A (en) * 2014-08-12 2014-11-19 武汉长江仪器自动化研究所有限公司 Integrated blasting recorder and working method thereof
CN104296608A (en) * 2014-10-15 2015-01-21 北京理工北阳爆破工程技术有限责任公司 Electronic detonator initiation system and method
US9838417B1 (en) * 2014-12-30 2017-12-05 Fireeye, Inc. Intelligent context aware user interaction for malware detection
CN105547062A (en) * 2015-12-09 2016-05-04 北京理工大学 Initiation controller of electronic detonator and control method thereof
US20170269069A1 (en) * 2016-03-14 2017-09-21 Woojin An Method for identifying histone tail proteolysis
CN108253855A (en) * 2018-03-09 2018-07-06 成都友创芯达电子科技有限公司 It is a kind of that there is the control device for detonation of electric detonator of management and control and management-control method
CN109002674A (en) * 2018-10-09 2018-12-14 浙江省水利水电勘测设计院 A kind of tunnel group construction speed emulation mode and system
CN112650658A (en) * 2020-12-18 2021-04-13 平安普惠企业管理有限公司 Application program exception recording and reproduction method, device and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
JOHN J. PANTOJA 等: "Characterization, Modeling, and Statistical Analysis of the Electromagnetic Response of Inert Improvised Explosive Devices", 《IEEE TRANSACTIONS ON ELECTROMAGNETIC COMPATIBILITY》 *
XIN JIN 等: "Topic initiator detection on the world wide web", 《WWW \'10: PROCEEDINGS OF THE 19TH INTERNATIONAL CONFERENCE ON WORLD WIDE WEB》 *
张儒: "远距离电子雷管起爆器研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅰ辑》 *
陈辉峻: "电子雷管起爆系统研究", 《煤矿爆破》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116126568A (en) * 2021-11-12 2023-05-16 博泰车联网(大连)有限公司 Fault reproduction method, device, apparatus and readable storage medium
CN116126568B (en) * 2021-11-12 2024-02-09 博泰车联网(大连)有限公司 Fault reproduction method, device, apparatus and readable storage medium

Also Published As

Publication number Publication date
CN113138966B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
CN107908541B (en) Interface testing method and device, computer equipment and storage medium
US8327271B2 (en) Method and system for testing websites
CN111159049B (en) Automatic interface testing method and system
CN106776294B (en) Automatic android mobile phone testing method and system
US10162742B2 (en) System and method for end to end performance response time measurement based on graphic recognition
CN106294094A (en) The method of testing of game server, client, server and system
CN108228444A (en) A kind of test method and device
CN111611121A (en) Hardware simulation test method, device and equipment
CN111078519A (en) Method and device for backtracking abnormal monitoring behaviors and electronic equipment
WO2007061241A1 (en) Error test method for mobile communication terminals
CN113138966A (en) Method, device, storage medium and equipment for reproducing detonation operation scene
CN111414309A (en) Automatic test method of application program, computer equipment and storage medium
CN110399723A (en) Leak detection method and device, storage medium and electronic device
EP3014562A1 (en) Simulating sensors
JP2018077783A (en) Traceability system
GB2397905A (en) Method for automatically generating and ordering test scripts
CN113973060A (en) Internet of things simulation method, device and system and storage medium
CN105407112B (en) Equipment capability learning method, device and system
CN110620689A (en) Simulation method and system of IEC61850 server
JP2000207249A (en) Simulation device
CN115145830A (en) Interface test case generation method, device and equipment
KR101724519B1 (en) Emulation apparatus and method for interaction test of war game simulation model
CN114244578A (en) Method, system, equipment and medium for testing protection capability of communication card
JPH10322908A (en) Electric power system simulation device
CN114691499A (en) Wearable device testing method and device, wearable device and 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
GR01 Patent grant
GR01 Patent grant