CN114721905A - Operation and maintenance data processing method, device, equipment, storage medium and program product - Google Patents

Operation and maintenance data processing method, device, equipment, storage medium and program product Download PDF

Info

Publication number
CN114721905A
CN114721905A CN202210361812.3A CN202210361812A CN114721905A CN 114721905 A CN114721905 A CN 114721905A CN 202210361812 A CN202210361812 A CN 202210361812A CN 114721905 A CN114721905 A CN 114721905A
Authority
CN
China
Prior art keywords
maintenance
maintenance data
data
target
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210361812.3A
Other languages
Chinese (zh)
Inventor
赖宇阳
杨航
母天石
樊凯
冯国聪
吕华辉
李慧娟
邓建锋
谭洪华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southern Power Grid Digital Grid Research Institute Co Ltd
Original Assignee
Southern Power Grid Digital Grid Research Institute 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 Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical Southern Power Grid Digital Grid Research Institute Co Ltd
Priority to CN202210361812.3A priority Critical patent/CN114721905A/en
Publication of CN114721905A publication Critical patent/CN114721905A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3072Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
    • G06F11/3082Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting the data filtering being achieved by aggregating or compressing the monitored data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application relates to an operation and maintenance data processing method, an operation and maintenance data processing device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: acquiring initial operation and maintenance data sent by an operation and maintenance terminal, and analyzing the initial operation and maintenance data to obtain an operation and maintenance image; converting the operation and maintenance image into target operation and maintenance data in a target format; and storing the target operation and maintenance data so that the monitoring terminal can read and display the target operation and maintenance data. The method is adopted to store the target operation and maintenance data, so that the monitoring terminal can directly read and display the target operation and maintenance data, a player or a third-party playing plug-in is not required to be installed, the target operation and maintenance data can be directly played in a WEB browser, in addition, the initial operation and maintenance data of all the operation and maintenance terminals are processed by the server, and therefore, even if a new operation and maintenance terminal or a monitoring terminal is added subsequently, only configuration is needed, and the expandability is strong.

Description

