Device configuration method and system, and device and storage medium

By using the equipment configuration system in networks with different security levels in the power industry and using gatekeepers to synchronize configuration data, the problem of manual repeated configuration is solved, efficient and accurate equipment configuration is achieved, and manual errors are reduced.

WO2024198818A1PCT designated stage expired Publication Date: 2024-10-03HANGZHOU ALICLOUD FEITIAN INFORMATION TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/079112
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2024-02-28
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

In the power industry, for data security, multiple working nodes need to be deployed in networks with different security levels, resulting in repeated manual configuration, which is time-consuming and labor-intensive, and prone to manual errors.

Method used

Use a device configuration system, including the first device, the second device and the gatekeeper. The gatekeeper is located between the two networks for physical isolation. The configuration data to be synchronized is obtained through the configuration synchronization command and a configuration synchronization request is initiated to the gatekeeper. The gatekeeper forwards the configuration data to the second device to realize automated device configuration and avoid manual duplication of work.

Benefits of technology

It improves the efficiency of device configuration in different networks, reduces manual errors, realizes automated device configuration, and improves configuration accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024079112_03102024_PF_FP_ABST
    Figure CN2024079112_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application are a device configuration method and system, and a device and a storage medium. A first device and a second device are located in different networks. A gatekeeper is located between two networks and used for physically isolating the two networks. On the basis of such a system architecture, for the first device, configuration data to be synchronized can be acquired in response to a configuration synchronization instruction; a configuration synchronization request for the configuration data can be initiated to the gatekeeper; and the gatekeeper can forward the configuration data to the second device, such that the second device performs device configuration according to the configuration data. In this way, for devices in networks on two sides of a gatekeeper, manual repeated configuration is no longer required, configuration synchronization can be implemented by performing forwarding between two networks by means of the gatekeeper by using a configuration synchronization solution, such that device configuration can be completed in the networks on the two sides of the gatekeeper more efficiently.
Need to check novelty before this filing date? Find Prior Art

Description

Device configuration method, device, system and storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 31, 2023, with application number CN202310353807.2 and invention name “A device configuration method, device, system and storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a device configuration method, device, system and storage medium. Background Art

[0003] In the power industry, for data security, multiple networks with different security levels are usually deployed, such as power zone 2 and power zone 3.

[0004] In Power Zone 2 and Power Zone 3, there are work nodes for data fusion. In order to ensure the normal operation of these work nodes, they need to be manually configured. Many of the work nodes have similar configurations, which leads to a large amount of manual repetitive work, is time-consuming and labor-intensive, and is prone to human errors.

[0005] Summary of the Invention

[0006] Various aspects of the present application provide a device configuration method, device, system, and storage medium for more efficiently completing device configuration in different networks.

[0007] An embodiment of the present application provides a device configuration method, which is applicable to a first device in a device configuration system, wherein the device configuration system further includes a second device and a network gatekeeper, wherein the first device and the second device are located in different networks, and the network gatekeeper is located between the two networks and is used to physically isolate the two networks. The method includes:

[0008] Responding to the configuration synchronization instruction, obtaining configuration data to be synchronized;

[0009] A configuration synchronization request for the configuration data is initiated to the network gate, where the configuration synchronization request includes the configuration data and address information pointing to the second device, so as to trigger the network gate to forward the configuration data to the second device, so that the second device can perform device configuration according to the configuration data.

[0010] An embodiment of the present application further provides a device configuration method, which is applicable to a second device in a device configuration system, wherein the device configuration system further includes a first device and a network gatekeeper, wherein the first device and the second device are located in different networks, and the network gatekeeper is located between the two networks and is used to physically isolate the two networks. The method includes:

[0011] receiving configuration data sent by the gatekeeper, the configuration data being provided by the first device and forwarded by the gatekeeper to the second device;

[0012] Device configuration is performed according to the configuration data.

[0013] An embodiment of the present application further provides a device configuration system, comprising a first device, a second device, and a network gatekeeper, wherein the first device and the second device are located in different networks, and the network gatekeeper is located between the two networks and is used to physically isolate the two networks;

[0014] The first device is configured to obtain configuration data to be synchronized in response to a configuration synchronization instruction; initiate a configuration synchronization request for the configuration data to the network gatekeeper, wherein the configuration synchronization request includes the configuration data and address information pointing to the second device;

[0015] The network gatekeeper is configured to forward the configuration data to be synchronized to the second device according to the address information;

[0016] The second device is configured to perform device configuration according to the configuration data.

[0017] An embodiment of the present application further provides a computing device, including a memory, a processor, and a communication component;

[0018] The memory is used to store one or more computer instructions;

[0019] The processor is coupled to the memory and the communication component, and is configured to execute the one or more computer instructions to perform the aforementioned device configuration method.

[0020] An embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the aforementioned device configuration method.

