CN114637648A - Information management method, device, electronic equipment and computer readable medium - Google Patents

Information management method, device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN114637648A
CN114637648A CN202210203453.9A CN202210203453A CN114637648A CN 114637648 A CN114637648 A CN 114637648A CN 202210203453 A CN202210203453 A CN 202210203453A CN 114637648 A CN114637648 A CN 114637648A
Authority
CN
China
Prior art keywords
cluster
event information
node
information
proxy node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210203453.9A
Other languages
Chinese (zh)
Inventor
毛培
何小锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingdong Technology Information Technology Co Ltd
Original Assignee
Jingdong Technology Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jingdong Technology Information Technology Co Ltd filed Critical Jingdong Technology Information Technology Co Ltd
Priority to CN202210203453.9A priority Critical patent/CN114637648A/en
Publication of CN114637648A publication Critical patent/CN114637648A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/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/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3072Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes

Abstract

The embodiment of the disclosure discloses an information management method, an information management device, electronic equipment and a computer readable medium. One embodiment of the method comprises: receiving event information sent by a first agent node in a multi-cluster system, wherein the event information is sent to the first agent node by a cluster provided with a second agent node in the multi-cluster system through the second agent node; processing the event information according to preset configuration information; and storing the processed event information to a target position. The embodiment can realize the uniform processing and management of event information of multiple clusters, in particular to a network topology environment which cannot be directly accessed among the clusters. Therefore, the processing efficiency of the information can be improved, and the consumption of cluster resources is reduced.

Description

