Distributed data center configuration, data acquisition component configuration method and device
By dynamically acquiring and updating data collection relationship information in the distributed data center and reconfiguring data communication links, the problem of complicated and inefficient configuration of data collection components is solved, and dynamic sensing and self-updating of data collection components are realized, reducing the cost of data collection. reduce operation and maintenance costs.
Patent Information
- Application Number
- CN202310121564.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-14
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-02-14
AI Technical Summary
The configuration process of the data collection component is complicated, the configuration efficiency is low, and the operation and maintenance cost is high. Especially when the node is dynamically expanded, static configuration files need to be frequently established, making the configuration process complex and time-consuming.
By dynamically acquiring and updating data collection relationship information in the distributed data center, and reconfiguring data communication links based on the modified information, dynamic sensing and self-updating of data collection components are achieved, reducing dependence on static configuration files.
It improves the expansion efficiency of data collection components, reduces operation and maintenance costs, realizes dynamic configuration and self-updating of data collection components, and simplifies the configuration process.
Smart Images

Figure CN116074192B
Abstract
Description
[Technical field]
[0001] The embodiments of the present invention relate to the field of data acquisition technology, and in particular to a distributed data center configuration, a data acquisition component configuration method and a device. [Background technology]
[0002] In the process of data collection and data management, the data collection components are configured to perform operations on the data. In this process, the configuration of the data collection components adopts the static configuration method, that is, the configuration file. The static configuration method is to extract and write data from the configuration file.
[0003] However, the data collection component cannot dynamically obtain data collection relationship information. At the same time, when the node is dynamically expanded, a static configuration file needs to be established on each node. Therefore, the configuration process of the data collection component is complicated, the configuration efficiency is low, and the operation and maintenance cost is high. [Summary of the invention]
[0004] The embodiment of the present invention provides a method and device for configuring a distributed data center and a data acquisition component, so as to alleviate the technical problems of complicated configuration process and low configuration efficiency of the data acquisition component in the prior art.
[0005] The present invention provides a data acquisition component configuration method, which is applied to a specified data acquisition component, wherein the specified data acquisition component configures a first data communication link according to first data communication link information, wherein the first data communication link information is determined by first data acquisition relationship information, and specifically comprises the following steps:
[0006] If the distributed data center configuration obtains data collection relationship modification information and meets the preset conditions:
[0007] Stop configuring the first data communication link, and obtain the second data collection relationship information sent by the distributed data center;
[0008] determining second data communication link information based on the second data acquisition relationship information;
[0009] configuring the second communication link according to the second data communication link information;
[0010] Wherein, the first data collection relationship information is modified according to the data collection relationship modification information to generate the second data collection relationship information;
[0011] The data collection relationship modification information is used to modify the first data collection relationship information.
[0012] In one possible manner, the first data communication link information includes a data source, a data target source, and a data channel between the data source and the data target source determined by the first data acquisition relationship information;
[0013] The second data communication link information includes a data source, a data target source, and a data channel between the data source and the data target source determined by the second data acquisition relationship information.
[0014] One possible manner is that the distributed database is subject to the management of the distributed data center, the distributed database is provided with a plurality of nodes, the data source includes a first node and an operation performed on data acquired by the first node, and the data target source includes a second node and an operation performed on data output by the second node;
[0015] The first node is a node where the data acquisition component acquires data;
[0016] The second node is a node where the data acquisition component outputs data.
[0017] The first node and the second node are nodes set in a distributed database.
[0018] In one possible manner, the preset condition includes: more than half of the nodes of the database managed by the distributed data center have completed modification according to the acquisition relationship modification information obtained by the data distributed data center.
[0019] In one possible manner, the first data collection relationship information includes a first host, a first configuration set, a first namespace, and a first user group;
[0020] The data collection relationship modification information includes modification information of Host, configuration set, namespace and user group;
[0021] The second data collection relationship information includes a second host, a second configuration set, a second namespace, and a second user;
[0022] The second Host is the first Host modified according to the data collection relationship modification information;
[0023] The second configuration set is the first configuration set modified according to the data acquisition relationship modification information;
[0024] The second namespace is the first namespace modified according to the data acquisition relationship modification information.
[0025] In a second aspect, the present invention provides a distributed data center configuration method, which is applied to a distributed data center, wherein the distributed data center configures a data collection relationship according to first data collection relationship information, and the distributed data center manages at least one distributed database, and specifically comprises the following steps:
[0026] If the data collection relationship modification information is obtained, the distributed database managed by the distributed database modifies the first data collection relationship information according to the data collection relationship modification information;
[0027] When the preset conditions are met:
[0028] then determining the second data collection relationship information;
[0029] Sending the second data collection key information to a designated data collection component;
[0030] Wherein, the second data collection relationship information is the first data collection relationship information modified according to the data collection relationship modification information;
[0031] The data collection relationship modification information is used to modify the first data collection relationship information.
[0032] One possible manner is that the distributed database managed by the distributed data center is provided with a plurality of nodes, the preset condition includes: more than half of the nodes of the database managed by the distributed data center have been modified according to the acquisition relationship modification information obtained by the data distributed data center, and the step of modifying the first data acquisition relationship information according to the data acquisition relationship modification information for the distributed database managed by it includes:
[0033] generating a data collection relationship modification request based on the data collection relationship modification information;
[0034] Sending data collection relationship modification requests to all nodes of the distributed database it manages;
[0035] The data acquisition relationship modification request is used to enable a node in a distributed database that receives the data acquisition relationship modification request to make modifications according to the data acquisition relationship modification information.
[0036] In one possible manner, the first data collection relationship information includes a first host, a first configuration set, a first namespace, and a first user group;
[0037] The data collection relationship modification information includes modification information of Host, configuration set, namespace and user group;
[0038] The second data collection relationship includes a second host, a second configuration set, a second namespace, and a second user;
[0039] Use the Host value, configuration set value, namespace value, and user group value to determine the specified data collection component;
[0040] The second Host is the first Host modified according to the data collection relationship modification information;
[0041] The second configuration set is the first configuration set modified according to the data acquisition relationship modification information;
[0042] The second namespace is the first namespace modified according to the data acquisition relationship modification information;
[0043] The second user group is the first user group modified according to the data acquisition relationship modification information.
[0044] In a third aspect, the present invention provides a data acquisition component configuration device, which is applied to a specified data acquisition component, wherein the specified data acquisition component configures a first data communication link according to first data communication link information, wherein the first data communication link information is determined by first data acquisition relationship information, and if a distributed data center configures and obtains data acquisition relationship modification information, when a preset condition is met, the device comprises:
[0045] Receiving module: used for stopping configuration of the first data communication link and acquiring second data collection relationship information sent by the distributed data center;
[0046] A communication link information determining module: used to determine the second data communication link information based on the second data acquisition relationship information;
[0047] Configuration module: configured to configure the second communication link according to the second data communication link information;
[0048] Wherein, the first data collection relationship information is modified according to the data collection relationship modification information to generate the second data collection relationship information;
[0049] The data collection relationship modification information is used to modify the first data collection relationship information.
[0050] In a fourth aspect, the present invention provides a distributed data center configuration device, which is applied to a distributed data center, wherein the distributed data center configures a data relationship according to first data collection relationship information, and the distributed data center manages at least one distributed database, and specifically includes the following steps:
[0051] A collection relationship modification module: used for, if data collection relationship modification information is obtained, causing the distributed database to modify the first data collection relationship information according to the data collection relationship modification information;
[0052] Generate module: used when the preset conditions are met:
[0053] then determining the second data collection relationship information;
[0054] A sending module: used for sending the second data collection information to a designated data collection component;
[0055] Wherein, the second data collection relationship information is the first data collection relationship information modified according to the data collection relationship information;
[0056] The data collection relationship modification information is used to modify the first data collection relationship information.
[0057] It should be understood that the third and fourth aspects of the embodiments of the present invention are respectively consistent with the technical solutions of the first and second aspects of the embodiments of the present invention, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated.
Brief Description of the Drawings
[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0059] Figure 1 A structural diagram of a distributed data acquisition system provided by an embodiment of the present invention;
[0060] Figure 2 A flow chart of a distributed data center configuration and data acquisition component configuration method shown in an exemplary embodiment of the present invention;
[0061] Figure 3 A data acquisition relationship information modification flow chart is shown as an exemplary embodiment provided by an embodiment of the present invention;
[0062] Figure 4 A flow chart of a method for starting a data acquisition component is provided as an exemplary embodiment of the present invention;
[0063] Figure 5 A structural diagram of a data acquisition component is shown as an exemplary embodiment provided by an embodiment of the present invention;
[0064] Figure 6 A distributed data center structure diagram is shown as an exemplary embodiment provided for an embodiment of the present invention. [Specific implementation method]
[0065] In order to better understand the technical solution of the embodiment of the present invention, the embodiment of the present invention is described in detail below with reference to the accompanying drawings.
[0066] It should be clear that the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments in the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present invention.
[0067] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0068] Here, please refer to Figure 1 First, a distributed data acquisition system structure diagram of this application is introduced:
[0069] The distributed data acquisition system structure involved in this application includes: a distributed data center, a data acquisition component and a distributed database. The functions of each module are as follows:
[0070] Distributed data center: the distributed data is configured with data collection relationships according to the data collection relationship information, and is used to manage the data collection components and the distributed database, for example, sending instructions to the data collection components and the distributed database;
[0071] Data acquisition component: performs operations on the distributed database managed by the distributed data center, including but not limited to: obtaining source data, and converting, encrypting, decrypting, and storing the source data in the target storage area.
[0072] It should be understood that the distributed database can be operated by configuring the data acquisition component, the data acquisition component is configured according to the distributed data center, and is configured according to the data acquisition relationship of the distributed data center. Here, the source data is the data obtained by the data acquisition component from the data source of the data acquisition component;
[0073] Distributed database: multiple nodes are provided, each node can exchange information with the distributed data center, can respond to the instructions of the distributed data center, generate data collection relationships according to the data collection relationships configured by the distributed data center, and obey the changes made to the data collection relationships by the distributed data center;
[0074] One possible approach is that the data collection relationship information includes: Host, configuration set (DataID), namespace (Namespace), and user group (GroupID);
[0075] It should be understood that the distributed data centers, distributed databases, and data collection components can exchange information with each other;
[0076] Embodiment 1:
[0077] like Figure 2 As shown, an embodiment of the present invention provides a distributed data center configuration and data acquisition component configuration method shown in an exemplary embodiment;
[0078] First, a scenario of the method of configuring a distributed data center and data collection components is introduced:
[0079] In this scenario, the distributed data center configures the first data collection relationship according to the first data collection relationship information;
[0080] The designated data acquisition component configures the first data communication link according to the first data communication link information, wherein the first data communication link information is determined by the first data acquisition relationship information;
[0081] The first data collection relationship information includes a first host, a first configuration set, a first namespace, and a first user group;
[0082] In combination with the foregoing, the distributed data center may collect first data information according to the first host, the first configuration set, the first namespace, and the first user group;
[0083] It should be understood that the designated data acquisition component can obtain the first data communication link information by parsing the first data acquisition information;
[0084] If the distributed data center configuration obtains data collection relationship modification information, perform the following steps:
[0085] S201: If the distributed data center obtains the data collection relationship modification information, the distributed database is caused to modify the first data collection relationship information according to the data collection relationship modification information;
[0086] The data collection relationship modification information is used to modify the first data collection relationship information;
[0087] One possible way is that the user sets the collection relationship modification information through the interactive interface;
[0088] S202: When a preset condition is met, the distributed data center determines second data collection relationship information;
[0089] Specifically, the first data collection relationship information is modified according to the data collection relationship modification information to generate the second data collection relationship information
[0090] In one possible manner, the second data collection relationship includes a second host, a second configuration set, a second namespace, and a second user;
[0091] Specifically, the second Host is the first Host modified according to the data collection relationship modification information;
[0092] The second configuration set is the first configuration set modified according to the data acquisition relationship modification information;
[0093] The second namespace is the first namespace modified according to the data acquisition relationship modification information;
[0094] The second user group is the first user group modified according to the data collection relationship modification information;
[0095] S203: The distributed data center sends the second data collection key information to a designated data collection component;
[0096] One possible approach is that the distributed data center and the data collection component are connected through protocol communication.
[0097] In this embodiment, the host value, the configuration set value, the namespace value, and the user group value may be used to determine the designated data collection component;
[0098] S204: The designated data collection component stops configuring the first data communication link, and obtains second data collection relationship information sent by the distributed data center;
[0099] Based on the foregoing, given that the distributed data center has been configured according to the first data acquisition relationship information, it should be understood that the designated data acquisition component is configured with a first data communication link;
[0100] One possible way is to configure the first communication link in the following way:
[0101] The designated data collection component obtains the first data collection relationship information, and determines the first data communication link information after parsing;
[0102] The designated data acquisition component configures the first data communication link according to the first data communication link information;
[0103] S205: The designated data acquisition component configures the second data communication link according to the second data communication link information;
[0104] One possible manner is to determine the second data communication link information based on the second data acquisition relationship information, and configure the second data communication link according to the second data communication link information;
[0105] It should be noted that the first data communication link information includes a data source, a data target source, and a data channel between the data source and the data target source determined by the first data acquisition relationship information;
[0106] The second data communication link information includes a data source, a data target source, and a data channel between the data source and the data target source determined by the second data acquisition relationship information;
[0107] Further, the data source includes a first node and an operation performed on data acquired by the first node, and the data target source includes a second node and an operation performed on data output by the second node;
[0108] The first node is a node for acquiring data from a data acquisition component;
[0109] The second node is a node where the data acquisition component outputs data.
[0110] Here, the operations performed on the data acquired by the first node include but are not limited to: deleting fields, adding fields, converting fields, modifying, encrypting, and decrypting;
[0111] It should be understood that the nodes from which the data acquisition component acquires data and the nodes from which the data acquisition component outputs data are nodes of the distributed database, which is subject to the management of the distributed data center;
[0112] Through S201 to S205, the data acquisition component is dynamically configured without restarting the data acquisition component (only self-starting);
[0113] On the basis of the above-mentioned embodiment, a perception module may be added to the data collection component, and the perception module is used to perceive changes in the collection relationship of the distributed data center;
[0114] Specifically, when the preset condition is met, the data collection component will send a second data collection relationship information acquisition request, and send the second data collection relationship information acquisition request to the distributed data center, where the second data collection relationship information acquisition request is used to enable the distributed data center to determine the second data collection relationship information;
[0115] The distributed data center receives a second data collection relationship information acquisition request sent by the data collection component, and determines the second data collection relationship information;
[0116] Steps S201 to S205 have the following technical effects:
[0117] 1) The data collection component is subject to the management of the distributed data center and dynamically perceives changes in data collection relationships;
[0118] 2) After the data collection component perceives the data collection relationship, it regenerates the data collection link, realizes self-update, improves capacity expansion efficiency and greatly reduces operation and maintenance costs.
[0119] On the basis of the above-mentioned embodiment, the node modification completion degree of the distributed database is used as a preset condition, namely:
[0120] The preset conditions include: more than half of the nodes in the distributed database have completed modification according to the acquisition relationship modification information obtained by the data distributed data center;
[0121] In this scenario, Figure 2 On the basis of Figure 3 A data acquisition relationship information modification flow chart is provided, which specifically includes:
[0122] S301: Generate a data collection relationship modification request based on data collection relationship modification information;
[0123] S302: Sending a data collection relationship modification request to all nodes of the distributed database;
[0124] The data acquisition relationship modification request is used to make the node in the distributed database that receives the data acquisition relationship modification request to modify the data according to the data acquisition relationship modification information;
[0125] It should be noted that the distributed data center can send the data collection relationship modification request to any node of the distributed database;
[0126] The node receiving the data collection relationship modification request forwards the data collection relationship modification request to other nodes of the distributed database;
[0127] It should be understood that distributed databases are subject to distributed data center management;
[0128] On this basis, through S301 and S302, the data collection relationship can be modified by using the nodes of the distributed database;
[0129] It should be understood that the Host, configuration set, namespace and user group of the distributed database node are modified.
[0130] Embodiment 2:
[0131] Figure 4A flowchart of a method for starting a data acquisition component is provided, which is shown in an exemplary embodiment. The data acquisition component is subject to the management of a distributed data center, and the distributed data center is configured with a data acquisition relationship, which specifically includes:
[0132] The data collection relationship configuration method is consistent with that in the first embodiment and will not be described in detail.
[0133] S401: The distributed data center generates a startup instruction;
[0134] Specifically, the startup instruction is used to start the data acquisition component;
[0135] S402: The distributed data center sends the start instruction and data collection relationship information to the designated data collection component;
[0136] Further, the distributed data center determines the designated data collection component using the host value, the configuration set value, the namespace value, and the user group value;
[0137] Here, the designated data collection component is subject to the management of the unique distributed data center, and the designated data collection component obtains unique data collection relationship information;
[0138] S403: The designated data collection component starts in response to the start instruction and obtains data collection relationship information;
[0139] Furthermore, the data collection relationship information includes Host, configuration set, namespace and user group;
[0140] S404: The designated data collection component determines the data collection relationship using the data collection relationship information;
[0141] Furthermore, the data collection relationship information includes Host, configuration set, namespace and user group;
[0142] S405: The designated data acquisition component configures the data communication link using the data acquisition relationship;
[0143] Furthermore, the data communication link information includes a data source, a data target source, and a data channel between the data source and the data target source determined by the data acquisition relationship information.
[0144] The start-up of the designated data acquisition component can be completed through S401 to S405.
[0145] Embodiment three:
[0146] like Figure 5As shown, embodiment 3 provides a data acquisition component configuration device shown in an exemplary embodiment, which is applied to a specified data acquisition component, wherein the specified data acquisition component configures a first data communication link according to first data communication link information, wherein the first data communication link information is determined by first data acquisition relationship information, and if the distributed data center configures to obtain data acquisition relationship modification information, when a preset condition is met, it includes:
[0147] Receiving module: used for stopping configuration of the first data communication link and acquiring second data collection relationship information sent by the distributed data center;
[0148] A communication link information determining module: used to determine the second data communication link information based on the second data acquisition relationship information;
[0149] Configuration module: configured to configure the second communication link according to the second data communication link information;
[0150] Wherein, the first data collection relationship information is modified according to the data collection relationship modification information to generate the second data collection relationship information;
[0151] The data collection relationship modification information is used to modify the first data collection relationship information.
[0152] Figure 5 The data acquisition component configuration device provided in the embodiment shown can be used to implement the embodiment of the present invention Figure 2 The technical solution of the method embodiment shown, its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0153] Embodiment 4:
[0154] like Figure 6 As shown, embodiment 4 provides a distributed data center configuration device shown in an exemplary embodiment, which is applied to a distributed data center, wherein the distributed data center configures a data collection relationship according to first data collection relationship information, and a distributed database is subject to the distributed data center, and is applied to the distributed data center, including:
[0155] A collection relationship modification module: used for, if data collection relationship modification information is obtained, causing the distributed database to modify the first data collection relationship information according to the data collection relationship modification information;
[0156] Generate module: used when the preset conditions are met:
[0157] then determining the second data collection relationship information;
[0158] A sending module: used for sending the second data collection information to a designated data collection component;
[0159] Wherein, the second data collection relationship information is the first data collection relationship information modified according to the data collection relationship information;
[0160] The data collection relationship modification information is used to modify the first data collection relationship information.
[0161] The first data communication link information is determined by the first data acquisition relationship information.
[0162] Figure 6 The distributed data center configuration device provided in the embodiment shown can be used to implement the embodiment of the present invention Figure 2 The technical solution of the method embodiment shown, its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0163] The above describes specific embodiments of the present invention. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0164] In the description of the embodiments of the present invention, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiments of the present invention. In the embodiments of the present invention, the schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in the embodiments of the present invention and the features of the different embodiments or examples, without contradiction.
[0165] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0166] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred implementation of the embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.
[0167] In the several embodiments provided in the embodiments of the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0168] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0169] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (Processor) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk and other media that can store program codes.
[0170] The above description is only a preferred embodiment of the embodiment of the present invention and is not intended to limit the embodiment of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiment of the present invention should be included in the scope of protection of the embodiment of the present invention.
Claims
1. A data acquisition component configuration method, characterized in that: The method is applied to a designated data acquisition component, wherein the designated data acquisition component configures a first data communication link according to first data communication link information, wherein the first data communication link information is determined by first data acquisition relationship information, wherein the first data acquisition relationship information includes a first host, a first configuration set, a first namespace, and a first user group, and wherein the first data communication link information includes a data source, a data target source, and a data channel between the data source and the data target source determined by the first data acquisition relationship information; and specifically includes the following steps: If the distributed data center is configured to obtain data collection relationship modification information and meets the preset condition, the preset condition is that more than half of the nodes of the database managed by the distributed data center have completed the modification according to the collection relationship modification information obtained by the distributed data center, Stop configuring the first data communication link, and obtain second data collection relationship information sent by the distributed data center; Determine second data communication link information based on second data acquisition relationship information, the second data acquisition relationship information includes a second host, a second configuration set, a second namespace, and a second user, the second data communication link information includes a data source, a data target source, and a data channel between the data source and the data target source determined by the second data acquisition relationship information; configuring a second communication link according to the second data communication link information; Wherein, the first data collection relationship information is modified according to the data collection relationship modification information to generate the second data collection relationship information; The data collection relationship modification information is used to modify the first data collection relationship information.
2. The method according to claim 1, characterized in that The first data communication link information includes a data source, a data target source, and a data channel between the data source and the data target source determined by the first data acquisition relationship information; The second data communication link information includes a data source, a data target source, and a data channel between the data source and the data target source determined by the second data acquisition relationship information.
3. The method according to claim 2, characterized in that The distributed database is subject to the management of the distributed data center, the distributed database is provided with a plurality of nodes, the data source includes a first node and an operation performed on data acquired by the first node, and the data target source includes a second node and an operation performed on data output by the second node; The first node is a node where the data acquisition component acquires data; The second node is a node where the data acquisition component outputs data. The first node and the second node are nodes set in a distributed database.
4. The method according to any one of claims 1 to 3, characterized in that: The data collection relationship modification information includes modification information of Host, configuration set, namespace and user group; The second Host is the first Host modified according to the data collection relationship modification information; The second configuration set is the first configuration set modified according to the data acquisition relationship modification information; The second namespace is the first namespace modified according to the data acquisition relationship modification information.
5. A distributed data center configuration method, applied to a distributed data center, characterized in that: The distributed data center configures the data collection relationship according to the first data collection relationship information, wherein the first data collection relationship information includes the first host, the first configuration set, the first namespace, and the first user group, and the distributed database is subject to the distributed data center and is applied to the distributed data center, specifically including the following steps: If the data collection relationship modification information is obtained, the distributed database is caused to modify the first data collection relationship information according to the data collection relationship modification information; When the preset condition is met, the preset condition includes that more than half of the nodes of the distributed database have completed the modification according to the acquisition relationship modification information obtained by the data distributed data center. then determining second data collection relationship information, where the second data collection relationship information includes a second host, a second configuration set, a second namespace, and a second user; Sending the second data acquisition relationship information to a designated data acquisition component; Wherein, the second data collection relationship information is the first data collection relationship information modified according to the data collection relationship modification information; The data collection relationship modification information is used to modify the first data collection relationship information.
6. The method according to claim 5, characterized in that The distributed database is provided with a plurality of nodes, and the step of modifying the first data acquisition relationship information according to the data acquisition relationship modification information in the distributed database includes: generating a data collection relationship modification request based on the data collection relationship modification information; Sending data collection relationship modification requests to all nodes of the distributed database; The data acquisition relationship modification request is used to enable a node in a distributed database that receives the data acquisition relationship modification request to make modifications according to the data acquisition relationship modification information.
7. The method according to any one of claims 5 to 6, characterized in that: The data collection relationship modification information includes modification information of Host, configuration set, namespace and user group; Use the Host value, configuration set value, namespace value, and user group value to determine the specified data collection component; The second Host is the first Host modified according to the data collection relationship modification information; The second configuration set is the first configuration set modified according to the data acquisition relationship modification information; The second namespace is the first namespace modified according to the data collection relationship modification information; The second user group is the first user group modified according to the data acquisition relationship modification information.
8. A data acquisition component configuration device, characterized in that: Applied to a specified data acquisition component, the specified data acquisition component configures a first data communication link according to first data communication link information, the first data communication link information is determined by first data acquisition relationship information, the first data acquisition relationship information includes a first host, a first configuration set, a first namespace, and a first user group, the first data communication link information includes a data source, a data target source, and a data channel between the data source and the data target source determined by the first data acquisition relationship information, if the distributed data center configures to obtain data acquisition relationship modification information, when a preset condition is met, the preset condition is that more than half of the nodes of the distributed database are modified according to the acquisition relationship modification information obtained by the data distributed data center, including: Receiving module: used for stopping configuration of the first data communication link and acquiring second data collection relationship information sent by the distributed data center; A communication link information determination module: used to determine second data communication link information based on second data acquisition relationship information, wherein the second data acquisition relationship information includes a second host, a second configuration set, a second namespace, and a second user, and the second data communication link information includes a data source, a data target source, and a data channel between the data source and the data target source determined by the second data acquisition relationship information; Configuration module: configured to configure the second communication link according to the second data communication link information; Wherein, the first data collection relationship information is modified according to the data collection relationship modification information to generate the second data collection relationship information; The data collection relationship modification information is used to modify the first data collection relationship information.
9. A distributed data center configuration device, applied to a distributed data center, characterized in that: The distributed data center configures a data collection relationship according to first data collection relationship information, wherein the first data collection relationship information includes a first host, a first configuration set, a first namespace, and a first user group, and the distributed database is subject to the distributed data center and is applied to the distributed data center, including: A collection relationship modification module: used for, if data collection relationship modification information is obtained, causing the distributed database to modify the first data collection relationship information according to the data collection relationship modification information; A generation module is used for, when a preset condition is met, the preset condition is that more than half of the nodes of the distributed database have completed the modification according to the acquisition relationship modification information obtained by the data distributed data center, then determining second data collection relationship information, where the second data collection relationship information includes a second host, a second configuration set, a second namespace, and a second user; A sending module: used for sending the second data collection relationship information to a designated data collection component; Wherein, the second data collection relationship information is the first data collection relationship information modified according to the data collection relationship information; The data collection relationship modification information is used to modify the first data collection relationship information.