[0021] In an embodiment of the present application, a device configuration system is provided, comprising a first device, a second device, and a network gate. The first device and the second device are located in different networks. The network gate is located between the two networks and is used to physically isolate the two networks. Based on this system architecture, the first device can respond to a configuration synchronization instruction to obtain configuration data to be synchronized; and initiate a configuration synchronization request for the configuration data to the network gate. The configuration synchronization request can include the configuration data and address information pointing to the second device; and the network gate can forward the configuration data to the second device so that the second device can perform device configuration according to the configuration data. In this way, for each device in the network on both sides of the network gate, manual reconfiguration is no longer required. Instead, configuration synchronization can be achieved between the two networks through forwarding by the network gate through the aforementioned configuration synchronization scheme, which can more efficiently complete device configuration in the networks on both sides of the network gate. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0023] FIG1 is a schematic diagram of the structure of a device configuration system provided by an exemplary embodiment of the present application;

[0024] FIG2 is a schematic diagram of a human-computer interaction interface provided by an exemplary embodiment of the present application;

[0025] FIG3 is a schematic structural diagram of another device configuration system provided by an exemplary embodiment of the present application;

[0026] FIG4 is a schematic diagram of the internal structure of a network gateway provided by an exemplary embodiment of the present application;

[0027] FIG5 is a schematic diagram of providing verification reference information according to an exemplary embodiment of the present application;

[0028] FIG6 is a schematic diagram of an application scenario provided by an exemplary embodiment of the present application;

[0029] FIG7 is a schematic flow chart of a device configuration method provided by another exemplary embodiment of the present application;

[0030] FIG8 is a flow chart of another device configuration method provided by another exemplary embodiment of the present application;

[0031] FIG9 is a schematic structural diagram of a computing device provided by yet another exemplary embodiment of the present application. DETAILED DESCRIPTION

[0032] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0033] Currently, manual configuration of devices in different networks is required, resulting in a large amount of repetitive manual work, which is time-consuming and labor-intensive, and prone to human errors. Therefore, in some embodiments of the present application, a device configuration system is provided, comprising a first device, a second device, and a network gatekeeper, wherein the first device and the second device are located in different networks, and the network gatekeeper is located between the two networks and is used to physically isolate the two networks. Based on this system architecture, the first device can respond to a configuration synchronization instruction to obtain configuration data to be synchronized, and initiate a configuration synchronization request for the configuration data to the network gatekeeper, wherein the configuration synchronization request may include the configuration data and address information pointing to the second device. The network gatekeeper can then forward the configuration data to the second device, allowing the second device to perform device configuration based on the configuration data. In this way, for each device in the network on both sides of the network gatekeeper, manual reconfiguration is no longer required. Instead, configuration synchronization can be achieved between the two networks through forwarding by the network gatekeeper using the aforementioned configuration synchronization scheme, which can more efficiently complete device configuration in the networks on both sides of the network gatekeeper.

[0034] The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0035] Figure 1 is a schematic diagram of the structure of a device configuration system provided by an exemplary embodiment of the present application. As shown in Figure 1, the system includes a first device, a second device, and a gateway. The first device and the second device are located in different networks, and the gateway is located between the two networks and is used to physically isolate the two networks.

[0036] The device configuration system provided in this embodiment can be applied to various scenarios that require device configuration in different networks, such as information security scenarios in industries such as electricity, energy, or steel. This embodiment does not limit the application scenarios.

[0037] In this embodiment, the first device and the second device are located in different networks. The network here can be understood as a computer communication network, which can be defined as: a computer system that connects multiple computers with independent functions and their external devices through communication lines, and implements resource sharing and information transmission under the management and coordination of a network operating system, network management software, and network communication protocols. Among them, the difference between the network in which the first device is located and the network in which the second device is located in this embodiment can be reflected in the network type, for example, the two networks are a local area network and the Internet respectively; it can also be reflected in the security level, for example, the security levels of the two networks are different; it can also be reflected in the security domain, for example, the security domains of the two networks are different, and this embodiment is not limited to this.

[0038] In addition, it should be understood that the first device and the second device can be independent physical devices, and of course, they can also be logical nodes deployed based on cloud native technology. This embodiment does not limit the product form of the first device and the second device.

[0039] Each device in a network typically requires the necessary configuration to provide correct services. However, device configuration is typically performed manually, which is time-consuming and labor-intensive, and often prone to human errors. Therefore, this embodiment proposes a technical concept for improving the efficiency of device configuration across different networks through data synchronization.

[0040] This embodiment proposes deploying a network gatekeeper between different networks and using the network gatekeeper as an intermediary to synchronize configuration data between different networks to achieve automated device configuration, thereby avoiding manual repetitive work.

[0041] A network gatekeeper, also known as an isolation gatekeeper, is an information security device that connects two independent host systems using a solid-state switch read-write medium with multiple control functions. In this embodiment, the network gatekeeper can be used to isolate the network of the first device from the network of the second device. This eliminates the need for physical or logical connections or information transmission protocols between the two networks. Information exchange based on protocols is eliminated, with only protocol-free data file transfer. This effectively mitigates the risk of network intrusion, attack, or sabotage during device configuration.

[0042] Preferably, the network gate in this embodiment can adopt a one-way network gate, which allows one-way data transmission between two networks, but does not allow two-way data transmission. The one-way network gate is particularly suitable for scenarios where device configuration is performed between networks with different security levels, to prevent configuration data in a network with a lower security level from being transmitted to a network with a higher security level, thereby avoiding the problem of reverse control of devices in the network with a higher security level. For example, in the power industry, the first device in this embodiment can be located in power zone 2, and the second device can be located in power zone 3. The network gate allows data transmission from power zone 2 to power zone 3, but does not allow data transmission from power zone 3 to power zone 2, thereby blocking various potential attacks on power zone 2 based on the physical isolation properties of the one-way network gate.