Information management method, device, electronic equipment and computer readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to an information management method, an information management apparatus, an electronic device, and a computer-readable medium.
Background
In existing container management systems (e.g., kubernets) design, all resources are represented by CR (Custom Resource). The CR, in turn, may correlate events and be used to record key operational and status information for the resource. Therefore, event information is very important for developers and operation and maintenance personnel, and is one of the key diagnostic indicators for ensuring the normal operation of the system. But event information is typically only saved for one hour in the system and then deleted.
Currently, this problem is generally solved by deploying an additional container (e.g., Pod) to monitor the event information of the CR and directly storing the event information to a specific place. However, this technique is not suitable for a multi-cluster network topology environment, and generally has the following disadvantages:
1) a set of programs for acquiring event information, a storage system for receiving events, and an interface program for receiving event query filtering need to be deployed in each cluster. Unnecessary resource consumption is large;
2) when inquiring and filtering, only the event information of the single cluster can be checked, and the request needs to be sent to the service of the sub-cluster, and then the filtering is inquired from the sub-cluster. Data cannot be retrieved from all clusters simply and efficiently.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Some embodiments of the present disclosure propose information management methods, apparatuses, electronic devices, and computer-readable media to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide an information management method for a control node in a multi-cluster system, the method including: receiving event information sent by a first agent node in a multi-cluster system, wherein the event information is sent to the first agent node by a cluster provided with a second agent node in the multi-cluster system through the second agent node; processing the event information according to preset configuration information; and storing the processed event information to a target position.
In some embodiments, the multi-cluster system includes a primary cluster and a sub-cluster, wherein the control node and the first agent node are disposed in the primary cluster, and the second agent node is disposed in the sub-cluster.
In some embodiments, each cluster of the multi-cluster system is further provided with a monitoring node, wherein the monitoring node collects and transmits event information of the resource in response to monitoring the adjustment operation of the resource of the cluster.
In some embodiments, the method further comprises: and responding to the received event information sent by the monitoring node in the main cluster, and processing the received event information according to preset configuration information.
In some embodiments, the event information sent by the second proxy node is obtained by: the monitoring node in the sub-cluster sends the collected event information to a second proxy node in the sub-cluster.
In some embodiments, the cluster in the multi-cluster system is a container management system cluster, wherein the monitoring node is implemented by a component mechanism provided by the container management system cluster.
In some embodiments, the method further comprises: and responding to the received query request, screening the event information stored in the target position, and generating a query result corresponding to the query request.
In a second aspect, some embodiments of the present disclosure provide an information management apparatus for a control node in a multi-cluster system, the apparatus including: the receiving unit is configured to receive event information sent by a first proxy node in the multi-cluster system, wherein the event information is sent to the first proxy node by a cluster provided with a second proxy node in the multi-cluster system through the second proxy node; the processing unit is configured to process the event information according to preset configuration information; a storage unit configured to store the processed event information to a target location.
In some embodiments, the multi-cluster system includes a primary cluster and a sub-cluster, wherein the control node and the first agent node are disposed in the primary cluster, and the second agent node is disposed in the sub-cluster.
In some embodiments, each cluster of the multi-cluster system is further provided with a monitoring node, wherein the monitoring node collects and transmits event information of the resource in response to monitoring the adjustment operation of the resource of the cluster.
In some embodiments, the processing unit is further configured to, in response to receiving the event information sent by the monitoring node in the master cluster, process the received event information according to a preset configuration.
In some embodiments, the event information sent by the second proxy node is obtained by: the monitoring node in the sub-cluster sends the collected event information to a second proxy node in the sub-cluster.
In some embodiments, the cluster in the multi-cluster system is a container management system cluster, wherein the monitoring node is implemented by a component mechanism provided by the container management system cluster.
In some embodiments, the apparatus further includes a query unit configured to, in response to receiving the query request, filter the event information stored at the target location and generate a query result corresponding to the query request.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the disclosure provide a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
The above embodiments of the present disclosure have the following advantages: the information management method of some embodiments of the present disclosure may implement unified management of multi-cluster event information while reducing unnecessary resource consumption as much as possible. Specifically, the reason for the large resource consumption in the cluster is that: the clusters cannot be directly accessed, so a set of programs for acquiring event information, a storage system for receiving events and a program for processing the event information subsequently need to be deployed in each cluster. Based on this, the information management method according to some embodiments of the present disclosure may push out the event information in the cluster by providing the second proxy node in the cluster of the multi-cluster system. The event information is received by the first proxy node in the multi-cluster system, so that the event information can be sent to the control node for unified processing and storage management. Therefore, a storage system and a processing program for event information can be prevented from being deployed in each cluster, and the consumption of resources in the clusters can be greatly reduced. And unified management also helps to improve the processing efficiency of information.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
FIG. 1 is an architectural diagram of an exemplary system in which some embodiments of the present disclosure may be applied;
FIG. 2 is a flow diagram of some embodiments of an information management method according to the present disclosure;
FIG. 3 is a flow diagram of further embodiments of an information management method according to the present disclosure;
FIG. 4 is a schematic diagram of one application scenario of an information management method according to some embodiments of the present disclosure;
FIG. 5 is a schematic block diagram of some embodiments of an information management apparatus according to the present disclosure;
FIG. 6 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and the embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will appreciate that references to "one or more" are intended to be exemplary and not limiting unless the context clearly indicates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 of an information management method or information management apparatus to which some embodiments of the present disclosure may be applied.
As shown in fig. 1, system architecture 100 may include server 101, network 102, server cluster 103 (servers 1031, 1032), and database server 104. Network 102 may be a medium used to provide communication links between servers 101 and server clusters 103, database servers 104. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The servers 1031, 1032 in the server cluster 103 may be servers that provide various services, for example, servers that provide support for the source container platform. Open source container platforms are typically created using an orchestration management tool that can be portable containers. Such orchestration management tools are typically open source systems (e.g., the container management system kubernets) that can be used to automatically deploy, extend, and manage containerized applications. It is often characterized by portability, expandability, automation, etc.
The server 101 here may be provided with a control node 1011 and a first proxy node a. A second proxy node B may be disposed on each server in the server cluster 103. The servers 1031, 1032 may transmit the event information to the first proxy node a through the second proxy node B provided thereon. In this way, the first proxy node a may transmit the received event information to the control node 1011. After receiving the event information sent by the first proxy node a, the control node 1011 may process the event information according to the preset configuration information. And may send the processed event information to database server 104 for storage.
It is understood that the server 101, the servers 1031 and 1032 in the server cluster 103, and the database server 104 may be hardware or software. When the server 101, the servers 1031 and 1032 in the server cluster 103, and the database server 104 are hardware, they may be implemented as a distributed server cluster composed of a plurality of servers, or implemented as a single server. When server 101, servers 1031, 1032 in server cluster 103, and database server 104 are software, they may be implemented as multiple software or software modules, for example, to provide distributed services, or as a single software or software module. And is not particularly limited herein.
When the servers in the server cluster 103 have the functions of the server 101 and the database server 104, the system architecture 100 may not include the server 101 and the database server 104.
It should be understood that the number of servers, server clusters, database servers, and servers in a server cluster in FIG. 1 are merely illustrative. There may be any number of servers, server clusters, database servers, and servers in a server cluster, as desired.
With continued reference to fig. 2, a flow 200 of some embodiments of an information management method according to the present disclosure is shown. The method comprises the following steps:
step 201, receiving event information sent by a first proxy node in a multi-cluster system.
In some embodiments, the information management method of the present disclosure may be used for a control node in a multi-cluster system. Here, the multi-cluster system may include a plurality of clusters, a first proxy node, and a control node. The clusters in the plurality of clusters are usually independent clusters that are inaccessible to each other, such as the above-mentioned open source system cluster for container management. The first proxy node can be used as a communication medium between the control node and the cluster, so that information transmission between the control node and the cluster is realized. The control node may perform processing and management of information.
It will be appreciated that the first proxy node and the control node may be hardware or software, or may even be a function of software. The arrangement positions of the first proxy node and the control node are not limited herein, and may be arranged, for example, in the server 101 shown in fig. 1.
In some embodiments, an execution subject (i.e., a control node) of the information management method may receive the event information sent by the first proxy node in the multi-cluster system through a wired connection or a wireless connection. The event information may be sent to the first proxy node by the second proxy node from a cluster provided with the second proxy node in the multi-cluster system. The second proxy node here may also be hardware or software, or even a function in software.
Here, the first proxy node may expose an interface for receiving event information pushed by the cluster. As an example, the first Proxy node may be a server (server) Proxy (e.g., a Proxy). The second proxy node may also expose an interface for receiving event information for the resource of the cluster in which it resides and pushing the event information to the first proxy node. As an example, the second proxy node may be a client (client) proxy (e.g., an Agent proxy). The control node may also expose an interface for receiving event information for all clusters in the multi-cluster system.
It should be noted that, if the control node and the first proxy node are independently disposed in another device (such as the server 101 shown in fig. 1), in order to implement transmission of the event information, a second proxy node may be disposed in each cluster in the multi-cluster system.
Step 202, processing the event information according to preset configuration information.
In some embodiments, the execution subject may process the event information according to preset configuration information. The preset configuration information here may be information set based on a processing operation to be performed on the event information. For example, the processing operations may include, but are not limited to, at least one of: grouping, sorting, ranking, etc. At this time, the preset configuration information may include grouping, classification manner or information, etc. In this way, the execution subject can perform grouping, classification, or grading processing on the event information according to the preset configuration information.
For another example, the processing operation may be sending an alert to a specific user when a specific time occurs. At this time, the preset configuration information may include target information (e.g., a time point or some event) and information (e.g., a mailbox, a telephone, etc.) of a target user associated therewith. Thus, the execution body, upon receiving the event information, can determine whether or not target information is contained therein. If the information is contained, the target user can be notified through the information of the target user. Therefore, the event information of each cluster in the multi-cluster system can be processed uniformly, so that the occupation of resources in the cluster can be avoided, and the consumption of the resources in the cluster is reduced. That is, there is no need to deploy a handler for event information in each cluster.
And step 203, storing the processed event information to a target position.
In some embodiments, the executing agent may store the processed event information at the target location. The target position can be set according to actual requirements. As an example, the information may be stored in a device in which the execution subject is located, or may be stored in another database. For example, the target location may be a distributed search engine (e.g., an Elasticsearch) or a message queue (e.g., an open source stream processing platform Kafka). Therefore, unified and persistent storage of event information can be realized, and data tracing by developers and operation and maintenance personnel is facilitated. And the consumption of resources in the cluster can be further reduced. That is, there is no need to deploy a storage system for event information in each cluster.
The information management method provided by some embodiments of the present disclosure provides a scheme for unified processing and management of event information of multiple clusters, especially multiple clusters that cannot be accessed to each other, so that consumption of resources in the clusters can be reduced as much as possible. Specifically, by setting the second proxy node in the cluster, the event information of the resource in the cluster can be pushed out. The event information pushed by the second proxy node can be received by the first proxy node and sent to the control node. In this way, the control node can uniformly process and manage the event information of all clusters in the multi-cluster system. There is no need to deploy a corresponding storage system and processing program in each cluster. Not only can the unnecessary consumption of resources in the cluster be reduced, but also the processing efficiency of the information can be improved.
Referring to FIG. 3, a flow 300 of further embodiments of an information management method according to the present disclosure is shown. The method comprises the following steps 301-305.
In this embodiment, as shown in fig. 4, a multi-cluster system may include a main cluster 401 and sub-clusters 402 and 403. Here, the master cluster may be any cluster in a multi-cluster system. The master cluster can manage event information of resources in each sub-cluster. And the clusters except the main cluster in the multi-cluster system are the sub-clusters. Wherein the control node C and the first proxy node D1 may be disposed in the master cluster 401. And a second proxy node D2 may be located in the sub-cluster 402, 403. That is, the existing resources of the clusters in the multi-cluster system can be utilized for monitoring and storing the event information without providing other devices (such as the server 101 shown in fig. 1), so that the utilization rate of the existing resources can be improved.
In addition, in order to improve the integrity and accuracy of event information collection, monitoring nodes (such as monitoring node J shown in fig. 4) may also be provided in each cluster of the multi-cluster system. The monitoring node can collect and send event information of the resource in response to monitoring the adjustment operation of the resource of the cluster. The adjustment operation may be, for example, an operation of adding or modifying a resource. The monitoring node here can also be hardware or software, or even a function in software. This can avoid the omission of event information.
It should be noted that, in the case that the cluster in the multi-cluster system is a container management system cluster, the monitoring node may be implemented by a component mechanism provided by the container management system cluster. The component mechanisms herein (such as the Informer mechanism provided by the kubernets system) are generally capable of implementing extended functionality of the system. For example, a program or a function may be embedded in or called by a component mechanism, thereby implementing a function corresponding to the program or the function. Here, though the kubernets system itself also has snooping, there is usually an incremental or subtractive change to a specified type of object. The function of the monitoring node is realized through the component mechanism provided by the monitoring node. The system is re-developed and re-enhanced, namely the system is improved. Thus, the utilization rate of the existing resources can be further improved.
Step 301, receiving event information sent by a monitoring node in a master cluster.
In some embodiments, an execution subject of the information management method (e.g., the control node C shown in fig. 4) may receive the event information transmitted by the monitoring node in the master cluster through a wired connection manner or a wireless connection manner. Step 303 may then be performed. It is understood that, as can be seen from fig. 4, since the control node C is also disposed in the primary cluster 401, no additional second proxy node is required to be disposed in the primary cluster 401. I.e. the monitoring node J can push the event information directly to the control node C.
Step 302, receiving event information sent by the first proxy node.
In some embodiments, the executing agent may also receive event information sent by the first proxy node. Step 303 is then performed. The event information here may be sent to the first proxy node by the second proxy node in the sub-cluster in the multi-cluster system (as indicated by the dashed box in fig. 3). And the event information sent by the second proxy node may be the collected event information sent by the monitoring node in the sub-cluster in which the second proxy node is located.
As an example, as shown in FIG. 4, a monitoring node J in the sub-cluster 402 may send the collected event information to a second proxy node D2 in the sub-cluster 402. The second proxy node D2 may thus send event information to the first proxy node D1 in the primary cluster 401. And the first proxy node D1 may send the event information to the control node C. The control node C may further process the event information. This is also true for other sub-clusters in the multi-cluster system, and will not be described herein.
And 303, processing the event information according to preset configuration information.
In some embodiments, the execution subject may process the event information of the main cluster and the sub-cluster according to preset configuration information. Specifically, reference may be made to the related description of step 202 in fig. 2, which is not described herein again.
And step 304, storing the processed event information to a target position.
In some embodiments, the execution subject may store the processed event information in the target location in a unified manner. Specifically, reference may be made to the related description of step 203 in fig. 2, which is not described herein again.
Step 305, in response to receiving the query request, filtering the event information stored in the target location, and generating a query result corresponding to the query request.
In some embodiments, the user may send the query request through the terminal device. Wherein the query request may characterize a query for event information. The execution subject may filter the event information stored at the target location upon receiving the query request. And a query result corresponding to the query request may be generated. For example, the event information obtained by filtering may be used as the query result. The execution subject may return the query result to the terminal device for presentation to the user.
As can be seen from the above description, the data of all the sub-clusters can be analyzed, searched, and filtered in the main cluster, so as to achieve the purpose of uniformly managing all the clusters. That is, event information of all clusters in the multi-cluster system can be uniformly managed by the control node without sending a request to the sub-cluster. Therefore, the efficiency of data query acquisition can be effectively improved.
In some embodiments, if the target location (e.g., the search engine elastic search) can provide the query service, the user may also directly send a query request to the target location through the terminal device, so as to obtain the query result.
The information management method provided by some embodiments of the present disclosure may introduce a control node in a master cluster in a multi-cluster system, so as to receive event information pushed by all sub-clusters and process the event information uniformly. The event information of all the sub-clusters can be pushed to the main cluster through the second proxy node. That is, unified management of all clusters in the system can be achieved in the master cluster. This approach is particularly applicable to network topology environments where the master cluster cannot directly access the sub-clusters. The processing efficiency of the event information can be improved, and the utilization rate of the existing resources can also be improved.
With further reference to fig. 5, as an implementation of the methods illustrated in fig. 2 and 3 described above, the present disclosure provides some embodiments of an information management apparatus for a control node in a multi-cluster system, which correspond to those method embodiments illustrated in fig. 2 and 3, and which may be particularly applied in various electronic devices.
As shown in fig. 5, the information management apparatus 500 of some embodiments may include: a receiving unit 501 configured to receive event information sent by a first proxy node in a multi-cluster system, wherein the event information is sent to the first proxy node by a cluster provided with a second proxy node in the multi-cluster system through the second proxy node; a processing unit 502 configured to process the event information according to preset configuration information; a storage unit 503 configured to store the processed event information to the target location.
In some embodiments, a multi-cluster system may include a primary cluster and a secondary cluster, wherein the control node and the first agent node are disposed in the primary cluster and the second agent node is disposed in the secondary cluster.
In some embodiments, each cluster of the multi-cluster system may further include a monitoring node, where the monitoring node collects and transmits event information of the resource in response to monitoring an adjustment operation on the resource of the cluster in which the monitoring node is located.
In some embodiments, the processing unit 502 may be further configured to, in response to receiving the event information sent by the monitoring node in the master cluster, process the received event information according to preset configuration information.
In some embodiments, the event information sent by the second proxy node may be obtained by: the monitoring node in the sub-cluster sends the collected event information to a second proxy node in the sub-cluster.
In some embodiments, the cluster in the multi-cluster system is a container application management system cluster, wherein the monitoring node is implemented by a component mechanism provided by the container application management system cluster.
In some embodiments, the apparatus 500 may further include a query unit (not shown in fig. 5) configured to, in response to receiving the query request, filter the event information stored in the target location, and generate a query result corresponding to the query request.
It will be understood that the elements described in the apparatus 500 correspond to various steps in the method described with reference to fig. 2 and 3. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 500 and the units included therein, and are not described herein again.
Referring now to fig. 6, a schematic diagram of an electronic device (e.g., the control node of fig. 1) 600 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving event information sent by a first agent node in a multi-cluster system, wherein the event information is sent to the first agent node by a cluster provided with a second agent node in the multi-cluster system through the second agent node; processing the event information according to preset configuration information; and storing the processed event information to a target position.
Furthermore, computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a receiving unit, a processing unit, and a storage unit. The names of these units do not form a limitation to the unit itself in some cases, and for example, the receiving unit may also be described as a "unit that receives event information sent by a first proxy node in the multi-cluster system".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combinations of the above-mentioned features, and other embodiments in which the above-mentioned features or their equivalents are combined arbitrarily without departing from the spirit of the invention are also encompassed. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (10)