Operation and maintenance data processing method, device, equipment, storage medium and program product
Technical Field
The present application relates to the field of intelligent operation and maintenance technologies, and in particular, to an operation and maintenance data processing method, an apparatus, a computer device, a storage medium, and a computer program product.
Background
The client-side remote operation and maintenance tools are mainly divided into a graph operation and maintenance tool and a character operation and maintenance tool, common graph operation and maintenance tools such as a remote desktop connection of a windows system are realized based on an RDP (remote desktop protocol), and VNC viewer uses a VNC (virtual network computer) protocol to perform the graph operation and maintenance. The common character operation and maintenance tools are Xshell, Putty, SecureCRT and the like, and are connected with an operation and maintenance linux server by using an SSH protocol or a TELNET protocol.
In the traditional technology, due to the difference of remote protocol format data of various remote operation and maintenance tools, protocol data is recorded into a file, operation and maintenance playback needs to be independently analyzed according to different protocols, a player supported by customized installation is needed, and the hardware requirement is high.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an operation and maintenance data processing method, an operation and maintenance data processing apparatus, a computer device, a computer readable storage medium, and a computer program product, which do not require a player or a third party playing plug-in to be installed.
In a first aspect, the present application provides an operation and maintenance data processing method, including:
acquiring initial operation and maintenance data sent by an operation and maintenance terminal, and analyzing the initial operation and maintenance data to obtain an operation and maintenance image;
converting the operation and maintenance image into target operation and maintenance data in a target format;
and storing the target operation and maintenance data so that the monitoring terminal reads and displays the target operation and maintenance data.
In one embodiment, the obtaining initial operation and maintenance data sent by an operation and maintenance terminal and analyzing the initial operation and maintenance data to obtain an operation and maintenance image includes:
acquiring initial operation and maintenance data sent by an operation and maintenance terminal;
and carrying out protocol analysis on the initial operation and maintenance data to obtain an operation and maintenance image.
In one embodiment, the obtaining initial operation and maintenance data sent by an operation and maintenance terminal and analyzing the initial operation and maintenance data to obtain an operation and maintenance image includes:
acquiring initial operation and maintenance data sent by an operation and maintenance terminal;
constructing a virtual character terminal interface;
and rendering the initial operation and maintenance data to the virtual character terminal interface to obtain an operation and maintenance image.
In one embodiment, the rendering the initial operation and maintenance data to the virtual character terminal interface to obtain an operation and maintenance image includes:
acquiring feedback data of the operated and maintained resources corresponding to the operation and maintenance terminal;
and rendering the initial operation and maintenance data and the feedback data to the virtual character terminal interface to obtain an operation and maintenance image.
In one embodiment, after converting the operation and maintenance image into the target operation and maintenance data in the target format, the method further includes:
and compressing the target operation and maintenance data, wherein the compression comprises local refreshing and/or caching based on a layer caching mechanism.
In one embodiment, the storing the target operation and maintenance data to enable the monitoring terminal to read and display the target operation and maintenance data includes at least one of the following:
storing the target operation and maintenance data into a target file so that the monitoring terminal can read the target operation and maintenance data and play back the target operation and maintenance data; and
and storing the target operation and maintenance data to a message queue so that the monitoring terminal reads and displays the target operation and maintenance data in the message queue.
In a second aspect, the present application further provides an operation and maintenance data processing apparatus, including:
the operation and maintenance data acquisition module is used for acquiring initial operation and maintenance data sent by the operation and maintenance terminal and analyzing the initial operation and maintenance data to obtain an operation and maintenance image;
the format conversion module is used for converting the operation and maintenance image into target operation and maintenance data in a target format;
and the storage module is used for storing the target operation and maintenance data so that the monitoring terminal can read and display the target operation and maintenance data.
In a third aspect, the present application further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method in any one of the above embodiments when executing the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method in any of the above-described embodiments.
In a fifth aspect, the present application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the method in any of the embodiments described above.
According to the operation and maintenance data processing method, the operation and maintenance data processing device, the computer equipment, the storage medium and the computer program product, the operation and maintenance data sent by the operation and maintenance terminal are obtained, the operation and maintenance image is obtained by analyzing the initial operation and maintenance data, the operation and maintenance image is converted into the target operation and maintenance data in the target format, the target operation and maintenance data is stored, the monitoring terminal can directly read and display the operation and maintenance data, a player or a third-party playing plug-in is not needed to be installed, the operation and maintenance data can be directly played in a WEB browser, in addition, the initial operation and maintenance data of all the operation and maintenance terminals are processed by the server, and therefore, even if a new operation and maintenance terminal or a monitoring terminal is added subsequently, the operation and maintenance data processing method only needs to be configured, and the expandability is strong.
Drawings
FIG. 1 is a diagram of an application environment of a method for processing operation and maintenance data in one embodiment;
FIG. 2 is a schematic flow chart illustrating a method for processing operation and maintenance data according to an embodiment;
FIG. 3 is an interface diagram of an operation and maintenance interface in one embodiment;
FIG. 4 is a diagram illustrating an operation screen in one embodiment;
FIG. 5 is a diagram illustrating a character operation and maintenance interface, according to an embodiment;
FIG. 6 is a schematic view of a monitoring interface in one embodiment;
FIG. 7 is a schematic flow chart illustrating a method for processing operation and maintenance data according to another embodiment;
FIG. 8 is a block diagram of an embodiment of an operation and maintenance data processing apparatus;
FIG. 9 is a diagram of an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The operation and maintenance data processing method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. The operation and maintenance terminal 102 and the monitoring terminal 106 communicate with the server 104 through a network, and the resource server 108 communicates with the server 104. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104, or may be located on the cloud or other network server.
The operation and maintenance terminal 102 may remotely operate and maintain the resources in the resource server 108, for example, the operation and maintenance terminal 102 may obtain the authorized resource server 108 in advance, select a corresponding operation and maintenance tool to operate and maintain the resources therein, and the like. Wherein the operation and maintenance terminal 102 connects to the server 104 first, then the server 104 connects to the selected remote resource in the resource server 108, and then the operation and maintenance terminal 102 starts the operation and maintenance operation until the operation and maintenance operation is finished.
When the operation and maintenance terminal 102 performs the operation and maintenance operation, the initial operation and maintenance data is sent to the server 104 first, the server 104 sends the initial operation and maintenance data to the resource server 108, and similarly, the feedback data of the resource in the resource server 108 is also fed back to the operation and maintenance terminal 102 through the server 104. In one embodiment, the operation and maintenance terminal 102 displays an operation interface in the resource server 108 in real time.
The server 104 further analyzes the initial operation and maintenance data to obtain an operation and maintenance image, and converts the operation and maintenance image into target operation and maintenance data in a target format, so that the target operation and maintenance data is stored, and the monitoring terminal 106 reads and displays the target operation and maintenance data. In addition, the initial operation and maintenance data of all the operation and maintenance terminals are processed by the server, so that even if new operation and maintenance terminals or monitoring terminals are added subsequently, only configuration is needed, and the expandability is strong.
The operation and maintenance terminal 102 and the monitoring terminal 106 may be, but are not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The server 104 and the resource server 108 may be implemented by separate servers or a server cluster composed of a plurality of servers.
In an embodiment, as shown in fig. 2, an operation and maintenance data processing method is provided, which is described by taking the application of the method to the server in fig. 1 as an example, and includes the following steps:
s202: and acquiring initial operation and maintenance data sent by the operation and maintenance terminal, and analyzing the initial operation and maintenance data to obtain an operation and maintenance image.
Specifically, the initial operation and maintenance data refers to data obtained by the operation and maintenance terminal performing operation and maintenance processing on resources to be operated and maintained, and may include at least one of graphic operation and maintenance data and character operation and maintenance data.
The graphic operation and maintenance data refers to operation and maintenance data generated when the remote desktop is connected with resources to be operated and maintained for operation and maintenance. The character operation and maintenance data is operation and maintenance data generated when the resource to be operated and maintained is operated and maintained in a character operation and maintenance mode.
The operation and maintenance image is obtained by processing the initial operation and maintenance data, for example, the operation and maintenance image in the original image format is obtained by performing format conversion on the graphic operation and maintenance data, and the operation and maintenance image is obtained by performing image processing on the character operation and maintenance data.
In practical application, an operation and maintenance person operates an operation and maintenance terminal to select authorized resources to be operated and maintained for operation and maintenance operation. Specifically, referring to fig. 3, fig. 3 is an interface diagram of an operation and maintenance interface in an embodiment, where in the operation and maintenance interface, a corresponding resource and an operation and maintenance tool may be selected, where the operation and maintenance tool may include a remote desktop connection or a character operation and maintenance tool, such as a putty tool, and connect to the corresponding resource by opening a session, specifically, an operation and maintenance terminal connects to a server first, and then the server connects to a resource of a corresponding agent operation and maintenance. For example, the operation and maintenance terminal receives a resource and an operation and maintenance tool selection instruction, connects the selection instruction with the corresponding resource through the corresponding operation and maintenance tool, and performs operation and maintenance on the resource after connecting to the resource to generate initial operation and maintenance data.
S204: and converting the operation and maintenance image into target operation and maintenance data in a target format.
Specifically, the target format may be a preset format which can be displayed in real time by the monitoring terminal, wherein the server converts the operation and maintenance image into target operation and maintenance data in the target format, which is convenient for the monitoring terminal to display.
In one embodiment, the server may configure the target format in advance, for example, configure the corresponding target format according to the display format supported by the monitoring terminal. In one embodiment, the server may further configure the operation and maintenance terminal, for example, configure a processing mode, including an analysis mode and the like, of the initial operation and maintenance data of the corresponding operation and maintenance terminal according to the operation and maintenance mode of the operation and maintenance terminal, so as to implement extension of the system.
S206: and storing the target operation and maintenance data so that the monitoring terminal reads and displays the target operation and maintenance data.
Specifically, the storage of the target operation and maintenance data includes at least two modes, one is a corresponding playback monitoring mode, and the other is a corresponding real-time monitoring mode, where in the playback monitoring mode, the server stores the target operation and maintenance data into a corresponding operation and maintenance file, for example, the corresponding operation and maintenance file may be generated according to the operation and maintenance time, the operation and maintenance terminal, and the operated and maintained resource, and then the target operation and maintenance data generated in the operation and maintenance process is stored into the operation and maintenance file. In the real-time monitoring mode, the server stores the target operation and maintenance data into the message queue, so that the monitoring terminal directly acquires the target operation and maintenance data from the message queue and displays the target operation and maintenance data. The monitoring terminal firstly performs handshake with the server to establish a communication link, so that the subsequent monitoring terminal can read target monitoring data stored in a message queue in the server. The server can generate a plurality of message queues to store target operation and maintenance data of different operation and maintenance terminals, operation and maintenance resources and time, so that the monitoring terminal obtains the target operation and maintenance data in the corresponding message queues to avoid data confusion.
According to the operation and maintenance data processing method, the operation and maintenance image is obtained by obtaining the initial operation and maintenance data sent by the operation and maintenance terminal and analyzing the initial operation and maintenance data, the operation and maintenance image is converted into the target operation and maintenance data in the target format, the target operation and maintenance data are stored, the monitoring terminal can directly read and display the operation and maintenance image, a player or a third-party playing plug-in is not needed to be installed, the operation and maintenance image can be directly played in a WEB browser, in addition, the initial operation and maintenance data of all the operation and maintenance terminals are processed by the server, and only configuration is needed even if a new operation and maintenance terminal or a monitoring terminal is added subsequently, and the expandability is strong.
In one embodiment, the obtaining initial operation and maintenance data sent by an operation and maintenance terminal, and analyzing the initial operation and maintenance data to obtain an operation and maintenance image includes: acquiring initial operation and maintenance data sent by an operation and maintenance terminal; and carrying out protocol analysis on the initial operation and maintenance data to obtain an operation and maintenance image.
Specifically, in this embodiment, a graphic operation and maintenance mode is described, in this embodiment, an operation and maintenance terminal and a resource to be operated and maintained perform operation and maintenance in a remote mode, the operation and maintenance terminal sends initial operation and maintenance data to a server through a preset protocol, and then the server analyzes the initial operation and maintenance data to obtain data with an original pixel data format of 32-bit RGBA format.
The points to be explained are: the initial operation and maintenance data sent by the operation and maintenance terminal is graphical data, that is, an operation and maintenance picture, specifically, refer to fig. 4, where fig. 4 is a schematic diagram of the operation and maintenance picture in an embodiment, where the operation and maintenance terminal acquires the operation and maintenance picture, then codes the operation and maintenance picture according to a protocol, and sends the coded operation and maintenance picture to the server, and the server analyzes the coded operation and maintenance picture to obtain an operation and maintenance image.
In one embodiment, the obtaining initial operation and maintenance data sent by an operation and maintenance terminal, and analyzing the initial operation and maintenance data to obtain an operation and maintenance image includes: acquiring initial operation and maintenance data sent by an operation and maintenance terminal; constructing a virtual character terminal interface; and rendering the initial operation and maintenance data to a virtual character terminal interface to obtain an operation and maintenance image.
In one embodiment, rendering the initial operation and maintenance data to a virtual character terminal interface to obtain an operation and maintenance image includes: acquiring feedback data of the operated and maintained resources corresponding to the operation and maintenance terminal; and rendering the initial operation and maintenance data and the feedback data to a virtual character terminal interface to obtain an operation and maintenance image.
Specifically, the virtual character terminal interface is a generated virtual terminal interface, and is used for combining with the initial operation and maintenance data to obtain an operation and maintenance image. The virtual character terminal interface may be a virtual character terminal interface generated by the server interacting with the operation and maintenance terminal to obtain interface parameters of the operation and maintenance terminal, such as height, width, layer index, and the like, and then according to the interface parameters. In other embodiments, the server may preset interface parameters, and generate the virtual character terminal interface through unified interface parameters.
And then the server renders the initial operation and maintenance data to a virtual character terminal interface to obtain an operation and maintenance image. In one embodiment, the server further receives feedback data sent by the to-be-run-dimensional resource, and renders the feedback data into the virtual character terminal interface. Specifically, referring to fig. 5, fig. 5 is a schematic diagram of a character operation and maintenance interface in an embodiment, in the embodiment, the character operation and maintenance interface not only displays initial operation and maintenance data sent by an operation and maintenance terminal, but also displays feedback data sent by a resource to be operated and maintained.
In the above embodiment, the initial operation and maintenance data is analyzed into the corresponding operation and maintenance image, and then the operation and maintenance image is stored, so that playback or real-time monitoring is facilitated.
In one embodiment, after converting the operation and maintenance image into the target operation and maintenance data in the target format, the method further includes: and compressing the target operation and maintenance data, wherein the compression comprises local refreshing and/or caching based on a layer caching mechanism.
Specifically, the server also compresses the target operation and maintenance data to reduce the data storage space. In one embodiment, the local refresh processing refers to that, in different time periods, the static region and the dynamic region are obtained by comparison, and the static region is not refreshed, but only the dynamic region is refreshed. In one embodiment, the layer caching based mechanism refers to indexing layers, so that historical data does not need to be stored again, and the data storage space is reduced.
In the above embodiment, the target operation and maintenance data converted into the target format is compressed to reduce the data storage space.
In one embodiment, the storing the target operation and maintenance data to enable the monitoring terminal to read and display the target operation and maintenance data includes at least one of the following: storing the target operation and maintenance data into a target file so that the monitoring terminal reads the target operation and maintenance data and plays back the target operation and maintenance data; and storing the target operation and maintenance data into the message queue so that the monitoring terminal reads and displays the target operation and maintenance data in the message queue.
Specifically, two storage modes of the target operation and maintenance data are provided in this embodiment, and respectively correspond to two display modes of the target operation and maintenance data, one is real-time display, and the other is playback display.
In one embodiment, as shown in fig. 6, fig. 6 is a schematic view of monitoring display in a character operation and maintenance mode in an embodiment, in this embodiment, a display interface shown in fig. 6 is obtained by reading and displaying target operation and maintenance data, so that a monitoring person can conveniently perform auditing.
The online real-time monitoring can be that online operation and maintenance personnel are checked in a WEB browser system, online monitoring is clicked, and operation and maintenance operations of the current operation and maintenance personnel are monitored in real time. The post audit playback can be to check the operation and maintenance records of the operation and maintenance personnel, select the playback and play back the operation and maintenance pictures of the operation and maintenance personnel in the whole process.
In one embodiment, for post audit playback flow: the server receives a playback request of the monitoring terminal, wherein the playback request carries at least one of an operation and maintenance terminal identifier, operation and maintenance time, an operation and maintenance resource identifier and the like, so that the server inquires a file where corresponding target operation and maintenance data are located according to information carried in the playback request, and sends the target operation and maintenance data in the file to the monitoring terminal for displaying.
In one embodiment, for the process of online real-time monitoring, see fig. 6, where the monitoring terminal establishes an advanced communication link with the server, specifically, the monitoring terminal sends a link request to the server, where the link request carries at least one of an operation and maintenance terminal identifier, an operation and maintenance time, an operation and maintenance resource identifier, and the like, so that the server returns a corresponding result of establishing a link according to the link request, and thus, a handshake between the terminal and the server is successful, and data transmission is started. The server sends initialization data to the monitoring terminal, wherein the initialization data comprises picture width, height, layer index and the like, so that the terminal can perform rendering, after the rendering, the server sends target operation and maintenance data, such as PNG (portable network generator) format data stream coded by BASE64, to the monitoring terminal, the monitoring terminal starts to display the monitoring picture, and finally, the connection is disconnected after the display is finished. The target operation and maintenance data of the server side are obtained from the operation and maintenance terminal and stored in the corresponding message queues, and when the target operation and maintenance data are stored, the server can group the target operation and maintenance data to set different message queues for storage, so that when the monitoring terminal obtains the target operation and maintenance data, the monitoring terminal can directly obtain the target operation and maintenance data from the corresponding message queues.
In the embodiment, different monitoring modes are provided, so that the online real-time monitoring can be realized, and the audit playback can be carried out afterwards.
In order to enable those skilled in the art to fully understand the present application, referring to fig. 7, fig. 7 is a flowchart of an operation and maintenance data processing method in another embodiment, where a monitoring terminal receives a selection instruction input by an operation and maintenance worker, where the selection instruction carries an identifier of a resource to be operated and maintained, an operation and maintenance tool, and the like, and thus the monitoring terminal selects a corresponding operation and maintenance tool and connects to the resource to be operated and maintained. For example, a session is opened by clicking a remote desktop connection or a push, and the connection is started, where the monitoring terminal is first connected to the server, and then connected to the corresponding remote resource through the server. And then starting the operation and maintenance operation until the operation and maintenance operation is finished and exiting. The monitoring terminal can be used for online real-time monitoring and afterwards auditing and replaying, and comprises the following steps: and checking online operation and maintenance personnel in the WEB browser system, clicking online monitoring, and monitoring the operation and maintenance operation of the current operation and maintenance personnel in real time. And checking the operation and maintenance records of the operation and maintenance personnel, selectively playing back, and playing back the operation and maintenance pictures of the operation and maintenance personnel in the whole process.
Specifically, the operation and maintenance terminal selects a resource and an operation and maintenance tool, opens a session, connects to the corresponding resource, and performs operation and maintenance operation. For convenience, the servers may be processed by a server cluster or the like, and for example, the servers are divided into servers for parsing and servers for transcoding and data output. The operation and maintenance terminal is connected to the server, for example, the operation and maintenance terminal is connected to the server through a remote desktop, the server analyzes the RDP protocol data to convert and obtain RGBA data with an original pixel data format of 32 bits, namely, an operation and maintenance image, when the operation and maintenance is carried out in a character mode, the server obtains character data, for example, VNC protocol data, then decodes the character data to obtain BGRA data in a rectangular area, and then converts the BGRA data into the RGBA data with 32 bits. Or a virtual character terminal is constructed, the same theme font format as the original terminal is adopted, and the RGBA data is finally rendered.
The server encodes and compresses the 32-bit RGBA data, converts the RGBA data into a target format, such as a PNG format picture data stream natively supported by an HTML5 browser, and further compresses the data by adopting a local refreshing and layer caching mechanism.
And finally, the server outputs the compressed data, for example, writing the data into a file for storage, or constructing virtual handshake connection data, and pushing the data cache to a message queue. In one embodiment, the server analyzes various remote protocols to obtain an original pixel format, then transmits data to the transcoding component for data transcoding and data compression, the obtained compressed data are respectively output to the file storage and the message queue, and the browser front-end system reads the message queue data and the screen recording file to realize online monitoring and audit playback.
In the embodiment, the screen recording formats of various common client operation and maintenance tools are unified, a player or a third-party playing plug-in is not required to be installed, and the operation and maintenance tools can be directly played in a WEB browser, so that the data format uniformity is ensured. Various common client operation and maintenance tools can be added and configured, and the expandability is strong. The online monitoring does not need to transcode the streaming media format data and additionally configure the streaming media server, and the resource expense is low. And the real-time online monitoring with low delay is more efficient. In addition, a local refreshing mode and a cache optimization mechanism are adopted, so that the compression rate of the screen recording format is high, the CPU resource consumption is low, and a large amount of storage space and transmission bandwidth are saved under the condition of not losing the image quality.
It should be understood that, although the steps in the flowcharts related to the embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily executed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the above embodiments may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides an operation and maintenance data processing apparatus for implementing the operation and maintenance data processing method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so that specific limitations in one or more embodiments of the operation and maintenance data processing device provided below may refer to the limitations on the operation and maintenance data processing method in the foregoing description, and details are not described here.
In one embodiment, as shown in fig. 8, there is provided an operation and maintenance data processing apparatus, including: an operation and maintenance data obtaining module 801, a format conversion module 802 and a storage module 803, wherein:
the operation and maintenance data obtaining module 801 is configured to obtain initial operation and maintenance data sent by the operation and maintenance terminal, and analyze the initial operation and maintenance data to obtain an operation and maintenance image.
And a format conversion module 802, configured to convert the operation and maintenance image into target operation and maintenance data in a target format.
The storage module 803 is configured to store the target operation and maintenance data, so that the monitoring terminal reads and displays the target operation and maintenance data.
In one embodiment, the operation and maintenance data obtaining module 801 may include:
and the initial operation and maintenance data acquisition unit is used for acquiring the initial operation and maintenance data sent by the operation and maintenance terminal.
And the analysis unit is used for carrying out protocol analysis on the initial operation and maintenance data to obtain an operation and maintenance image.
In one embodiment, the operation and maintenance data obtaining module 801 may include:
the initial operation and maintenance data acquisition unit is used for acquiring initial operation and maintenance data sent by the operation and maintenance terminal;
and the interface construction unit is used for constructing a virtual character terminal interface.
And the operation and maintenance image generation unit is used for rendering the initial operation and maintenance data to the virtual character terminal interface to obtain an operation and maintenance image.
In one embodiment, the operation and maintenance image generation unit includes:
and the feedback data acquisition subunit is used for acquiring the feedback data of the operated and maintained resource corresponding to the operation and maintenance terminal.
And the operation and maintenance image generation subunit is used for rendering the initial operation and maintenance data and the feedback data to the virtual character terminal interface to obtain an operation and maintenance image.
In one embodiment, the operation and maintenance data processing apparatus further includes:
and the compression module is used for compressing the target operation and maintenance data, and the compression processing comprises local refreshing processing and/or caching processing based on a layer caching mechanism.
In one embodiment, the storage module 803 is configured to store the target operation and maintenance data according to at least one of the following: storing the target operation and maintenance data into a target file so that the monitoring terminal reads the target operation and maintenance data and plays back the target operation and maintenance data; and storing the target operation and maintenance data into the message queue so that the monitoring terminal reads and displays the target operation and maintenance data in the message queue.
The modules in the operation and maintenance data processing device may be implemented wholly or partially by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure thereof may be as shown in fig. 9. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the target operation and maintenance data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an operation and maintenance data processing method.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: acquiring initial operation and maintenance data sent by an operation and maintenance terminal, and analyzing the initial operation and maintenance data to obtain an operation and maintenance image; converting the operation and maintenance image into target operation and maintenance data in a target format; and storing the target operation and maintenance data so that the monitoring terminal reads and displays the target operation and maintenance data.
In one embodiment, the acquiring initial operation and maintenance data sent by the operation and maintenance terminal and analyzing the initial operation and maintenance data to obtain the operation and maintenance image when the processor executes the computer program includes: acquiring initial operation and maintenance data sent by an operation and maintenance terminal; and carrying out protocol analysis on the initial operation and maintenance data to obtain an operation and maintenance image.
In one embodiment, the acquiring initial operation and maintenance data sent by an operation and maintenance terminal and analyzing the initial operation and maintenance data to obtain an operation and maintenance image when a processor executes a computer program includes: acquiring initial operation and maintenance data sent by an operation and maintenance terminal; constructing a virtual character terminal interface; and rendering the initial operation and maintenance data to a virtual character terminal interface to obtain an operation and maintenance image.
In one embodiment, the rendering of the initial operation and maintenance data to the virtual character terminal interface to obtain the operation and maintenance image, which is implemented when the processor executes the computer program, includes: acquiring feedback data of the operated and maintained resources corresponding to the operation and maintenance terminal; and rendering the initial operation and maintenance data and the feedback data to a virtual character terminal interface to obtain an operation and maintenance image.
In one embodiment, after the processor converts the operation and maintenance image into the target operation and maintenance data in the target format, the processor executes the computer program, the method further includes: and compressing the target operation and maintenance data, wherein the compression comprises local refreshing and/or caching based on a layer caching mechanism.
In one embodiment, the storing the target operation and maintenance data, which is implemented when the processor executes the computer program, so that the monitoring terminal reads and displays the target operation and maintenance data, includes at least one of the following: storing the target operation and maintenance data into a target file so that the monitoring terminal reads the target operation and maintenance data and plays back the target operation and maintenance data; and storing the target operation and maintenance data into the message queue so that the monitoring terminal reads and displays the target operation and maintenance data in the message queue.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring initial operation and maintenance data sent by an operation and maintenance terminal, and analyzing the initial operation and maintenance data to obtain an operation and maintenance image; converting the operation and maintenance image into target operation and maintenance data in a target format; and storing the target operation and maintenance data so that the monitoring terminal reads and displays the target operation and maintenance data.
In one embodiment, the obtaining of the initial operation and maintenance data sent by the operation and maintenance terminal and the analyzing of the initial operation and maintenance data to obtain the operation and maintenance image when the computer program is executed by the processor includes: acquiring initial operation and maintenance data sent by an operation and maintenance terminal; and carrying out protocol analysis on the initial operation and maintenance data to obtain an operation and maintenance image.
In one embodiment, the obtaining of the initial operation and maintenance data sent by the operation and maintenance terminal and the analyzing of the initial operation and maintenance data to obtain the operation and maintenance image when the computer program is executed by the processor includes: acquiring initial operation and maintenance data sent by an operation and maintenance terminal; constructing a virtual character terminal interface; and rendering the initial operation and maintenance data to a virtual character terminal interface to obtain an operation and maintenance image.
In one embodiment, the rendering of the initial operation and maintenance data to the virtual character terminal interface to obtain the operation and maintenance image, implemented when the computer program is executed by the processor, includes: acquiring feedback data of the operated and maintained resources corresponding to the operation and maintenance terminal; and rendering the initial operation and maintenance data and the feedback data to a virtual character terminal interface to obtain an operation and maintenance image.
In one embodiment, the computer program, when executed by the processor, after converting the operation and maintenance image into the target operation and maintenance data in the target format, further includes: and compressing the target operation and maintenance data, wherein the compression comprises local refreshing and/or caching based on a layer caching mechanism.
In one embodiment, the storing the target operation and maintenance data, which is implemented when the computer program is executed by the processor, so that the monitoring terminal reads and displays the target operation and maintenance data, includes at least one of the following: storing the target operation and maintenance data into a target file so that the monitoring terminal reads the target operation and maintenance data and plays back the target operation and maintenance data; and storing the target operation and maintenance data into the message queue so that the monitoring terminal reads and displays the target operation and maintenance data in the message queue.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of: acquiring initial operation and maintenance data sent by an operation and maintenance terminal, and analyzing the initial operation and maintenance data to obtain an operation and maintenance image; converting the operation and maintenance image into target operation and maintenance data in a target format; and storing the target operation and maintenance data so that the monitoring terminal reads and displays the target operation and maintenance data.
In one embodiment, the obtaining of the initial operation and maintenance data sent by the operation and maintenance terminal and the analyzing of the initial operation and maintenance data to obtain the operation and maintenance image when the computer program is executed by the processor includes: acquiring initial operation and maintenance data sent by an operation and maintenance terminal; and carrying out protocol analysis on the initial operation and maintenance data to obtain an operation and maintenance image.
In one embodiment, the obtaining of the initial operation and maintenance data sent by the operation and maintenance terminal and the analyzing of the initial operation and maintenance data to obtain the operation and maintenance image when the computer program is executed by the processor includes: acquiring initial operation and maintenance data sent by an operation and maintenance terminal; constructing a virtual character terminal interface; and rendering the initial operation and maintenance data to a virtual character terminal interface to obtain an operation and maintenance image.
In one embodiment, the rendering of the initial operation and maintenance data to the virtual character terminal interface to obtain the operation and maintenance image, implemented when the computer program is executed by the processor, includes: acquiring feedback data of an operated and maintained resource corresponding to the operation and maintenance terminal; and rendering the initial operation and maintenance data and the feedback data to a virtual character terminal interface to obtain an operation and maintenance image.
In one embodiment, the computer program, when executed by the processor, after converting the operation and maintenance image into the target operation and maintenance data in the target format, further includes: and compressing the target operation and maintenance data, wherein the compression comprises local refreshing and/or caching based on a layer caching mechanism.
In one embodiment, the storing the target operation and maintenance data, which is implemented when the computer program is executed by the processor, so that the monitoring terminal reads and displays the target operation and maintenance data, includes at least one of the following: storing the target operation and maintenance data into a target file so that the monitoring terminal reads the target operation and maintenance data and plays back the target operation and maintenance data; and storing the target operation and maintenance data into the message queue so that the monitoring terminal reads and displays the target operation and maintenance data in the message queue.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the various embodiments provided herein may be, without limitation, general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, or the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. An operation and maintenance data processing method, characterized in that the method comprises:
acquiring initial operation and maintenance data sent by an operation and maintenance terminal, and analyzing the initial operation and maintenance data to obtain an operation and maintenance image;
converting the operation and maintenance image into target operation and maintenance data in a target format;
and storing the target operation and maintenance data so that the monitoring terminal reads and displays the target operation and maintenance data.
2. The method according to claim 1, wherein the obtaining initial operation and maintenance data sent by an operation and maintenance terminal and analyzing the initial operation and maintenance data to obtain an operation and maintenance image comprises:
acquiring initial operation and maintenance data sent by an operation and maintenance terminal;
and carrying out protocol analysis on the initial operation and maintenance data to obtain an operation and maintenance image.
3. The method according to claim 1, wherein the obtaining initial operation and maintenance data sent by an operation and maintenance terminal and analyzing the initial operation and maintenance data to obtain an operation and maintenance image comprises:
acquiring initial operation and maintenance data sent by an operation and maintenance terminal;
constructing a virtual character terminal interface;
and rendering the initial operation and maintenance data to the virtual character terminal interface to obtain an operation and maintenance image.
4. The method of claim 3, wherein the rendering the initial operation and maintenance data to the virtual character terminal interface to obtain an operation and maintenance image comprises:
acquiring feedback data of the operated and maintained resources corresponding to the operation and maintenance terminal;
and rendering the initial operation and maintenance data and the feedback data to the virtual character terminal interface to obtain an operation and maintenance image.
5. The method according to any one of claims 1 to 4, wherein after converting the operation and maintenance image into the target operation and maintenance data in the target format, the method further comprises:
and compressing the target operation and maintenance data, wherein the compression comprises local refreshing and/or caching based on a layer caching mechanism.
6. The method according to any one of claims 1 to 4, wherein the storing the target operation and maintenance data to enable a monitoring terminal to read and display the target operation and maintenance data comprises at least one of:
storing the target operation and maintenance data into a target file so that the monitoring terminal can read the target operation and maintenance data and play back the target operation and maintenance data; and
and storing the target operation and maintenance data to a message queue so that the monitoring terminal reads and displays the target operation and maintenance data in the message queue.
7. An operation and maintenance data processing apparatus, characterized in that the apparatus comprises:
the operation and maintenance data acquisition module is used for acquiring initial operation and maintenance data sent by the operation and maintenance terminal and analyzing the initial operation and maintenance data to obtain an operation and maintenance image;
the format conversion module is used for converting the operation and maintenance image into target operation and maintenance data in a target format;
and the storage module is used for storing the target operation and maintenance data so that the monitoring terminal can read and display the target operation and maintenance data.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 6 when executed by a processor.
CN202210361812.3A 2022-04-07 2022-04-07 Operation and maintenance data processing method, device, equipment, storage medium and program product Pending CN114721905A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210361812.3A CN114721905A (en) 2022-04-07 2022-04-07 Operation and maintenance data processing method, device, equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210361812.3A CN114721905A (en) 2022-04-07 2022-04-07 Operation and maintenance data processing method, device, equipment, storage medium and program product