[0043] Of course, a bidirectional gateway may also be used in this embodiment. In this embodiment, a suitable type of gateway may be selected according to the scenario requirements, and this embodiment does not limit the type of gateway.

[0044] Based on the architecture of the device configuration system provided in this embodiment, referring to Figure 1 , a first device can obtain configuration data to be synchronized in response to a configuration synchronization instruction. The first device can be any device that requires configuration synchronization, and the second device can be any device in a different network from the first device that requires configuration synchronization with the first device.

[0045] In an optional implementation: a human-computer interaction interface can be displayed; and a configuration synchronization instruction is generated in response to an input operation performed by a user in the human-computer interaction interface. Figure 2 is a schematic diagram of a human-computer interaction interface provided by an exemplary embodiment of the present application. Referring to Figure 2, an operation control for supporting user input operations can be displayed in the human-computer interaction interface, for example, a selection control corresponding to a configuration dimension, a selection control corresponding to configuration data under a single configuration dimension, a trigger control for triggering the generation of a configuration synchronization instruction (such as the submit button in Figure 2), etc. Of course, the display elements in the human-computer interaction interface are not limited to this. On this basis, the input operations that a user can perform in the human-computer interaction interface may include but are not limited to a selection operation on a configuration dimension, a selection operation on configuration data under a single configuration dimension, a click operation on a trigger control for triggering the generation of a configuration synchronization instruction, etc.

[0046] Based on this, the configuration synchronization instruction may include the configuration dimension specified by the user and / or the identifier of the configuration data selected under the specified configuration dimension. Among them, the configuration dimension may include but is not limited to the point table dimension, the driver dimension, the rule dimension or the configuration dimension, etc. Since the configuration dimension may be divided differently in different application scenarios, the several configuration dimensions here are only exemplary, and this embodiment is not limited to this. Among them, a single configuration dimension may include multiple configuration data. In this implementation, the user can also be supported to select configuration data under a single configuration dimension. Similarly, since the identification method of the configuration data under a single configuration dimension may be different in different application scenarios, the identification of specific configuration data will not be given as an example here.

[0047] FIG3 is a schematic diagram of the structure of another device configuration system provided by an exemplary embodiment of the present application. Referring to FIG3 , the first device may include a human-computer interaction module, and the human-computer interaction module runs the processing logic of the above-mentioned optional implementation method to generate a configuration synchronization instruction. It can be understood that by providing a human-computer interaction interface, users can flexibly select the configuration dimensions to be synchronized and the configuration data under a single configuration dimension, etc., which allows users to flexibly and independently control device configuration schemes in different networks on demand.

[0048] Of course, the above-described method for generating the configuration synchronization instruction is optional. Other methods can also be used in this embodiment to generate the configuration synchronization instruction, such as automatically generating the configuration synchronization instruction using a timer trigger, and this embodiment is not limited thereto. The identifiers of the configuration dimensions or configuration data under a single configuration dimension included in the configuration synchronization instruction can also be specified in other ways, or left unspecified and all selected by default, and this embodiment is not limited thereto.

[0049] Continuing with Figure 3 , the first device may also include a configuration synchronization module. The aforementioned human-computer interaction module may transmit the configuration synchronization instruction generated by it to the configuration synchronization module, thereby triggering the configuration synchronization module to respond to the configuration synchronization instruction and obtain the configuration data to be synchronized. Based on this, the configuration synchronization module in the first device may obtain the configuration data to be synchronized according to the user-specified configuration dimensions contained in the configuration synchronization instruction and / or the identifiers of the configuration data selected under the specified configuration dimensions.

[0050] In an exemplary implementation, it is proposed that the configuration data related to the first device can be stored in the form of a configuration table. The configuration table can be stored in a database, and this embodiment does not limit the implementation method of the database. Various feasible databases can be selected to store the configuration table in this embodiment. Different configuration tables can be used to store configuration data under different configuration dimensions, and the data structures in different configuration tables may not be exactly the same. Based on this, in this exemplary implementation: in response to a configuration synchronization instruction, based on the correspondence between the configuration dimension and the extraction logic, the extraction logic that is compatible with the specified configuration dimension can be searched; according to the extraction logic, the configuration data to be synchronized under the specified configuration dimension is extracted from the configuration table corresponding to the first device as the configuration data.

[0051] It is understood that in this exemplary implementation, different extraction logic can be pre-set for different configuration dimensions to adapt to the data structure in the configuration table corresponding to the corresponding configuration dimension. In actual applications, a model library can be provided, which can contain multiple extraction models. The model library can use the configuration dimension as an index to provide appropriate extraction models for different configuration dimensions. The extraction model contains extraction logic. In this way, the extraction logic compatible with the specified configuration dimension can be found in the model library.