1. An information management method for a control node in a multi-cluster system, the method comprising:
receiving event information sent by a first proxy node in the multi-cluster system, wherein the event information is sent to the first proxy node by a cluster provided with a second proxy node in the multi-cluster system through the second proxy node;
processing the event information according to preset configuration information;
and storing the processed event information to a target position.
2. The information management method according to claim 1, wherein the multi-cluster system includes a main cluster and a sub-cluster, wherein the control node and the first proxy node are disposed in the main cluster, and the second proxy node is disposed in the sub-cluster.
3. The information management method according to claim 2, wherein each cluster of the multi-cluster system is further provided with a monitoring node, and the monitoring node collects and transmits event information of the resource in response to monitoring of an operation of adjusting the resource of the cluster in which the monitoring node is located.
4. The information management method according to claim 3, wherein the method further comprises:
and responding to event information sent by the monitoring node in the main cluster, and processing the received event information according to the preset configuration information.
5. The information management method according to claim 3, wherein the event information transmitted by the second proxy node is obtained by:
the monitoring node in the sub-cluster sends the collected event information to a second proxy node in the sub-cluster.
6. The information management method of claim 3, wherein a cluster in the multi-cluster system is a container management system cluster, wherein the monitoring node is implemented by a component mechanism provided by the container management system cluster.
7. The information management method according to one of claims 1 to 6, wherein the method further comprises:
and responding to the received query request, screening the event information stored in the target position, and generating a query result corresponding to the query request.
8. An information management apparatus for a control node in a multi-cluster system, the apparatus comprising:
a receiving unit configured to receive event information transmitted by a first proxy node in a multi-cluster system, wherein the event information is transmitted to the first proxy node by a cluster provided with a second proxy node in the multi-cluster system through the second proxy node;
the processing unit is configured to process the event information according to preset configuration information;
a storage unit configured to store the processed event information to a target location.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-7.
CN202210203453.9A 2022-03-03 2022-03-03 Information management method, device, electronic equipment and computer readable medium Pending CN114637648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210203453.9A CN114637648A (en) 2022-03-03 2022-03-03 Information management method, device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210203453.9A CN114637648A (en) 2022-03-03 2022-03-03 Information management method, device, electronic equipment and computer readable medium

