CN112363899A - Operation replay method, device, equipment and computer readable storage medium - Google Patents
Operation replay method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN112363899A CN112363899A CN202011247063.9A CN202011247063A CN112363899A CN 112363899 A CN112363899 A CN 112363899A CN 202011247063 A CN202011247063 A CN 202011247063A CN 112363899 A CN112363899 A CN 112363899A
- Authority
- CN
- China
- Prior art keywords
- instruction
- recording
- ops
- playback
- file
- 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 87
- 230000001360 synchronised effect Effects 0.000 claims description 70
- 230000006854 communication Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 10
- 238000004891 communication Methods 0.000 claims description 9
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 58
- 230000008569 process Effects 0.000 description 38
- 238000010586 diagram Methods 0.000 description 10
- 230000001960 triggered effect Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 239000011800 void material Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application discloses an operation replay method, which comprises the steps of starting a recording thread to record OPS operation information when a recording instruction is received, starting controller simulation software to record OPS data information, and generating an operation file according to the OPS operation information and the OPS data information; when a playback instruction is received, determining a target operation file according to the playback instruction, and performing operation playback by using the target operation file; the operation replay method can effectively ensure the comprehensiveness of recorded data and realize complete operation replay. The application also discloses an operation replay device, equipment and a computer readable storage medium, which have the beneficial effects.
Description
Technical Field
The present application relates to the field of computer software technologies, and in particular, to an operation replay method, an operation replay device, an operation replay apparatus, and a computer-readable storage medium.
Background
The operation replay function is mainly divided into two functions of recording and replaying, which means that when an operator operates on an OPS (operation and maintenance system), operation information can be recorded and recorded in a file at the same time, the operator selects the recorded recording file afterwards, all the operation information in the file can be replayed in sequence, and the function is mainly used for field simulation teaching.
The existing playback function actually depends on the data of the historical database during playback, and displays the data stored in the historical database in a mode of switching data sources, however, because the capacity of the historical database is restricted in the system, not all data information can be stored in the historical database, so that the situation of data loss exists in the playback process, and all data information in the historical time period cannot be played back completely.
Therefore, how to effectively ensure the comprehensiveness of the recorded data and realize complete operation replay is a problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The application aims to provide an operation replay method, which can effectively ensure the comprehensiveness of recorded data and realize complete operation replay; another object of the present application is to provide an operation replaying device, an apparatus and a computer readable storage medium, all having the above-mentioned advantages.
In a first aspect, the present application provides an operation replay method, including:
when a recording instruction is received, starting a recording thread to record OPS operation information, starting controller simulation software to record OPS data information, and generating an operation file according to the OPS operation information and the OPS data information;
and when a playback instruction is received, determining a target operation file according to the playback instruction, and performing operation playback by using the target operation file.
Preferably, the operation replaying method further includes:
and when a file uploading instruction is received, uploading the operation file to a sharing server according to the file uploading instruction.
Preferably, the operation replaying method further includes:
when the recording instruction is a synchronous recording instruction, forwarding the synchronous recording instruction to other OPSs so that the other OPSs perform synchronous recording according to the synchronous recording instruction;
and when the recording instruction is a synchronous playback instruction, forwarding the synchronous playback instruction to other OPS so that the other OPS can synchronously play back according to the synchronous playback instruction.
Preferably, the forwarding the synchronous recording instruction to other OPS includes:
and forwarding the synchronous recording instruction to other OPSs according to a TCP communication protocol.
Preferably, the other OPS performs synchronous playback according to the synchronous playback instruction, and the synchronous playback includes:
determining the target operation file by other OPS according to the synchronous playback instruction, and downloading the target operation file from the shared server;
and performing operation playback by using the target operation file.
Preferably, the operation replaying method further includes:
starting audio acquisition equipment to acquire audio according to the recording instruction to acquire audio information;
and acquiring character information corresponding to the audio information, and adding the character information to the operation file.
Preferably, the operation replaying method further includes:
when a pause instruction is received, judging the current running state;
if the running state is the recording state, the recording operation is suspended;
and if the running state is the playback state, pausing the playback operation.
In a second aspect, the present application also discloses an operation replaying apparatus, including:
the recording module is used for starting a recording thread to record OPS operation information when receiving a recording instruction, starting controller simulation software to record OPS data information, and generating an operation file according to the OPS operation information and the OPS data information;
and the playback module is used for determining a target operation file according to the playback instruction when the playback instruction is received, and performing operation playback by using the target operation file.
In a third aspect, the present application further discloses a click control device, including:
a memory for storing a computer program;
a processor for implementing the steps of any of the above-described operational replay methods when executing said computer program.
In a fourth aspect, the present application also discloses a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of any of the operation replay methods described above.
The operation replaying method comprises the steps that when a recording instruction is received, a recording thread is started to record OPS operation information, controller simulation software is started to record OPS data information, and an operation file is generated according to the OPS operation information and the OPS data information; and when a playback instruction is received, determining a target operation file according to the playback instruction, and performing operation playback by using the target operation file.
Therefore, the operation replay method provided by the application mainly comprises two functions of recording and replaying, in the recording process, the recording thread of the OPS system is combined with the controller simulation software, the recording of operation information and data information in the OPS operation process is realized, and the comprehensiveness and accuracy of recorded data are guaranteed, so that the complete data replay can be realized in the replay process, and the completeness of the operation replay is further guaranteed.
The operation replaying device, the equipment and the computer readable storage medium provided by the application all have the beneficial effects, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the prior art and the embodiments of the present application, the drawings that are needed to be used in the description of the prior art and the embodiments of the present application will be briefly described below. Of course, the following description of the drawings related to the embodiments of the present application is only a part of the embodiments of the present application, and it will be obvious to those skilled in the art that other drawings can be obtained from the provided drawings without any creative effort, and the obtained other drawings also belong to the protection scope of the present application.
Fig. 1 is a schematic flow chart of an operation replay method provided in the present application;
fig. 2 is a design diagram of an interface of an operation reenacting system according to the present application;
fig. 3 is a timing diagram illustrating a playback process in an operation replay method provided in the present application;
fig. 4 is a timing diagram illustrating a synchronous recording process in an operation replay method according to the present application;
fig. 5 is a schematic structural diagram of an operation replay device provided in the present application;
fig. 6 is a schematic structural diagram of an operation replay device provided in the present application.
Detailed Description
The core of the application is to provide an operation replay method, which can effectively ensure the comprehensiveness of recorded data and realize complete operation replay; another core of the present application is to provide an operation replaying apparatus, an apparatus and a computer readable storage medium, which also have the above-mentioned advantages.
In order to more clearly and completely describe the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of an operation replay method provided in the present application, where the operation replay method may include:
s101: when a recording instruction is received, starting a recording thread to record OPS operation information, starting controller simulation software to record OPS data information, and generating an operation file according to the OPS operation information and the OPS data information;
s102: and when a playback instruction is received, determining a target operation file according to the playback instruction, and performing operation playback by using the target operation file.
It should be noted that the operation replay method provided by the present application mainly includes a recording process and a playback process, where the recording process refers to recording the entire process of the operation of the operator on the OPS, and the playback process refers to playing back the recorded content, so as to implement the operation replay.
The recording process is realized based on a recording instruction, in the specific realization process, when the OPS system receives the recording instruction, the recording function can be started, the recording content comprises OPS operation information and OPS data information, wherein the OPS operation information refers to specific operation content executed by an operator on the OPS system, and the specific operation content comprises but is not limited to mouse and keyboard information, dynamic characteristics, interactive characteristics, Active space, a special operation in a system page operation panel and the like, and can be recorded through the recording thread of the OPS system; the OPS data information refers to various data generated by an operator in an operation process, such as coordinate information when a mouse moves, and the like, and can be recorded through controller simulation software. That is, when a recording instruction is received, the recording thread and the controller emulation software may be started to record the OPS operation information and the OPS data information, respectively, and further, the OPS operation information and the OPS data information may be stored in corresponding files, so as to generate the operation files.
It can be understood that the OPS data information is recorded based on the controller simulation software, and the data storage is not realized by adopting a database, so that the limitation of the data quantity and the data type can be effectively avoided, the acquisition of all the OPS data information is realized, and the accuracy and the comprehensiveness of the OPS data information are ensured.
It should be noted that the recording instruction may be input by an operator through a front-end interface when the operator starts to perform the OPS operation, or may be automatically triggered based on a preset condition, that is, an obtaining manner of the recording instruction is not unique, and the present application does not limit this. In addition, when a recording instruction is received, the recording thread and the controller simulation software may be started simultaneously, or may be started sequentially according to a predetermined sequence, which is not limited in this application.
In the specific implementation process, when the OPS system receives the playback instruction, the playback function can be started, and the playback content is the recorded content. Because the OPS system can realize different OPS operations, the generated operation file is not unique, when a playback instruction is received, the target operation file can be determined according to the playback instruction, and then the target operation file is called, and the OPS operation information and the OPS data information in the target operation file are utilized for playback.
It is understood that each system file generated by the OPS system may be stored in a pre-created storage space, such as a memory, a cache, etc., so as to be directly called when a playback instruction is received.
Similarly, the playback instruction may be input by an operator through a front-end interface, or may be automatically triggered based on a preset condition, that is, the obtaining mode of the recording instruction is not unique, and the present application does not limit this.
As a preferred embodiment, the operation replaying method may further include: and when a file uploading instruction is received, uploading the operation file to the sharing server according to the file uploading instruction.
The preferred embodiment aims to realize uploading the operation files generated by the OPS system to the sharing server so as to realize file sharing. Specifically, a file uploading function option can be set in the OPS system, when the file uploading function option is selected, that is, when the OPS system receives a file uploading instruction, the operation file recorded by the OPS system can be uploaded to the sharing server, so that other OPS systems or other OPS groups in the same OPS system can be conveniently called, and a file sharing function is realized.
As a preferred embodiment, the operation replaying method may further include: when the recording instruction is a synchronous recording instruction, the synchronous recording instruction is forwarded to other OPSs, so that the other OPSs perform synchronous recording according to the synchronous recording instruction; and when the recording instruction is a synchronous playback instruction, forwarding the synchronous playback instruction to other OPS so that the other OPS can synchronously play back according to the synchronous playback instruction.
The steps aim to realize the synchronous recording and synchronous playback functions of the operation files. Specifically, the operator online OPS runtime can be divided into multiple OPS groups, and each OPS can select its own running group number when starting up. Therefore, when the operator selects the synchronous recording function option, namely the recording instruction is the synchronous recording instruction, the synchronous recording instruction can be forwarded to other OPSs, so that the other OPSs can start information recording at the same time, and the synchronous recording function is realized; when the synchronous playback function option is selected by operation, namely the playback instruction is a synchronous recording instruction, the synchronous playback instruction can be forwarded to other OPSs, so that the other OPSs can start information playback at the same time, and the synchronous playback function is realized. It can be understood that, in the same OPS system, the synchronous recording function and the synchronous playback function may exist at the same time, or only one of them may be selected for setting, and the setting may be performed by a technician according to an actual situation, which is not limited in the present application.
As a preferred embodiment, the forwarding the synchronous recording command to other OPS may include: and forwarding the synchronous recording instruction to other OPS according to a TCP (Transmission Control Protocol) communication Protocol.
Specifically, for the synchronous operation between OPS, the communication process can be realized based on the TCP communication protocol, which has higher reliability and can effectively ensure the correctness of the transmitted data. Certainly, the TCP communication is only one implementation manner provided by the preferred embodiment, and is not limited to only one implementation manner, and may also be other communication manners, which is not limited in this application.
As a preferred embodiment, the performing, by the other OPS, synchronous playback according to the synchronous playback instruction may include: other OPS determines a target operation file according to the synchronous playback instruction, and downloads the target operation file from the shared server; and performing operation playback by using the target operation file.
Specifically, if the operation file obtained by recording is uploaded to the shared server for storage in the file recording process, in the synchronous playback process, when the synchronous playback instruction is received by other OPS, the target operation file can be determined according to the synchronous playback instruction, and the target operation file is downloaded from the shared server, so that the operation playback is realized by using the target operation file.
As a preferred embodiment, the operation replaying method may further include: starting an audio acquisition device to acquire audio according to the recording instruction to obtain audio information; and acquiring character information corresponding to the audio information, and adding the character information to the operation file.
In order to help the viewer understand the recorded operation file, a voice explanation function can be further added. Specifically, in the recording process, the audio acquisition equipment can be started simultaneously to acquire the corresponding audio information, the corresponding text information is configured for the audio information, and the text information is added into the operation file, so that the audio explanation can be realized in the playback process, and the simulation teaching is more convenient to use.
As a preferred embodiment, the operation replaying method may further include: when a pause instruction is received, judging the current running state; if the running state is the recording state, the recording operation is suspended; and if the running state is the playback state, pausing the playback operation.
Specifically, in the OPS system, a pause function may be further set, which may specifically include a recording pause function and a playback pause function, and for the recording state, when an operator selects a pause function option, that is, when the OPS system receives a recording pause instruction, the currently-performed recording operation may be temporarily stopped; for the playback state, when the operator selects the pause function option, that is, when the OPS system receives a pause playback instruction, the currently-performed playback operation can be temporarily stopped. Furthermore, a stop function option can be added to implement a recording termination function during recording and a playback termination function during playback.
Therefore, the operation replay method provided by the application mainly comprises two functions of recording and replaying, in the recording process, the recording thread of the OPS system is combined with the controller simulation software, the recording of operation information and data information in the OPS operation process is realized, and the comprehensiveness and accuracy of recorded data are guaranteed, so that the complete data replay can be realized in the replay process, and the completeness of the operation replay is further guaranteed.
The embodiment of the application provides another operation replaying method.
First, referring to fig. 2, fig. 2 is a design diagram of an interface of an operation replay system provided in the present application, where the operation replay system is provided with a recording function option 1, a pause/continue function option 2, a stop function option 3, a playback function option 4, a file upload function option 5, a file download function option 6, a synchronous recording function option, and a synchronous playback function option, and an operator may select a corresponding function option to implement a corresponding function item.
1. Recording function:
specifically, operations of a user, including mouse and keyboard messages, dynamic characteristics, interactive characteristics, an ActiveX control, and some special operations in an operation panel of a system page, are recorded, in a recording process, all operation records are stored in a record file (operation file), each row in the record file records an operation, each record records a specific operation type, please refer to table 1, where table 1 is a file record format table provided by the present application:
TABLE 1A File record Format Table
The main data interface definition in the recording process is as follows:
(1)RecMouseMoveThread:
a. thread name: UINT Recmous MoveThread (LPVOID p);
b. the functions are as follows: recording mouse information in the operation replay process;
c. parameter information:
parameter name | Input/output type [ in, out ]] | Means of |
p | LPVOID | Thread parameters are unused (reserved) |
d. And returning a value: 0: ending the thread running;
e. remarking: and the operation is executed in the replay recording process.
(2)WM_WriteRecFile:
a. Thread name: void WM _ WriteRecFile (int nType, CString strRec); b. the functions are as follows: recording the executed specific operation information into a file;
c. parameter information:
parameter name | Input/output type [ in, out ]] | Means of |
nType | int | Recording operation type |
strRec | CString | Operation specific information |
d. And returning a value: none;
e. remarking: none.
(3)WM_WriteRecHSTrigger:
a. Thread name: STDMETHODIMP WM _ writerechtrigger (long ndid, long nMsgType, long nMsgPar, long ptX, long pTY, BSTR bsDocName);
b. the functions are as follows: recording the executed interactive characteristic specific operation information into a file;
c. parameter information:
parameter name | Input/output type [ in, out ]] | Means of |
nID | long | Execution object ID |
nMsgType | long | Execution characteristic type |
nMsgPar | long | Characteristic parameters (Retention) |
ptX | long | X coordinate of position of mouse when executing operation |
pTY | long | Y coordinate of position of mouse when executing operation |
bsDocName | BSTR | Execution Property Page name |
d. And returning a value: s _ OK: the execution is successful; s _ FALSE: the execution fails;
e. remarking: and calling the page script.
(4)WM_WriteRecSpecial:
a. Thread name: STDMETHODIMP WM _ WriteRecSpecial (long nID, BSTR bsData, BSTR bsDocName);
b. the functions are as follows: recording special operation information executed in the page into a file, such as data input of a numeric keyboard, related operations in an operation panel and the like;
c. parameter information:
parameter name | Input/output type [ in, out ]] | Means of |
nID | long | Execution object ID |
bsData | BSTR | Operation specific information description |
bsDocName | BSTR | Executing special operations Page name |
d. And returning a value: s _ OK: the success is achieved; s _ FALSE: the execution fails;
e. remarking: and calling the page script.
(5)WM_WriteRecActiveX:
a. Thread name: STDMETHODIMP WM _ WriteRecacactiveX (long nID, BSTR bsControlName, BSTR bsData, BSTR bsDocName);
b. the functions are as follows: recording the operation information executed by ActiveX in the page into a file, wherein the currently recorded ActiveX control comprises a Combox and an Edit;
c. parameter information:
parameter name | Input/output type [ in, out ]] | Means of |
nID | long | Execution object ID |
bsControlName | BSTR | Name of execution control |
bsData | BSTR | Operation specific information description |
bsDocName | BSTR | Executing special operations Page name |
d. And returning a value: s _ OK is executed successfully; s _ FALSE execution fails;
e. remarking: and calling the page script.
2. The playback function is as follows:
specifically, the recorded operation information file is read, the operations in the recorded information are sequentially executed, the operations comprise mouse and keyboard information, equipment operation, panel ejection, operation sequence recording and the like, a thread RecPlayBackThread is started in the playback process, each record in the operation record file is read one by one, and the operation record is played back. Referring to fig. 3, fig. 3 is a timing diagram illustrating an operation playback process in an operation replay method provided by the present application.
3. A stop function:
in the recording process, a 'stop' button is clicked to stop the recording function; during playback, the "stop" button is clicked to stop the playback function.
4. Pause/resume function:
in the playback process, clicking a 'pause' button to pause the current playback operation, wherein the SimuRTS playback recording is also paused at the same time when the playback operation is paused; clicking the "continue" button after the pause can continue the last pre-pause playback operation, and simulrts also continues to play the playback recording. The pause/continue command may be triggered by clicking a button on the operation panel, or may be triggered by the shortcut key F2. The primary data interface during pause/resume is defined as follows:
PauseSimuRTS:
a. function name: void CMacs2003App: PauseSimuRTS ();
b. the functions are as follows: notify simulrts suspend/resume;
c. parameters are as follows: none;
d. and returning a value: none.
5. The file uploading function comprises:
specifically, the recorded recording file is uploaded to a specified file service, the file server is a shared computer in the local area network, and the file uploading refers to copying the local recording file to a specified shared directory of the shared computer.
6. The file downloading function:
specifically, all the uploaded recording files in the file server are enumerated, a user selects a required file and downloads the required file to the local computer, and file downloading is actually to copy the file in a specified shared folder in the shared computer to the local computer. Wherein, the path of the locally stored and downloaded file is selected by the user through the file storage dialog box.
7. The language playing function:
specifically, the user can configure language explanation words to be played, so that the system can convert the configured file into the language for playing in the playback process, and the played language words are configured in the file for recording the operation information. For example, if the language information for "Speak:" start "is added before the operation of playing the language, if a language explanation is added during the operation of opening the AIC3 panel, a line of language words" Speak: "open AIC3 panel" is configured before the opening operation, so that the system automatically plays a language "open AIC3 panel" when playing back the open panel. The language playing can use a third-party language library TTS SDK.
8. The synchronization function:
the operator's online OPS runtime can be divided into multiple groups, and each OPS can select its own running group number when starting. Further, when the user checks the synchronous recording (or synchronous playback), and any one OPS in the same group starts the recording or playback operation, the other OPS in the same group will also simultaneously perform the recording or playback operation with the OPS. Please refer to fig. 4, where communication between OPS in the same group may be TCP communication based on Socket, and fig. 4 is a timing diagram of a synchronous recording process in an operation replay method provided by the present application. Wherein:
(1) the inter-OPS messaging format is defined as follows:
typedef struct_tRecodeSocketMsg
{
int MsgType; // message type
char MsgData [ Record _ Socket _ MsgLen ]; // message content
}RecodeSocketMsg;
(2) The MsgType message type is defined as follows:
# define Record _ Socket _ questSync 1//1 requests whether to start recording synchronously
# define Record _ Socket _ ReplySync 2//2 answer whether to start recording synchronously
Starting recording with # define Record _ Socket _ Start 3//3
# define Record _ Socket _ Stop 4//4 end recording
In summary, the operator can select the corresponding function item to implement the corresponding function item.
Therefore, the operation replay method provided by the embodiment of the application mainly comprises two functions of recording and replaying, in the recording process, the recording thread of the OPS system is combined with the controller simulation software, the recording of operation information and data information in the OPS operation process is realized, the comprehensiveness and accuracy of the recorded data are guaranteed, therefore, the complete data replay can be realized in the replay process, and the completeness of the operation replay is further guaranteed.
To solve the above technical problem, the present application further provides an operation replay device, please refer to fig. 5, where fig. 5 is a schematic structural diagram of the operation replay device provided in the present application, and the operation replay device may include:
the recording module 1 is used for starting a recording thread to record OPS operation information when receiving a recording instruction, starting controller simulation software to record OPS data information, and generating an operation file according to the OPS operation information and the OPS data information;
and the playback module 2 is used for determining a target operation file according to the playback instruction when the playback instruction is received, and performing operation playback by using the target operation file.
Therefore, the operation replay device provided by the embodiment of the application mainly has two functions of recording and replaying, combines the recording thread of the OPS system with the controller simulation software in the recording process, simultaneously records the operation information and the data information in the OPS operation process, and guarantees the comprehensiveness and accuracy of the recorded data, so that the complete data replay can be realized in the replay process, and the completeness of the operation replay is further guaranteed.
As a preferred embodiment, the operation replaying device may further include a file uploading module, configured to upload the operation file to the sharing server according to the file uploading instruction when the file uploading instruction is received.
As a preferred embodiment, the operation replaying apparatus may further include a synchronous operation module, configured to forward the synchronous recording instruction to another OPS when the recording instruction is the synchronous recording instruction, so that the other OPS performs synchronous recording according to the synchronous recording instruction; and when the recording instruction is a synchronous playback instruction, forwarding the synchronous playback instruction to other OPS so that the other OPS can synchronously play back according to the synchronous playback instruction.
As a preferred embodiment, the synchronization operation module may be specifically configured to forward the synchronous recording instruction to other OPS according to a TCP communication protocol.
As a preferred embodiment, the synchronous operation module may be specifically configured to determine a target operation file according to a synchronous playback instruction by another OPS, and download the target operation file from the shared server; and performing operation playback by using the target operation file.
As a preferred embodiment, the operation replaying device may further include an audio recording module, configured to start an audio acquiring device to acquire audio according to the recording instruction, and obtain audio information; and acquiring character information corresponding to the audio information, and adding the character information to the operation file.
As a preferred embodiment, the operation replaying device may further include an operation process control module for judging a current operation state when a pause instruction is received; if the running state is the recording state, the recording operation is suspended; and if the running state is the playback state, pausing the playback operation.
For the introduction of the apparatus provided in the present application, please refer to the above method embodiments, which are not described herein again.
To solve the above technical problem, the present application further provides an operation replay device, please refer to fig. 6, where fig. 6 is a schematic structural diagram of the operation replay device provided in the present application, and the operation replay device may include:
a memory 10 for storing a computer program;
the processor 20, when executing the computer program, may implement any of the steps of the above-described method for replaying operations.
For the introduction of the device provided in the present application, please refer to the above method embodiment, which is not described herein again.
To solve the above problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, can implement any of the steps of the operation replaying method described above.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
For the introduction of the computer-readable storage medium provided in the present application, please refer to the above method embodiments, which are not described herein again.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The technical solutions provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall into the protection scope of the present application.
Claims (10)
1. An operation replay method, comprising:
when a recording instruction is received, starting a recording thread to record OPS operation information, starting controller simulation software to record OPS data information, and generating an operation file according to the OPS operation information and the OPS data information;
and when a playback instruction is received, determining a target operation file according to the playback instruction, and performing operation playback by using the target operation file.
2. The operation reenacting method according to claim 1, further comprising:
and when a file uploading instruction is received, uploading the operation file to a sharing server according to the file uploading instruction.
3. The operation reenacting method according to claim 2, further comprising:
when the recording instruction is a synchronous recording instruction, forwarding the synchronous recording instruction to other OPSs so that the other OPSs perform synchronous recording according to the synchronous recording instruction;
and when the recording instruction is a synchronous playback instruction, forwarding the synchronous playback instruction to other OPS so that the other OPS can synchronously play back according to the synchronous playback instruction.
4. The operation replaying method according to claim 3, wherein the forwarding the synchronized recording instruction to other OPS includes:
and forwarding the synchronous recording instruction to other OPSs according to a TCP communication protocol.
5. The operation replaying method according to claim 3, wherein the other OPS performs synchronous replay according to the synchronous replay instruction, and includes:
determining the target operation file by other OPS according to the synchronous playback instruction, and downloading the target operation file from the shared server;
and performing operation playback by using the target operation file.
6. The operation reenacting method according to any one of claims 1 to 5, further comprising:
starting audio acquisition equipment to acquire audio according to the recording instruction to acquire audio information;
and acquiring character information corresponding to the audio information, and adding the character information to the operation file.
7. The operation reenacting method according to claim 6, further comprising:
when a pause instruction is received, judging the current running state;
if the running state is the recording state, the recording operation is suspended;
and if the running state is the playback state, pausing the playback operation.
8. An operation reenacting apparatus, comprising:
the recording module is used for starting a recording thread to record OPS operation information when receiving a recording instruction, starting controller simulation software to record OPS data information, and generating an operation file according to the OPS operation information and the OPS data information;
and the playback module is used for determining a target operation file according to the playback instruction when the playback instruction is received, and performing operation playback by using the target operation file.
9. An operation reenacting apparatus, characterized by comprising:
a memory for storing a computer program;
a processor for implementing the steps of the operation replay method of any of claims 1 to 7 when executing said computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the operation replay method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011247063.9A CN112363899A (en) | 2020-11-10 | 2020-11-10 | Operation replay method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011247063.9A CN112363899A (en) | 2020-11-10 | 2020-11-10 | Operation replay method, device, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112363899A true CN112363899A (en) | 2021-02-12 |
Family
ID=74508728
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011247063.9A Pending CN112363899A (en) | 2020-11-10 | 2020-11-10 | Operation replay method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112363899A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113992503A (en) * | 2021-11-02 | 2022-01-28 | 迈普通信技术股份有限公司 | System event review method, network management system, network management equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107193540A (en) * | 2016-03-14 | 2017-09-22 | 高德信息技术有限公司 | A kind of application software demenstration method, device |
CN107357724A (en) * | 2017-06-27 | 2017-11-17 | 深圳市泰衡诺科技有限公司上海分公司 | Automatic software test method and device in Android system |
CN108052261A (en) * | 2017-12-07 | 2018-05-18 | 广东欧珀移动通信有限公司 | Record screen method, apparatus and terminal |
CN110300274A (en) * | 2018-03-21 | 2019-10-01 | 腾讯科技(深圳)有限公司 | Method for recording, device and the storage medium of video file |
-
2020
- 2020-11-10 CN CN202011247063.9A patent/CN112363899A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107193540A (en) * | 2016-03-14 | 2017-09-22 | 高德信息技术有限公司 | A kind of application software demenstration method, device |
CN107357724A (en) * | 2017-06-27 | 2017-11-17 | 深圳市泰衡诺科技有限公司上海分公司 | Automatic software test method and device in Android system |
CN108052261A (en) * | 2017-12-07 | 2018-05-18 | 广东欧珀移动通信有限公司 | Record screen method, apparatus and terminal |
CN110300274A (en) * | 2018-03-21 | 2019-10-01 | 腾讯科技(深圳)有限公司 | Method for recording, device and the storage medium of video file |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113992503A (en) * | 2021-11-02 | 2022-01-28 | 迈普通信技术股份有限公司 | System event review method, network management system, network management equipment and storage medium |
CN113992503B (en) * | 2021-11-02 | 2024-03-19 | 迈普通信技术股份有限公司 | System event review method, network management system, network management equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20020091658A1 (en) | Multimedia electronic education system and method | |
US6173259B1 (en) | Speech to text conversion | |
US10569169B2 (en) | Data processing method and apparatus for network system | |
CN108460120A (en) | Data saving method and device, terminal equipment and storage medium | |
KR20060035729A (en) | Methods and systems for presenting and recording class sessions in a virtual classroom | |
CN105100283B (en) | The synchronous method and device of playlist is realized between a kind of terminal | |
CN112363899A (en) | Operation replay method, device, equipment and computer readable storage medium | |
CN113672748A (en) | Multimedia information playing method and device | |
CN110177155A (en) | Playback method, the apparatus and system of audio file | |
US8713619B2 (en) | Creation and use of test cases for automated testing of media-based applications | |
CN105808231A (en) | System and method for recording script and system and method for playing script | |
James et al. | Establishing connectivity between the existing networked music notation packages Quintet. net, Decibel ScorePlayer and MaxScore | |
CN112954426A (en) | Video playing method, electronic equipment and storage medium | |
CN104104901A (en) | Method and device for playing data | |
US20230215090A1 (en) | Method and system for displaying virtual space at various point-in-times | |
JPH05260216A (en) | Method and device for transmitting voice/video information | |
EP0848879B1 (en) | Phone based dynamic image annotation | |
US11062693B1 (en) | Silence calculator | |
US20210065747A1 (en) | System and method for combining a remote audio source with an animatronically controlled puppet | |
US20220417619A1 (en) | Processing and playing control over interactive video | |
CN111028598A (en) | Virtual experiment guidance method and system based on operation behavior information | |
CN113117340A (en) | Game running method and device, storage medium and electronic equipment | |
CN108196817B (en) | Audio recognition method, device and storage medium | |
US11573999B2 (en) | Accessible multimedia content | |
CN112218147B (en) | Recording and broadcasting system and control method and device thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210212 |