[0052] In addition, in this embodiment, the configuration data to be synchronized corresponding to the first device can be input by the user based on the aforementioned human-computer interaction interface. The first device can store the configuration data input by the user in its corresponding configuration table. Of course, the configuration data to be synchronized this time can also be synchronized by the first device from other devices. For example, the third device can synchronize its configuration data to the first device in this embodiment according to the device configuration solution provided in this embodiment, and the first device can store the configuration data synchronized from the third device in the configuration table corresponding to the first device as the configuration data to be synchronized in this device configuration work. This embodiment does not limit the source of the configuration data to be synchronized in the first device.

[0053] As mentioned above, different configuration tables can be used to store configuration data under different configuration dimensions. In this way, in this exemplary implementation scheme, the configuration data specified in the configuration synchronization instruction can be extracted from the corresponding configuration table according to the extraction logic found as the configuration data. It should be understood that the configuration synchronization instruction may contain multiple specified configuration dimensions. In this case, the configuration data can be found in the configuration table corresponding to each specified configuration dimension according to the extraction logic corresponding to each specified configuration dimension, thereby extracting the configuration data to be synchronized corresponding to each of the multiple specified configuration dimensions contained in the configuration synchronization instruction. Optionally, in the process of extracting the configuration data, the extraction can be performed according to the identifier of the configuration data specified in the configuration synchronization instruction; of course, the full extraction can also be performed from the configuration table, and after the extraction, the configuration data can be filtered according to the identifier of the configuration data specified in the configuration synchronization instruction, which is not limited here. In this way, after the above-mentioned configuration data extraction process, the configuration data to be synchronized this time can be obtained.

[0054] The first device can then initiate a configuration synchronization request for the configuration data to the network gatekeeper. The configuration synchronization request includes the configuration data and address information pointing to the second device. In practical applications, this operation can be performed by the configuration synchronization module in the first device. In this embodiment, the method by which the address information in the configuration synchronization request points to the second device is not limited; it only requires that the network gatekeeper understand the address information and accurately forward the configuration data to the second device based on the address information.

[0055] In one optional implementation, in response to an address configuration operation performed by a user in a human-computer interaction interface, the first device can obtain the proxy address defined by the network gatekeeper for the second device, as the address information pointing to the second device, and configure this proxy address in the configuration synchronization request. In other words, the configuration synchronization request carries the proxy address corresponding to the second device. Based on this, the network gatekeeper can preset a mapping relationship between the proxy address and the actual address, and based on this mapping relationship, it can map the proxy address carried in the configuration synchronization request to the actual address of the second device. It can be seen that in this optional implementation, the network gatekeeper can understand this address information and accurately forward the configuration data to the second device based on this address information.

[0056] In another optional implementation, the first device can use its own address information as the address information for the second device and configure its own address information in the configuration synchronization request. The network gatekeeper can preset a pairing relationship between the address information of the first device and the address information of the second device. Based on this pairing relationship, the network gatekeeper can forward the configuration data included in the configuration synchronization request of the first device to the second device with which it is paired by default. In actual applications, the first device may be paired with multiple other devices, and these other devices can all serve as the second device in this embodiment. It can be seen that in this optional implementation, the network gatekeeper can understand the address information and accurately forward the configuration data to the second device based on this address information.

[0057] The above two implementation schemes are only exemplary. In this embodiment, other implementation schemes may be used to realize the pointing effect of the address information in the configuration synchronization request on the second device, and the present invention is not limited thereto.

[0058] In addition to the address information pointing to the second device, the first device can also configure the configuration data to be synchronized in the configuration synchronization request. In an optional implementation, the extracted configuration data and the configuration dimensions corresponding to the configuration data can be encapsulated to generate an encapsulated message; the encapsulated message is configured in the configuration synchronization request; wherein the configuration dimensions in the encapsulated message are used to guide the second device to invoke the adapted update logic to update the corresponding configuration data into the second device's corresponding configuration table.

[0059] Furthermore, in this embodiment, if the gatekeeper receives concurrent configuration synchronization requests, it forwards the configuration data contained in the multiple received configuration synchronization requests in parallel. This parallel configuration synchronization mechanism can effectively improve device configuration efficiency, especially when a second device needs to synchronize configuration data from multiple first devices.

[0060] Continuing to refer to Figure 1, for the network gate, after receiving the configuration synchronization request sent by the first device, the configuration data to be synchronized can be forwarded to the second device. Among them, a typical forwarding method can be data ferrying, which means that the network gate temporarily stores the configuration data sent by the first device in a data temporary storage area, and then disconnects the data transmission channel with the first device, and then establishes a data transmission channel with the second device, thereby transmitting the configuration data in the data temporary storage area to the second device. Of course, this embodiment is not limited to other forwarding methods that may appear in the future and can support the network gate's physical isolation of data in two networks are also applicable to this embodiment. That is, in this embodiment, during the process of forwarding the configuration data by the network gate, it is necessary to avoid the physical connection between the first device and the second device to ensure the information security of the networks in which the two are located.