Publications (1)

Publication Number Publication Date
CN114637648A true CN114637648A (en) 2022-06-17

Family

ID=81947284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210203453.9A Pending CN114637648A (en) 2022-03-03 2022-03-03 Information management method, device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN114637648A (en)

Similar Documents

Publication Publication Date Title
CN108712332B (en) Communication method, system and device
US10817524B2 (en) Systems and methods for querying time series data
CN112069265A (en) Configuration data synchronization method, service data system, computer system and medium
CN112765152B (en) Method and apparatus for merging data tables
CN113377626B (en) Visual unified alarm method, device, equipment and medium based on service tree
CN112328448A (en) Zookeeper-based monitoring method, monitoring device, equipment and storage medium
CN111371898A (en) Message monitoring method, device, equipment and storage medium
CN114625597A (en) Monitoring operation and maintenance system, method and device, electronic equipment and storage medium
US10911329B2 (en) Path and cadence optimization for efficient data collection from devices
CN114168297A (en) Method, device, equipment and medium for scheduling collection tasks
CN112671922B (en) Industrial internet data processing system and method
CN113190517A (en) Data integration method and device, electronic equipment and computer readable medium
CN114637648A (en) Information management method, device, electronic equipment and computer readable medium
CN115809119A (en) Monitoring method, system and device for container arrangement engine
CN114035861A (en) Cluster configuration method and device, electronic equipment and computer readable medium
CN114756301A (en) Log processing method, device and system
CN114461501A (en) Resource abnormality detection method and device, storage medium, and electronic device
CN112416980A (en) Data service processing method, device and equipment
US11895192B1 (en) Managing subscriptions to resource updates made via a target interface
CN117573907B (en) Mobile robot data storage method and system
CN110532322B (en) Operation and maintenance interaction method, system, computer readable storage medium and equipment
CN116541133B (en) Nanotube method for container application, device and electronic equipment thereof
EP4066117B1 (en) Managing provenance information for data processing pipelines
CN113934599A (en) Information processing method, device, electronic equipment and computer readable medium
WO2023035147A1 (en) Data processing method of industry edge product and distributed computing protocol engine thereof

Legal Events

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