WO2020078381A1 - Data aggregation method, device, equipment, storage medium and system - Google Patents
Data aggregation method, device, equipment, storage medium and system Download PDFInfo
- Publication number
- WO2020078381A1 WO2020078381A1 PCT/CN2019/111471 CN2019111471W WO2020078381A1 WO 2020078381 A1 WO2020078381 A1 WO 2020078381A1 CN 2019111471 W CN2019111471 W CN 2019111471W WO 2020078381 A1 WO2020078381 A1 WO 2020078381A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- node
- node device
- data aggregation
- transmission channel
- Prior art date
Links
- 230000002776 aggregation Effects 0.000 title claims abstract description 403
- 238000004220 aggregation Methods 0.000 title claims abstract description 403
- 238000000034 method Methods 0.000 title claims abstract description 88
- 230000005540 biological transmission Effects 0.000 claims abstract description 296
- 230000008859 change Effects 0.000 claims abstract description 5
- 238000012545 processing Methods 0.000 claims description 43
- 238000003672 processing method Methods 0.000 claims description 23
- 230000008569 process Effects 0.000 claims description 20
- 238000012986 modification Methods 0.000 claims description 9
- 230000004048 modification Effects 0.000 claims description 9
- 238000012544 monitoring process Methods 0.000 claims description 6
- 238000012546 transfer Methods 0.000 claims description 4
- 230000004931 aggregating effect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 9
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000013480 data collection Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 3
- 239000002699 waste material Substances 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 101000695835 Mus musculus Receptor-type tyrosine-protein phosphatase U Proteins 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Definitions
- This application relates to the field of big data technology, in particular to a data aggregation method, device, equipment, storage medium, and system.
- the data aggregation system includes at least one collection server and at least one aggregation server.
- Each collection server is associated with one or more Aggregation server connection.
- multiple terminal devices are respectively connected to one or more collection servers, and each terminal device can upload the acquired data to the connected collection server, and the collection server classifies the collected data and collects the collected data.
- the data is sent to the aggregation server, and the aggregation server can store the collected data, realizing the function of aggregating the data on different terminal devices together.
- the collection server and the aggregation server in the data aggregation system are configured, they cannot be changed and the expansion performance is poor. Even if there are other servers with data collection functions, they cannot be added to the data aggregation system.
- the embodiments of the present application provide a data aggregation method, device, equipment, storage medium, and system, which can solve the problem that other servers with data collection functions cannot be added to the data aggregation system.
- the technical solution is as follows:
- a data aggregation method is provided, which is applied to a control device of a first data aggregation system.
- the first data aggregation system includes multiple node devices and the control device. Multiple node devices are connected.
- the method includes:
- the configuration information is determined according to a configuration instruction input on a configuration device connected to the control device, the configuration information includes at least a device identification of an input device and a device identification of an output device
- the multiple virtual nodes correspond to the multiple node devices in one-to-one correspondence;
- the starting virtual node corresponding to the starting node device and the destination node device are determined The corresponding destination virtual node;
- the transmission channel is in order by at least two node devices Connected
- a data aggregation method is provided, which is applied to any node device in a first data aggregation system.
- the first data aggregation system includes a plurality of node devices and the control device. To connect with the plurality of node devices, the method includes:
- the transmission channel is determined by the control device according to configuration information of multiple virtual nodes and a node device corresponding to each virtual node, and the configuration information is based on
- the configuration instruction input on the connected configuration device determines that it includes at least the device identification of the input device and the device identification of the output device, the transmission channel is formed by connecting at least two node devices in sequence, and includes the local node device;
- a data aggregation device which is applied to a control device of a first data aggregation system.
- the first data aggregation system includes a plurality of node devices and the control device. Multiple node devices are connected, and the apparatus includes:
- An obtaining module configured to obtain configuration information of a plurality of virtual nodes, the configuration information is determined according to a configuration instruction input on a configuration device connected to the control device, and the configuration information includes at least a device identifier and an output device of the input device Device identification, the multiple virtual nodes are in one-to-one correspondence with the multiple node devices;
- the first determining module is configured to, when receiving a data aggregation instruction including the device identification of the starting node device and the device identification of the destination node device, determine the starting virtual corresponding to the starting node device based on the data aggregation instruction A node and a destination virtual node corresponding to the destination node device;
- the second determining module is configured to determine a transmission channel from the starting node device to the destination node device according to the configuration information of the multiple virtual nodes and the node device corresponding to each virtual node, the transmission channel is At least two node devices are connected in order;
- the first sending module is used to deliver the transmission channel to each node device on the transmission channel, and each node device on the transmission channel performs data transmission to transfer the data of the starting node device Converged into the destination node device.
- a data aggregation device which is applied to any node device in a first data aggregation system.
- the first data aggregation system includes a plurality of node devices and the control device.
- the control devices are respectively Connected to the multiple node devices, the apparatus includes:
- the receiving module is configured to receive a transmission channel delivered by the control device, and the transmission channel is determined by the control device according to configuration information of multiple virtual nodes and a node device corresponding to each virtual node, and the configuration information is based on
- the configuration instruction input on the configuration device connected to the control device is determined to include at least the device identification of the input device and the device identification of the output device, the transmission channel is formed by connecting at least two node devices in sequence, and includes the local end Node equipment
- a first sending module configured to send the data to the local node device in the transmission channel when receiving the data sent by the previous node device of the local node device in the transmission channel The next node device to aggregate the data into the destination node device on the transmission channel.
- a control device which is applied in a first data aggregation system, where the first data aggregation system includes multiple node devices and the control device, and the control device and the multiple node devices are respectively Connected, the control device includes a processor and a memory, and the memory stores at least one instruction, the at least one instruction is loaded and executed by the processor to implement any one of the data aggregation described in the first aspect above method.
- a computer-readable storage medium in which at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement any one of the data aggregation described in the first aspect method.
- a node device which is applied to a first data aggregation system.
- the first data aggregation system includes a plurality of node devices and the control device, and the control device and the plurality of node devices are respectively connection;
- the local node device includes a processor and a memory, where at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement any one of the data aggregation methods described in the second aspect above.
- a computer-readable storage medium in which at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement any one of the data aggregation described in the second aspect method.
- a data aggregation system in a ninth aspect, includes a plurality of node devices and a control device, and the control devices are respectively connected to the plurality of node devices;
- the control device is the control device as described in the fifth aspect above;
- Each node device is the node device described in the seventh aspect above.
- the data aggregation method, apparatus, device, storage medium, and system obtained configuration information of multiple virtual nodes by acquiring configuration information according to the configuration instructions entered on the configuration device, and thus can receive data aggregation
- determine the starting virtual node and the destination virtual node according to the data aggregation instruction and determine the transmission channel from the starting node device to the destination node device according to the configuration information of the multiple virtual nodes and the node device corresponding to each virtual node
- a transmission channel is delivered to each node device of the transmission channel, and each node device on the transmission channel performs data transmission, and aggregates the data of the starting node device to the destination node device.
- the configuration information can be customized through the input configuration instruction, so that the control device determines the transmission channel according to the customized configuration information, and the data aggregation is performed through the transmission channel, so the configuration information can be updated according to the business needs, thereby changing the data aggregation system
- the node equipment in the system expands the business capability of the data aggregation system and improves flexibility.
- FIG. 1 is a schematic structural diagram of a data aggregation system provided by an embodiment of the present application.
- FIG. 2 is a flowchart of a data aggregation method provided by an embodiment of the present application
- FIG. 3 is a flowchart of another data aggregation method provided by an embodiment of the present application.
- FIG. 5 is a schematic diagram of a node device performing monitoring tasks provided by an embodiment of the present application.
- FIG. 6 is a schematic diagram of yet another node device buffer area provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of a data aggregation scenario provided by an embodiment of the present application.
- FIG. 8 is a schematic diagram of another data aggregation scenario provided by an embodiment of the present application.
- FIG. 9 is a schematic diagram of another data aggregation scenario provided by an embodiment of the present application.
- FIG. 10 is a schematic structural diagram of a data aggregation device provided by an embodiment of the present application.
- FIG. 11 is a schematic structural diagram of another data aggregation device provided by an embodiment of the present application.
- FIG. 12 is a schematic structural diagram of a server provided by an embodiment of the present application.
- the implementation environment includes a configuration device 110 and a first data aggregation system 120.
- the first data aggregation system 120 includes multiple node devices 121 and
- the control device 122 and the configuration device 110 are connected to the control device 122, and the control device 122 is connected to a plurality of node devices 121, respectively.
- any two node devices in the plurality of node devices 121 can be connected, so that a network topology structure is formed in the plurality of node devices 121, and based on the network topology structure, data can be transmitted between any two node devices. It should be noted that when the above network topology is formed, every two node devices in the plurality of node devices 121 may be connected. Of course, only some node devices may be connected.
- At least one node device of the plurality of node devices 121 may be a collection device, and the collection device has a data collection function for collecting data from the terminal device.
- at least one node device is an aggregation device.
- the aggregation device has a data aggregation function, and the data collected by the collection device can be aggregated and stored in the storage device.
- at least one node device is an intermediate device.
- the intermediate device has a data forwarding function. During the process of sending data from the collection device to the aggregation device, the intermediate device can play the role of forwarding data.
- the configuration device 110 is used to generate configuration information of a plurality of virtual nodes according to the received configuration instruction, and send the generated configuration information to the control device 122, and the control device 122 is used to obtain the configuration information of the plurality of virtual nodes from the configuration device 110 .
- the multiple virtual nodes correspond to the multiple node devices 121 in one-to-one relationship.
- the virtual nodes are the nodes mapped by the node devices in the configuration information.
- the configuration information of the virtual nodes is actually information used to describe the node devices.
- the starting node device is used to send a data aggregation instruction to the control device 122, and the data aggregation instruction carries the device identification of the starting node device And the device identification of the destination node device.
- the control device 122 is also used to determine the starting virtual node corresponding to the starting node device and the destination virtual node corresponding to the destination node device when receiving the data aggregation instruction, and based on the configuration information of the plurality of virtual nodes and each virtual node
- the corresponding node device determines a transmission channel from the starting node device to the destination node device, and the transmission channel is formed by connecting at least two node devices in sequence. After that, the control device 122 delivers the transmission channel to each node device on the transmission channel.
- the starting node device is used to send the data in the local node device to the next node device of the local node device in the transmission channel when receiving the transmission channel; the destination node device is used to receive the transmission channel and receive When data sent to the previous node device of the local node device is stored, the data is stored.
- the other node devices serve as intermediate node devices for receiving the transmission channel and receiving the local node device
- the data sent by the last node device of the server is sent, the data is sent to the next node device in the transmission channel of the local node device to converge the data to the destination node device on the transmission channel.
- the first data aggregation system 120 further includes multiple storage devices, the storage device is used to store data during the data aggregation process, and the input device of the node device refers to the storage device previously connected to the node device , The output device of the node device refers to the storage device connected after the node device, then the two adjacent node devices in the transmission channel are connected through the storage device, that is to say, the output device of the previous node device and the latter node The input device of the device is the same storage device.
- each node device can output data to the connected storage device, store the data in the storage device, and send the data to the next node device by the storage device. Realize data storage to prevent data loss.
- FIG. 2 is a flowchart of a data aggregation method provided by an embodiment of the present application, which is applied to the control device of the embodiment shown in FIG. 1. Referring to Figure 2, the method includes the following steps:
- Step 201 Obtain configuration information of multiple virtual nodes.
- the configuration information is determined according to configuration instructions entered on the configuration device.
- the configuration information includes at least the device identification of the input device and the device identification of the output device. Multiple node devices correspond to each other.
- Step 202 When receiving the data aggregation instruction including the device identification of the device identifier of the starting node device and the device identification of the destination node device, based on the data aggregation instruction, determine the starting virtual node and the destination node corresponding to the starting node device The target virtual node corresponding to the device.
- Step 203 Determine the transmission channel from the starting node device to the destination node device according to the configuration information of the multiple virtual nodes and the node device corresponding to each virtual node, the transmission channel is formed by connecting at least two node devices in order .
- Step 204 Deliver the transmission channel to each node device on the transmission channel, and each node device on the transmission channel performs data transmission, and converges the data of the starting node device to the destination node device.
- the control device obtains the configuration information of multiple virtual nodes, and the configuration information is determined according to the configuration instruction input on the configuration device, so the data aggregation instruction can be received
- determine the starting virtual node and the destination virtual node according to the data aggregation instruction and determine the transmission channel from the starting node device to the destination node device according to the configuration information of the multiple virtual nodes and the node device corresponding to each virtual node,
- the transmission channel is delivered to each node device of the transmission channel, and each node device on the transmission channel performs data transmission, and aggregates the data of the starting node device to the destination node device.
- the configuration information can be customized through the input configuration instruction, so that the control device determines the transmission channel according to the customized configuration information, and the data aggregation is performed through the transmission channel, so the configuration information can be updated according to the business needs, thereby changing the data aggregation system
- the node equipment in the system expands the business capability of the data aggregation system and improves flexibility.
- FIG. 3 is a flowchart of another data aggregation method provided by an embodiment of the present application, which is applied to any node device in the embodiment shown in FIG. 1. Referring to FIG. 3, the method includes the following steps:
- Step 301 Receive a transmission channel delivered by the control device.
- the transmission channel is determined by the control device according to the configuration information of multiple virtual nodes and the node device corresponding to each virtual node.
- the configuration information includes at least the device identification and output device of the input device Device identification, the transmission channel is formed by connecting at least two node devices in sequence, and includes the local node device.
- Step 302 When receiving the data sent by the previous node device of the local node device in the transmission channel, send the data to the next node device of the local node device in the transmission channel to aggregate the data to the transmission In the destination node device on the channel.
- any node device receives the transmission channel delivered by the control device, and when receiving the data sent by the previous node device in the transmission channel of the local node device, Send the data to the next node device in the transmission channel of the local node device to converge the data to the destination node device on the transmission channel.
- the configuration information can be customized through the input configuration instruction, so that the control device determines the transmission channel according to the customized configuration information and sends it to each node device in the transmission channel.
- Any node device can be based on the transmission channel Data aggregation is performed, so configuration information can be updated according to business requirements, thereby changing node devices in the data aggregation system, expanding the business capabilities of the data aggregation system, and increasing flexibility.
- FIG. 4 is a flowchart of another data aggregation method provided by an embodiment of the present application, which is applied to the implementation environment of the embodiment shown in FIG. 1. Referring to Figure 4, the method includes the following steps:
- Step 401 The configuration device generates system configuration information according to the received configuration instruction.
- the configuration device may display an input interface, and a technician inputs a configuration instruction carrying configuration information in the input interface.
- the configuration device receives the configuration instruction, the system configuration information is generated according to the configuration information in the configuration instruction.
- the system configuration information includes configuration information of multiple virtual nodes, which are used to describe multiple virtual nodes.
- the multiple virtual nodes correspond to multiple node devices in the first data aggregation system, and the virtual nodes are nodes.
- the node to which the device is mapped in the configuration information, and the configuration information of the virtual node is actually used to describe the node device.
- the configuration information of the virtual node includes at least the device identification of the node device corresponding to the virtual node, the device identification of at least one input device, and the device identification of at least one output device.
- the input device is a node device that inputs data to the node device corresponding to the virtual node. That is, the previous node device of the node device corresponding to the virtual node, and the output device refers to the node device that receives the data output by the node device corresponding to the virtual node, that is, the next node of the node device corresponding to the virtual node device. Therefore, the configuration information may at least represent at least one node device before or after the node device corresponding to the virtual node.
- the statistics of the configuration information of the multiple virtual nodes in the system configuration information it can be determined which node devices are included in the first data aggregation system and which node devices are connected before or after each node device.
- the input device is a storage device that inputs data to the node device corresponding to the virtual node, that is, the storage device connected to the node device corresponding to the virtual node, and output
- the device refers to a storage device that receives data output by a node device corresponding to the virtual node, that is, a storage device connected after the node device corresponding to the virtual node. Therefore, the configuration information may at least represent at least one storage device before or after the node device corresponding to the virtual node.
- the device identifier of the input device and the device identifier of the output device in the configuration information are the from end and the to end of the virtual node.
- the device identifier of the input device of the virtual node node_1 is kafka_1
- the device identifier of the output device is file_1.
- each virtual node can have multiple from and to ends.
- the device identifiers of the input devices in the virtual node node_2 are file_1 and file_2, and the device identifier of the output device is file_1.
- the other virtual nodes are similar to the aforementioned virtual nodes similar to node_1 and node_2, and will not be elaborated here.
- the device identifier of the node device is used to determine a unique corresponding node device, and may be the network address, device name, and device number of the node device, such as node device 1, node device 2, and so on.
- the device identifier of the above storage device is used to determine the unique corresponding storage device, and may be the network address, device name, and device number of the storage device, such as kafka_1, file_1, ftp_1, and so on.
- the configuration information of the virtual node may also include attribute information of the input device and the output device.
- the attribute information is determined by the type of data stored by the input device and the output device, and the specific content of the attribute information is passed by the technical Enter the configuration command to configure.
- the attribute information may be information required by kafka, such as topic (data topic), group.id (queue address).
- the attribute information may include information required by file such as the directory location (localDir) where the file is stored.
- the attribute information may include the host name (hostname), the port (port), the storage path (path), and the FTP service username ( username) and password (password), etc.
- the above data type may also be other data types, and the above attribute information may also include information of other attributes, which is not limited in this embodiment of the present application.
- the configuration instructions that generate the system configuration information can be as follows:
- the configuration information of the virtual node further includes a data processing chain, and the data processing chain is used to specify at least one data processing mode when the corresponding node device receives the data to be transmitted.
- the data processing chain includes at least one processing method, and the at least one processing method is arranged in order.
- the processing methods in the data processing chain are sequentially used for data processing in order.
- any node device can filter the received data, by configuring the PROCESS_FILTER process and the corresponding filtering conditions in the virtual node corresponding to the node device, so that the node will filter according to the configured processing method when receiving the data Actions.
- the configuration device provides a special data processing interface.
- the processing process including multiple data processing methods customized by the technician can be received through the interface Package, put the process package into the data processing library of the configuration device.
- the technician can enter the configuration instructions in the configuration device as required to configure the required virtual node to call the process The instruction of any processing method of the package, so that during the aggregation process, the node device corresponding to the virtual node can perform data processing on the aggregated data according to the specified processing method according to the needs of the technician, and realize the custom node device of the technician Data processing method, which can expand the data processing capacity of the node equipment, more in line with the needs of technical staff.
- the configuration instructions for configuring the processing mode in the data processing chain of a virtual node can be as follows:
- the data processing methods configured in the above example are to filter the data, convert the data, and call a custom processing method (customize).
- filtering and conversion are the capabilities of the data processing method originally provided by the node device corresponding to the virtual node
- the custom processing method is configured by the technician through the data processing interface, that is, the technician expands the node device corresponding to the virtual node Treatment.
- the data can be directly filtered according to the configuration instructions in the above example.
- the technician needs to provide a data structure description file (schema.yml) of the data.
- the description file is used to describe the format of the data to be converted this time, and a description file of the converted data format is also required (XXX.xls).
- the current data structure description file for the data can be as follows:
- mapping relationship of format conversion can be obtained according to any description file. For example, as shown in Table 1 below:
- Table 1 is only an exemplary format conversion mapping relationship provided by the embodiment of the present application, and may also be other mapping relationships, which are not limited in the embodiment of the present application.
- a new node device may be added, and the new node device is connected to any two original node devices in the first data aggregation system, and the Enter the configuration instruction on the device, add the configuration information of the virtual node corresponding to the new node device, and set the device identifiers of the input device and output device of the virtual node corresponding to the new node device to the device identifiers of the two node devices In order to add the virtual node corresponding to the new node device to the virtual topology network, so as to add a new node device in the first data aggregation system.
- any idle node device may be removed. Specifically, the idle node device may be removed. Connection of other node devices, then remove the idle node device, and delete the configuration information of the virtual node corresponding to the idle node device by inputting a configuration instruction on the configuration device.
- the node devices may be connected through a storage device, that is, the input device and the output device of each node device are storage devices.
- a new node device may be added, and the new node device is connected to two storage devices that have not established a connection through the node device, and through the configuration device Enter the configuration instruction, add the configuration information of the virtual node corresponding to the new node device, and set the device identifiers of the input device and output device of the virtual node corresponding to the new node device to the device identifiers of the two storage devices, respectively, to The virtual node corresponding to the new node device is added to the virtual topology network, so that a new node device is added to the first data aggregation system.
- any idle node device may be removed.
- the idle node device may be The connection between the two storage devices of the device and the output device is removed, and then the node device is removed, and the configuration information of the virtual node corresponding to the idle node device is deleted by entering a configuration instruction on the configuration device.
- a technician can input the above configuration instructions on the configuration device to configure any desired virtual node, so that the node device included in the first data aggregation system can be expanded, Add new node equipment for data aggregation to achieve personalized configuration. It is also possible to delete unnecessary virtual nodes, remove idle node devices in the first data aggregation system, and avoid waste of resources.
- the system configuration information may be in the form of a configuration file.
- the configuration device When the configuration device generates configuration information of multiple virtual nodes according to the input configuration instruction, the configuration information of the multiple virtual nodes is encapsulated to obtain the system configuration in the form of a configuration file
- the information can be obtained by parsing the system configuration information to obtain the configuration information of multiple virtual nodes.
- Step 402 The configuration device sends system configuration information to the control device.
- the configuration device is connected to the control device.
- the specific connection method may be that the configuration device and the control device are connected through a network or other connection methods, which is not limited in this embodiment of the present application.
- the configuration device can directly send the system configuration information to the control device, or it can store the system configuration information and send the system configuration information to the control device when receiving the acquisition request sent by the control device.
- Step 403 The control device receives system configuration information, analyzes the system configuration information, and obtains configuration information of multiple virtual nodes.
- Step 404 The starting node device sends a data aggregation instruction to the control device, where the data aggregation instruction carries the device identifier of the starting node device and the device identifier of the destination node device.
- the starting node device may be any node device in the first data aggregation system.
- the starting node device may be a collection device in the first data aggregation system, which is specifically used to collect data and aggregate the data into the aggregation device.
- the starting node device When the starting node device needs to aggregate data into other node devices, it can send a data aggregation instruction to the control device. Since the control device needs to determine the starting point and the ending point of data aggregation, the transmission channel can be subsequently determined for data aggregation. Therefore, when the starting node device sends the data aggregation instruction, the device identification of the starting node device and the device identifier of the destination node device need to be carried in the data aggregation instruction and sent to the control device.
- Step 405 When the control device receives the data aggregation instruction, based on the data aggregation instruction, the starting virtual node corresponding to the starting node device and the destination virtual node corresponding to the destination node device are determined.
- the virtual node device identifier is the same as the device identifier of the starting node device.
- the node is used as the starting virtual node, and the virtual node with the same node device ID as that of the destination node device is used as the destination virtual node.
- Step 406 The control device determines the transmission channel from the starting node device to the destination node device according to the configuration information of the multiple virtual nodes and the node device corresponding to each virtual node, and delivers to each node device on the transmission channel A transmission channel, which is formed by connecting at least two node devices in sequence.
- the device of the output device of one of the virtual nodes After acquiring configuration information of multiple virtual nodes and before receiving a data aggregation instruction, for any two virtual nodes of the multiple virtual nodes, the device of the output device of one of the virtual nodes When the identifier is the same as the device identifier of the input device of another virtual node, connect any two virtual nodes to obtain a virtual topology structure, the virtual topology structure is composed of the multiple virtual node connections, and the virtual topology structure is used for description The connection relationship of the multiple node devices.
- each virtual node can include the device identification of multiple input devices and the device identification of output devices, after the virtual nodes are connected in the above manner, the resulting virtual topology structure will be a structure in which multiple virtual nodes are connected to each other.
- the structure can be mapped to the connection relationship between multiple node devices.
- control device when the control device receives the data aggregation instruction, in the virtual topology, it looks for the virtual transmission channel from the starting virtual node to the destination virtual node; according to the node device corresponding to each virtual node on the virtual transmission channel, determine from The transmission channel from the starting node device to the destination node device.
- the transmission channel may be a channel in which the device identifiers of multiple node devices are arranged in order.
- the transmission channel may be multiple. Assuming that the starting virtual node is node_1 and the destination virtual node is node_4, then if node_1 in the virtual topology Connected to node_2, node_3 and node_4 respectively, node_2 is connected to node_3 and node_4, then the virtual transmission channel obtained by the control device may include node_1-> node_2-> node_4, node_1-> node_4; node_1-> node_2-> node_3-> node_4, node_1-> node_3-> node_4 etc.
- the control device may determine the device identification of the input device and the output device of each virtual node from the configuration information of multiple virtual nodes,
- the devices corresponding to the two device identifiers are the storage device between the node device corresponding to the virtual node and the previous node device, and the storage device connected to the next node device corresponding to the virtual node, so that the starting node can be determined
- the device reaches the transmission channel of the destination node device, and then the transmission channel is delivered to each node device in the transmission channel, and the transmission channel includes not only multiple node devices arranged in sequence, but also any two node devices Between storage devices, so that when each node device sends data to the next node device, it can first send the data to the corresponding storage device, and then the corresponding storage device to the next node device.
- control device may deliver the transmission channel and the monitoring task to each node device on the transmission channel, and each node device on the transmission channel performs data transmission, and monitors the data transmission process at the local end.
- the control device sends the data transmission result.
- Step 407 When the starting node device receives the transmission channel delivered by the control device, it sends the data of the starting node device to the next node device in the transmission channel of the starting node device.
- the control device delivers the transmission channel
- the starting node device receives multiple transmission channels, it can obtain the load of each transmission channel from the control device, and then according to the amount of data to be transmitted
- Determine the data volume of each transmission channel distribute the data according to the data volume of each transmission channel, and send each distributed data to the storage device between the starting node device and the next node device in the corresponding transmission channel.
- Sent to the next node device of the starting node device in the transmission channel so as to separately transmit through multiple transmission channels. In this way, the transmission pressure of each transmission channel can be reduced, thereby improving the efficiency of data aggregation.
- the starting node device can also carry the data amount of the data to be transmitted in the data aggregation instruction and send it to the control device.
- the control device determines multiple transmission channels and each transmission channel in a manner similar to the above When the determined transmission channel is delivered to the starting node device, the data amount of each transmission channel is sent to the starting node device at the same time.
- the starting node device is directly allocated according to the data amount of each transmission channel Data, send the distributed data to the next node device of the starting node device in each transmission channel.
- the determined at least one transmission channel is overloaded, or the transmission capacity is limited to meet this data aggregation, you can customize it in the configuration information to directly increase the connection relationship between the two unconnected virtual nodes Or, you can add node devices and configure the configuration information of the corresponding virtual nodes to add new node devices to the data aggregation system to expand the transmission channel, so as to expand the capacity of the data aggregation system and enhance the efficiency of data aggregation.
- Step 408 The other node device receives the transmission channel delivered by the control device, and when receiving the data sent by the previous node device of the local node device in the transmission channel, sends the data to the local node device in the transmission channel The next node device.
- the other node devices are node devices other than the start node device and the destination node device among the node devices on the transmission channel.
- each node device is provided with a buffer, and the buffer stores the data to be processed transmitted by the previous node device of the local node device in the form of a buffer queue.
- the buffer queue processes the stored data in order, when the processing is completed, the data will be removed from the buffer queue, thereby ensuring the available space of the buffer queue.
- a suspension notification message can be sent to the previous node device of the local node device in the transmission channel to remind the previous node device to suspend The end node device sends data.
- the buffer queue can send a recovery notification message to the next node device to enable the previous node device to restart transmitting data to the local node device.
- any node device when any node device receives the monitoring task issued by the control device, it can monitor its own data transmission in real time, and generate data transmission every preset time according to the real-time monitored data transmission The result is sent to the control device.
- the control device can obtain the overall transmission status of each transmission channel according to each measurement report, so as to uniformly manage and control each transmission channel during the transmission process.
- the measurement report may be the above data transmission result, or may be obtained by processing multiple data transmission results of the transmission channel, for example, may include the average data transmission speed and average calculated from the multiple data transmission results of the transmission channel The amount of cached data, etc.
- the virtual transmission channel is node_1-> node_2-> node_3, then when the node devices 1, node device 2, and node device 3 corresponding to these three virtual nodes perform data transmission, each node device can be timed Detect the remaining space of the current buffer area, the speed of data processing and the total number of processed data, etc., and then generate a data transmission result and send it to the control device.
- control device When the control device receives the data transmission result uploaded by each node device of any transmission channel, it can calculate the average data transmission speed and average buffered data amount of the transmission channel according to the multiple data transmission results of the transmission channel.
- the control device When the data transmission speed of the channel is higher than the preset speed value for a long time, or when the average buffered data volume of the transmission channel is higher than the preset data volume for a long time, an abnormal alarm may be issued to prompt the technician to process.
- control device when the control device receives the data transmission result uploaded by each node device of any transmission channel, it can determine the operating state of each node device of the transmission channel according to the multiple data transmission results of the transmission channel. The running state of the node device determines whether the node device needs to be restarted. If any node device needs to be restarted, the control device can send a start command to the node device to restart the node device for normal data transmission.
- control device can also perform other operations based on the received data transmission results sent by each node device, for example, when the control device determines that any node device is currently inoperable and cannot be restarted, it can perform Abnormal alarm to prompt technicians to check for abnormal problems and maintain multiple node devices in the data aggregation system.
- Step 409 The destination node device receives the transmission channel delivered by the control device, and stores the data when the destination node device receives the data sent by the previous node device in the transmission channel.
- the destination node device when the destination node device receives the data, the data is stored in the output device of the destination node device, that is, the storage device connected to the destination node device.
- the input device and the output device of any node device are storage devices, and storage devices that store the same data type are connected to each other, and data sharing can be performed.
- the transmission channel can be multiple, and the control device can send the amount of data to be transmitted to the destination node device when sending the transmission channel. If the storage capacity of the output device of the destination node device is limited, the data cannot be completely stored. When receiving data, the node device can forward part of the data that the output device of the destination node device cannot load, through the output device, to other storage devices of the data type stored with the output device, thereby solving the output of the destination node device The problem of limited storage capacity of equipment.
- the control device when the control device receives the data aggregation instruction sent by the starting node device, the data aggregation instruction includes the device identification of the starting node device, the device identification of the destination node device, and the data of the data to be transmitted
- the storage capacity of the output device can be obtained from the destination node device according to the device identifier of the destination node device.
- At least one output device of the same data type as the output device can be determined, and the node device connected to these output devices can also be used as the destination node device, based on the starting node device and multiple purposes
- the node device determines multiple transmission channels to send the same type of data to different storage devices for storage through the multiple transmission channels, so as to forward part of the data that the output device of the destination node device cannot load to the
- the other storage device of the data type stored by the output device solves the problem of limited storage capacity of the output device of the destination node device, and achieves an effect similar to the above-mentioned possible implementation manner.
- the control device obtains the configuration information of a plurality of virtual nodes, the configuration information is determined according to the configuration instruction input on the configuration device, so that when the data aggregation instruction is received, the data aggregation The instruction determines the starting virtual node and the destination virtual node, and determines the transmission channel from the starting node device to the destination node device according to the configuration information of the multiple virtual nodes and the node device corresponding to each virtual node, and finally to the transmission channel
- Each node device sends a transmission channel, and any node device receives the transmission channel sent by the control device. When receiving the data sent by the previous node device in the transmission channel of the local node device, the data is sent to this node.
- the end node device is the next node device in the transmission channel to aggregate the data to the destination node device on the transmission channel.
- the configuration information can be customized through the input configuration command, so that the control device determines the transmission channel according to the configuration information customized by the technician, and the data aggregation is performed through the transmission channel, so the configuration information can be updated according to business needs, thereby Changing the node equipment in the data aggregation system expands the business capabilities of the data aggregation system and improves flexibility.
- FIG. 7 is a schematic diagram of a data aggregation scenario provided by an embodiment of the present disclosure.
- the start node device and the destination node device are both located in the first data aggregation system, and the method shown in the embodiment shown in FIG. 4 can be used. Converge the data of the starting node device to the destination node device.
- the starting node device is located in the first data aggregation system
- the destination node device is located in the second data aggregation system
- the first data aggregation system is The two data aggregation systems are in different networks, and the first data aggregation system is connected to the second port equipment of the second data aggregation system through the first port equipment.
- the second data aggregation system includes multiple node devices and control devices.
- the transmission channel between the originating node device and the destination node device is restricted, and it must pass through the first port device and the second port device to send data from the first data aggregation system to the second data aggregation system. That is, the data transmission process includes the process of sending data from the starting node device to the first port device, from the first port device to the second port device, and sending the data from the second port device to the destination node device process.
- steps 404-408 may specifically include the following steps:
- Step 801 In the first data aggregation system, the starting node device sends a data aggregation instruction to the control device, where the data aggregation instruction carries the device identification of the starting node device and the device identification of the destination node device.
- Step 802 When the control device receives the data aggregation instruction, the destination node device in the data aggregation instruction is changed to the first port device to determine the arrival of the first node device from the starting node device based on the modified data aggregation instruction The transmission channel of the first node device data is first aggregated into the first port device.
- Step 802 After receiving the data of the starting node device, the first port device sends the data to the second port device of the second data aggregation system.
- Step 804 In the second data aggregation system, the second port device sends a data aggregation instruction to the control device, where the data aggregation instruction carries the device identification of the second port device and the device identification of the destination node device.
- Step 805 When the control device receives the data aggregation instruction, based on the data aggregation instruction, the data of the second port device is aggregated into the destination node device.
- the control device in the second data aggregation system determines the configuration information of multiple virtual nodes and determines the transmission channel based on the data aggregation instruction, and the process of data transmission by multiple node devices on the transmission channel is the same as that shown in FIG. The method embodiments are similar and will not be repeated here.
- the initial node device to send data is the node device in the second data aggregation system
- the destination node device is the node device in the first data aggregation system
- the first data aggregation system passes the The one-port device is connected to the second-port device of the second data aggregation system.
- the data is sent to the starting node device to send the data aggregation instruction carrying the device identification of the starting node device and the device identification of the destination node device to the control device, when the control device receives the In the data aggregation instruction, the destination node device in the data aggregation instruction is changed to the second port device to determine the transmission channel from the starting node device to the second port device based on the changed data aggregation instruction, and the starting node device
- the data of is first aggregated into the second port device, and the data is sent from the second port device to the first port device of the first data aggregation system.
- the first port device sends a data aggregation instruction to the control device, the data aggregation instruction carries the device identification of the first port device and the device identification of the destination node device; when the control device receives the data aggregation instruction Based on the data aggregation instruction, the data of the second port device is aggregated into the destination node device.
- the first data aggregation system and the second data aggregation system can access each other through the first port device and the second port device to perform data transmission.
- data can be aggregated from the first data aggregation system to the second data system, or data can be aggregated from the second data aggregation system to the first data aggregation system.
- the first data aggregation system and the second data aggregation system in different networks may be restricted to only one-sided access, for example, data can be aggregated from the first data aggregation system to the second data System, but the data cannot be aggregated from the second data aggregation system to the first data aggregation system; or the data can be aggregated from the second data aggregation system to the first data system, but the data cannot be aggregated from the first data aggregation system to the first 2.
- Data aggregation system At this time, the data in the data aggregation system that is allowed to be accessed can be aggregated into another data aggregation system according to the allowed access direction.
- FIG. 9 is a schematic diagram of a data aggregation scenario provided by an embodiment of the present disclosure.
- the starting node device is located in the first data aggregation system
- the destination node device is located in the second data aggregation system
- the first data aggregation system and the second The data aggregation system is in a different network
- the first data aggregation system and the second data aggregation system are in a network isolation state.
- the second data aggregation system includes multiple node devices and control devices.
- the transmission channel between the start node device and the destination node device is restricted, and cross-network transmission must be performed through the gatekeeper device to send data from the first data aggregation system to the second data aggregation system. That is, the data transmission process includes the process of sending data from the starting node device to the gatekeeper device, and sending the data from the gatekeeper device to the destination node device.
- steps 404-408 may specifically include the following steps:
- Step 901 In the first data aggregation system, the starting node device sends a data aggregation instruction to the control device, where the data aggregation instruction carries the device identifier of the starting node device and the device identifier of the destination node device.
- Step 902 When the control device receives the data aggregation instruction, the destination node device in the data aggregation instruction is changed to a gatekeeper device to determine the transmission from the starting node device to the gatekeeper device based on the changed data aggregation instruction Channel, the data of the starting node device is first aggregated to the gatekeeper device.
- Step 903 In the second data aggregation system, the gatekeeper device sends a data aggregation instruction to the control device, where the data aggregation instruction carries the device identifier of the gatekeeper device and the device identifier of the destination node device.
- Step 904 When the control device receives the data aggregation instruction, based on the data aggregation instruction, the data of the second port device is aggregated into the destination node device.
- the control device in the second data aggregation system determines the configuration information of multiple virtual nodes and determines the transmission channel based on the data aggregation instruction, and the process of data transmission by multiple node devices on the transmission channel is the same as that shown in FIG. 4 above The method embodiments are similar and will not be repeated here.
- the starting node device that first sends data is the node device in the second data aggregation system
- the destination node device is the node device in the first data aggregation system
- the first data aggregation system passes the network
- the gate device is isolated from the second data aggregation system.
- the starting node device that first sends data sends a data aggregation instruction carrying the device identifier of the starting node device and the device identifier of the destination node device to the control device; when the control device receives
- the destination node device in the data aggregation instruction is changed to a gatekeeper device to determine the transmission channel from the starting node device to the gatekeeper device based on the changed data aggregation instruction
- the data is first aggregated into the gatekeeper device.
- the gatekeeper device sends a data aggregation instruction to the control device, the data aggregation instruction carries the device identifier of the gatekeeper device and the device identifier of the destination node device; when the control device receives the data aggregation instruction, based on The data aggregation instruction aggregates the data of the gatekeeper device to the destination node device.
- the first data aggregation system and the second data aggregation system can perform data transmission with each other through the gatekeeper device.
- data can be aggregated from the first data aggregation system to the second data system, or data can be aggregated from the second data aggregation system to the first data aggregation system.
- the data aggregation method provided by the embodiments of the present application can be applied to the above-mentioned several different data aggregation scenarios, which can realize the data aggregation of the starting node device and the destination node device in different networks, providing more diversification
- the aggregation method can meet the data aggregation requirements in different scenarios and enhance the ability of the data aggregation system.
- FIG. 10 is a schematic structural diagram of a data aggregation device provided by an embodiment of the present application. Referring to FIG. 10, it is applied to the implementation environment of the embodiment shown in FIG.
- the apparatus includes: an acquisition module 1001, a first determination module 1002, a second determination module 1003, and a first sending module 1004.
- the obtaining module 1001 is configured to obtain configuration information of a plurality of virtual nodes.
- the configuration information is determined according to a configuration instruction input on a configuration device.
- the configuration information includes at least a device identifier of an input device and a device identifier of an output device. There is a one-to-one correspondence between the nodes and the multiple node devices;
- the first determining module 1002 is configured to, when receiving a data aggregation instruction including the device identification of the starting node device and the device identification of the destination node device, determine the starting virtual node corresponding to the starting node device based on the data aggregation instruction and The destination virtual node corresponding to the destination node device;
- the second determining module 1003 is configured to determine a transmission channel from the starting node device to the destination node device according to the configuration information of the multiple virtual nodes and the node device corresponding to each virtual node, the transmission channel is composed of at least two node devices Connected in order;
- the first sending module 1004 is configured to deliver a transmission channel to each node device on the transmission channel, and each node device on the transmission channel performs data transmission, and aggregates data of the starting node device to the destination node device.
- the device further includes:
- the connection module is used for any two virtual nodes among the plurality of virtual nodes, when the device identifier of the output device of one virtual node is the same as the device identifier of the input device of the other virtual node, the two virtual nodes Node connection to obtain a virtual topology structure, the virtual topology structure is composed of the connection of the plurality of virtual nodes, and the virtual topology structure is used to describe the connection relationship of the plurality of node devices;
- the second determination module 1003 includes:
- Find submodule used to find the virtual transmission channel from the starting virtual node to the destination virtual node in the virtual topology
- the determination submodule is used to determine the transmission channel from the starting node device to the destination node device according to the node device corresponding to each virtual node on the virtual transmission channel.
- the first sending module 1004 includes:
- the sending submodule is used to deliver the transmission channel and monitoring tasks to each node device on the transmission channel.
- Each node device on the transmission channel performs data transmission, monitors the data transmission process at the local end, and sends it to the control device Data transfer results.
- the configuration information further includes a data processing chain, which is used to specify at least one data processing method when the corresponding node device receives the data to be transmitted; the apparatus further includes:
- the second sending module is used to send the data processing chain of the corresponding virtual node to each node device, so that each node device adopts the data processing method in the data processing chain to receive the data to be transmitted Be processed.
- the device further includes:
- the first modification module is used when the starting node device is the node device in the first data aggregation system, the destination node device is the node device in the second data aggregation system, and the first data aggregation system passes the first port device and the first
- the device identification of the destination node device in the data aggregation instruction is changed to the device identification of the first port device to determine the arrival from the starting node device based on the changed data aggregation instruction
- the transmission channel of the first port device aggregates the data of the starting node device into the first port device, and then sends the data to the second port device through the first port device, and then aggregates it into the second data aggregation system through the second port device
- the destination node device is used when the starting node device is the node device in the first data aggregation system, the destination node device is the node device in the second data aggregation system, and the first data aggregation system passes the first port device and the first
- the device further includes:
- the second modification module is used when the starting node device is the node device in the second data aggregation system, the destination node device is the node device in the first data aggregation system, and the first data aggregation system passes the first port device and the first When the second port device of the second data aggregation system is connected, it receives the first data aggregation instruction sent by the first port device, and the device identifier of the starting node device in the first data aggregation instruction is the device identifier of the first port device;
- the control device in the second data aggregation system is used to change the device identification of the destination node device to the second port device when receiving the second data aggregation instruction including the device identification of the start node device and the device identification of the destination node device Device identification to determine the transmission channel from the starting node device to the second port device based on the modified data aggregation instruction, and aggregate the data of the starting node device into the second port device, which will be used by the second port device
- the data is sent to the first port device, and the first port device sends the first data aggregation instruction to the control device in the first data aggregation system.
- the device further includes:
- the third modification module is used when the starting node device is the node device in the first data aggregation system, the destination node device is the node device in the second data aggregation system, and the first data aggregation system passes the gatekeeper device and the second
- the destination node device in the data aggregation instruction is changed to a gatekeeper device to determine the transmission channel from the starting node device to the gatekeeper device based on the changed data aggregation instruction, and the starting node device
- the data of is first aggregated into the gatekeeper device, and then the data is aggregated to the destination node device in the second data aggregation system through the gatekeeper device.
- the device further includes:
- the fourth modification module is used when the starting node device is the node device in the second data aggregation system, the destination node device is the node device in the first data aggregation system, and the first data aggregation system communicates with the second device through the gatekeeper device.
- the data aggregation system is isolated, the first data aggregation instruction sent by the gatekeeper device is received, and the device identifier of the starting node device in the first data aggregation instruction is the device identifier of the gatekeeper device;
- the control device in the second data aggregation system is used to change the device identification of the destination node device to the gatekeeper device when receiving the second data aggregation instruction including the device identification of the start node device and the device identification of the destination node device Device identification, to determine the transmission channel from the starting node device to the gatekeeper device based on the changed data aggregation instruction, to aggregate the data of the starting node device into the gatekeeper device, and the gatekeeper device to aggregate the first data
- the control device in the system sends the first data aggregation instruction.
- the control device obtains configuration information of multiple virtual nodes, and the configuration information is determined according to the configuration instruction input on the configuration device, so the data aggregation instruction can be received
- determine the starting virtual node and the destination virtual node according to the data aggregation instruction and determine the transmission channel from the starting node device to the destination node device according to the configuration information of the multiple virtual nodes and the node device corresponding to each virtual node,
- the transmission channel is delivered to each node device of the transmission channel, and each node device on the transmission channel performs data transmission, and aggregates the data of the starting node device to the destination node device.
- the configuration information can be customized through the input configuration instruction, so that the control device determines the transmission channel according to the customized configuration information, and the data aggregation is performed through the transmission channel, so the configuration information can be updated according to the business needs, thereby changing the data aggregation system
- the node equipment in the system expands the business capability of the data aggregation system and improves flexibility.
- FIG. 11 is a schematic structural diagram of another data aggregation device provided by an embodiment of the present application.
- the device includes: a receiving module 1101 and a first sending module 1102.
- the receiving module 1101 is configured to receive a transmission channel delivered by the control device.
- the transmission channel is determined by the control device according to the configuration information of multiple virtual nodes and the node device corresponding to each virtual node.
- the configuration information is based on the input on the configuration device
- the configuration instruction determines that at least the device identifier of the input device and the device identifier of the output device are included.
- the transmission channel is formed by connecting at least two node devices in sequence and includes the local node device;
- the first sending module 1102 is configured to, when receiving data sent by the previous node device of the local node device in the transmission channel, send the data to the next node device of the local node device in the transmission channel, so as to This data is aggregated into the destination node device on the transmission channel.
- the configuration information further includes a data processing chain, which is used to specify at least one data processing method when the corresponding node device receives the data to be transmitted;
- the first sending module 1102 includes:
- the processing sub-module is used to process the data by using the data processing method in the data processing chain when receiving the data;
- the sending submodule is used to send the processed data to the next node device in the transmission channel of the local node device.
- the device further includes:
- the second sending module is used to send a data aggregation instruction to the control device, where the data aggregation instruction includes the device identification of the starting node device and the device identification of the destination node device, and the starting node device is the local node device, so that the control device Determine the transmission channel from the local node device to the destination node device.
- the device further includes:
- the storage module is used for storing the data when the local node device is the destination node device in the transmission channel when it receives the data sent by the previous node device in the transmission channel of the local node device.
- any node device receives the transmission channel delivered by the control device.
- the configuration information can be customized through the input configuration instruction, so that the control device determines the transmission channel according to the customized configuration information and sends it to each node device in the transmission channel.
- Any node device can be based on the transmission channel Data aggregation is performed, so configuration information can be updated according to business requirements, thereby changing node devices in the data aggregation system, expanding the business capabilities of the data aggregation system, and increasing flexibility.
- the data aggregation device provided in the above embodiment performs data aggregation
- only the above-mentioned division of each functional module is used as an example for illustration.
- the above-mentioned functions may be allocated by different functional modules according to needs. That is, the internal structure of the control device and the node device is divided into different functional modules to complete all or part of the functions described above.
- the data aggregation device and the data aggregation method embodiment provided in the above embodiments belong to the same concept. For the specific implementation process, see the method embodiment, and details are not described here.
- FIG. 12 is a schematic structural diagram of a server provided by an embodiment of the present application.
- the server 1200 may have a relatively large difference due to different configurations or performances, and may include one or more than one central processing unit (CPU) 1201 and one Or more than one memory 1202, wherein at least one instruction is stored in the memory 1202, and the at least one instruction is loaded and executed by the processor 1201.
- the server 1200 may also have components such as a wired or wireless network interface, a keyboard, and an input-output interface for input and output.
- the server 1200 may also include other components for implementing device functions, which will not be repeated here.
- the server 1200 is used to perform the operations performed by the control device or the node device in the above data aggregation method.
- a computer-readable storage medium is also provided, for example, a memory including instructions that can be executed by the processor in the terminal or server to complete the data aggregation method in the above embodiments.
- the computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, or the like.
- the program may be stored in a computer-readable storage medium.
- the mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
old_colold_col | old_typeold_type | new_colnew_col | new_typenew_type | convert_funcconvert_func |
column1column1 | STRINGSTRING | column_1column_1 | STRINGSTRING | ${column1}+${column4}$ {column1} + $ {column4} |
column2column2 | FLOAT64FLOAT64 | column_2column_2 | STRINGSTRING | ‘TEST’+${column2}‘TEST’ + $ {column2} |
Claims (29)
- 一种数据汇聚方法,其特征在于,应用于第一数据汇聚系统的控制设备中,所述第一数据汇聚系统包括多个节点设备和所述控制设备,所述控制设备分别与所述多个节点设备连接,所述方法包括:A data aggregation method, characterized in that it is applied to a control device of a first data aggregation system, the first data aggregation system includes a plurality of node devices and the control device, the control device and the plurality of Node device connection, the method includes:获取多个虚拟节点的配置信息,所述配置信息根据在与所述控制设备连接的配置设备上输入的配置指令确定,所述配置信息至少包括输入设备的设备标识和输出设备的设备标识,所述多个虚拟节点与所述多个节点设备一一对应;Acquiring configuration information of a plurality of virtual nodes, the configuration information is determined according to a configuration instruction input on a configuration device connected to the control device, the configuration information includes at least a device identification of an input device and a device identification of an output device The multiple virtual nodes correspond to the multiple node devices in one-to-one correspondence;当接收到包括起始节点设备的设备标识和目的节点设备的设备标识的数据汇聚指令时,基于所述数据汇聚指令,确定所述起始节点设备对应的起始虚拟节点和所述目的节点设备对应的目的虚拟节点;When receiving a data aggregation instruction including the device identification of the starting node device and the device identification of the destination node device, based on the data aggregation instruction, the starting virtual node corresponding to the starting node device and the destination node device are determined The corresponding destination virtual node;根据所述多个虚拟节点的配置信息以及每个虚拟节点对应的节点设备,确定从所述起始节点设备到达所述目的节点设备的传输通道,所述传输通道由至少两个节点设备按照顺序连接而成;According to the configuration information of the plurality of virtual nodes and the node device corresponding to each virtual node, determine a transmission channel from the starting node device to the destination node device, the transmission channel is in order by at least two node devices Connected向所述传输通道上的每个节点设备下发所述传输通道,由所述传输通道上的每个节点设备进行数据传输,以将所述起始节点设备的数据汇聚到所述目的节点设备中。Deliver the transmission channel to each node device on the transmission channel, and each node device on the transmission channel performs data transmission to aggregate the data of the starting node device to the destination node device in.
- 根据权利要求1所述的方法,其特征在于,所述获取多个虚拟节点的配置信息之后,所述方法还包括:The method according to claim 1, wherein after acquiring configuration information of a plurality of virtual nodes, the method further comprises:对于所述多个虚拟节点中的任两个虚拟节点,当其中一个虚拟节点的输出设备的设备标识与另一个虚拟节点的输入设备的设备标识相同时,将所述任两个虚拟节点连接,得到虚拟拓扑结构,所述虚拟拓扑结构由所述多个虚拟节点连接构成,且所述虚拟拓扑结构用于描述所述多个节点设备的连接关系;For any two virtual nodes of the plurality of virtual nodes, when the device identification of the output device of one virtual node is the same as the device identification of the input device of the other virtual node, connect the two virtual nodes, Obtain a virtual topology structure, the virtual topology structure is formed by the connection of the multiple virtual nodes, and the virtual topology structure is used to describe the connection relationship of the multiple node devices;所述根据所述多个虚拟节点的配置信息以及每个虚拟节点对应的节点设备,确定从所述起始节点设备到达所述目的节点设备的传输通道,包括:The determining the transmission channel from the starting node device to the destination node device according to the configuration information of the plurality of virtual nodes and the node device corresponding to each virtual node includes:在所述虚拟拓扑结构中,查找从所述起始虚拟节点到达所述目的虚拟节点的虚拟传输通道;In the virtual topology structure, search for a virtual transmission channel from the starting virtual node to the destination virtual node;根据所述虚拟传输通道上的每个虚拟节点对应的节点设备,确定从所述起始节点设备到达所述目的节点设备的传输通道。The transmission channel from the starting node device to the destination node device is determined according to the node device corresponding to each virtual node on the virtual transmission channel.
- 根据权利要求1所述的方法,其特征在于,所述向所述传输通道上的每个节点设备下发所述传输通道,包括:The method according to claim 1, wherein the delivering the transmission channel to each node device on the transmission channel comprises:向所述传输通道上的每个节点设备下发所述传输通道和监控任务,由所述传输通道上的每个节点设备进行数据传输,并对本端的数据传输过程进行监控,向所述控制设备发送数据传输结果。Deliver the transmission channel and the monitoring task to each node device on the transmission channel, each node device on the transmission channel performs data transmission, and monitors the data transmission process at the local end to the control device Send data transfer results.
- 根据权利要求1所述的方法,其特征在于,所述配置信息还包括数据处理链,所述数据处理链用于规定对应的节点设备接收到待传输的数据时的至少一种数据处理方式;所述方法还包括:The method according to claim 1, wherein the configuration information further includes a data processing chain, and the data processing chain is used to specify at least one data processing method when the corresponding node device receives the data to be transmitted; The method also includes:向每个节点设备发送对应的虚拟节点的数据处理链,以使每个节点设备在接收到待传输的数据时,采用所述数据处理链中的数据处理方式对所述数据进行处理。Sending a data processing chain of the corresponding virtual node to each node device, so that each node device uses the data processing mode in the data processing chain to process the data when receiving the data to be transmitted.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:当起始节点设备是所述第一数据汇聚系统中的节点设备,目的节点设备是第二数据汇聚系统中的节点设备,且所述第一数据汇聚系统通过第一端口设备与所述第二数据汇聚系统的第二端口设备连接时,将所述数据汇聚指令中的目的节点设备的设备标识更改为所述第一端口设备的设备标识,以基于更改后的数据汇聚指令,确定从所述起始节点设备到达所述第一端口设备的传输通道,将所述起始节点设备的数据先汇聚到所述第一端口设备中,再通过所述第一端口设备发送给所述第二端口设备,通过所述第二端口设备汇聚到所述第二数据汇聚系统中的所述目的节点设备。When the starting node device is the node device in the first data aggregation system, the destination node device is the node device in the second data aggregation system, and the first data aggregation system passes the first port device and the second When the second port device of the data aggregation system is connected, the device identification of the destination node device in the data aggregation instruction is changed to the device identification of the first port device, to determine from the data aggregation instruction based on the changed data aggregation instruction The starting node device reaches the transmission channel of the first port device, aggregates the data of the starting node device into the first port device, and then sends the data to the second port through the first port device The device is aggregated to the destination node device in the second data aggregation system through the second port device.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:当起始节点设备是第二数据汇聚系统中的节点设备,目的节点设备是所述第一数据汇聚系统中的节点设备,且所述第一数据汇聚系统通过第一端口设备与所述第二数据汇聚系统的第二端口设备连接时,接收所述第一端口设备发送的第一数据汇聚指令,所述第一数据汇聚指令中的起始节点设备的设备标识为所述第一端口设备的设备标识;When the starting node device is the node device in the second data aggregation system, the destination node device is the node device in the first data aggregation system, and the first data aggregation system passes the first port device and the second When the second port device of the data aggregation system is connected, it receives the first data aggregation instruction sent by the first port device, and the device identifier of the starting node device in the first data aggregation instruction is that of the first port device Equipment Identity;所述第二数据汇聚系统中的控制设备用于当接收到包括所述起始节点设备 的设备标识和所述目的节点设备的设备标识的第二数据汇聚指令时,将所述目的节点设备的设备标识更改为所述第二端口设备的设备标识,以基于更改后的数据汇聚指令,确定从所述起始节点设备到达所述第二端口设备的传输通道,将所述起始节点设备的数据汇聚到所述第二端口设备中,由所述第二端口设备将所述数据发送给所述第一端口设备,由所述第一端口设备向所述第一数据汇聚系统中的控制设备发送所述第一数据汇聚指令。The control device in the second data aggregation system is configured to, when receiving the second data aggregation instruction including the device identification of the starting node device and the device identification of the destination node device, The device identification is changed to the device identification of the second port device to determine the transmission channel from the starting node device to the second port device based on the changed data aggregation instruction, and change the starting node device's Data is aggregated into the second port device, the second port device sends the data to the first port device, and the first port device sends the data to the control device in the first data aggregation system Sending the first data aggregation instruction.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:当起始节点设备是所述第一数据汇聚系统中的节点设备,目的节点设备是第二数据汇聚系统中的节点设备,且所述第一数据汇聚系统通过网闸设备与所述第二数据汇聚系统隔离时,将所述数据汇聚指令中的目的节点设备更改为所述网闸设备,以基于更改后的数据汇聚指令,确定从所述起始节点设备到达所述网闸设备的传输通道,将所述起始节点设备的数据先汇聚到所述网闸设备中,再通过所述网闸设备将所述数据汇聚到所述第二数据汇聚系统中的所述目的节点设备。When the starting node device is a node device in the first data aggregation system, the destination node device is a node device in the second data aggregation system, and the first data aggregation system communicates with the second data through a gatekeeper device When the aggregation system is isolated, the destination node device in the data aggregation instruction is changed to the gatekeeper device to determine the transmission channel from the starting node device to the gatekeeper device based on the changed data aggregation instruction , The data of the starting node device is first aggregated into the gatekeeper device, and then the data is aggregated to the destination node device in the second data aggregation system through the gatekeeper device.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:当起始节点设备是第二数据汇聚系统中的节点设备,目的节点设备是所述第一数据汇聚系统中的节点设备,且所述第一数据汇聚系统通过网闸设备与所述第二数据汇聚系统隔离时,接收所述网闸设备发送的第一数据汇聚指令,所述第一数据汇聚指令中的起始节点设备的设备标识为所述网闸设备的设备标识;When the starting node device is the node device in the second data aggregation system, the destination node device is the node device in the first data aggregation system, and the first data aggregation system communicates with the second data through the gatekeeper device When the aggregation system is isolated, receive the first data aggregation instruction sent by the gatekeeper device, and the device identifier of the starting node device in the first data aggregation instruction is the device identifier of the gatekeeper device;所述第二数据汇聚系统中的控制设备用于当接收到包括所述起始节点设备的设备标识和所述目的节点设备的设备标识的第二数据汇聚指令时,将所述目的节点设备的设备标识更改为所述网闸设备的设备标识,以基于更改后的数据汇聚指令,确定从所述起始节点设备到达所述网闸设备的传输通道,将所述起始节点设备的数据汇聚到所述网闸设备中,由所述网闸设备向所述第一数据汇聚系统中的控制设备发送所述第一数据汇聚指令。The control device in the second data aggregation system is configured to, when receiving the second data aggregation instruction including the device identification of the starting node device and the device identification of the destination node device, The device identification is changed to the device identification of the gatekeeper device to determine the transmission channel from the starting node device to the gatekeeper device based on the changed data aggregation instruction and to aggregate the data of the starting node device To the gatekeeper device, the gatekeeper device sends the first data aggregation instruction to the control device in the first data aggregation system.
- 一种数据汇聚方法,其特征在于,应用于第一数据汇聚系统中的任一节 点设备中,所述第一数据汇聚系统包括多个节点设备和所述控制设备,所述控制设备分别与所述多个节点设备连接,所述方法包括:A data aggregation method is characterized in that it is applied to any node device in a first data aggregation system. The first data aggregation system includes a plurality of node devices and the control device. To connect multiple node devices, the method includes:接收所述控制设备下发的传输通道,所述传输通道由所述控制设备根据多个虚拟节点的配置信息以及每个虚拟节点对应的节点设备确定,所述配置信息根据在与所述控制设备连接的配置设备上输入的配置指令确定,至少包括输入设备的设备标识和输出设备的设备标识,所述传输通道由至少两个节点设备按照顺序连接而成,且包括本端节点设备;Receiving a transmission channel delivered by the control device, the transmission channel is determined by the control device according to configuration information of multiple virtual nodes and a node device corresponding to each virtual node, and the configuration information is based on The configuration instruction input on the connected configuration device determines that it includes at least the device identification of the input device and the device identification of the output device, the transmission channel is formed by connecting at least two node devices in sequence, and includes the local node device;当接收到所述本端节点设备在所述传输通道中的上一个节点设备发送的数据时,将所述数据发送给所述本端节点设备在所述传输通道中的下一个节点设备,以将所述数据汇聚到所述传输通道上的目的节点设备中。When receiving the data sent by the last node device of the local node device on the transmission channel, send the data to the next node device of the local node device on the transmission channel, to Aggregate the data to the destination node device on the transmission channel.
- 根据权利要求9所述的方法,其特征在于,所述配置信息还包括数据处理链,所述数据处理链用于规定对应的节点设备接收到待传输的数据时的至少一种数据处理方式;所述当接收到所述本端节点设备在所述传输通道中的上一个节点设备发送的数据时,将所述数据发送给所述本端节点设备在所述传输通道中的下一个节点设备,包括:The method according to claim 9, wherein the configuration information further includes a data processing chain, and the data processing chain is used to specify at least one data processing method when the corresponding node device receives the data to be transmitted; When receiving the data sent by the previous node device of the local node device in the transmission channel, send the data to the next node device of the local node device in the transmission channel ,include:当接收到所述数据时,采用所述数据处理链中的数据处理方式对所述数据进行处理,将处理后的数据发送给所述本端节点设备在所述传输通道中的下一个节点设备。When receiving the data, the data processing method in the data processing chain is used to process the data, and the processed data is sent to the next node device in the transmission channel of the local node device .
- 根据权利要求9所述的方法,其特征在于,所述接收所述控制设备发送的传输通道之前,所述方法还包括:The method according to claim 9, wherein before the receiving the transmission channel sent by the control device, the method further comprises:向所述控制设备发送数据汇聚指令,所述数据汇聚指令包括起始节点设备的设备标识和目的节点设备的设备标识,且所述起始节点设备为所述本端节点设备,以使所述控制设备确定从所述本端节点设备到达所述目的节点设备的传输通道。Send a data aggregation instruction to the control device, where the data aggregation instruction includes the device identifier of the starting node device and the device identifier of the destination node device, and the starting node device is the local node device, so that the The control device determines the transmission channel from the local node device to the destination node device.
- 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, wherein the method further comprises:如果所述本端节点设备为所述传输通道中的目的节点设备,当接收到所述本端节点设备在所述传输通道中的上一个节点设备发送的数据时,存储所述数 据。If the local node device is a destination node device in the transmission channel, when the data sent by the local node device in the previous node device in the transmission channel is received, the data is stored.
- 一种数据汇聚装置,其特征在于,应用于第一数据汇聚系统的控制设备中,所述第一数据汇聚系统包括多个节点设备和所述控制设备,所述控制设备分别与所述多个节点设备连接,所述装置包括:An apparatus for data aggregation is characterized in that it is applied to a control device of a first data aggregation system. The first data aggregation system includes a plurality of node devices and the control device. Node device connection, the device includes:获取模块,用于获取多个虚拟节点的配置信息,所述配置信息根据在与所述控制设备连接的配置设备上输入的配置指令确定,所述配置信息至少包括输入设备的设备标识和输出设备的设备标识,所述多个虚拟节点与所述多个节点设备一一对应;An obtaining module, configured to obtain configuration information of a plurality of virtual nodes, the configuration information is determined according to a configuration instruction input on a configuration device connected to the control device, and the configuration information includes at least a device identifier and an output device of the input device Device identification, the multiple virtual nodes are in one-to-one correspondence with the multiple node devices;第一确定模块,用于当接收到包括起始节点设备的设备标识和目的节点设备的设备标识的数据汇聚指令时,基于所述数据汇聚指令,确定所述起始节点设备对应的起始虚拟节点和所述目的节点设备对应的目的虚拟节点;The first determining module is configured to, when receiving a data aggregation instruction including the device identification of the starting node device and the device identification of the destination node device, determine the starting virtual corresponding to the starting node device based on the data aggregation instruction A node and a destination virtual node corresponding to the destination node device;第二确定模块,用于根据所述多个虚拟节点的配置信息以及每个虚拟节点对应的节点设备,确定从所述起始节点设备到达所述目的节点设备的传输通道,所述传输通道由至少两个节点设备按照顺序连接而成;The second determining module is configured to determine a transmission channel from the starting node device to the destination node device according to the configuration information of the multiple virtual nodes and the node device corresponding to each virtual node, the transmission channel is At least two node devices are connected in order;第一发送模块,用于向所述传输通道上的每个节点设备下发所述传输通道,由所述传输通道上的每个节点设备进行数据传输,以将所述起始节点设备的数据汇聚到所述目的节点设备中。The first sending module is used to deliver the transmission channel to each node device on the transmission channel, and each node device on the transmission channel performs data transmission to transfer the data of the starting node device Converged into the destination node device.
- 根据权利要求13所述的装置,其特征在于,所述装置还包括:The device according to claim 13, wherein the device further comprises:连接模块,用于对于所述多个虚拟节点中的任两个虚拟节点,当其中一个虚拟节点的输出设备的设备标识与另一个虚拟节点的输入设备的设备标识相同时,将所述任两个虚拟节点连接,得到虚拟拓扑结构,所述虚拟拓扑结构由所述多个虚拟节点连接构成,且所述虚拟拓扑结构用于描述所述多个节点设备的连接关系;The connection module is configured to, for any two virtual nodes of the plurality of virtual nodes, when the device identification of the output device of one of the virtual nodes is the same as the device identification of the input device of the other virtual node, Virtual nodes are connected to obtain a virtual topology structure, the virtual topology structure is composed of the multiple virtual node connections, and the virtual topology structure is used to describe the connection relationship of the multiple node devices;所述第二确定模块包括:The second determination module includes:查找子模块,用于在所述虚拟拓扑结构中,查找从所述起始虚拟节点到达所述目的虚拟节点的虚拟传输通道;A search submodule, used to search for a virtual transmission channel from the starting virtual node to the destination virtual node in the virtual topology structure;确定子模块,用于根据所述虚拟传输通道上的每个虚拟节点对应的节点设备,确定从所述起始节点设备到达所述目的节点设备的传输通道。The determination submodule is configured to determine a transmission channel from the starting node device to the destination node device according to the node device corresponding to each virtual node on the virtual transmission channel.
- 根据权利要求13所述的装置,其特征在于,所述第一发送模块包括:The apparatus according to claim 13, wherein the first sending module comprises:发送子模块,用于向所述传输通道上的每个节点设备下发所述传输通道和监控任务,由所述传输通道上的每个节点设备进行数据传输,并对本端的数据传输过程进行监控,向所述控制设备发送数据传输结果。The sending submodule is used to deliver the transmission channel and the monitoring task to each node device on the transmission channel, each node device on the transmission channel performs data transmission, and monitors the data transmission process at the local end To send the data transmission result to the control device.
- 根据权利要求13所述的装置,其特征在于,所述配置信息还包括数据处理链,所述数据处理链用于规定对应的节点设备接收到待传输的数据时的至少一种数据处理方式;所述装置还包括:The apparatus according to claim 13, wherein the configuration information further includes a data processing chain, the data processing chain is used to specify at least one data processing method when the corresponding node device receives the data to be transmitted; The device also includes:第二发送模块,用于向每个节点设备发送对应的虚拟节点的数据处理链,以使每个节点设备在接收到待传输的数据时,采用所述数据处理链中的数据处理方式对所述数据进行处理。The second sending module is used to send the data processing chain of the corresponding virtual node to each node device, so that each node device adopts the data processing method in the data processing chain to receive the data to be transmitted The data is processed.
- 根据权利要求13所述的装置,其特征在于,所述装置还包括:The device according to claim 13, wherein the device further comprises:第一更改模块,用于当所述起始节点设备是所述第一数据汇聚系统中的节点设备,所述目的节点设备是第二数据汇聚系统中的节点设备,且所述第一数据汇聚系统通过第一端口设备与所述第二数据汇聚系统的第二端口设备连接时,将所述数据汇聚指令中的目的节点设备的节点标识更改为所述第一端口设备的节点标识,以基于更改后的数据汇聚指令,确定从所述起始节点设备到达所述第一端口设备的传输通道,将所述起始节点设备的数据先汇聚到所述第一端口设备中,再通过所述第一端口设备发送给所述第二端口设备,通过所述第二端口设备汇聚到所述第二数据汇聚系统中的所述目的节点设备。The first modification module is used when the starting node device is a node device in the first data aggregation system, the destination node device is a node device in the second data aggregation system, and the first data is aggregated When the system is connected to the second port device of the second data aggregation system through the first port device, the node identifier of the destination node device in the data aggregation instruction is changed to the node identifier of the first port device, based on The modified data aggregation instruction determines the transmission channel from the starting node device to the first port device, and aggregates the data of the starting node device into the first port device before passing the The first port device sends to the second port device, and converges to the destination node device in the second data aggregation system through the second port device.
- 根据权利要求13所述的装置,其特征在于,所述装置还包括:The device according to claim 13, wherein the device further comprises:第二更改模块,用于当起始节点设备是第二数据汇聚系统中的节点设备,目的节点设备是所述第一数据汇聚系统中的节点设备,且所述第一数据汇聚系统通过第一端口设备与所述第二数据汇聚系统的第二端口设备连接时,接收所述第一端口设备发送的第一数据汇聚指令,所述第一数据汇聚指令中的起始节点设备的设备标识为所述第一端口设备的设备标识;The second modification module is used when the starting node device is the node device in the second data aggregation system, the destination node device is the node device in the first data aggregation system, and the first data aggregation system passes the first When the port device is connected to the second port device of the second data aggregation system, it receives the first data aggregation instruction sent by the first port device, and the device identifier of the starting node device in the first data aggregation instruction is The device identification of the first port device;所述第二数据汇聚系统中的控制设备用于当接收到包括所述起始节点设备 的设备标识和所述目的节点设备的设备标识的第二数据汇聚指令时,将所述目的节点设备的设备标识更改为所述第二端口设备的设备标识,以基于更改后的数据汇聚指令,确定从所述起始节点设备到达所述第二端口设备的传输通道,将所述起始节点设备的数据汇聚到所述第二端口设备中,由所述第二端口设备将所述数据发送给所述第一端口设备,由所述第一端口设备向所述第一数据汇聚系统中的控制设备发送所述第一数据汇聚指令。The control device in the second data aggregation system is configured to, when receiving the second data aggregation instruction including the device identification of the starting node device and the device identification of the destination node device, The device identification is changed to the device identification of the second port device to determine the transmission channel from the starting node device to the second port device based on the changed data aggregation instruction, and change the starting node device's Data is aggregated into the second port device, the second port device sends the data to the first port device, and the first port device sends the data to the control device in the first data aggregation system Sending the first data aggregation instruction.
- 根据权利要求13所述的装置,其特征在于,所述装置还包括:The device according to claim 13, wherein the device further comprises:第三更改模块,用于当所述起始节点设备是所述第一数据汇聚系统中的节点设备,所述目的节点设备是第二数据汇聚系统中的节点设备,且所述第一数据汇聚系统通过网闸设备与所述第二数据汇聚系统隔离时,将所述数据汇聚指令中的目的节点设备更改为所述网闸设备,以基于更改后的数据汇聚指令,确定从所述起始节点设备到达所述网闸设备的传输通道,将所述起始节点设备的数据先汇聚到所述网闸设备中,再通过所述网闸设备将所述数据汇聚到所述第二数据汇聚系统中的所述目的节点设备。The third modification module is used when the starting node device is a node device in the first data aggregation system, the destination node device is a node device in the second data aggregation system, and the first data is aggregated When the system is isolated from the second data aggregation system by a gatekeeper device, the destination node device in the data aggregation instruction is changed to the gatekeeper device to determine the starting point from the modified data aggregation instruction The node device reaches the transmission channel of the gatekeeper device, and the data of the starting node device is first aggregated into the gatekeeper device, and then the data is aggregated to the second data aggregation through the gatekeeper device The destination node device in the system.
- 根据权利要求13所述的装置,其特征在于,所述装置还包括:The device according to claim 13, wherein the device further comprises:第四更改模块,用于当起始节点设备是第二数据汇聚系统中的节点设备,目的节点设备是所述第一数据汇聚系统中的节点设备,且所述第一数据汇聚系统通过网闸设备与所述第二数据汇聚系统隔离时,接收所述网闸设备发送的第一数据汇聚指令,所述第一数据汇聚指令中的起始节点设备的设备标识为所述网闸设备的设备标识;The fourth modification module is used when the starting node device is the node device in the second data aggregation system, the destination node device is the node device in the first data aggregation system, and the first data aggregation system passes through the gatekeeper When the device is isolated from the second data aggregation system, it receives the first data aggregation instruction sent by the gatekeeper device, and the device identifier of the starting node device in the first data aggregation instruction is the device of the gatekeeper device Logo所述第二数据汇聚系统中的控制设备用于当接收到包括所述起始节点设备的设备标识和所述目的节点设备的设备标识的第二数据汇聚指令时,将所述目的节点设备的设备标识更改为所述网闸设备的设备标识,以基于更改后的数据汇聚指令,确定从所述起始节点设备到达所述网闸设备的传输通道,将所述起始节点设备的数据汇聚到所述网闸设备中,由所述网闸设备向所述第一数据汇聚系统中的控制设备发送所述第一数据汇聚指令。The control device in the second data aggregation system is configured to, when receiving the second data aggregation instruction including the device identification of the starting node device and the device identification of the destination node device, The device identification is changed to the device identification of the gatekeeper device to determine the transmission channel from the starting node device to the gatekeeper device based on the changed data aggregation instruction and to aggregate the data of the starting node device To the gatekeeper device, the gatekeeper device sends the first data aggregation instruction to the control device in the first data aggregation system.
- 一种数据汇聚装置,其特征在于,应用于第一数据汇聚系统中的任一 节点设备中,所述第一数据汇聚系统包括多个节点设备和所述控制设备,所述控制设备分别与所述多个节点设备连接,所述装置包括:An apparatus for data aggregation is characterized in that it is applied to any node device in a first data aggregation system. The first data aggregation system includes a plurality of node devices and the control device. To connect multiple node devices, the apparatus includes:接收模块,用于接收所述控制设备下发的传输通道,所述传输通道由所述控制设备根据多个虚拟节点的配置信息以及每个虚拟节点对应的节点设备确定,所述配置信息根据在与所述控制设备连接的配置设备上输入的配置指令确定,至少包括输入设备的设备标识和输出设备的设备标识,所述传输通道由至少两个节点设备按照顺序连接而成,且包括本端节点设备;The receiving module is configured to receive a transmission channel delivered by the control device, and the transmission channel is determined by the control device according to configuration information of multiple virtual nodes and a node device corresponding to each virtual node, and the configuration information is based on The configuration instruction input on the configuration device connected to the control device is determined to include at least the device identification of the input device and the device identification of the output device, the transmission channel is formed by connecting at least two node devices in sequence, and includes the local end Node equipment第一发送模块,用于当接收到所述本端节点设备在所述传输通道中的上一个节点设备发送的数据时,将所述数据发送给所述本端节点设备在所述传输通道中的下一个节点设备,以将所述数据汇聚到所述传输通道上的目的节点设备中。A first sending module, configured to send the data to the local node device in the transmission channel when receiving the data sent by the previous node device of the local node device in the transmission channel The next node device to aggregate the data into the destination node device on the transmission channel.
- 根据权利要求21所述的装置,其特征在于,所述配置信息还包括数据处理链,所述数据处理链用于规定对应的节点设备接收到待传输的数据时的至少一种数据处理方式;所述第一发送模块包括:The apparatus according to claim 21, wherein the configuration information further includes a data processing chain, and the data processing chain is used to specify at least one data processing method when the corresponding node device receives the data to be transmitted; The first sending module includes:处理子模块,用于当接收到所述数据时,采用所述数据处理链中的数据处理方式对所述数据进行处理;A processing submodule, configured to process the data by using the data processing method in the data processing chain when receiving the data;发送子模块,用于将处理后的数据发送给所述本端节点设备在所述传输通道中的下一个节点设备。The sending submodule is used to send the processed data to the next node device in the transmission channel of the local node device.
- 根据权利要求21所述的装置,其特征在于,所述装置还包括:The device according to claim 21, wherein the device further comprises:第二发送模块,用于向所述控制设备发送数据汇聚指令,所述数据汇聚指令包括起始节点设备的设备标识和目的节点设备的设备标识,且所述起始节点设备为所述本端节点设备,以使所述控制设备确定从所述本端节点设备到达所述目的节点设备的传输通道。A second sending module, configured to send a data aggregation instruction to the control device, the data aggregation instruction includes a device identifier of a start node device and a device identifier of a destination node device, and the start node device is the local end A node device, so that the control device determines a transmission channel from the local node device to the destination node device.
- 根据权利要求21所述的装置,其特征在于,所述装置还包括:The device according to claim 21, wherein the device further comprises:存储模块,用于如果所述本端节点设备为所述传输通道中的目的节点设备,当接收到所述本端节点设备在所述传输通道中的上一个节点设备发送的数据时,存储所述数据。The storage module is used for storing the data when the local node device is the destination node device in the transmission channel when receiving the data sent by the local node device on the previous node device in the transmission channel述 数据。 The data.
- 一种控制设备,其特征在于,应用于第一数据汇聚系统中,所述第一数据汇聚系统包括多个节点设备和所述控制设备,所述控制设备分别与所述多个节点设备连接,所述控制设备包括处理器和存储器,所述存储器中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如权利要求1至8中任一个权利要求所述的数据汇聚方法。A control device, characterized in that it is applied to a first data aggregation system, the first data aggregation system includes a plurality of node devices and the control device, the control devices are respectively connected to the plurality of node devices, The control device includes a processor and a memory, at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the data according to any one of claims 1 to 8. Convergence method.
- 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令,所述至少一条指令由处理器加载并执行以实现如权利要求1至8中任一个权利要求所述的数据汇聚方法。A computer-readable storage medium, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement any one of claims 1 to 8. Data aggregation method.
- 一种节点设备,其特征在于,应用于第一数据汇聚系统中,所述第一数据汇聚系统包括多个节点设备和所述控制设备,所述控制设备分别与所述多个节点设备连接;A node device, characterized in that it is applied to a first data aggregation system, the first data aggregation system includes a plurality of node devices and the control device, and the control device is respectively connected to the plurality of node devices;本端节点设备包括处理器和存储器,所述存储器中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如权利要求9至12中任一个权利要求所述的数据汇聚方法。The local node device includes a processor and a memory, and the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the data according to any one of claims 9 to 12. Convergence method.
- 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令,所述至少一条指令由处理器加载并执行以实现如权利要求9至12中任一个权利要求所述的数据汇聚方法。A computer-readable storage medium, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement any one of claims 9 to 12. Data aggregation method.
- 一种数据汇聚系统,其特征在于,所述数据汇聚系统包括多个节点设备和控制设备,所述控制设备分别与所述多个节点设备连接;A data aggregation system, characterized in that the data aggregation system includes multiple node devices and control devices, and the control devices are respectively connected to the multiple node devices;所述控制设备为如权利要求25所述的控制设备;The control device is the control device according to claim 25;每个节点设备为如权利要求27所述的节点设备。Each node device is the node device according to claim 27.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811205313.5 | 2018-10-16 | ||
CN201811205313.5A CN111064591B (en) | 2018-10-16 | 2018-10-16 | Data aggregation method, device, equipment, storage medium and system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020078381A1 true WO2020078381A1 (en) | 2020-04-23 |
Family
ID=70283337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/111471 WO2020078381A1 (en) | 2018-10-16 | 2019-10-16 | Data aggregation method, device, equipment, storage medium and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111064591B (en) |
WO (1) | WO2020078381A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113791955A (en) * | 2021-09-17 | 2021-12-14 | 济南浪潮数据技术有限公司 | Data aggregation device and method for monitoring system and server |
WO2022178976A1 (en) * | 2021-02-26 | 2022-09-01 | 平安科技(深圳)有限公司 | Information processing method and apparatus based on big data, and related devices |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111782906A (en) * | 2020-06-29 | 2020-10-16 | 杭州海康威视数字技术股份有限公司 | Data object aggregation method and device, electronic equipment and storage medium |
CN114070787B (en) * | 2021-11-15 | 2022-10-04 | 南京航空航天大学 | Police service big data oriented data aggregation method and device, storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155136A (en) * | 2006-09-29 | 2008-04-02 | 华为技术有限公司 | Method and system for implementing virtual gateway and virtual subnet |
CN101515944A (en) * | 2008-02-22 | 2009-08-26 | 华为技术有限公司 | Method, system and device for P2P service access |
CN104283780A (en) * | 2014-09-26 | 2015-01-14 | 深圳市华为技术软件有限公司 | Method and device for establishing data transmission route |
US20170208020A1 (en) * | 2014-07-16 | 2017-07-20 | Nec Corporation | Communication control apparatus, communication system, communication control method, and medium |
CN107249173A (en) * | 2017-06-21 | 2017-10-13 | 深圳市盛路物联通讯技术有限公司 | The method for handover control and system of a kind of Internet of Things communication pattern |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101695034B (en) * | 2009-10-09 | 2011-09-14 | 清华大学 | Device and method for adjusting monitoring parameter of WEB service |
EP2945320B1 (en) * | 2013-02-06 | 2018-01-31 | Huawei Technologies Co., Ltd. | Method, device and routing system for data transmission of network virtualization |
CN106162792B (en) * | 2015-04-03 | 2019-07-12 | 清华大学 | The limited many-one data routing method of wireless sensor network interior joint degree |
CN104936131B (en) * | 2015-05-06 | 2018-07-24 | 太原理工大学 | A kind of data assemblage method for wireless sensor network |
US11005750B2 (en) * | 2016-08-05 | 2021-05-11 | Huawei Technologies Co., Ltd. | End point to edge node interaction in wireless communication networks |
-
2018
- 2018-10-16 CN CN201811205313.5A patent/CN111064591B/en active Active
-
2019
- 2019-10-16 WO PCT/CN2019/111471 patent/WO2020078381A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155136A (en) * | 2006-09-29 | 2008-04-02 | 华为技术有限公司 | Method and system for implementing virtual gateway and virtual subnet |
CN101515944A (en) * | 2008-02-22 | 2009-08-26 | 华为技术有限公司 | Method, system and device for P2P service access |
US20170208020A1 (en) * | 2014-07-16 | 2017-07-20 | Nec Corporation | Communication control apparatus, communication system, communication control method, and medium |
CN104283780A (en) * | 2014-09-26 | 2015-01-14 | 深圳市华为技术软件有限公司 | Method and device for establishing data transmission route |
CN107249173A (en) * | 2017-06-21 | 2017-10-13 | 深圳市盛路物联通讯技术有限公司 | The method for handover control and system of a kind of Internet of Things communication pattern |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022178976A1 (en) * | 2021-02-26 | 2022-09-01 | 平安科技(深圳)有限公司 | Information processing method and apparatus based on big data, and related devices |
CN113791955A (en) * | 2021-09-17 | 2021-12-14 | 济南浪潮数据技术有限公司 | Data aggregation device and method for monitoring system and server |
Also Published As
Publication number | Publication date |
---|---|
CN111064591A (en) | 2020-04-24 |
CN111064591B (en) | 2021-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020078381A1 (en) | Data aggregation method, device, equipment, storage medium and system | |
CN103236949B (en) | Monitoring method, device and the system of a kind of server cluster | |
US11463511B2 (en) | Model-based load balancing for network data plane | |
US11689606B2 (en) | Communication method, system and apparatus | |
CN111131379A (en) | Distributed flow acquisition system and edge calculation method | |
CN104199957B (en) | A kind of implementation method of Redis general-purpose proxies | |
WO2017113273A1 (en) | Software defined data center and scheduling and traffic-monitoring method for service cluster therein | |
US20150142940A1 (en) | Methods, systems, and computer readable media for a network function virtualization information concentrator | |
CN107729147A (en) | Data processing method, control node and stream calculation system in stream calculation system | |
CN103957237A (en) | Architecture of elastic cloud | |
CN103746911A (en) | SDN (software defined networking) structure and communication method thereof | |
CN110636127B (en) | Communication processing method and system between information data | |
US20220400072A1 (en) | Method for configuring performance measurement indication information and related device | |
CN111327483B (en) | Equipment nano-tube method, system and storage medium | |
CN107682411A (en) | A kind of extensive SDN controllers cluster and network system | |
CN107819632A (en) | A kind of dynamic load leveling group system based on performance monitoring system and Docker Swarm | |
CN110727738A (en) | Global routing system based on data fragmentation, electronic equipment and storage medium | |
CN112019604B (en) | Edge data transmission method and system | |
CN115514651B (en) | Cloud edge data transmission path planning method and system based on software-defined stacked network | |
CN116455817A (en) | Software-defined cloud network fusion architecture and route implementation method | |
WO2022042393A1 (en) | Configuration error information transmission method and device | |
US20210004308A1 (en) | Data processing method and system | |
CN114466016B (en) | Method and system for realizing dynamic load balancing of data center gateway | |
CN116055496B (en) | Monitoring data acquisition method and device, electronic equipment and storage medium | |
CN110430101B (en) | Service index data acquisition method, device, equipment and system applied to CDN |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19874187 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19874187 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19874187 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS (EPO FORM 1205A DATED 06.12.2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19874187 Country of ref document: EP Kind code of ref document: A1 |