[0061] FIG4 is a schematic diagram of the internal structure of a network gate provided by an exemplary embodiment of the present application. Referring to FIG4 , the network gate in this embodiment may include a first proxy server corresponding to the network where the first device is located and a second proxy server corresponding to the network where the second device is located. The first device in this embodiment communicates with the first proxy server inside the network gate, while the second device communicates with the second proxy server inside the network gate. The network gate may also include an isolation card, which is a solid-state switch with multiple control functions. In this way, the physical isolation of the two networks can be achieved through the mutual cooperation between the first proxy server, the second proxy server and the isolation card inside the network gate. Of course, the network gate may also include other components, such as a data temporary storage area for supporting data forwarding, etc., which will not be fully described here.

[0062] It is worth noting that the first proxy server and the second proxy server inside the network gate usually also need to be configured before they can work correctly. This embodiment does not solve the device configuration problem between the first proxy server and the second proxy server inside the network gate, but solves the device configuration problem in different networks outside the network gate.

[0063] Continuing with Figure 1, the second device, after receiving the configuration data from the gatekeeper, can configure itself based on that data. Because the configuration data in the second device is synchronized from the first device, this ensures accurate configuration of the second device and eliminates the potential for human error associated with manual configuration.

[0064] Continuing with the technical concept of using a configuration table to store configuration data described above, the second device can update the received configuration data into its corresponding configuration table to make the configuration data effective. The effective configuration data means that the second device can read the configuration data from its corresponding configuration table and operate according to the configuration data. In other words, once the configuration data is stored in the configuration table, the device configuration of the second device is complete.

[0065] To update configuration data into the configuration table corresponding to the second device, in one exemplary implementation, the second device may receive an encapsulated file sent by the gateway, the encapsulated file being generated by the first device and containing configuration data and configuration dimensions corresponding to the configuration data; decapsulate the configuration data and the configuration dimensions corresponding to the configuration data from the encapsulated file; and, for any decapsulated target configuration data, invoke the update logic adapted to the configuration dimensions corresponding to the target configuration data based on the adaptation relationship between the configuration dimensions and the update logic, thereby updating the target configuration data into the configuration table corresponding to the second device. Different update logics may be adapted to the data structure of the configuration table under the corresponding configuration dimensions.

[0066] In this way, after the second device stores the configuration data synchronized from the first device into the configuration table corresponding to the second device, the relevant configuration data can be put into effect.

[0067] Of course, in addition to the technical concept of storing configuration data in a configuration table to validate the configuration data proposed in this embodiment, other implementations can also be used to validate the configuration data in this embodiment. After receiving the configuration data, the second device can store the configuration data in the storage location and storage method of traditional manual configuration solutions to validate the configuration data. Extensive examples are not provided here.

[0068] In summary, this embodiment provides a device configuration system comprising a first device, a second device, and a gateway. The first device and the second device are located in different networks. The gateway is located between the two networks and is used to physically isolate the two networks. Based on this system architecture, the first device can respond to a configuration synchronization instruction to obtain configuration data to be synchronized, and initiate a configuration synchronization request for the configuration data to the gateway. The configuration synchronization request may include the configuration data and address information pointing to the second device. The gateway can forward the configuration data to the second device so that the second device can perform device configuration based on the configuration data. In this way, for each device in the network on both sides of the gateway, manual reconfiguration is no longer required. Instead, configuration synchronization can be achieved between the two networks through forwarding by the gateway using the aforementioned configuration synchronization solution. This allows for more efficient device configuration in the networks on both sides of the gateway.

[0069] In the above or below embodiments, the first device and the second device may also synchronize device data with each other with the support of a network gate. Referring to FIG3 , the first device may also include a device data synchronization module, which is independent of the configuration synchronization module mentioned in the above embodiments.

[0070] Based on this, in this embodiment, for the first device, a configuration synchronization module can be used to respond to a configuration synchronization instruction to execute the functional logic related to the device configuration in the aforementioned embodiment; and a device data synchronization module can also be used to send the device data to be synchronized to the second device to the network gate. For the network gate, the configuration data can be forwarded to the second device using a first forwarding channel and the device data can be synchronized to the second device using a second forwarding channel. Accordingly, the second device can also include a configuration synchronization module and a device data synchronization module that are independent of each other, wherein the configuration synchronization module in the second device can be used to receive the configuration data forwarded from the network gate and validate the configuration data; and the device data synchronization module in the second device can receive the device data forwarded from the network gate and process the device data.

[0071] In this way, in this embodiment, the synchronization process of configuration data and the synchronization process of device data remain independent of each other throughout the entire link and do not interfere with each other. This can effectively ensure the synchronization efficiency of configuration data, avoid resource competition with the synchronization process of device data, and effectively improve the efficiency of device configuration in different networks.

[0072] Of course, in this embodiment, during the forwarding stage of the network gate, the network gate can use the same forwarding channel to forward the configuration data and device data. During the forwarding process, the configuration data is forwarded first, and the configuration efficiency of the second device can also be guaranteed. This embodiment does not limit this.

[0073] Furthermore, the second device can also pre-set verification reference information for the device data. Typically, device data is continuously generated and transmitted in a time-series data stream. The time-series data stream contains data points, each of which includes a timestamp, data identifier, and data value. Based on this, after receiving device data from the gatekeeper, the second device can retain only those data points that meet the verification reference information and discard those that do not.

[0074] FIG5 is a schematic diagram of a verification reference information provided by an exemplary embodiment of the present application. Referring to FIG5 , for example, the verification reference information can be a mapping relationship between a site and a point, wherein a site can contain multiple points, and each data value collected at each point can be used as a data point in a time series data stream, and the data point can carry site information and point information. Based on this, the second device can receive device data sent by the network gateway, and the device data is a time series data stream; according to the preset mapping relationship between the site and the point, it is determined whether the site information and point information carried in each data point in the time series data stream conform to the mapping relationship; and the data points that do not conform to the mapping relationship are discarded. Among them, the second device can maintain an information table and record the above-mentioned mapping relationship in the information table. It should be understood that the update frequency of this mapping relationship is very low, and it can be preset in the initialization stage and updated as needed during use.

[0075] The aforementioned verification mechanism for the time-series data stream performed in the second device can detect data points with data corruption in the device data, thereby preventing the use of incorrect data points during subsequent data usage. It can also filter out required configuration data from the received configuration data and eliminate unnecessary data by appropriately presetting the aforementioned verification reference information. For example, in the example of Figure 5 , sites and points can be specified in the verification reference information, allowing the second device to filter out configuration data for non-specified sites and points, retaining only the required configuration data. This provides a more flexible and reliable basis for device data management in the second device.

[0076] FIG6 is a schematic diagram of an application scenario provided by an exemplary embodiment of the present application. Referring to FIG6 , the second power zone and the third power zone each contain multiple data fusion devices, and the second power zone and the third power zone are isolated by a network switch. The data fusion device is used to perform data fusion based on the collected device data to provide data query results for the user. In an exemplary application requirement, the working tasks of the data fusion device A in the second power zone and the data fusion device B in the third power zone are exactly the same, and both need to perform data collection and data fusion. In this case, the staff can complete the configuration on the data fusion device A in the second power zone, and can efficiently complete the configuration of the data fusion device B based on the device configuration solution provided in this embodiment.

[0077] Specifically, the staff can configure the configuration dimensions to be synchronized and the identifiers of the configuration data to be synchronized under the selected configuration dimensions in the human-computer interaction interface corresponding to the data fusion device A, and can also configure the address information pointing to the data fusion device B; after completing these operations, the generation of a configuration synchronization instruction can be triggered, and the configuration synchronization module in the data fusion device A can respond to the configuration synchronization instruction and extract the configuration data to be synchronized from the configuration table corresponding to the data fusion device A; and based on the configuration data and the address information pointing to the data fusion device B, generate a configuration synchronization request and send it to the network gateway.

[0078] The gatekeeper may respond to the configuration synchronization request and forward the configuration data to the data fusion device B. The data fusion device B may write the received configuration data into its corresponding configuration table, thereby completing the device configuration.

[0079] It can be seen that in the entire process described above, there is no need to manually reconfigure the data fusion device B. Instead, the data fusion device B can be automatically configured through data synchronization, which is efficient and accurate.

[0080] In addition, configuration synchronization modules and device data synchronization modules can be deployed in both data fusion device A and data fusion device B, and forwarding channels can be deployed separately for configuration data and device data in the network gateway. In this way, the synchronization link for device data and the synchronization link for configuration data are independent of each other, without any interference or mutual influence, which can effectively ensure data fusion efficiency and device configuration efficiency.

[0081] FIG7 is a flow chart illustrating a device configuration method according to another exemplary embodiment of the present application. Referring to FIG7 , the method is applicable to a first device in a device configuration system, the device configuration system also including a second device and a network gatekeeper. The first device and the second device are located in different networks, and the network gatekeeper is located between the two networks and is used to physically isolate the two networks. The method includes:

[0082] Step 700: Responding to the configuration synchronization instruction, obtaining the configuration data to be synchronized;

[0083] Step 701: Initiate a configuration synchronization request for the configuration data to the network gate, where the configuration synchronization request includes the configuration data and address information pointing to the second device, so as to trigger the network gate to forward the configuration data to the second device, so that the second device can perform device configuration according to the configuration data.

[0084] In an optional embodiment, before responding to the configuration synchronization instruction, the method further includes:

[0085] Display the human-computer interaction interface;

[0086] In response to an input operation performed by a user in the human-computer interaction interface, the configuration synchronization instruction is generated, wherein the configuration synchronization instruction includes a configuration dimension specified by the user and / or an identifier of configuration data selected under the specified configuration dimension.

[0087] In an optional embodiment, in response to the configuration synchronization instruction, obtaining the configuration data to be synchronized includes:

[0088] In response to the configuration synchronization instruction, searching for an extraction logic that is compatible with the specified configuration dimension based on a correspondence between the configuration dimension and the extraction logic;

[0089] According to the extraction logic, the configuration data to be synchronized under the specified configuration dimension is extracted from the configuration table corresponding to the first device.

[0090] In an optional embodiment, the method further comprises:

[0091] In response to an address configuration operation performed by the user in the human-computer interaction interface, obtaining a proxy address defined by the network gatekeeper for the second device and input by the user as the address information pointing to the second device;

[0092] The proxy address is configured into the configuration synchronization request, so that the network gatekeeper maps the proxy address to the actual address of the second device based on a mapping relationship between the proxy address and the actual address.

[0093] In an optional embodiment, the method further comprises:

[0094] Encapsulate the extracted configuration data and the configuration dimensions corresponding to the configuration data to generate an encapsulated message;

[0095] Configuring the encapsulated message into the configuration synchronization request;

[0096] The configuration dimension in the encapsulated message is used to guide the second device to call the adapted update logic to update the corresponding configuration data into the configuration table corresponding to the second device.

[0097] In an optional embodiment, the first device includes a configuration synchronization module and a device data synchronization module that are independent of each other, and the method specifically includes:

[0098] Responding to the configuration synchronization instruction using the configuration synchronization module;

[0099] The device data synchronization module is used to send the device data to be synchronized to the second device to the network gate, so that the network gate forwards the configuration data to the second device using the first forwarding channel; and synchronizes the device data to the second device using the second forwarding channel.

[0100] FIG8 is a flow chart of another device configuration method provided by another exemplary embodiment of the present application. Referring to FIG8 , the device configuration method is applicable to a second device in a device configuration system, wherein the device configuration system further includes a first device and a network gatekeeper, wherein the first device and the second device are located in different networks, and the network gatekeeper is located between the two networks and is used to physically isolate the two networks. The method includes:

[0101] Step 800: Receive configuration data sent by the gateway, where the configuration data is provided by the first device and forwarded by the gateway to the second device;

[0102] Step 801: Perform device configuration according to the configuration data.

[0103] In an optional embodiment, configuring the device according to the configuration data includes:

[0104] The configuration data is updated to the configuration table corresponding to the second device to make the configuration data effective.

[0105] In an optional embodiment, receiving the configuration data sent by the gatekeeper includes:

[0106] receiving an encapsulation file sent by the network gatekeeper, where the encapsulation file is generated by the first device and includes the configuration data and configuration dimensions corresponding to the configuration data;

[0107] Decapsulate the configuration data and the configuration dimensions corresponding to the configuration data from the encapsulation file;

[0108] Updating the configuration data into a configuration table corresponding to the second device includes:

[0109] For any decapsulated target configuration data, based on the adaptation relationship between the configuration dimension and the update logic, the update logic adapted to the configuration dimension corresponding to the target configuration data is called to update the target configuration data into the configuration table corresponding to the second device.

[0110] In an optional embodiment, the method further comprises:

[0111] receiving device data sent by the gateway, wherein the device data is a time-series data stream;

[0112] According to a preset mapping relationship between sites and points, determining whether the site information and point information carried by each data point in the time series data stream conform to the mapping relationship;

[0113] Data points that do not conform to the mapping relationship are discarded.

[0114] It should be noted that the technical details in each embodiment of the above-mentioned device configuration method can be referred to the relevant description of the first device and the second device in the aforementioned system embodiment. In order to save space, they will not be repeated here, but this should not cause a loss of the protection scope of this application.

[0115] In addition, some of the processes described in the above embodiments and the accompanying drawings include multiple operations that appear in a specific order, but it should be clearly understood that these operations may not be executed in the order in which they appear in this document or may be executed in parallel. The serial numbers of the operations, such as 700 or 701, are only used to distinguish between different operations, and the serial numbers themselves do not represent any order of execution. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this document are used to distinguish different devices, networks, etc., and do not represent a sequential order, nor do they limit "first" and "second" to being different types.

[0116] FIG9 is a schematic diagram of a computing device according to another exemplary embodiment of the present application. As shown in FIG9 , the computing device includes a memory 90 , a processor 91 , and a communication component 92 .

[0117] The processor 91 is coupled to the memory 90 and the communication component 92, and is used to execute the computer program in the memory 90 to execute the device configuration method executed by the first device or the second device in the above method embodiment.

[0118] Furthermore, as shown in Figure 9 , the computing device further includes other components such as a power supply component 93. Figure 9 only schematically illustrates some components, which does not mean that the computing device only includes the components shown in Figure 9 .

[0119] It is worth noting that the technical details of the above-mentioned embodiments of the computing device can be referred to the relevant descriptions in the aforementioned system embodiments. In order to save space, they will not be repeated here, but this should not cause any loss of the scope of protection of this application.

[0120] Accordingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed, can implement the steps performed in the above method embodiment.

[0121] The memory in FIG9 is used to store computer programs and can be configured to store various other data to support operations on the computing platform. Examples of such data include instructions for any application or method operating on the computing platform, contact data, phone book data, messages, pictures, videos, etc. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0122] The communication component in Figure 9 above is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0123] The power supply assembly in Figure 9 provides power to various components of the device in which the power supply assembly is located. The power supply assembly may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device in which the power supply assembly is located.

[0124] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0125] The present application is described with reference to the flow chart and / or block diagram of the method, device (system), and computer program product according to the embodiment of the present application. It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow process and / or box in the flow chart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processing machine or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one flow chart flow or multiple flows and / or one box or multiple boxes of the block diagram.

[0126] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0127] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0128] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0129] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0130] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included in the protection scope of the present application.

Claims

1. A device configuration method, applicable to a first device in a device configuration system, wherein the device configuration system further comprises a second device and a network gate, wherein the first device and the second device are located in different networks, and the network gate is located between the two networks and is used to physically isolate the two networks, the method comprising: In response to the configuration synchronization instruction, obtaining configuration data to be synchronized; A configuration synchronization request for the configuration data is initiated to the network gate, wherein the configuration synchronization request includes the configuration data and address information pointing to the second device, so as to trigger the network gate to forward the configuration data to the second device, so that the second device can perform device configuration according to the configuration data.

2. The method according to claim 1, before responding to the configuration synchronization instruction, further comprising: Display the human-computer interaction interface; In response to an input operation performed by a user in the human-computer interaction interface, the configuration synchronization instruction is generated, and the configuration synchronization instruction includes a configuration dimension specified by the user and / or an identifier of configuration data selected under the specified configuration dimension.

3. The method according to claim 2, in response to the configuration synchronization instruction, obtaining the configuration data to be synchronized, comprising: In response to the configuration synchronization instruction, based on the correspondence between the configuration dimension and the extraction logic, searching for the extraction logic adapted to the specified configuration dimension; According to the extraction logic, the configuration data to be synchronized under the specified configuration dimension is extracted from the configuration table corresponding to the first device.

4. The method according to claim 3, further comprising: In response to the address configuration operation performed by the user in the human-computer interaction interface, obtaining the proxy address defined by the network gate for the second device and input by the user as the address information pointing to the second device; The proxy address is configured into the configuration synchronization request, so that the network gatekeeper maps the proxy address to the actual address of the second device based on a mapping relationship between the proxy address and the actual address.

5. The method according to claim 3, further comprising: Encapsulating the extracted configuration data and the configuration dimensions corresponding to the configuration data to generate an encapsulated message; Configuring the encapsulated message into the configuration synchronization request; Among them, the configuration dimension in the encapsulated message is used to guide the second device to call the adapted update logic to update the corresponding configuration data into the configuration table corresponding to the second device.

6. The method according to claim 1, wherein the first device comprises a configuration synchronization module and a device data synchronization module which are independent of each other, and the method specifically comprises: Responding to the configuration synchronization instruction using the configuration synchronization module; Using the device data synchronization module to send the device data to be synchronized to the second device to the network gate, so that the network gate forwards the configuration data to the second device using the first forwarding channel; The device data is synchronized to the second device using a second forwarding channel.

7. A device configuration method, applicable to a second device in a device configuration system, wherein the device configuration system further comprises a first device and a network gate, wherein the first device and the second device are located in different networks, and the network gate is located between the two networks and is used to physically isolate the two networks, the method comprising: receiving configuration data sent by the network gatekeeper, wherein the configuration data is provided by the first device and forwarded by the network gatekeeper to the second device; Device configuration is performed according to the configuration data.

8. The method according to claim 7, wherein performing device configuration according to the configuration data comprises: The configuration data is updated to a configuration table corresponding to the second device to make the configuration data effective.

9. The method according to claim 7, receiving the configuration data sent by the network gate, comprising: receiving an encapsulation file sent by the network gate, where the encapsulation file is generated by the first device and includes the configuration data and configuration dimensions corresponding to the configuration data; Decapsulate the configuration data and the configuration dimensions corresponding to the configuration data from the encapsulation file; Updating the configuration data into a configuration table corresponding to the second device includes: For any decapsulated target configuration data, based on the adaptation relationship between the configuration dimension and the update logic, the update logic adapted to the configuration dimension corresponding to the target configuration data is called to update the target configuration data into the configuration table corresponding to the second device.

10. The method according to claim 7, further comprising: Receiving device data sent by the network gate, wherein the device data is a time-series data stream; According to the preset mapping relationship between sites and points, determining whether the site information and point information carried in each data point in the time series data stream conform to the mapping relationship; The data points that do not conform to the mapping relationship are discarded.

11. A device configuration system, comprising a first device, a second device and a network gate, wherein the first device and the second device are located in different networks, and the network gate is located between the two networks and is used to physically isolate the two networks; The first device is used to execute the device configuration method according to any one of claims 1 to 6; The network gate is used to forward the configuration data to be synchronized to the second device; The second device is used to execute the device configuration method described in any one of claims 7-10.

12. The system according to claim 11, wherein the network gatekeeper is specifically used for: If concurrent configuration synchronization requests are received, the configuration data included in the received multiple configuration synchronization requests are forwarded in parallel.

13. A computing device comprising a memory, a processor, and a communication component; The memory is used to store one or more computer instructions; The processor is coupled to the memory and the communication component, and is configured to execute the one or more computer instructions to execute the device configuration method described in any one of claims 1-6 or 7-10.

14. A computer-readable storage medium storing computer instructions, which, when executed by one or more processors, causes the one or more processors to execute the device configuration method according to any one of claims 1-6 or 7-10.

Citation Information

Patent Citations

  • Method for performing data synchronization through using gatekeeper

    CN112187706A

  • ETL data synchronization method and device, electronic equipment and storage medium

    CN112291312A

  • Data transmission method, system, device and medium

    CN114389869A

  • Data synchronization method and device, electronic equipment and storage medium

    CN114647699A

  • Equipment configuration method, equipment, system and storage medium

    CN116389243A