CN116594834A - Operation and maintenance data processing method and device for multi-protocol server - Google Patents

Operation and maintenance data processing method and device for multi-protocol server Download PDF

Info

Publication number
CN116594834A
CN116594834A CN202310393729.9A CN202310393729A CN116594834A CN 116594834 A CN116594834 A CN 116594834A CN 202310393729 A CN202310393729 A CN 202310393729A CN 116594834 A CN116594834 A CN 116594834A
Authority
CN
China
Prior art keywords
data
monitoring data
monitoring
index
server
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
CN202310393729.9A
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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202310393729.9A priority Critical patent/CN116594834A/en
Publication of CN116594834A publication Critical patent/CN116594834A/en
Pending legal-status Critical Current

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application relates to a method and a device for processing operation and maintenance data of a multi-protocol server, wherein the method comprises the following steps: receiving a monitoring instruction, and acquiring monitoring data from a target server in the multi-protocol server according to the monitoring instruction; adding an index corresponding to the target server to the monitoring data to obtain monitoring data containing the index, and storing the monitoring data containing the index into a time sequence database; and receiving the operation and maintenance instruction, selecting a data operation statement corresponding to the operation and maintenance instruction in the time sequence database, executing the data operation statement, and performing data processing operation on the monitoring data containing the index. The method can realize the collection, storage and processing of the data of the target server in the multi-protocol server, so that the system applying the multi-protocol server can be monitored and operated.

Description

Operation and maintenance data processing method and device for multi-protocol server
Technical Field
The present application relates to the field of server operation and maintenance technologies, and in particular, to a method and an apparatus for processing operation and maintenance data of a multi-protocol server.
Background
With the development of technology, the normal operation of the server is related to the normal operation of various business of enterprises, and especially in the large scene of a system and a platform composed of multiple servers, how to automatically monitor and operate the server is an important problem that various large manufacturers have to face.
In the prior art, the mature technology for monitoring the server has an SNMP protocol and a mode of implanting proxy service into the target server, and the two monitoring modes have advantages and disadvantages, wherein the SNMP protocol does not need to be implanted into the target server, but the target server is required to support and start the SNMP protocol; the proxy service needs to be additionally implanted into the target server, but can amplify the monitoring indexes according to the requirements, and the proxy service and the target server are suitable for different deployment scenes. The existing operation and maintenance system cannot automatically process data of a plurality of servers deployed with different protocols, and therefore the subsequent operation and maintenance are hindered.
Disclosure of Invention
Based on this, it is necessary to provide a method and a device for processing operation data of a multi-protocol server, which are capable of implementing efficient processing of data of a target server in the multi-protocol server by adding an index to the acquired monitoring data and selecting a corresponding data operation statement to process the monitoring data including the index.
In a first aspect, the present application provides a method for processing operation and data for a multi-protocol server. The method comprises the following steps:
receiving a monitoring instruction, and acquiring monitoring data from a target server in a multi-protocol server according to the monitoring instruction;
adding an index corresponding to the target server to the monitoring data to obtain monitoring data containing the index, and storing the monitoring data containing the index into a time sequence database;
and receiving an operation and maintenance instruction, selecting a data operation statement which is prestored in the time sequence database and corresponds to the operation and maintenance instruction, and executing the data operation statement to perform data processing operation on the monitoring data containing the index.
In one embodiment, the receiving the monitoring instruction, according to the monitoring instruction, obtains monitoring data from a target server in the multiprotocol server, including:
receiving a monitoring instruction, analyzing the monitoring instruction, and selecting a target server for acquiring monitoring data from the multi-protocol servers according to an analysis result;
determining a target protocol type used by the target server;
monitoring data is acquired from the target server based on the target protocol type.
In one embodiment, the obtaining monitoring data from the target server based on the target protocol type includes:
if the target protocol type belongs to a first protocol, acquiring monitoring data from the target server by using an object identifier;
and if the target protocol type belongs to a second protocol, calling an instruction prestored in the target server to acquire the monitoring data.
In one embodiment, if the target protocol type belongs to the first protocol, acquiring the monitoring data from the target server by using the object identifier includes:
obtaining a monitoring data set from the target protocol server through a first object identifier;
monitoring data is acquired from the monitoring data set by means of a second object identifier.
In one embodiment, if the target protocol type belongs to a second protocol, invoking a data extraction instruction pre-stored in the target server to obtain the monitoring data includes:
if the target protocol type belongs to a second protocol, determining a data extraction instruction from the target server according to the analysis result;
and executing the data extraction instruction, and acquiring monitoring data in the target server.
In one embodiment, the adding an index corresponding to the target server to the monitoring data to obtain monitoring data including an index, and storing the monitoring data including the index to a time sequence database includes:
generating index information based on the target server to which the monitoring data belongs, and adding the index information into the monitoring data to obtain monitoring data containing indexes;
and storing the monitoring data containing the index into a time sequence database according to time sequence.
In one embodiment, the receiving the operation and maintenance instruction, selecting a data operation statement pre-stored in the time sequence database and corresponding to the operation and maintenance instruction, executing the data operation statement to perform a data processing operation on the monitoring data including the index, and includes:
receiving an operation and maintenance instruction, and selecting a pre-stored data operation statement corresponding to the operation and maintenance instruction from the time sequence database;
selecting an index corresponding to the operation and maintenance instruction, and selecting monitoring data corresponding to the index data from the time sequence database;
executing the data operation statement to perform data processing operation on the monitoring data.
In a second aspect, the present application also provides a operation and data processing apparatus for a multiprotocol server, the apparatus comprising:
the data acquisition module is used for receiving the monitoring instruction and acquiring monitoring data from a target server in the multi-protocol server according to the monitoring instruction;
the data storage module is used for adding an index corresponding to the target server to the monitoring data to obtain monitoring data containing the index, and storing the monitoring data containing the index into a time sequence database;
the data operation module is used for receiving the operation and maintenance instruction, selecting a data operation statement pre-stored in the time sequence database and corresponding to the operation and maintenance instruction, and executing the data operation statement to perform data processing operation on the monitoring data containing the index.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
receiving a monitoring instruction, and acquiring monitoring data from a target server in a multi-protocol server according to the monitoring instruction;
adding an index corresponding to the target server to the monitoring data to obtain monitoring data containing the index, and storing the monitoring data containing the index into a time sequence database;
and receiving an operation and maintenance instruction, selecting a data operation statement which is prestored in the time sequence database and corresponds to the operation and maintenance instruction, and executing the data operation statement to perform data processing operation on the monitoring data containing the index.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
receiving a monitoring instruction, and acquiring monitoring data from a target server in a multi-protocol server according to the monitoring instruction;
adding an index corresponding to the target server to the monitoring data to obtain monitoring data containing the index, and storing the monitoring data containing the index into a time sequence database;
and receiving an operation and maintenance instruction, selecting a data operation statement which is prestored in the time sequence database and corresponds to the operation and maintenance instruction, and executing the data operation statement to perform data processing operation on the monitoring data containing the index.
According to the operation and maintenance data processing method and device for the multi-protocol server, the monitoring data are obtained from the multi-protocol server through the monitoring instruction, the index corresponding to the target server is added to the monitoring data, the application layer can conveniently and directly take unified data, the data operation statement corresponding to the operation and maintenance instruction is selected and executed, the processing operation of the monitoring data is completed, and the acquisition, storage and processing of the target server data in the multi-protocol server are realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is an application environment diagram of a method of operation and data processing for a multi-protocol server in one embodiment;
FIG. 2 is a flow diagram of a method of processing operation and data for a multi-protocol server in one embodiment;
FIG. 3 is a flow chart of a method of processing operation and data for a multi-protocol server in accordance with a preferred embodiment;
FIG. 4 is a block diagram of an operation and data processing apparatus for a multi-protocol server in one embodiment;
fig. 5 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application. All other embodiments, which can be made by a person of ordinary skill in the art based on the embodiments provided by the present application without making any inventive effort, are intended to fall within the scope of the present application.
It is apparent that the drawings in the following description are only some examples or embodiments of the present application, and it is possible for those of ordinary skill in the art to apply the present application to other similar situations according to these drawings without inventive effort. Moreover, it should be appreciated that while such a development effort might be complex and lengthy, it would nevertheless be a routine undertaking of design, fabrication, or manufacture for those of ordinary skill having the benefit of this disclosure, and thus should not be construed as having the benefit of this disclosure.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly and implicitly understood by those of ordinary skill in the art that the described embodiments of the application can be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. The terms "a," "an," "the," and similar referents in the context of the application are not to be construed as limiting the quantity, but rather as singular or plural. The terms "comprising," "including," "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to only those steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The terms "connected," "coupled," and the like in connection with the present application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as used herein means two or more. "and/or" describes an integration relationship of an integration object, meaning that there may be three relationships, e.g., "a and/or B" may mean: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the front-to-back integration object is an "or" relationship. The terms "first," "second," "third," and the like, as used herein, are merely distinguishing between similar objects and not representing a particular ordering of objects.
The method embodiments provided in the present embodiment may be executed in a terminal, a computer, or similar computing device. For example, running on a terminal, fig. 1 is a block diagram of the hardware structure of the terminal for the operation data processing method of the multi-protocol server of the present embodiment. As shown in fig. 1, the terminal may include one or more (only one is shown in fig. 1) processors 102 and a memory 104 for storing data, wherein the processors 102 may include, but are not limited to, a microprocessor MCU, a programmable logic device FPGA, or the like. The terminal may also include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and is not intended to limit the structure of the terminal. For example, the terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to the operation data processing method for a multiprotocol server in the present embodiment, and the processor 102 performs various functional applications and data processing by running the computer program stored in the memory 104, that is, implements the above-described method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. The network includes a wireless network provided by a communication provider of the terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
In this embodiment, there is provided a method for processing operation data of a multi-protocol server, and fig. 2 is a flowchart of the method for processing operation data of a multi-protocol server according to this embodiment, as shown in fig. 2, the flowchart includes the steps of:
step S210, a monitoring instruction is received, and monitoring data is obtained from a target server in the multi-protocol server according to the monitoring instruction.
Wherein, the multi-protocol server refers to that in a system formed by a plurality of servers, different network management protocols are configured on each server. Available network management protocols include simple network management protocol (SNMP, simple Network Management Protocol), proxy protocol, and the like.
For a server to which the SNMP protocol is added, the data collection server uses an SNMP service that supports SNMPv1, SNMPv2c, and SNMPv3 main stream protocols and supports collection of data by profile extension, and interaction with a target server is achieved by an object identifier (OID, object Identifier), obtaining monitoring data.
For the server added with the proxy protocol, the proxy service is implanted into the target server through the secure file transfer protocol (SFTP, secure File Transfer Protocol), and the proxy service does not affect the main service of the target server, and occupies the memory within 20Mb and CPU within 10%. The data acquisition server acquires monitoring data of the target server through a restful protocol at regular time.
The monitoring data comprise operation data of the target server, and specifically comprise: cpu usage (cpu usage of each core, total usage), memory usage (total physical memory, usage, total virtual memory, usage), network card information (basic information of each network card, sending and receiving information, etc.), disk IO, process usage, file partition usage.
Step S220, adding an index corresponding to the target server to the monitoring data to obtain monitoring data containing the index, and storing the monitoring data containing the index to a time sequence database.
Wherein, ensuring uniform index of all data to realize data association; the collected monitoring data containing the index is stored in the time sequence database in time sequence, and the operation and maintenance system supports a certain monitoring item to view historical data so as to analyze the operation condition of the monitoring item from time latitude.
Step S230, receiving the operation and maintenance instruction, selecting a data operation statement corresponding to the operation and maintenance instruction in the time sequence database, executing the data operation statement, and performing data processing operation on the monitoring data containing the index.
The data operation sentences are embedded according to different protocols used when data are acquired, so that the data acquired in different acquisition modes can be processed; the processing operation comprises the operations of inquiring, deleting or changing the monitoring data.
In the operation and maintenance data processing method for the multi-protocol server, the monitoring data is acquired from the multi-protocol server through the monitoring instruction, the index corresponding to the target server is added to the monitoring data, the application layer can conveniently and directly take unified data, the data operation statement corresponding to the operation and maintenance instruction is selected and executed, the processing operation of the monitoring data is completed, and the acquisition, storage and processing of the target server data in the multi-protocol server are realized.
In one embodiment, based on the step S210, a monitoring instruction is received, and monitoring data is obtained from a target server in the multiprotocol server according to the monitoring instruction, which may specifically include the following steps:
step S211, receiving a monitoring instruction, analyzing the monitoring instruction, and selecting a target server for acquiring monitoring data from the multi-protocol servers according to the analysis result.
The monitoring instruction comprises target server information, acquisition mode information, acquisition period information and acquisition configuration information. The target server information includes target server IP information and the like; according to the acquisition mode information, a data operation statement matched with the acquisition protocol used by the target server can be obtained; the required monitoring data can be periodically obtained from the target server according to the acquisition period, and the acquisition period can be automatically adjusted by a user; collecting configuration information includes connecting server configuration, providing authentication of interactions with the target server.
In step S212, the type of the target protocol used by the target server is determined.
In step S213, the monitoring data is acquired from the target server based on the target protocol type.
In this embodiment, the objective of obtaining the monitoring data from the multi-protocol server according to the actual configuration of the target server is achieved by obtaining the monitoring data according to the target server and the target protocol type obtained by the analysis result, so that the multi-protocol server can be monitored and operated more flexibly.
In one embodiment, the step S213, which obtains the monitoring data from the target server based on the target protocol type, includes:
in step S2131, if the target protocol type belongs to the first protocol, the monitoring data is obtained from the target server by the object identifier.
Illustratively, the monitoring data set is obtained from the target protocol server through the first object identifier; monitoring data is obtained from the monitoring data set by means of the second object identifier.
For example, the SNMP protocol acquires a set of data through one OID, and data with association is acquired through another OID.
In step S2132, if the target protocol type belongs to the second protocol, the instruction pre-stored in the target server is invoked to obtain the monitoring data.
For example, if the target protocol type belongs to the second protocol, determining a data extraction instruction from the target server according to the analysis result; executing the data extraction instruction, and acquiring monitoring data in the target server.
In one embodiment, based on the step S220, an index corresponding to the target server is added to the monitoring data to obtain monitoring data including the index, and the monitoring data including the index is saved to the time-series database, which may specifically include the following steps:
in step S221, index information is generated based on the target server to which the monitoring data belongs, and the index information is added to the monitoring data to obtain the monitoring data including the index.
The monitoring data is used as an index through the instance (target address+target acquisition port) of the target server, so that the data query is facilitated.
Step S222, the monitoring data containing the index is saved in the time sequence database according to time sequence.
In this embodiment, index information generated based on a target server to which the monitoring data belongs is added to the monitoring data, and the obtained hashed, non-systematic data is sorted into data with a unified tag, so that an application layer can directly obtain unified data without concern about a data acquisition mode.
In one embodiment, based on the step S230, an operation instruction is received, a data operation statement corresponding to the operation instruction in the time sequence database is selected, and the data operation statement is executed to perform a data processing operation on the monitoring data including the index, which may specifically include the following steps:
step S231, receiving an operation and maintenance instruction, and selecting a pre-stored data operation statement corresponding to the operation and maintenance instruction from the time sequence database.
Step S232, selecting an index corresponding to the operation and maintenance instruction, and selecting monitoring data corresponding to the index data from the time sequence database.
Step S233, executing the data operation statement to perform a data processing operation on the monitoring data.
In this embodiment, by selecting the index corresponding to the operation and maintenance instruction, the monitoring data corresponding to the index data is selected from the time sequence database, so that efficient data integration can be realized, and unified data can be obtained.
The present embodiment is described and illustrated below by way of preferred embodiments.
Fig. 3 is a flow chart of the operation data processing method for the multi-protocol server of the preferred embodiment.
Step S301, a monitoring instruction is received, the monitoring instruction is analyzed, and a target server for acquiring monitoring data is selected from the multi-protocol servers according to the analysis result.
In step S302, the type of the target protocol used by the target server is determined.
Step S303, if the target protocol type belongs to the first protocol, acquiring monitoring data from the target server by using the object identifier; and if the target protocol type belongs to the second protocol, calling an instruction pre-stored in the target server to acquire monitoring data.
Step S304, index information is generated based on the target server to which the monitoring data belongs, the index information is added to the monitoring data to obtain monitoring data containing indexes, and the monitoring data containing indexes is stored in a time sequence database.
Step S305, receiving an operation and maintenance instruction, and selecting a pre-stored data operation statement corresponding to the operation and maintenance instruction from the time sequence database.
Step S306, selecting an index corresponding to the operation and maintenance instruction, and selecting monitoring data corresponding to the index data from the time sequence database.
Step S307, a data processing operation is performed on the monitoring data by executing the data operation statement.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, there is also provided in this embodiment a running data processing apparatus 40 for a multi-protocol server, which is used to implement the foregoing embodiments and preferred implementations, and will not be described in detail. The terms "module," "unit," "sub-unit," and the like as used below may refer to a combination of software and/or hardware that performs a predetermined function. While the system described in the following embodiments is preferably implemented in software, implementation of hardware, or a combination of software and hardware, is also possible and contemplated.
In one embodiment, as shown in FIG. 4, there is provided a operation and data processing apparatus 40 for a multi-protocol server, comprising: a data acquisition module 41, a data storage module 42 and a data manipulation module 43, wherein:
the data acquisition module 41 is configured to receive a monitoring instruction, and acquire monitoring data from a target server in the multiprotocol server according to the monitoring instruction.
Wherein, the multi-protocol server refers to that in a system formed by a plurality of servers, different network management protocols are configured on each server. Available network management protocols include simple network management protocol (SNMP, simple Network Management Protocol), proxy protocol, and the like.
For a server to which the SNMP protocol is added, the data collection server uses an SNMP service that supports SNMPv1, SNMPv2c, and SNMPv3 main stream protocols and supports collection of data by profile extension, and interaction with a target server is achieved by an object identifier (OID, object Identifier), obtaining monitoring data.
For the server added with the proxy protocol, the proxy service is implanted into the target server through the secure file transfer protocol (SFTP, secure File Transfer Protocol), and the proxy service does not affect the main service of the target server, and occupies the memory within 20Mb and CPU within 10%. The data acquisition server acquires monitoring data of the target server through a restful protocol at regular time.
The monitoring data comprise operation data of the target server, and specifically comprise: cpu usage (cpu usage of each core, total usage), memory usage (total physical memory, usage, total virtual memory, usage), network card information (basic information of each network card, sending and receiving information, etc.), disk IO, process usage, file partition usage.
The data storage module 42 is configured to add an index corresponding to the target server to the monitoring data, obtain monitoring data including the index, and store the monitoring data including the index to the time sequence database.
Wherein, ensuring uniform index of all data to realize data association; the collected monitoring data containing the index is stored in the time sequence database in time sequence, and the operation and maintenance system supports a certain monitoring item to view historical data so as to analyze the operation condition of the monitoring item from time latitude.
The data operation module 43 is configured to receive the operation and maintenance instruction, select a data operation statement corresponding to the operation and maintenance instruction, and execute the data operation statement to perform a data processing operation on the monitoring data including the index.
The data operation sentences are embedded according to different protocols used when data are acquired, so that the data acquired in different acquisition modes can be processed; the processing operation comprises the operations of inquiring, deleting or changing the monitoring data.
The various modules in the operation data processing apparatus 40 for the multi-protocol server described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, implements a method of processing operation and data of a multi-protocol server. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 5 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the 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 stored therein a computer program, the processor when executing the computer program performing the steps of:
step S210, a monitoring instruction is received, and monitoring data is obtained from a target server in the multi-protocol server according to the monitoring instruction.
Step S220, adding an index corresponding to the target server to the monitoring data to obtain monitoring data containing the index, and storing the monitoring data containing the index to a time sequence database.
Step S230, receiving the operation and maintenance instruction, selecting a data operation statement corresponding to the operation and maintenance instruction in the time sequence database, executing the data operation statement, and performing data processing operation on the monitoring data containing the index.
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:
step S210, a monitoring instruction is received, and monitoring data is obtained from a target server in the multi-protocol server according to the monitoring instruction.
Step S220, adding an index corresponding to the target server to the monitoring data to obtain monitoring data containing the index, and storing the monitoring data containing the index to a time sequence database.
Step S230, receiving the operation and maintenance instruction, selecting a data operation statement corresponding to the operation and maintenance instruction in the time sequence database, executing the data operation statement, and performing data processing operation on the monitoring data containing the index.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
step S210, a monitoring instruction is received, and monitoring data is obtained from a target server in the multi-protocol server according to the monitoring instruction.
Step S220, adding an index corresponding to the target server to the monitoring data to obtain monitoring data containing the index, and storing the monitoring data containing the index to a time sequence database.
Step S230, receiving the operation and maintenance instruction, selecting a data operation statement corresponding to the operation and maintenance instruction in the time sequence database, executing the data operation statement, and performing data processing operation on the monitoring data containing the index.
The user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in 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 (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A method for processing operation data of a multi-protocol server, the operation data processing method comprising:
receiving a monitoring instruction, and acquiring monitoring data from a target server in a multi-protocol server according to the monitoring instruction;
adding an index corresponding to the target server to the monitoring data to obtain monitoring data containing the index, and storing the monitoring data containing the index into a time sequence database;
and receiving an operation and maintenance instruction, selecting a data operation statement which is prestored in the time sequence database and corresponds to the operation and maintenance instruction, and executing the data operation statement to perform data processing operation on the monitoring data containing the index.
2. The method for processing operation and data of a multiprotocol server according to claim 1, wherein the receiving the monitoring instruction, and obtaining the monitoring data from the target server in the multiprotocol server according to the monitoring instruction, comprises:
receiving a monitoring instruction, analyzing the monitoring instruction, and selecting a target server for acquiring monitoring data from the multi-protocol servers according to an analysis result;
determining a target protocol type used by the target server;
monitoring data is acquired from the target server based on the target protocol type.
3. The method for processing operation and data of a multiprotocol server according to claim 2, wherein the obtaining monitoring data from the target server based on the target protocol type comprises:
if the target protocol type belongs to a first protocol, acquiring monitoring data from the target server by using an object identifier;
and if the target protocol type belongs to a second protocol, calling an instruction prestored in the target server to acquire the monitoring data.
4. A method of processing operation and data for a multi-protocol server according to claim 3, wherein said borrowing an object identifier to obtain monitoring data from said target server if said target protocol type belongs to a first protocol comprises:
obtaining a monitoring data set from the target protocol server through a first object identifier;
monitoring data is acquired from the monitoring data set by means of a second object identifier.
5. A method for processing operation and data of a multi-protocol server according to claim 3, wherein, if the target protocol type belongs to a second protocol, invoking a data extraction instruction pre-stored in the target server to obtain the monitoring data comprises:
if the target protocol type belongs to a second protocol, determining a data extraction instruction from the target server according to the analysis result;
and executing the data extraction instruction, and acquiring monitoring data in the target server.
6. The method for processing the operation and maintenance data of the multi-protocol server according to claim 1, wherein adding an index corresponding to the target server to the monitoring data to obtain monitoring data including an index, and storing the monitoring data including an index to a time-series database, comprises:
generating index information based on the target server to which the monitoring data belongs, and adding the index information into the monitoring data to obtain monitoring data containing indexes;
and storing the monitoring data containing the index into a time sequence database according to time sequence.
7. The operation and maintenance data processing method for a multiprotocol server according to claim 1, wherein the receiving operation and maintenance instruction, selecting a data operation statement pre-stored in the time sequence database and corresponding to the operation and maintenance instruction, executing the data operation statement to perform a data processing operation on the monitoring data including the index, includes:
receiving an operation and maintenance instruction, and selecting a pre-stored data operation statement corresponding to the operation and maintenance instruction from the time sequence database;
selecting an index corresponding to the operation and maintenance instruction, and selecting monitoring data corresponding to the index data from the time sequence database;
executing the data operation statement to perform data processing operation on the monitoring data.
8. An operation data processing apparatus for a multiprotocol server, the apparatus comprising:
the data acquisition module is used for receiving the monitoring instruction and acquiring monitoring data from a target server in the multi-protocol server according to the monitoring instruction;
the data storage module is used for adding an index corresponding to the target server to the monitoring data to obtain monitoring data containing the index, and storing the monitoring data containing the index into a time sequence database;
the data operation module is used for receiving the operation and maintenance instruction, selecting a data operation statement pre-stored in the time sequence database and corresponding to the operation and maintenance instruction, and executing the data operation statement to perform data processing operation on the monitoring data containing the index.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the operation data processing method for a multiprotocol server of any one of claims 1 to 7 when the computer program is executed.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the operation-data processing method for a multiprotocol server according to any one of claims 1 to 7.
CN202310393729.9A 2023-04-12 2023-04-12 Operation and maintenance data processing method and device for multi-protocol server Pending CN116594834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310393729.9A CN116594834A (en) 2023-04-12 2023-04-12 Operation and maintenance data processing method and device for multi-protocol server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310393729.9A CN116594834A (en) 2023-04-12 2023-04-12 Operation and maintenance data processing method and device for multi-protocol server

Publications (1)

Publication Number Publication Date
CN116594834A true CN116594834A (en) 2023-08-15

Family

ID=87588902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310393729.9A Pending CN116594834A (en) 2023-04-12 2023-04-12 Operation and maintenance data processing method and device for multi-protocol server

Country Status (1)

Country Link
CN (1) CN116594834A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117076413A (en) * 2023-10-16 2023-11-17 创云融达信息技术(天津)股份有限公司 Object multi-version storage system supporting multi-protocol intercommunication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117076413A (en) * 2023-10-16 2023-11-17 创云融达信息技术(天津)股份有限公司 Object multi-version storage system supporting multi-protocol intercommunication
CN117076413B (en) * 2023-10-16 2024-01-26 创云融达信息技术(天津)股份有限公司 Object multi-version storage system supporting multi-protocol intercommunication

Similar Documents

Publication Publication Date Title
US9600477B2 (en) Acquiring information dynamically regarding a hardware component in the cloud computing system while on the floor of the data center
CN108108286A (en) Method of data capture and device, server, storage medium
CN111368520A (en) Editing method and device for electronic forms
CN110245128B (en) Meta-model establishing method and device, storage medium and electronic device
CN110928681A (en) Data processing method and device, storage medium and electronic device
CN116594834A (en) Operation and maintenance data processing method and device for multi-protocol server
CN111400393A (en) Data processing method and device based on multi-application platform and storage medium
CN113807926A (en) Recommendation information generation method and device, electronic equipment and computer readable medium
CN113590433B (en) Data management method, data management system, and computer-readable storage medium
CN108154024A (en) A kind of data retrieval method, device and electronic equipment
CN114218156A (en) Data export method, data export device, computer equipment and storage medium
CN110008261B (en) External change detection
CN115118612B (en) Resource quota management method, device, computer equipment and storage medium
US10764204B2 (en) Cloud extensibility framework
KR20130126012A (en) Method and apparatusfor providing report of business intelligence
CN114745436A (en) Data acquisition method and device, computer equipment and storage medium
CN113296913A (en) Data processing method, device and equipment based on single cluster and storage medium
CN114710449B (en) Flow control method and device for terminal file interaction and computer equipment
CN108805741A (en) A kind of fusion method of power quality data, apparatus and system
CN115604667B (en) Message sending method, device, computer equipment and storage medium
CN117369845A (en) SDK updating method and device based on block chain and computer equipment
CN117834328A (en) Smart home control method, smart home control device, computer equipment and storage medium
CN114676189A (en) Data chart display method and device, storage medium and electronic device
CN116909684A (en) Deployment method and device of low-code application, computer equipment and storage medium
CN118118332A (en) Network device management method, device, computer device, storage medium and product

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