Publications (1)

Publication Number Publication Date
CN114721905A true CN114721905A (en) 2022-07-08

Family

ID=82241535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210361812.3A Pending CN114721905A (en) 2022-04-07 2022-04-07 Operation and maintenance data processing method, device, equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN114721905A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086188A (en) * 2022-07-22 2022-09-20 深圳竹云科技股份有限公司 Graph operation and maintenance playback method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086188A (en) * 2022-07-22 2022-09-20 深圳竹云科技股份有限公司 Graph operation and maintenance playback method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US11120677B2 (en) Transcoding mixing and distribution system and method for a video security system
CN102741830B (en) For the system and method that the client-side of media stream remotely presents
CN108989885B (en) Video file transcoding system, segmentation method, transcoding method and device
US7839401B2 (en) Management of enterprise systems and applications using three-dimensional visualization technology
WO2022257699A1 (en) Image picture display method and apparatus, device, storage medium and program product
US8407565B2 (en) System and method for producing importance rate-based rich media, and server applied to the same
US20130254417A1 (en) System method device for streaming video
KR100889367B1 (en) System and Method for Realizing Vertual Studio via Network
CN110633436B (en) Visual and user-defined panoramic editing method, system, storage medium and equipment
CN108924582A (en) Video recording method, computer readable storage medium and recording and broadcasting system
CN110856036A (en) Remote desktop implementation method, interaction method, device, equipment and storage medium
CN101258478A (en) High level graphics stream
EP3614231A1 (en) Method and apparatus for determining quality of experience of vr multi-media
CN110891084A (en) Thin client remote desktop control system based on autonomous HVDP protocol
US11689749B1 (en) Centralized streaming video composition
CN114721905A (en) Operation and maintenance data processing method, device, equipment, storage medium and program product
CN115550687A (en) Three-dimensional model scene interaction method, system, equipment, device and storage medium
CN113973224B (en) Media information transmission method, computing device and storage medium
CN114205680A (en) Video cover display method and device, equipment, medium and product thereof
CN114222156A (en) Video editing method, video editing device, computer equipment and storage medium
Deboosere et al. Thin client computing solutions in low-and high-motion scenarios
CN114302176A (en) Video playing method and device
JP2007519074A (en) Protocol for remote visual composition
CN115052043B (en) Video transmission method, electronic equipment, device and medium of cloud desktop
CN114866801B (en) Video data processing method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination