WO2021190659A1 - System data acquisition method and apparatus, and medium and electronic device - Google Patents

System data acquisition method and apparatus, and medium and electronic device Download PDF

Info

Publication number
WO2021190659A1
WO2021190659A1 PCT/CN2021/084170 CN2021084170W WO2021190659A1 WO 2021190659 A1 WO2021190659 A1 WO 2021190659A1 CN 2021084170 W CN2021084170 W CN 2021084170W WO 2021190659 A1 WO2021190659 A1 WO 2021190659A1
Authority
WO
WIPO (PCT)
Prior art keywords
host node
collector
smart
data
application
Prior art date
Application number
PCT/CN2021/084170
Other languages
French (fr)
Chinese (zh)
Inventor
吴超勇
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021190659A1 publication Critical patent/WO2021190659A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • 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

Definitions

  • This application belongs to the field of artificial intelligence technology, and particularly relates to a system data acquisition method, device, medium, and electronic equipment.
  • the purpose of this application is to provide a system data acquisition method and device, computer readable storage medium, and electronic equipment, so as to reduce the resources required to acquire system data.
  • a data acquisition method of a system includes at least two host nodes, and the method includes: acquiring a pre-built intelligent collector, the intelligent collector being used for collecting The operating data of each host node, wherein the operating data of each host node is different from each other; the intelligent collector and control instructions are distributed to each host node, so that each host node automatically installs the intelligent collector, and the control The instruction is used to periodically trigger the smart collector to collect the operating data in the host node; for each host node, monitor whether the smart collector has collected the operating data of the host node; When the operating data of the host node is reached, the operating data is acquired through the data transmission channel established with the intelligent collector.
  • a data acquisition device of a system characterized in that the system includes at least two host nodes, and the device includes: a first acquisition unit configured to acquire The intelligent collector is constructed, the intelligent collector is used to collect the operating data of each host node, wherein the operating data of each host node is different from each other; the distribution unit is used to distribute the intelligent collector and control instructions to each Host node, so that each host node automatically installs the smart collector, and the control instruction is used to periodically trigger the smart collector to collect operating data in the host node; the monitoring unit is used to monitor each host node Whether the smart collector collects the operating data of the host node; the second acquisition unit is used to communicate with the smart collector when the operating data of the host node is monitored by the smart collector The established data transmission channel obtains the operating data.
  • an electronic device for data acquisition of the system, wherein the electronic device includes a memory, a processor, and a computer that is stored in the memory and can run on the processor. Reading instructions, the processor executes the following steps when executing the computer-readable instructions: acquiring a pre-built intelligent collector, the intelligent collector is used to collect the operating data of each host node, wherein the operating data of each host node is mutually exchanged Not the same; distribute the smart collector and control instructions to each host node so that each host node automatically installs the smart collector, and the control instruction is used to periodically trigger the smart collector to collect the operation in the host node Data; For each host node, monitor whether the smart collector collects the operating data of the host node; when the smart collector collects the operating data of the host node, through the smart collector The data transmission channel established by the device obtains the operating data.
  • a computer-readable storage medium stores at least one instruction, and the following steps are executed when the at least one instruction is executed by a processor:
  • a pre-built intelligent collector the intelligent collector is used to collect the operating data of each host node, wherein the operating data of each host node is different from each other; the intelligent collector and control instructions are distributed to each host node, so that Each host node automatically installs the smart collector, and the control instruction is used to periodically trigger the smart collector to collect operating data in the host node; for each host node, monitor whether the smart collector collects the host The operating data of the node; when the operating data of the host node collected by the intelligent collector is monitored, the operating data is acquired through the data transmission channel established with the intelligent collector.
  • This application distributes pre-built intelligent collectors and control instructions to each host node and installs them on each host node, so that the intelligent collector in each host node can collect the operating data in the host node where it is located.
  • the proposed technical scheme can uniformly issue collectors for different monitoring objects, saving the time and cost of manually distinguishing monitoring objects, while also simplifying the installation and configuration process, reducing operation and maintenance costs, and reducing the cost of acquiring system data H.
  • Fig. 1 shows a schematic diagram of an application scenario of a data acquisition method of a system according to an embodiment of the present application
  • Fig. 2 shows a flow chart of a data acquisition method of the system according to an embodiment of the present application
  • FIG. 3 shows a detailed flow chart of the smart collector collecting operating data according to an embodiment of the present application
  • Fig. 4 shows a flow chart of a method for the smart collector according to an embodiment of the present application before identifying the identity of the application installed in the host node;
  • FIG. 5 shows a detailed flowchart of the smart collector identifying the identification of the application installed in the host node according to an embodiment of the present application
  • Fig. 6 shows a flowchart of a method after the smart collector collects the running data of the installed application according to an embodiment of the present application
  • FIG. 7 shows a flowchart of a method after acquiring the operating data through a data transmission channel established with the smart collector according to an embodiment of the present application
  • Fig. 8 shows a block diagram of a data acquisition device of the system according to an embodiment of the present application
  • FIG. 9 shows a computer-readable storage medium for implementing a data acquisition method of the system according to an embodiment of the present application.
  • Fig. 10 shows an example block diagram of an electronic device implementing a data acquisition method of a system according to an embodiment of the present application.
  • the data acquisition method of the system may be implemented in the scenario shown in FIG. 1.
  • FIG. 1 a schematic diagram of the application scenario of the system data acquisition method according to an embodiment of the present application is shown. .
  • the data acquisition method of the system can be implemented based on the server 101 shown in Figure 1.
  • the server shown in the figure can also be an electronic device with a touch screen such as a tablet computer or a notebook computer. To replace.
  • the data acquisition method of the system can also be executed by a cloud server with cloud computing function.
  • the cloud computing is a computing mode that distributes computing tasks on a resource pool composed of a large number of computers, so that various application systems can obtain computing power, storage space, and information services as required.
  • the network that provides resources is called the "cloud.”
  • the resources in the "cloud” are infinitely expandable, and can be obtained at any time, used on demand, and expanded at any time.
  • cloud platform generally referred to as IaaS (Infrastructure As a Service (Infrastructure as a Service) platform
  • the cloud computing resource pool mainly includes: computing devices (virtualized machines, including operating systems), storage devices, and network devices.
  • the collection object of operating data includes at least one host node 103 in the IT system 104, for example, including host node 1, host node 2, host node 3, and host node 4.
  • each host node is responsible for different system operation tasks in the IT system.
  • host node 1 can be used to store system data, and a database is installed in it, and host node 2 can be used to monitor system network security.
  • firewall software There is firewall software.
  • multiple components can also be installed in a host node at the same time to undertake multiple system operation tasks in the IT system.
  • the server 101 distributes the intelligent collector 102 and control instructions for collecting operating data of each host node to each host node 103, so that each host node 103 automatically installs the intelligent collector 102, Among them, the control instruction is used to periodically trigger the smart collector 102 to collect the operating data in the host node 104.
  • the server 101 monitors whether the smart collector 102 has collected the operating data of the host node, When the intelligent collector collects the operating data of the host node, the server 101 obtains the operating data through the data transmission channel established with the intelligent collector 102.
  • the system includes at least one host node, and the data acquisition method of the system can be executed by a physical device or a virtual device with computing and processing functions.
  • the data acquisition method of the system at least includes step 210 to step 270:
  • step 210 a pre-built smart collector is acquired, and the smart collector is used to collect operating data of each host node, where the operating data of each host node is different from each other.
  • storage disk cabinets, operating systems, databases, various middleware and runtime libraries, various application software, etc. are installed in the host node.
  • Each host node is responsible for different system operation tasks in the system, for example, writing documents, making forms, sending emails, managing inventory, managing customers, and so on.
  • step 230 the smart collector and control instructions are distributed to each host node, so that each host node automatically installs the smart collector, and the control instruction is used to periodically trigger the smart collector to collect data in the host node. Operating data.
  • the intelligent collector can be sent to a fixed folder on the host node by calling the automatic scheduling platform, and a control command can be added.
  • the control command can be a crond command, and the crond command is a Linux regular
  • the command to execute the program, the crond command will periodically check whether there is a work to be performed, and if there is a work to be performed, the work will be executed automatically.
  • each host node can be bound by IP.
  • Each host node corresponds to an IP, and each host node can have multiple data ports.
  • the intelligent collector can determine how many data ports there are by reading the IP port.
  • step 250 for each host node, it is monitored whether the smart collector has collected the operating data of the host node.
  • the intelligent collector installed in the host node collects operating data generated by one or more applications in the host node during operation.
  • the smart collector includes at least one collection program, wherein each collection program is used to collect operating data of one application.
  • the smart collector can perform the steps shown in FIG. 3 to collect operating data in the host node:
  • FIG. 3 shows the detailed process of collecting operating data by the smart collector according to an embodiment of the present application. Specifically, it includes step 320 to step 340:
  • step 320 the smart collector recognizes the identifier of the installed application in the host node.
  • the smart collector may also perform the steps shown in FIG. 4.
  • FIG. 4 shows a flow chart of a method for the smart collector according to an embodiment of the present application before identifying the identifier of the installed application in the host node. Specifically, it includes steps 311 to 313:
  • Step 311 The smart collector recognizes the operating state of the host node.
  • Step 312 When the host node is in a shutdown state, the intelligent collector collects the shutdown state information of the host node.
  • Step 313 When the host node is in the power-on state, the smart collector collects the power-on state information of the host node.
  • the intelligent collector detects the running status of the host node through the preset host node status detection command. If the host is in a shutdown state, it collects the shutdown status information of the host node, and if the host node is in the on state, it collects the host node. Operating parameters,
  • the operating parameters include but are not limited to data such as cpu, mem, disk, and host temperature.
  • the smart collector includes at least one detection program, and the host node runs at least one type of application, wherein each type of detection program is used to detect a corresponding identification of a type of application.
  • the smart collector recognizes the identifier of the installed application in the host node, which can be executed according to the steps shown in FIG. 5.
  • FIG. 5 shows a detailed flowchart of the smart collector recognizing the identifier of the application installed in the host node according to an embodiment of the present application. Specifically, it includes step 321 to step 323:
  • Step 321 For each detection program, the smart collector determines whether an application of the type detected by the detection program is installed in the host node through the detection program.
  • Step 322 If yes, the smart collector recognizes the identifier of the installed application belonging to the application type through the detection program.
  • Step 323 if not, the smart collector returns an empty result of the corresponding detection of the detection program.
  • the smart collector can synchronously start the host node including tomcat, weblogic, zookeeper, nginx and other middleware detection commands to detect whether there is an application of the type detected by the detection program installed in the host node, If so, the ps command is used to identify the application identifier of the middleware application type contained in the process of the host node. If not, return the empty result of the corresponding detection of the detection program.
  • the smart collector can synchronously start database detection commands including oracle, mongdb, PostgreSQL, redis, etc. on the host node to detect whether there is an application of the type detected by the detection program installed in the host node. If so, The ps command is used to identify the application identifier of the database application type contained in the process of the host node. If not, return the empty result of the corresponding detection of the detection program.
  • step 340 based on the identifier of the installed application, the smart collector executes a collection program corresponding to the identifier of the installed application to collect operating data of the installed application.
  • the data collection switch and the timing task crond timing task switch of the corresponding middleware application are triggered, such as every 3 minutes. Trigger a collection task to collect the running data of the corresponding middleware application in the host node.
  • the data collection switch and the timed task crond timed task switch of the corresponding database application are triggered, and the corresponding data is collected and applied in the host node
  • the operating data of the database such as the indicator information of the database instance.
  • the smart collector may also perform the steps shown in FIG. 6.
  • FIG. 6 shows a flowchart of a method after the smart collector collects the running data of the installation application according to an embodiment of the present application. Specifically, it includes step 351 to step 352:
  • Step 351 The smart collector determines the log path in the host node.
  • Step 352 The smart collector collects log information in the log based on the log path.
  • the smart collector synchronously initiates the path search command of the log on the application host, detects the corresponding application log path, and collects the log information in the host node based on the log path.
  • step 270 when the operation data of the host node collected by the intelligent collector is monitored, the operation data is obtained through the data transmission channel established with the intelligent collector.
  • the data transmission channel may be a data transmission channel based on the http protocol.
  • the steps shown in FIG. 7 may also be performed.
  • FIG. 7 shows a flowchart of a method after acquiring the operating data through the data transmission channel established with the smart collector according to an embodiment of the present application. Specifically, it includes step 281 to step 283:
  • Step 281 After obtaining the operating data in all host nodes, feature extraction is performed on the operating data in each host node to obtain feature index data.
  • the operating data in the host node generally exists in the form of a data stream, which includes parameter information of various monitoring indicators.
  • the feature extraction of the operating data in each host node is actually performed by identifying keywords Segment, extract the parameter data of various indicators in the data stream.
  • Step 282 based on the characteristic index data and the characteristic index data reference interval, respectively check whether the operation of each host node is abnormal.
  • the reference interval of each indicator will be pre-defined according to the actual situation, and then according to whether the parameter of a certain indicator falls within the reference interval corresponding to the indicator, it is judged whether the operation of the host node is abnormal.
  • step 282 for each host node, when the characteristic index data does not belong to the characteristic index data reference interval, the operation of the host node is abnormal.
  • the data transmission speed of a certain middleware application running in the host node should be between 100 bits per second (bps) and 100 bits per second (bps), however, when the middleware application is actually running in the host node If the data transmission speed is 28 bits per second (bps), it indicates that the middleware application is operating abnormally, and further that the host node where the middleware application is located is operating abnormally.
  • Step 283 When there is an abnormality in the operation of the host node, an abnormality alarm is issued to the abnormal host node in the system.
  • pre-built smart collectors and control instructions are distributed to each host node and installed in each host node, so that the intelligent collector in each host node can collect the host node where it is located. Because the technical solution proposed in this application can uniformly issue collectors for different monitoring objects, it saves the time and cost of manually distinguishing monitoring objects. It also simplifies the installation and configuration process and reduces operation and maintenance costs. Reduce the resources required to obtain system data.
  • Fig. 8 shows a block diagram of a data acquisition device of the system according to an embodiment of the present application.
  • the data acquisition device 800 of the system includes: a first acquisition unit 801, a distribution unit 802, a monitoring unit 803, and a second acquisition unit 804.
  • the first obtaining unit 801 is used to obtain a pre-built smart collector, which is used to collect the operating data of each host node, where the operating data of each host node is different from each other;
  • the distribution unit 802 is used to Used for distributing the smart collector and control instructions to each host node, so that each host node automatically installs the smart collector, and the control instruction is used to periodically trigger the smart collector to collect operating data in the host node
  • the monitoring unit 803 is used for each host node to monitor whether the smart collector has collected the operating data of the host node;
  • the second obtaining unit 804 is used to monitor the collection of the smart collector When operating data of the host node, the operating data is acquired through a data transmission channel established with the intelligent collector.
  • the smart collector includes at least one collection program, wherein each collection program is used to collect the operating data of an application corresponding to each host node.
  • the smart collector is configured to: the smart collector recognizes the identifier of the installed application in the host node; based on the identifier of the installed application, the smart collector performs collection corresponding to the identifier of the installed application Program to collect the running data of the installed application.
  • the smart collector is configured to: before the smart collector recognizes the identifier of the installed application in the host node, the smart collector recognizes the host The operating state of the node; when the host node is in a shutdown state, the smart collector collects the shutdown state information of the host node; when the host node is in the on state, the smart collector collects the host node Power-on status information.
  • the smart collector includes at least one detection program, and the host node runs at least one type of application, wherein each detection program is used to detect a corresponding type of Identification of the application, the smart collector is configured to: for each detection program, the smart collector determines through the detection program whether an application of the type detected by the detection program is installed in the host node; if so, then The smart collector recognizes the identifier of the installed application belonging to the application type through the detection program; if not, the smart collector returns an empty result of the detection corresponding to the detection program.
  • the smart collector is configured to: after the smart collector collects the operating data of the installation application, the smart collector determines the log in the host node Path; the smart collector collects log information in the log based on the log path.
  • the device further includes: an extraction unit, which is used to obtain the operating data through the data transmission channel established with the smart collector, after obtaining all the hosts After the operating data in the node, feature extraction is performed on the operating data in each host node to obtain the feature index data; the verification unit is used to verify each of the feature index data and the reference interval of the feature index data. Whether there is an abnormality in the operation of the host node; the alarm unit is used to issue an abnormal alarm to the abnormal host node in the system when the operation of the host node is abnormal.
  • the verification unit is configured to: for each host node, when the characteristic index data does not belong to the characteristic index data reference interval, the host node's There is an abnormal operation.
  • the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium may be non-volatile or volatile, and a program capable of implementing the above-mentioned method in this specification is stored thereon. product.
  • various aspects of the present application can also be implemented in the form of a program product, which includes program code.
  • the program product runs on a terminal device, the program code is used to make the The terminal device executes the steps according to various exemplary embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.
  • a program product 900 for implementing the above method according to an embodiment of the present application is described. It can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be installed in a terminal device, For example, running on a personal computer.
  • CD-ROM compact disk read-only memory
  • the program product of this application is not limited to this.
  • the readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, device, or device.
  • the program product can use any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Type programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
  • the program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
  • the program code used to perform the operations of the present application can be written in any combination of one or more programming languages.
  • the programming languages include object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming languages. Programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computing device, partly on the user's device, executed as an independent software package, partly on the user's computing device and partly executed on the remote computing device, or entirely on the remote computing device or server Executed on.
  • the remote computing device can be connected to a user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (for example, using Internet service providers). Business to connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service providers for example, using Internet service providers.
  • the present application also provides an electronic device capable of implementing the above method.
  • the electronic device 1000 according to this embodiment of the present application will be described below with reference to FIG. 10.
  • the electronic device 1000 shown in FIG. 10 is only an example, and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
  • the electronic device 1000 is represented in the form of a general-purpose computing device.
  • the components of the electronic device 1000 may include, but are not limited to: the aforementioned at least one processing unit 1010, the aforementioned at least one storage unit 1020, and a bus 1030 connecting different system components (including the storage unit 1020 and the processing unit 1010).
  • the storage unit stores program code, and the program code can be executed by the processing unit 1010, so that the processing unit 1010 executes the various exemplary methods described in the above-mentioned "Methods of Embodiments" section of this specification. Steps of implementation.
  • the storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 1021 and/or a cache storage unit 1022, and may further include a read-only storage unit (ROM) 1023.
  • RAM random access storage unit
  • ROM read-only storage unit
  • the storage unit 1020 may also include a program/utility tool 1024 having a set of (at least one) program modules 1025.
  • program modules 1025 include but are not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
  • the bus 1030 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
  • the electronic device 1000 may also communicate with one or more external devices 1100 (such as keyboards, pointing devices, Bluetooth devices, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 1000, and/or communicate with Any device (such as a router, modem, etc.) that enables the electronic device 1000 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 1050.
  • the electronic device 1000 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 1060.
  • networks for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet
  • the network adapter 1060 communicates with other modules of the electronic device 1000 through the bus 1030. It should be understood that although not shown in the figure, other hardware and/or software modules can be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
  • the example embodiments described here can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiment of the present application.
  • a computing device which can be a personal computer, a server, a terminal device, or a network device, etc.

Abstract

A system data acquisition method and apparatus, and a medium and an electronic device, which relate to the technical fields of data management and artificial intelligence. The method comprises: acquiring pre-constructed intelligent collectors, wherein the intelligent collectors are used for collecting operation data of host nodes, and the operation data of the host nodes are different from each other (210); distributing the intelligent collectors and control instructions to the host nodes, so that the host nodes automatically install the intelligent collectors, wherein the control instructions are used for periodically triggering the intelligent collectors to collect the operation data in the host nodes (230); for each host node, monitoring whether the intelligent collector has collected the operation data of the host node (250); and when it is detected that the intelligent collector has collected the operation data of the host node, acquiring the operation data by means of a data transmission channel established with the intelligent collector (270). By means of the method, the consumption of resources required for acquiring system data can be reduced.

Description

系统的数据获取方法、装置、介质及电子设备System data acquisition method, device, medium and electronic equipment
本申请要求于2020年10月29日提交中国专利局、申请号为202011181177.8,申请名称为“系统的数据获取方法、装置、介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on October 29, 2020, the application number is 202011181177.8, and the application name is "systematic data acquisition methods, devices, media and electronic equipment", the entire content of which is incorporated by reference Incorporated in this application.
技术领域Technical field
本申请属于人工智能技术领域,特别涉及一种系统的数据获取方法、装置、介质及电子设备。This application belongs to the field of artificial intelligence technology, and particularly relates to a system data acquisition method, device, medium, and electronic equipment.
背景技术Background technique
目前,在对系统进行监控的场景中,比如在针对复杂IT系统的运行状态监控场景,通常需要采集系统中各个部件的多维运行数据指标。发明人意识到在现有技术中,获取系统数据通常是针对各个部件的特异性,单独手动/自动采集相应的运行数据指标。但是,如何降低对系统数据进行获取所需耗费的资源是亟待解决的技术问题。At present, in the scenario of monitoring the system, for example, in the scenario of monitoring the operating status of a complex IT system, it is usually necessary to collect multi-dimensional operating data indicators of various components in the system. The inventor realizes that in the prior art, the acquisition of system data is usually aimed at the specificity of each component, and the corresponding operating data indicators are collected manually/automatically. However, how to reduce the resources required to obtain system data is a technical problem to be solved urgently.
技术问题technical problem
本申请的目的在于提供一种系统的数据获取方法及装置、计算机可读存储介质、电子设备,从而可以降低对系统数据进行获取所需耗费的资源。The purpose of this application is to provide a system data acquisition method and device, computer readable storage medium, and electronic equipment, so as to reduce the resources required to acquire system data.
技术解决方案Technical solutions
根据本申请实施例的一个方面,提供了一种系统的数据获取方法,所述系统中包括至少两个主机节点,所述方法包括:获取预先构建的智能采集器,所述智能采集器用于采集各个主机节点的运行数据,其中,各个主机节点的运行数据互不相同;将所述智能采集器和控制指令分发至各个主机节点,以使得各个主机节点自动安装所述智能采集器,所述控制指令用于定时触发所述智能采集器采集主机节点中的运行数据;针对每一个主机节点,监听所述智能采集器是否采集到所述主机节点的运行数据;在监听到所述智能采集器采集到所述主机节点的运行数据时,通过与所述智能采集器建立的数据传输通道获取所述运行数据。According to one aspect of the embodiments of the present application, there is provided a data acquisition method of a system, the system includes at least two host nodes, and the method includes: acquiring a pre-built intelligent collector, the intelligent collector being used for collecting The operating data of each host node, wherein the operating data of each host node is different from each other; the intelligent collector and control instructions are distributed to each host node, so that each host node automatically installs the intelligent collector, and the control The instruction is used to periodically trigger the smart collector to collect the operating data in the host node; for each host node, monitor whether the smart collector has collected the operating data of the host node; When the operating data of the host node is reached, the operating data is acquired through the data transmission channel established with the intelligent collector.
根据本申请实施例的另一方面,提供了一种系统的数据获取装置,其特征在于,所述系统中包括至少两个主机节点,所述装置包括:第一获取单元,被用于获取预先构建的智能采集器,所述智能采集器用于采集各个主机节点的运行数据,其中,各个主机节点的运行数据互不相同;分发单元,被用于将所述智能采集器和控制指令分发至各个主机节点,以使得各个主机节点自动安装所述智能采集器,所述控制指令用于定时触发所述智能采集器采集主机节点中的运行数据;监听单元,被用于针对每一个主机节点,监听所述智能采集器是否采集到所述主机节点的运行数据;第二获取单元,被用于在监听到所述智能采集器采集到所述主机节点的运行数据时,通过与所述智能采集器建立的数据传输通道获取所述运行数据。According to another aspect of the embodiments of the present application, there is provided a data acquisition device of a system, characterized in that the system includes at least two host nodes, and the device includes: a first acquisition unit configured to acquire The intelligent collector is constructed, the intelligent collector is used to collect the operating data of each host node, wherein the operating data of each host node is different from each other; the distribution unit is used to distribute the intelligent collector and control instructions to each Host node, so that each host node automatically installs the smart collector, and the control instruction is used to periodically trigger the smart collector to collect operating data in the host node; the monitoring unit is used to monitor each host node Whether the smart collector collects the operating data of the host node; the second acquisition unit is used to communicate with the smart collector when the operating data of the host node is monitored by the smart collector The established data transmission channel obtains the operating data.
根据本申请实施例的另一方面,提供了系统的数据获取的电子设备,其中,所述电子设备包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时执行以下步骤:获取预先构建的智能采集器,所述智能采集器用于采集各个主机节点的运行数据,其中,各个主机节点的运行数据互不相同;将所述智能采集器和控制指令分发至各个主机节点,以使得各个主机节点自动安装所述智能采集器,所述控制指令用于定时触发所述智能采集器采集主机节点中的运行数据;针对每一个主机节点,监听所述智能采集器是否采集到所述主机节点的运行数据;在监听到所述智能采集器采集到所述主机节点的运行数据时,通过与所述智能采集器建立的数据传输通道获取所述运行数据。According to another aspect of the embodiments of the present application, there is provided an electronic device for data acquisition of the system, wherein the electronic device includes a memory, a processor, and a computer that is stored in the memory and can run on the processor. Reading instructions, the processor executes the following steps when executing the computer-readable instructions: acquiring a pre-built intelligent collector, the intelligent collector is used to collect the operating data of each host node, wherein the operating data of each host node is mutually exchanged Not the same; distribute the smart collector and control instructions to each host node so that each host node automatically installs the smart collector, and the control instruction is used to periodically trigger the smart collector to collect the operation in the host node Data; For each host node, monitor whether the smart collector collects the operating data of the host node; when the smart collector collects the operating data of the host node, through the smart collector The data transmission channel established by the device obtains the operating data.
根据本申请实施例的另一方面,提供了计算机可读存储介质,其中,所述计算机可读存储介质存储有至少一个指令,所述至少一个指令被处理器执行时实现时执行以下步骤:获取预先构建的智能采集器,所述智能采集器用于采集各个主机节点的运行数据,其中,各个主机节点的运行数据互不相同;将所述智能采集器和控制指令分发至各个主机节点,以使得各个主机节点自动安装所述智能采集器,所述控制指令用于定时触发所述智能采集器采集主机节点中的运行数据;针对每一个主机节点,监听所述智能采集器是否采集到所述主机节点的运行数据;在监听到所述智能采集器采集到所述主机节点的运行数据时,通过与所述智能采集器建立的数据传输通道获取所述运行数据。According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores at least one instruction, and the following steps are executed when the at least one instruction is executed by a processor: A pre-built intelligent collector, the intelligent collector is used to collect the operating data of each host node, wherein the operating data of each host node is different from each other; the intelligent collector and control instructions are distributed to each host node, so that Each host node automatically installs the smart collector, and the control instruction is used to periodically trigger the smart collector to collect operating data in the host node; for each host node, monitor whether the smart collector collects the host The operating data of the node; when the operating data of the host node collected by the intelligent collector is monitored, the operating data is acquired through the data transmission channel established with the intelligent collector.
有益效果Beneficial effect
本申请通过将预先构建的智能采集器和控制指令分发至各个主机节点并安装在各个主机节点,以使得各个主机节点中的智能采集器能够采集自身所在主机节点中的运行数据,由于本申请中提出的技术方案能够针对不同的监控对象,统一下发采集器,节省人工区分监控对象的时间成本,同时也简化了安装配置过程,降低了运维成本,进而降低对系统数据进行获取所需耗费的资源。This application distributes pre-built intelligent collectors and control instructions to each host node and installs them on each host node, so that the intelligent collector in each host node can collect the operating data in the host node where it is located. The proposed technical scheme can uniformly issue collectors for different monitoring objects, saving the time and cost of manually distinguishing monitoring objects, while also simplifying the installation and configuration process, reducing operation and maintenance costs, and reducing the cost of acquiring system data H.
附图说明Description of the drawings
图1示出了根据本申请一个实施例的系统的数据获取方法的应用场景示意图;Fig. 1 shows a schematic diagram of an application scenario of a data acquisition method of a system according to an embodiment of the present application;
图2示出了根据本申请一个实施例的系统的数据获取方法的流程图;Fig. 2 shows a flow chart of a data acquisition method of the system according to an embodiment of the present application;
图3示出了根据本申请一个实施例的智能采集器采集运行数据的细节流程图;Figure 3 shows a detailed flow chart of the smart collector collecting operating data according to an embodiment of the present application;
图4示出了根据本申请一个实施例的智能采集器在识别所述主机节点中安装应用的标识之前的方法流程图;Fig. 4 shows a flow chart of a method for the smart collector according to an embodiment of the present application before identifying the identity of the application installed in the host node;
图5示出了根据本申请一个实施例的智能采集器识别在所述主机节点中安装应用的标识的细节流程图;FIG. 5 shows a detailed flowchart of the smart collector identifying the identification of the application installed in the host node according to an embodiment of the present application;
图6示出了根据本申请一个实施例的智能采集器采集所述安装应用的运行数据之后的方法流程图;Fig. 6 shows a flowchart of a method after the smart collector collects the running data of the installed application according to an embodiment of the present application;
图7示出了根据本申请一个实施例的在通过与所述智能采集器建立的数据传输通道获取所述运行数据之后的方法流程图;FIG. 7 shows a flowchart of a method after acquiring the operating data through a data transmission channel established with the smart collector according to an embodiment of the present application;
图8示出了根据本申请一个实施例的系统的数据获取装置的框图;Fig. 8 shows a block diagram of a data acquisition device of the system according to an embodiment of the present application;
图9示出了根据本申请一个实施例的实现系统的数据获取方法的计算机可读存储介质;FIG. 9 shows a computer-readable storage medium for implementing a data acquisition method of the system according to an embodiment of the present application;
图10示出了根据本申请一个实施例的实现系统的数据获取方法的电子设备示例框图。Fig. 10 shows an example block diagram of an electronic device implementing a data acquisition method of a system according to an embodiment of the present application.
本发明的实施方式Embodiments of the present invention
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本申请将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms, and should not be construed as being limited to the examples set forth herein; on the contrary, the provision of these embodiments makes this application more comprehensive and complete, and fully conveys the concept of the example embodiments To those skilled in the art.
此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施例中。在下面的描述中,提供许多具体细节从而给出对本申请的实施例的充分理解。然而,本领域技术人员将意识到,可以实践本申请的技术方案而没有特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知方法、装置、实现或者操作以避免模糊本申请的各方面。In addition, the described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to give a sufficient understanding of the embodiments of the present application. However, those skilled in the art will realize that the technical solutions of the present application can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. can be used. In other cases, well-known methods, devices, implementations or operations are not shown or described in detail in order to avoid obscuring various aspects of the present application.
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即,可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。The block diagrams shown in the drawings are merely functional entities, and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in the form of software, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and/or processor devices and/or microcontroller devices. entity.
附图中所示的流程图仅是示例性说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解,而有的操作/步骤可以合并或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowchart shown in the drawings is only an exemplary description, and does not necessarily include all contents and operations/steps, nor does it have to be performed in the described order. For example, some operations/steps can be decomposed, and some operations/steps can be combined or partially combined, so the actual execution order may be changed according to actual conditions.
首先,本申请对系统的数据获取方法的应用场景进行简单说明。First, this application briefly describes the application scenarios of the system's data acquisition method.
在本申请的一个实施例中,系统的数据获取方法可以是实施在如图1所示的场景中,参照图1,示出了根据本申请一个实施例的系统的数据获取方法的应用场景示意图。In an embodiment of the present application, the data acquisition method of the system may be implemented in the scenario shown in FIG. 1. Referring to FIG. 1, a schematic diagram of the application scenario of the system data acquisition method according to an embodiment of the present application is shown. .
首先需要说明的是,系统的数据获取方法可以是基于如图1所示的服务器101来实现的,当然,如图所示的服务器也可以由平板电脑、笔记本电脑等具有触摸式屏幕的电子设备来替代。First of all, it should be noted that the data acquisition method of the system can be implemented based on the server 101 shown in Figure 1. Of course, the server shown in the figure can also be an electronic device with a touch screen such as a tablet computer or a notebook computer. To replace.
此外,系统的数据获取方法还可以由具有云计算功能的云服务器来执行。具体的,所述云计算(cloud computing)是一种计算模式,它将计算任务分布在大量计算机构成的资源池上,使各种应用系统能够根据需要获取计算力、存储空间和信息服务。提供资源的网络被称为“云”。“云”中的资源在使用者看来是可以无限扩展的,并且可以随时获取,按需使用,随时扩展。通过建立云计算资源池(简称云平台,一般称为IaaS(Infrastructure as a Service,基础设施即服务)平台,在资源池中部署多种类型的虚拟资源,供外部客户选择使用。云计算资源池中主要包括:计算设备(为虚拟化机器,包含操作系统)、存储设备、网络设备。In addition, the data acquisition method of the system can also be executed by a cloud server with cloud computing function. Specifically, the cloud computing is a computing mode that distributes computing tasks on a resource pool composed of a large number of computers, so that various application systems can obtain computing power, storage space, and information services as required. The network that provides resources is called the "cloud." In the eyes of users, the resources in the "cloud" are infinitely expandable, and can be obtained at any time, used on demand, and expanded at any time. Through the establishment of a cloud computing resource pool (referred to as cloud platform, generally referred to as IaaS (Infrastructure As a Service (Infrastructure as a Service) platform, multiple types of virtual resources are deployed in the resource pool for external customers to choose and use. The cloud computing resource pool mainly includes: computing devices (virtualized machines, including operating systems), storage devices, and network devices.
在如图1所示例的场景中,运行数据的采集对象包括IT系统104中的至少一个主机节点103,例如包括主机节点1,主机节点2,主机节点3,以及主机节点4。其中,每一个主机节点在IT系统中承担着不同的系统运行任务,例如,主机节点1可以是用于存储系统数据,其中安装有数据库,主机节点2可以是用于监控系统网络安全,其中安装有防火墙软件。In the scenario illustrated in FIG. 1, the collection object of operating data includes at least one host node 103 in the IT system 104, for example, including host node 1, host node 2, host node 3, and host node 4. Among them, each host node is responsible for different system operation tasks in the IT system. For example, host node 1 can be used to store system data, and a database is installed in it, and host node 2 can be used to monitor system network security. There is firewall software.
需要说明的是,一个主机节点中也可以同时安装多个部件,以承担IT系统中的多个系统运行任务。It should be noted that multiple components can also be installed in a host node at the same time to undertake multiple system operation tasks in the IT system.
在本申请的一个实施例中,服务器101将用于采集各个主机节点运行数据的智能采集器102和控制指令分发至各个主机节点103,以使得各个主机节点103自动安装所述智能采集器102,其中,控制指令用于定时触发所述智能采集器102采集主机节点104中的运行数据,对于每一个主机节点103,服务器101监听智能采集器102是否采集到主机节点的运行数据,在监听到所述智能采集器采集到所述主机节点的运行数据时,服务器101通过与所述智能采集器102建立的数据传输通道获取所述运行数据。In an embodiment of the present application, the server 101 distributes the intelligent collector 102 and control instructions for collecting operating data of each host node to each host node 103, so that each host node 103 automatically installs the intelligent collector 102, Among them, the control instruction is used to periodically trigger the smart collector 102 to collect the operating data in the host node 104. For each host node 103, the server 101 monitors whether the smart collector 102 has collected the operating data of the host node, When the intelligent collector collects the operating data of the host node, the server 101 obtains the operating data through the data transmission channel established with the intelligent collector 102.
下面将结合图2对本申请实施例的系统的数据获取方法的技术方案的实现细节进行详细阐述:The implementation details of the technical solution of the system data acquisition method of the embodiment of the present application will be described in detail below with reference to FIG. 2.
参见图2,示出了根据本申请一个实施例的示出的系统的数据获取的流程图。该系统包括至少一个主机节点,该系统的数据获取方法可以由具有计算处理功能的实体设备或者虚拟设备来执行。Referring to Fig. 2, there is shown a flow chart of data acquisition of the illustrated system according to an embodiment of the present application. The system includes at least one host node, and the data acquisition method of the system can be executed by a physical device or a virtual device with computing and processing functions.
如图2所示,该系统的数据获取方法至少包括步骤210至步骤270:As shown in Figure 2, the data acquisition method of the system at least includes step 210 to step 270:
在步骤 210中,获取预先构建的智能采集器,所述智能采集器用于采集各个主机节点的运行数据,其中,各个主机节点的运行数据互不相同。In step 210, a pre-built smart collector is acquired, and the smart collector is used to collect operating data of each host node, where the operating data of each host node is different from each other.
在本申请中,主机节点中安装有存储磁盘柜、操作系统、数据库、各种中间件和运行库、种应用软件等等。每一个主机节点在系统中承担着不同的系统运行任务,例如,写文档、做表格、发邮件、管理库存、管理客户等等。In this application, storage disk cabinets, operating systems, databases, various middleware and runtime libraries, various application software, etc. are installed in the host node. Each host node is responsible for different system operation tasks in the system, for example, writing documents, making forms, sending emails, managing inventory, managing customers, and so on.
基于此,在各个主节点处于工作状态时,各个主机节点中的运行数据互不相同。Based on this, when each master node is in a working state, the running data in each host node is different from each other.
在步骤 230中,将所述智能采集器和控制指令分发至各个主机节点,以使得各个主机节点自动安装所述智能采集器,所述控制指令用于定时触发所述智能采集器采集主机节点中的运行数据。In step 230, the smart collector and control instructions are distributed to each host node, so that each host node automatically installs the smart collector, and the control instruction is used to periodically trigger the smart collector to collect data in the host node. Operating data.
具体的,在本申请中,可以是通过调用自动调度平台将智能采集器下发到主机节点上的固定文件夹,并添加控制指令,例如,该控制指令可以是crond指令,crond指令是Linux定期执行程序的命令,crond指令会定期检查是否有要执行的工作,如果有要执行的工作便会自动执行该工作。Specifically, in this application, the intelligent collector can be sent to a fixed folder on the host node by calling the automatic scheduling platform, and a control command can be added. For example, the control command can be a crond command, and the crond command is a Linux regular The command to execute the program, the crond command will periodically check whether there is a work to be performed, and if there is a work to be performed, the work will be executed automatically.
在本申请中,可以通过IP来绑定每一个主机节点,其中,每一个主机节点对应一个IP,每一个主机节点可以有多个数据端口,智能采集器通过读取IP的端口来判断有多少个应用。In this application, each host node can be bound by IP. Each host node corresponds to an IP, and each host node can have multiple data ports. The intelligent collector can determine how many data ports there are by reading the IP port. Applications.
在一种情况下,若主节点中安装有智能采集器,则无需向主机节点中分发智能采集器。In one case, if a smart collector is installed in the master node, there is no need to distribute the smart collector to the master node.
在另一种情况下,若主节点中安装有智能采集器,且智能采集器需要更新,则只需要将智能采集器的更新包数据分发至各个主机节点,以供智能采集器进行更新。In another case, if a smart collector is installed in the master node and the smart collector needs to be updated, only the update package data of the smart collector needs to be distributed to each host node for the smart collector to update.
继续参照图2,在步骤 250中,针对每一个主机节点,监听所述智能采集器是否采集到所述主机节点的运行数据。Continuing to refer to FIG. 2, in step 250, for each host node, it is monitored whether the smart collector has collected the operating data of the host node.
在本申请中,安装在主机节点中的智能采集器会对主机节点中一个或者多个应用在运行时所产生的运行数据进行采集。In this application, the intelligent collector installed in the host node collects operating data generated by one or more applications in the host node during operation.
在本申请中,所述智能采集器包括至少一种采集程序,其中,每一种采集程序用于对应采集一种应用的运行数据。In this application, the smart collector includes at least one collection program, wherein each collection program is used to collect operating data of one application.
在本申请的一个实施例中,所述智能采集器可以执行如图3所示出的步骤来采集主机节点中的运行数据:In an embodiment of the present application, the smart collector can perform the steps shown in FIG. 3 to collect operating data in the host node:
参见图3,示出了根据本申请一个实施例的智能采集器采集运行数据的细节流程。具体包括步骤320至步骤340:Referring to FIG. 3, it shows the detailed process of collecting operating data by the smart collector according to an embodiment of the present application. Specifically, it includes step 320 to step 340:
在步骤320中,所述智能采集器识别在所述主机节点中的安装应用的标识。In step 320, the smart collector recognizes the identifier of the installed application in the host node.
在本实施例中,在所述智能采集器识别在所述主机节点中的安装应用的标识之前,所述智能采集器还可以执行如图4所示出的步骤。In this embodiment, before the smart collector recognizes the identifier of the installed application in the host node, the smart collector may also perform the steps shown in FIG. 4.
参见图4,示出了根据本申请一个实施例的智能采集器在识别所述主机节点中安装应用的标识之前的方法流程图。具体包括步骤311至步骤313:Referring to FIG. 4, it shows a flow chart of a method for the smart collector according to an embodiment of the present application before identifying the identifier of the installed application in the host node. Specifically, it includes steps 311 to 313:
步骤311,所述智能采集器识别所述主机节点的运行状态。Step 311: The smart collector recognizes the operating state of the host node.
步骤312,在所述主机节点处于停机状态时,所述智能采集器采集所述主机节点的停机状态信息。Step 312: When the host node is in a shutdown state, the intelligent collector collects the shutdown state information of the host node.
步骤313,在所述主机节点处于开机状态时,所述智能采集器采集所述主机节点的开机状态信息。Step 313: When the host node is in the power-on state, the smart collector collects the power-on state information of the host node.
具体的,例如,智能采集器通过预置的主机节点状态探测命令,检测主机节点的运行状态,若主机处于停机状态,则采集主机节点的停机状态信息,若主机节点处于开机状态则采集主机节点的运行参数,Specifically, for example, the intelligent collector detects the running status of the host node through the preset host node status detection command. If the host is in a shutdown state, it collects the shutdown status information of the host node, and if the host node is in the on state, it collects the host node. Operating parameters,
具体的,所述运行参数包括但不限于cpu、mem、disk,主机温度等数据。Specifically, the operating parameters include but are not limited to data such as cpu, mem, disk, and host temperature.
在本实施例中,所述智能采集器包括至少一种检测程序,所述主机节点运行至少一个类型的应用,其中,每一种检测程序用于对应检测一个类型的应用的标识。In this embodiment, the smart collector includes at least one detection program, and the host node runs at least one type of application, wherein each type of detection program is used to detect a corresponding identification of a type of application.
在本实施例中,所述智能采集器识别在所述主机节点中的安装应用的标识,可以按照如图5所示出的步骤执行。In this embodiment, the smart collector recognizes the identifier of the installed application in the host node, which can be executed according to the steps shown in FIG. 5.
参见图5,示出了根据本申请一个实施例的智能采集器识别在所述主机节点中安装应用的标识的细节流程图。具体包括步骤321至步骤323:Referring to FIG. 5, it shows a detailed flowchart of the smart collector recognizing the identifier of the application installed in the host node according to an embodiment of the present application. Specifically, it includes step 321 to step 323:
步骤321,针对每一种检测程序,所述智能采集器通过所述检测程序确定所述主机节点中是否安装所述检测程序所检测类型的应用。Step 321: For each detection program, the smart collector determines whether an application of the type detected by the detection program is installed in the host node through the detection program.
步骤322,若是,则所述智能采集器通过所述检测程序识别属于所述应用类型的安装应用的标识。Step 322: If yes, the smart collector recognizes the identifier of the installed application belonging to the application type through the detection program.
步骤323,若否,则所述智能采集器返回所述检测程序对应检测的空结果。Step 323, if not, the smart collector returns an empty result of the corresponding detection of the detection program.
具体的,例如,所述智能采集器可以同步启动主机节点上包括tomcat、weblogic、zookeeper、nginx等中间件探测命令,以探测所述主机节点中是否有安装所述检测程序所检测类型的应用,若有,则通过ps命令识别主机节点的进程中所包含的中间件应用类型的应用标识。若没有,则返回所述检测程序对应检测的空结果。Specifically, for example, the smart collector can synchronously start the host node including tomcat, weblogic, zookeeper, nginx and other middleware detection commands to detect whether there is an application of the type detected by the detection program installed in the host node, If so, the ps command is used to identify the application identifier of the middleware application type contained in the process of the host node. If not, return the empty result of the corresponding detection of the detection program.
还例如,所述智能采集器可以同步启动主机节点上包括oracle、mongdb、PostgreSQL、redis等数据库探测命令,以探测所述主机节点中是否有安装所述检测程序所检测类型的应用,若有,则通过ps命令识别主机节点的进程中所包含的数据库应用类型的应用标识。若没有,则返回所述检测程序对应检测的空结果。For another example, the smart collector can synchronously start database detection commands including oracle, mongdb, PostgreSQL, redis, etc. on the host node to detect whether there is an application of the type detected by the detection program installed in the host node. If so, The ps command is used to identify the application identifier of the database application type contained in the process of the host node. If not, return the empty result of the corresponding detection of the detection program.
继续参照图3,在步骤340中,基于所述安装应用的标识,所述智能采集器执行与所述安装应用的标识相对应的采集程序,以采集所述安装应用的运行数据。3, in step 340, based on the identifier of the installed application, the smart collector executes a collection program corresponding to the identifier of the installed application to collect operating data of the installed application.
具体的,例如,在主机节点的进程中所包含有中间件应用时,基于识别出的中间件应用标识,触发对应中间件应用的数据采集开关和定时任务crond定时任务开关,比如每3分钟去触发一次采集任务,以采集对应中间件应用在所述主机节点中的运行数据。Specifically, for example, when a middleware application is included in the process of the host node, based on the identified middleware application identifier, the data collection switch and the timing task crond timing task switch of the corresponding middleware application are triggered, such as every 3 minutes. Trigger a collection task to collect the running data of the corresponding middleware application in the host node.
还例如,在主机节点的进程中所包含有数据库应用时,基于识别出的数据库应用标识,触发对应数据库应用的数据采集开关和定时任务crond定时任务开关,采集对应数据应用在所述主机节点中的运行数据,例如数据库实例的指标信息。For another example, when a database application is included in the process of the host node, based on the identified database application identifier, the data collection switch and the timed task crond timed task switch of the corresponding database application are triggered, and the corresponding data is collected and applied in the host node The operating data of the database, such as the indicator information of the database instance.
在本实施例中,在所述智能采集器采集所述安装应用的运行数据之后,所述智能采集器还可以执行如图6所示出的步骤。In this embodiment, after the smart collector collects the operating data of the installed application, the smart collector may also perform the steps shown in FIG. 6.
参见图6,示出了根据本申请一个实施例的智能采集器采集所述安装应用的运行数据之后的方法流程图。具体包括步骤351至步骤352:Referring to FIG. 6, it shows a flowchart of a method after the smart collector collects the running data of the installation application according to an embodiment of the present application. Specifically, it includes step 351 to step 352:
步骤351,所述智能采集器确定所述主机节点中的日志路径。Step 351: The smart collector determines the log path in the host node.
步骤352,所述智能采集器基于所述日志路径,采集日志中的日志信息。Step 352: The smart collector collects log information in the log based on the log path.
具体的,智能采集器同步启动应用主机上日志的路径检索命令,检测出对应的应用日志路径,并基于该日志路径采集所述主机节点中的日志信息。Specifically, the smart collector synchronously initiates the path search command of the log on the application host, detects the corresponding application log path, and collects the log information in the host node based on the log path.
继续参照图2,在步骤 270中,在监听到所述智能采集器采集到所述主机节点的运行数据时,通过与所述智能采集器建立的数据传输通道获取所述运行数据。Continuing to refer to FIG. 2, in step 270, when the operation data of the host node collected by the intelligent collector is monitored, the operation data is obtained through the data transmission channel established with the intelligent collector.
具体的,所述数据传输通道可以是基于http协议的数据传输通道。Specifically, the data transmission channel may be a data transmission channel based on the http protocol.
在本申请的一个实施例中,在通过与所述智能采集器建立的数据传输通道获取所述运行数据之后,还可以执行如图7所示出的步骤。In an embodiment of the present application, after the operating data is acquired through the data transmission channel established with the smart collector, the steps shown in FIG. 7 may also be performed.
参见图7,示出了根据本申请一个实施例的在通过与所述智能采集器建立的数据传输通道获取所述运行数据之后的方法流程图。具体包括步骤281至步骤283:Referring to FIG. 7, it shows a flowchart of a method after acquiring the operating data through the data transmission channel established with the smart collector according to an embodiment of the present application. Specifically, it includes step 281 to step 283:
步骤281,在获取到所有主机节点中的运行数据之后,分别对各个主机节点中的运行数据进行特征提取,得到特征指标数据。Step 281: After obtaining the operating data in all host nodes, feature extraction is performed on the operating data in each host node to obtain feature index data.
在本申请中,主机节点中的运行数据一般是以数据流的形式存在,其中包括有各种监控指标的参数信息,对各个主机节点中的运行数据进行特征提取,实际上是通过识别关键字段,在数据流中提取各项指标的参数数据。In this application, the operating data in the host node generally exists in the form of a data stream, which includes parameter information of various monitoring indicators. The feature extraction of the operating data in each host node is actually performed by identifying keywords Segment, extract the parameter data of various indicators in the data stream.
步骤282,基于所述特征指标数据,以及特征指标数据参考区间,分别校验各个主机节点的运行是否存在异常。Step 282, based on the characteristic index data and the characteristic index data reference interval, respectively check whether the operation of each host node is abnormal.
在本申请中,会根据实际情况预先制定各项指标的参考区间,然后根据某一个指标的参数是否落在该指标对应的参考区间中来判断主机节点的运行是否存在异常。In this application, the reference interval of each indicator will be pre-defined according to the actual situation, and then according to whether the parameter of a certain indicator falls within the reference interval corresponding to the indicator, it is judged whether the operation of the host node is abnormal.
具体的,在步骤282中,针对每一个主机节点,在所述特征指标数据不属于所述特征指标数据参考区间时,则所述主机节点的运行存在异常。例如,某一个中间件应用在主机节点中运行时的数据传输速度应在100比特/秒(bps)至100比特/秒(bps)之间,然而,该中间件应用在主机节点中实际运行时的数据传输速度为28比特/秒(bps),则说明该中间件应用运行异常,进一步说明该中间件应用所在主机节点运行异常。Specifically, in step 282, for each host node, when the characteristic index data does not belong to the characteristic index data reference interval, the operation of the host node is abnormal. For example, the data transmission speed of a certain middleware application running in the host node should be between 100 bits per second (bps) and 100 bits per second (bps), however, when the middleware application is actually running in the host node If the data transmission speed is 28 bits per second (bps), it indicates that the middleware application is operating abnormally, and further that the host node where the middleware application is located is operating abnormally.
步骤283,在所述主机节点的运行存在异常时,对所述系统中的异常主机节点进行异常告警。Step 283: When there is an abnormality in the operation of the host node, an abnormality alarm is issued to the abnormal host node in the system.
在本申请一些实施例的技术方案中,通过将预先构建的智能采集器和控制指令分发至各个主机节点并安装在各个主机节点,以使得各个主机节点中的智能采集器能够采集自身所在主机节点中的运行数据,由于本申请中提出的技术方案能够针对不同的监控对象,统一下发采集器,节省人工区分监控对象的时间成本,同时也简化了安装配置过程,降低了运维成本,进而降低对系统数据进行获取所需耗费的资源。In the technical solutions of some embodiments of the present application, pre-built smart collectors and control instructions are distributed to each host node and installed in each host node, so that the intelligent collector in each host node can collect the host node where it is located. Because the technical solution proposed in this application can uniformly issue collectors for different monitoring objects, it saves the time and cost of manually distinguishing monitoring objects. It also simplifies the installation and configuration process and reduces operation and maintenance costs. Reduce the resources required to obtain system data.
以下介绍本申请的装置实施例,可以用于执行本申请上述实施例中的系统的数据获取方法。对于本申请装置实施例中未披露的细节,请参照本申请上述的系统的数据获取方法的实施例。The following describes the device embodiments of the present application, which can be used to implement the data acquisition method of the system in the foregoing embodiments of the present application. For details that are not disclosed in the device embodiment of this application, please refer to the embodiment of the data acquisition method of the above-mentioned system of this application.
图8示出了根据本申请一个实施例的系统的数据获取装置的框图。Fig. 8 shows a block diagram of a data acquisition device of the system according to an embodiment of the present application.
参照图8所示,根据本申请的一个实施例的系统的数据获取装置800,所述装置包括:第一获取单元801,分发单元802,监听单元803和第二获取单元804。Referring to FIG. 8, the data acquisition device 800 of the system according to an embodiment of the present application includes: a first acquisition unit 801, a distribution unit 802, a monitoring unit 803, and a second acquisition unit 804.
其中,第一获取单元801,被用于获取预先构建的智能采集器,所述智能采集器用于采集各个主机节点的运行数据,其中,各个主机节点的运行数据互不相同;分发单元802,被用于将所述智能采集器和控制指令分发至各个主机节点,以使得各个主机节点自动安装所述智能采集器,所述控制指令用于定时触发所述智能采集器采集主机节点中的运行数据;监听单元803,被用于针对每一个主机节点,监听所述智能采集器是否采集到所述主机节点的运行数据;第二获取单元804,被用于在监听到所述智能采集器采集到所述主机节点的运行数据时,通过与所述智能采集器建立的数据传输通道获取所述运行数据。Among them, the first obtaining unit 801 is used to obtain a pre-built smart collector, which is used to collect the operating data of each host node, where the operating data of each host node is different from each other; the distribution unit 802 is used to Used for distributing the smart collector and control instructions to each host node, so that each host node automatically installs the smart collector, and the control instruction is used to periodically trigger the smart collector to collect operating data in the host node The monitoring unit 803 is used for each host node to monitor whether the smart collector has collected the operating data of the host node; the second obtaining unit 804 is used to monitor the collection of the smart collector When operating data of the host node, the operating data is acquired through a data transmission channel established with the intelligent collector.
在本申请的一些实施例中,基于前述方案,所述智能采集器包括至少一种采集程序,其中,每一种采集程序用于对应采集一种应用的运行数据,针对每一个主机节点,所述智能采集器配置为:所述智能采集器识别在所述主机节点中的安装应用的标识;基于所述安装应用的标识,所述智能采集器执行与所述安装应用的标识相对应的采集程序,以采集所述安装应用的运行数据。In some embodiments of the present application, based on the foregoing solution, the smart collector includes at least one collection program, wherein each collection program is used to collect the operating data of an application corresponding to each host node. The smart collector is configured to: the smart collector recognizes the identifier of the installed application in the host node; based on the identifier of the installed application, the smart collector performs collection corresponding to the identifier of the installed application Program to collect the running data of the installed application.
在本申请的一些实施例中,基于前述方案,所述智能采集器配置为:在所述智能采集器识别在所述主机节点中的安装应用的标识之前,所述智能采集器识别所述主机节点的运行状态;在所述主机节点处于停机状态时,所述智能采集器采集所述主机节点的停机状态信息;在所述主机节点处于开机状态时,所述智能采集器采集所述主机节点的开机状态信息。In some embodiments of the present application, based on the foregoing solution, the smart collector is configured to: before the smart collector recognizes the identifier of the installed application in the host node, the smart collector recognizes the host The operating state of the node; when the host node is in a shutdown state, the smart collector collects the shutdown state information of the host node; when the host node is in the on state, the smart collector collects the host node Power-on status information.
在本申请的一些实施例中,基于前述方案,所述智能采集器包括至少一种检测程序,所述主机节点运行至少一个类型的应用,其中,每一种检测程序用于对应检测一个类型的应用的标识,所述智能采集器配置为:针对每一种检测程序,所述智能采集器通过所述检测程序确定所述主机节点中是否安装所述检测程序所检测类型的应用;若是,则所述智能采集器通过所述检测程序识别属于所述应用类型的安装应用的标识;若否,则所述智能采集器返回所述检测程序对应检测的空结果。In some embodiments of the present application, based on the foregoing solution, the smart collector includes at least one detection program, and the host node runs at least one type of application, wherein each detection program is used to detect a corresponding type of Identification of the application, the smart collector is configured to: for each detection program, the smart collector determines through the detection program whether an application of the type detected by the detection program is installed in the host node; if so, then The smart collector recognizes the identifier of the installed application belonging to the application type through the detection program; if not, the smart collector returns an empty result of the detection corresponding to the detection program.
在本申请的一些实施例中,基于前述方案,所述智能采集器配置为:在所述智能采集器采集所述安装应用的运行数据之后,所述智能采集器确定所述主机节点中的日志路径;所述智能采集器基于所述日志路径,采集日志中的日志信息。In some embodiments of the present application, based on the foregoing solution, the smart collector is configured to: after the smart collector collects the operating data of the installation application, the smart collector determines the log in the host node Path; the smart collector collects log information in the log based on the log path.
在本申请的一些实施例中,基于前述方案,所述装置还包括:提取单元,被用于在通过与所述智能采集器建立的数据传输通道获取所述运行数据之后,在获取到所有主机节点中的运行数据之后,分别对各个主机节点中的运行数据进行特征提取,得到特征指标数据;校验单元,被用于基于所述特征指标数据,以及特征指标数据参考区间,分别校验各个主机节点的运行是否存在异常;告警单元,被用于在所述主机节点的运行存在异常时,对所述系统中的异常主机节点进行异常告警。In some embodiments of the present application, based on the foregoing solution, the device further includes: an extraction unit, which is used to obtain the operating data through the data transmission channel established with the smart collector, after obtaining all the hosts After the operating data in the node, feature extraction is performed on the operating data in each host node to obtain the feature index data; the verification unit is used to verify each of the feature index data and the reference interval of the feature index data. Whether there is an abnormality in the operation of the host node; the alarm unit is used to issue an abnormal alarm to the abnormal host node in the system when the operation of the host node is abnormal.
在本申请的一些实施例中,基于前述方案,所述校验单元配置为:针对每一个主机节点,在所述特征指标数据不属于所述特征指标数据参考区间时,则所述主机节点的运行存在异常。In some embodiments of the present application, based on the foregoing solution, the verification unit is configured to: for each host node, when the characteristic index data does not belong to the characteristic index data reference interval, the host node's There is an abnormal operation.
应当注意,尽管在上文详细描述中提及了系统的数据获取方法以及系统的数据获取装置的若干单元,但是这种划分并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多单元和功能可以在一个单元中具体化。反之,上文描述的一个单元的特征和功能可以进一步划分为由多个单元来具体化。作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本申请方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。It should be noted that although the data acquisition method of the system and several units of the data acquisition device of the system are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, two or more units and functions described above may be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied. A component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the present application. Those of ordinary skill in the art can understand and implement without creative work.
作为另一方面,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质可以是非易失性,也可以是易失性,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施方式中,本申请的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本申请各种示例性实施方式的步骤。As another aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium may be non-volatile or volatile, and a program capable of implementing the above-mentioned method in this specification is stored thereon. product. In some possible implementation manners, various aspects of the present application can also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to make the The terminal device executes the steps according to various exemplary embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.
参考图9所示,描述了根据本申请的实施方式的用于实现上述方法的程序产品900,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本申请的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Referring to FIG. 9, a program product 900 for implementing the above method according to an embodiment of the present application is described. It can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be installed in a terminal device, For example, running on a personal computer. However, the program product of this application is not limited to this. In this document, the readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, device, or device.
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product can use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Type programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。The program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本申请操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。The program code used to perform the operations of the present application can be written in any combination of one or more programming languages. The programming languages include object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming languages. Programming language-such as "C" language or similar programming language. The program code can be executed entirely on the user's computing device, partly on the user's device, executed as an independent software package, partly on the user's computing device and partly executed on the remote computing device, or entirely on the remote computing device or server Executed on. In the case of a remote computing device, the remote computing device can be connected to a user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (for example, using Internet service providers). Business to connect via the Internet).
作为另一方面,本申请还提供了一种能够实现上述方法的电子设备。As another aspect, the present application also provides an electronic device capable of implementing the above method.
所属技术领域的技术人员能够理解,本申请的各个方面可以实现为系统、方法或程序产品。因此,本申请的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。Those skilled in the art can understand that various aspects of the present application can be implemented as a system, a method, or a program product. Therefore, each aspect of the present application can be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which can be collectively referred to herein as "Circuit", "Module" or "System".
下面参照图10来描述根据本申请的这种实施方式的电子设备1000。图10显示的电子设备1000仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。The electronic device 1000 according to this embodiment of the present application will be described below with reference to FIG. 10. The electronic device 1000 shown in FIG. 10 is only an example, and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
如图10所示,电子设备1000以通用计算设备的形式表现。电子设备1000的组件可以包括但不限于:上述至少一个处理单元1010、上述至少一个存储单元1020、连接不同系统组件(包括存储单元1020和处理单元1010)的总线1030。As shown in FIG. 10, the electronic device 1000 is represented in the form of a general-purpose computing device. The components of the electronic device 1000 may include, but are not limited to: the aforementioned at least one processing unit 1010, the aforementioned at least one storage unit 1020, and a bus 1030 connecting different system components (including the storage unit 1020 and the processing unit 1010).
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元1010执行,使得所述处理单元1010执行本说明书上述“实施例方法”部分中描述的根据本申请各种示例性实施方式的步骤。Wherein, the storage unit stores program code, and the program code can be executed by the processing unit 1010, so that the processing unit 1010 executes the various exemplary methods described in the above-mentioned "Methods of Embodiments" section of this specification. Steps of implementation.
存储单元1020可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)1021和/或高速缓存存储单元1022,还可以进一步包括只读存储单元(ROM)1023。The storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 1021 and/or a cache storage unit 1022, and may further include a read-only storage unit (ROM) 1023.
存储单元1020还可以包括具有一组(至少一个)程序模块1025的程序/实用工具1024,这样的程序模块1025包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The storage unit 1020 may also include a program/utility tool 1024 having a set of (at least one) program modules 1025. Such program modules 1025 include but are not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
总线1030可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。The bus 1030 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
电子设备1000也可以与一个或多个外部设备1100(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备1000交互的设备通信,和/或与使得该电子设备1000能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口1050进行。并且,电子设备1000还可以通过网络适配器1060与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器1060通过总线1030与电子设备1000的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备1000使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 1000 may also communicate with one or more external devices 1100 (such as keyboards, pointing devices, Bluetooth devices, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 1000, and/or communicate with Any device (such as a router, modem, etc.) that enables the electronic device 1000 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 1050. In addition, the electronic device 1000 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 1060. As shown in the figure, the network adapter 1060 communicates with other modules of the electronic device 1000 through the bus 1030. It should be understood that although not shown in the figure, other hardware and/or software modules can be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本申请实施方式的方法。Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described here can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiment of the present application.
此外,上述附图仅是根据本申请示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。In addition, the above-mentioned drawings are merely schematic illustrations of the processing included in the method according to the exemplary embodiments of the present application, and are not intended for limitation. It is easy to understand that the processing shown in the above drawings does not indicate or limit the time sequence of these processings. In addition, it is easy to understand that these processes can be executed synchronously or asynchronously in multiple modules, for example.
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围执行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It should be understood that the present application is not limited to the precise structure that has been described above and shown in the drawings, and various modifications and changes can be performed without departing from its scope. The scope of the application is only limited by the appended claims.

Claims (20)

  1. 一种系统的数据获取方法,所述系统中包括至少两个主机节点,所述方法包括:A method for acquiring data in a system, the system includes at least two host nodes, and the method includes:
    获取预先构建的智能采集器,所述智能采集器用于采集各个主机节点的运行数据,其中,各个主机节点的运行数据互不相同;Acquiring a pre-built intelligent collector, which is used to collect the operating data of each host node, where the operating data of each host node is different from each other;
    将所述智能采集器和控制指令分发至各个主机节点,以使得各个主机节点自动安装所述智能采集器,所述控制指令用于定时触发所述智能采集器采集主机节点中的运行数据;Distributing the smart collector and control instructions to each host node, so that each host node automatically installs the smart collector, and the control instruction is used to periodically trigger the smart collector to collect operating data in the host node;
    针对每一个主机节点,监听所述智能采集器是否采集到所述主机节点的运行数据;For each host node, monitor whether the intelligent collector has collected the operating data of the host node;
    在监听到所述智能采集器采集到所述主机节点的运行数据时,通过与所述智能采集器建立的数据传输通道获取所述运行数据。When the operation data of the host node collected by the intelligent collector is monitored, the operation data is obtained through the data transmission channel established with the intelligent collector.
  2. 根据权利要求1所述的方法,其中,所述智能采集器包括至少一种采集程序,其中,每一种采集程序用于对应采集一种应用的运行数据,针对每一个主机节点,所述智能采集器通过如下方式采集运行数据:The method according to claim 1, wherein the smart collector includes at least one collection program, wherein each collection program is used to collect operating data corresponding to one type of application, and for each host node, the smart collector The collector collects operating data in the following ways:
    所述智能采集器识别在所述主机节点中的安装应用的标识;The smart collector recognizes the identifier of the installed application in the host node;
    基于所述安装应用的标识,所述智能采集器执行与所述安装应用的标识相对应的采集程序,以采集所述安装应用的运行数据。Based on the identifier of the installed application, the smart collector executes a collection program corresponding to the identifier of the installed application to collect operating data of the installed application.
  3. 根据权利要求2所述的方法,其中,在所述智能采集器识别在所述主机节点中的安装应用的标识之前,所述方法还包括:The method according to claim 2, wherein, before the smart collector recognizes the identification of the installed application in the host node, the method further comprises:
    所述智能采集器识别所述主机节点的运行状态;The smart collector recognizes the operating state of the host node;
    在所述主机节点处于停机状态时,所述智能采集器采集所述主机节点的停机状态信息;When the host node is in a shutdown state, the intelligent collector collects the shutdown state information of the host node;
    在所述主机节点处于开机状态时,所述智能采集器采集所述主机节点的开机状态信息。When the host node is in the power-on state, the smart collector collects power-on state information of the host node.
  4. 根据权利要求2所述的方法,其中,所述智能采集器包括至少一种检测程序,所述主机节点运行至少一个类型的应用,其中,每一种检测程序用于对应检测一个类型的应用的标识,所述智能采集器识别在所述主机节点中的安装应用的标识,包括:The method according to claim 2, wherein the smart collector includes at least one detection program, and the host node runs at least one type of application, wherein each detection program is used to detect one type of application. Identification, the identification of the smart collector identifying the installed application in the host node includes:
    针对每一种检测程序,所述智能采集器通过所述检测程序确定所述主机节点中是否安装所述检测程序所检测类型的应用;For each detection program, the smart collector determines through the detection program whether an application of the type detected by the detection program is installed in the host node;
    若是,则所述智能采集器通过所述检测程序识别属于所述应用类型的安装应用的标识;If yes, the smart collector recognizes the identifier of the installed application belonging to the application type through the detection program;
    若否,则所述智能采集器返回所述检测程序对应检测的空结果。If not, the smart collector returns an empty result corresponding to the detection by the detection program.
  5. 根据权利要求2所述的方法,其中,在所述智能采集器采集所述安装应用的运行数据之后,所述方法还包括:The method according to claim 2, wherein, after the smart collector collects operating data of the installed application, the method further comprises:
    所述智能采集器确定所述主机节点中的日志路径;The smart collector determines the log path in the host node;
    所述智能采集器基于所述日志路径,采集日志中的日志信息。The smart collector collects log information in the log based on the log path.
  6. 根据权利要求1所述的方法,其中,在通过与所述智能采集器建立的数据传输通道获取所述运行数据之后,所述方法还包括:The method according to claim 1, wherein, after acquiring the operating data through the data transmission channel established with the smart collector, the method further comprises:
    在获取到所有主机节点中的运行数据之后,分别对各个主机节点中的运行数据进行特征提取,得到特征指标数据;After obtaining the operating data in all host nodes, perform feature extraction on the operating data in each host node to obtain feature index data;
    基于所述特征指标数据,以及特征指标数据参考区间,分别校验各个主机节点的运行是否存在异常;Based on the characteristic index data and the characteristic index data reference interval, respectively verify whether the operation of each host node is abnormal;
    在所述主机节点的运行存在异常时,对所述系统中的异常主机节点进行异常告警。When there is an abnormality in the operation of the host node, an abnormal alarm is issued to the abnormal host node in the system.
  7. 根据权利要求6所述的方法,其中,所述基于所述特征指标数据,以及特征指标数据参考区间,分别校验各个主机节点的运行是否存在异常,包括:7. The method according to claim 6, wherein the step of separately verifying whether the operation of each host node is abnormal based on the characteristic index data and the characteristic index data reference interval comprises:
    针对每一个主机节点,在所述特征指标数据不属于所述特征指标数据参考区间时,则所述主机节点的运行存在异常。For each host node, when the characteristic index data does not belong to the characteristic index data reference interval, the operation of the host node is abnormal.
  8. 一种系统的数据获取装置,其中,所述系统中包括至少两个主机节点,所述装置包括:A data acquisition device of a system, wherein the system includes at least two host nodes, and the device includes:
    第一获取单元,被用于获取预先构建的智能采集器,所述智能采集器用于采集各个主机节点的运行数据,其中,各个主机节点的运行数据互不相同;The first acquiring unit is used to acquire a pre-built intelligent collector, which is used to collect operating data of each host node, where the operating data of each host node is different from each other;
    分发单元,被用于将所述智能采集器和控制指令分发至各个主机节点,以使得各个主机节点自动安装所述智能采集器,所述控制指令用于定时触发所述智能采集器采集主机节点中的运行数据;The distribution unit is used to distribute the smart collector and control instructions to each host node, so that each host node automatically installs the smart collector, and the control instruction is used to trigger the smart collector to collect the host node regularly Operating data in;
    监听单元,被用于针对每一个主机节点,监听所述智能采集器是否采集到所述主机节点的运行数据;The monitoring unit is used for each host node to monitor whether the intelligent collector has collected the operating data of the host node;
    第二获取单元,被用于在监听到所述智能采集器采集到所述主机节点的运行数据时,通过与所述智能采集器建立的数据传输通道获取所述运行数据。The second acquiring unit is used to acquire the operating data through the data transmission channel established with the intelligent collector when monitoring the operating data of the host node collected by the intelligent collector.
  9. 一种系统的数据获取的电子设备,其中,所述电子设备包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时执行以下步骤:An electronic device for data acquisition of a system, wherein the electronic device includes a memory, a processor, and computer-readable instructions stored in the memory and running on the processor, and the processor executes the Perform the following steps when computer-readable instructions:
    获取预先构建的智能采集器,所述智能采集器用于采集各个主机节点的运行数据,其中,各个主机节点的运行数据互不相同;Acquiring a pre-built intelligent collector, which is used to collect the operating data of each host node, where the operating data of each host node is different from each other;
    将所述智能采集器和控制指令分发至各个主机节点,以使得各个主机节点自动安装所述智能采集器,所述控制指令用于定时触发所述智能采集器采集主机节点中的运行数据;Distributing the smart collector and control instructions to each host node, so that each host node automatically installs the smart collector, and the control instruction is used to periodically trigger the smart collector to collect operating data in the host node;
    针对每一个主机节点,监听所述智能采集器是否采集到所述主机节点的运行数据;For each host node, monitor whether the intelligent collector has collected the operating data of the host node;
    在监听到所述智能采集器采集到所述主机节点的运行数据时,通过与所述智能采集器建立的数据传输通道获取所述运行数据。When the operation data of the host node collected by the intelligent collector is monitored, the operation data is obtained through the data transmission channel established with the intelligent collector.
  10. 根据权利要求9所述的电子设备,其中,所述智能采集器包括至少一种采集程序,其中,每一种采集程序用于对应采集一种应用的运行数据,针对每一个主机节点,所述智能采集器通过如下方式采集运行数据:The electronic device according to claim 9, wherein the smart collector includes at least one collection program, wherein each collection program is used to collect operating data of one application, and for each host node, the The smart collector collects operating data in the following ways:
    所述智能采集器识别在所述主机节点中的安装应用的标识;The smart collector recognizes the identifier of the installed application in the host node;
    基于所述安装应用的标识,所述智能采集器执行与所述安装应用的标识相对应的采集程序,以采集所述安装应用的运行数据。Based on the identifier of the installed application, the smart collector executes a collection program corresponding to the identifier of the installed application to collect operating data of the installed application.
  11. 根据权利要求10所述的电子设备,其中,在所述智能采集器识别在所述主机节点中的安装应用的标识之前,所述处理器执行所述计算机可读指令时还执行以下步骤:The electronic device according to claim 10, wherein, before the smart collector recognizes the identification of the installed application in the host node, the processor further executes the following steps when executing the computer-readable instruction:
    所述智能采集器识别所述主机节点的运行状态;The smart collector recognizes the operating state of the host node;
    在所述主机节点处于停机状态时,所述智能采集器采集所述主机节点的停机状态信息;When the host node is in a shutdown state, the intelligent collector collects the shutdown state information of the host node;
    在所述主机节点处于开机状态时,所述智能采集器采集所述主机节点的开机状态信息。When the host node is in the power-on state, the smart collector collects power-on state information of the host node.
  12. 根据权利要求10所述的电子设备,其中,所述智能采集器包括至少一种检测程序,所述主机节点运行至少一个类型的应用,其中,每一种检测程序用于对应检测一个类型的应用的标识,所述智能采集器识别在所述主机节点中的安装应用的标识,包括:The electronic device according to claim 10, wherein the smart collector includes at least one detection program, and the host node runs at least one type of application, wherein each detection program is used to detect a corresponding type of application The identification of the smart collector identifying the installation application in the host node includes:
    针对每一种检测程序,所述智能采集器通过所述检测程序确定所述主机节点中是否安装所述检测程序所检测类型的应用;For each detection program, the smart collector determines through the detection program whether an application of the type detected by the detection program is installed in the host node;
    若是,则所述智能采集器通过所述检测程序识别属于所述应用类型的安装应用的标识;If yes, the smart collector recognizes the identifier of the installed application belonging to the application type through the detection program;
    若否,则所述智能采集器返回所述检测程序对应检测的空结果。If not, the smart collector returns an empty result corresponding to the detection by the detection program.
  13. 根据权利要求10所述的电子设备,其中,在所述智能采集器采集所述安装应用的运行数据之后,所述处理器执行所述计算机可读指令时还执行以下步骤:The electronic device according to claim 10, wherein, after the smart collector collects the running data of the installed application, the processor further executes the following steps when executing the computer-readable instruction:
    所述智能采集器确定所述主机节点中的日志路径;The smart collector determines the log path in the host node;
    所述智能采集器基于所述日志路径,采集日志中的日志信息。The smart collector collects log information in the log based on the log path.
  14. 根据权利要求9所述的电子设备,其中,在通过与所述智能采集器建立的数据传输通道获取所述运行数据之后,所述处理器执行所述计算机可读指令时还执行以下步骤:The electronic device according to claim 9, wherein, after acquiring the operating data through the data transmission channel established with the smart collector, the processor further executes the following steps when executing the computer-readable instruction:
    在获取到所有主机节点中的运行数据之后,分别对各个主机节点中的运行数据进行特征提取,得到特征指标数据;After obtaining the operating data in all host nodes, perform feature extraction on the operating data in each host node to obtain feature index data;
    基于所述特征指标数据,以及特征指标数据参考区间,分别校验各个主机节点的运行是否存在异常;Based on the characteristic index data and the characteristic index data reference interval, respectively verify whether the operation of each host node is abnormal;
    在所述主机节点的运行存在异常时,对所述系统中的异常主机节点进行异常告警。When there is an abnormality in the operation of the host node, an abnormal alarm is issued to the abnormal host node in the system.
  15. 根据权利要求14所述的电子设备,其中,所述基于所述特征指标数据,以及特征指标数据参考区间,分别校验各个主机节点的运行是否存在异常,包括:14. The electronic device according to claim 14, wherein said separately verifying whether the operation of each host node is abnormal based on the characteristic index data and the characteristic index data reference interval comprises:
    针对每一个主机节点,在所述特征指标数据不属于所述特征指标数据参考区间时,则所述主机节点的运行存在异常。For each host node, when the characteristic index data does not belong to the characteristic index data reference interval, the operation of the host node is abnormal.
  16. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有至少一个指令,所述至少一个指令被处理器执行时实现时执行以下步骤:A computer-readable storage medium, wherein the computer-readable storage medium stores at least one instruction, and the following steps are executed when the at least one instruction is executed by a processor:
    获取预先构建的智能采集器,所述智能采集器用于采集各个主机节点的运行数据,其中,各个主机节点的运行数据互不相同;Acquiring a pre-built intelligent collector, which is used to collect the operating data of each host node, where the operating data of each host node is different from each other;
    将所述智能采集器和控制指令分发至各个主机节点,以使得各个主机节点自动安装所述智能采集器,所述控制指令用于定时触发所述智能采集器采集主机节点中的运行数据;Distributing the smart collector and control instructions to each host node, so that each host node automatically installs the smart collector, and the control instruction is used to periodically trigger the smart collector to collect operating data in the host node;
    针对每一个主机节点,监听所述智能采集器是否采集到所述主机节点的运行数据;For each host node, monitor whether the intelligent collector has collected the operating data of the host node;
    在监听到所述智能采集器采集到所述主机节点的运行数据时,通过与所述智能采集器建立的数据传输通道获取所述运行数据。When the operation data of the host node collected by the intelligent collector is monitored, the operation data is obtained through the data transmission channel established with the intelligent collector.
  17. 根据权利要求16所述的计算机可读存储介质,其中,所述智能采集器包括至少一种采集程序,其中,每一种采集程序用于对应采集一种应用的运行数据,针对每一个主机节点,所述智能采集器通过如下方式采集运行数据:The computer-readable storage medium according to claim 16, wherein the smart collector includes at least one collection program, wherein each collection program is used to collect the operating data of an application corresponding to each host node , The smart collector collects operating data in the following ways:
    所述智能采集器识别在所述主机节点中的安装应用的标识;The smart collector recognizes the identifier of the installed application in the host node;
    基于所述安装应用的标识,所述智能采集器执行与所述安装应用的标识相对应的采集程序,以采集所述安装应用的运行数据。Based on the identifier of the installed application, the smart collector executes a collection program corresponding to the identifier of the installed application to collect operating data of the installed application.
  18. 根据权利要求17所述的计算机可读存储介质,其中,在所述智能采集器识别在所述主机节点中的安装应用的标识之前,所述至少一个指令被处理器执行时还实现时执行以下步骤:The computer-readable storage medium according to claim 17, wherein, before the smart collector recognizes the identification of the installed application in the host node, the following is executed when the at least one instruction is executed by the processor step:
    所述智能采集器识别所述主机节点的运行状态;The smart collector recognizes the operating state of the host node;
    在所述主机节点处于停机状态时,所述智能采集器采集所述主机节点的停机状态信息;When the host node is in a shutdown state, the intelligent collector collects the shutdown state information of the host node;
    在所述主机节点处于开机状态时,所述智能采集器采集所述主机节点的开机状态信息。When the host node is in the power-on state, the smart collector collects power-on state information of the host node.
  19. 根据权利要求17所述的计算机可读存储介质,其中,所述智能采集器包括至少一种检测程序,所述主机节点运行至少一个类型的应用,其中,每一种检测程序用于对应检测一个类型的应用的标识,所述智能采集器识别在所述主机节点中的安装应用的标识,包括:The computer-readable storage medium according to claim 17, wherein the smart collector includes at least one detection program, and the host node runs at least one type of application, wherein each detection program is used to detect one The identification of the type of application, and the identification of the installed application on the host node by the smart collector includes:
    针对每一种检测程序,所述智能采集器通过所述检测程序确定所述主机节点中是否安装所述检测程序所检测类型的应用;For each detection program, the smart collector determines through the detection program whether an application of the type detected by the detection program is installed in the host node;
    若是,则所述智能采集器通过所述检测程序识别属于所述应用类型的安装应用的标识;If yes, the smart collector recognizes the identifier of the installed application belonging to the application type through the detection program;
    若否,则所述智能采集器返回所述检测程序对应检测的空结果。If not, the smart collector returns an empty result corresponding to the detection by the detection program.
  20. 根据权利要求17所述的计算机可读存储介质,其中,在所述智能采集器采集所述安装应用的运行数据之后,所述至少一个指令被处理器执行时还实现时执行以下步骤:18. The computer-readable storage medium according to claim 17, wherein, after the smart collector collects the running data of the installed application, the following steps are performed when the at least one instruction is executed by the processor:
    所述智能采集器确定所述主机节点中的日志路径;The smart collector determines the log path in the host node;
    所述智能采集器基于所述日志路径,采集日志中的日志信息。The smart collector collects log information in the log based on the log path.
PCT/CN2021/084170 2020-10-29 2021-03-30 System data acquisition method and apparatus, and medium and electronic device WO2021190659A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011181177.8A CN112306802A (en) 2020-10-29 2020-10-29 Data acquisition method, device, medium and electronic equipment of system
CN202011181177.8 2020-10-29

Publications (1)

Publication Number Publication Date
WO2021190659A1 true WO2021190659A1 (en) 2021-09-30

Family

ID=74331674

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/084170 WO2021190659A1 (en) 2020-10-29 2021-03-30 System data acquisition method and apparatus, and medium and electronic device

Country Status (2)

Country Link
CN (1) CN112306802A (en)
WO (1) WO2021190659A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114415953A (en) * 2022-01-04 2022-04-29 武汉烽火技术服务有限公司 Method and device for data acquisition of data source

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306802A (en) * 2020-10-29 2021-02-02 平安科技(深圳)有限公司 Data acquisition method, device, medium and electronic equipment of system
CN113064789B (en) * 2021-03-15 2023-05-12 上海浦东发展银行股份有限公司 Index data acquisition system, method and storage medium based on configuration center
CN113837672B (en) * 2021-11-26 2022-03-15 深圳普菲特信息科技股份有限公司 Equipment maintenance management method based on industrial Internet

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130268805A1 (en) * 2012-04-09 2013-10-10 Hon Hai Precision Industry Co., Ltd. Monitoring system and method
CN110290190A (en) * 2019-06-18 2019-09-27 深圳前海微众银行股份有限公司 A kind of method, monitored device and monitoring server acquiring data
CN111125226A (en) * 2019-12-24 2020-05-08 中国建设银行股份有限公司 Configuration data acquisition method and device
CN111352800A (en) * 2020-02-25 2020-06-30 京东数字科技控股有限公司 Big data cluster monitoring method and related equipment
CN112306802A (en) * 2020-10-29 2021-02-02 平安科技(深圳)有限公司 Data acquisition method, device, medium and electronic equipment of system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11259383A (en) * 1998-03-12 1999-09-24 Hitachi Ltd Ras information acquisition circuit and information processing system equipped with the same
CN104156296B (en) * 2014-08-01 2017-06-30 浪潮(北京)电子信息产业有限公司 The system and method for intelligent monitoring large-scale data center cluster calculate node
CN110928741B (en) * 2018-09-20 2021-09-24 西门子(中国)有限公司 System state monitoring method, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130268805A1 (en) * 2012-04-09 2013-10-10 Hon Hai Precision Industry Co., Ltd. Monitoring system and method
CN110290190A (en) * 2019-06-18 2019-09-27 深圳前海微众银行股份有限公司 A kind of method, monitored device and monitoring server acquiring data
CN111125226A (en) * 2019-12-24 2020-05-08 中国建设银行股份有限公司 Configuration data acquisition method and device
CN111352800A (en) * 2020-02-25 2020-06-30 京东数字科技控股有限公司 Big data cluster monitoring method and related equipment
CN112306802A (en) * 2020-10-29 2021-02-02 平安科技(深圳)有限公司 Data acquisition method, device, medium and electronic equipment of system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114415953A (en) * 2022-01-04 2022-04-29 武汉烽火技术服务有限公司 Method and device for data acquisition of data source
CN114415953B (en) * 2022-01-04 2024-01-30 武汉烽火技术服务有限公司 Method and device for data acquisition of data source

Also Published As

Publication number Publication date
CN112306802A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
WO2021190659A1 (en) System data acquisition method and apparatus, and medium and electronic device
US10048996B1 (en) Predicting infrastructure failures in a data center for hosted service mitigation actions
US9652271B2 (en) Autonomously managed virtual machine anti-affinity rules in cloud computing environments
US11265209B2 (en) System and method for dynamic and extensible management of device nodes
US8463737B2 (en) Realtime unification management information data conversion and monitoring apparatus and method for thereof
CN111190888A (en) Method and device for managing graph database cluster
US10848839B2 (en) Out-of-band telemetry data collection
CN109672722B (en) Data deployment method and device, computer storage medium and electronic equipment
CN107544832A (en) A kind of monitoring method, the device and system of virtual machine process
WO2020015116A1 (en) Database monitoring method and terminal device
CN108009010B (en) Management device, system, method, electronic device and storage medium for thin client
KR20130140508A (en) Apparatus for collecting log information
US10019182B2 (en) Management system and management method of computer system
CN117280327A (en) Detecting data center large scale interruptions through near real time/offline data using machine learning models
CN114185734A (en) Cluster monitoring method and device and electronic equipment
US8583789B2 (en) Computer system management method and management apparatus
CN113220342A (en) Centralized configuration method and device, electronic equipment and storage medium
WO2021135257A1 (en) Vulnerability processing method and related device
CN109189652A (en) A kind of acquisition method and system of close network terminal behavior data
WO2021155683A1 (en) Log printing method and apparatus, electronic device, and storage medium
CN104298745A (en) Electric power information communication machine room basic resource model
US20240095019A1 (en) Out-of-band updating method and system of expander
CN112714022A (en) Control processing method and device for multiple clusters and computer equipment
CN110347546B (en) Dynamic adjustment method, device, medium and electronic equipment for monitoring task
CN112181942A (en) Time sequence database system and data processing method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21775634

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21775634

Country of ref document: EP

Kind code of ref document: A1