Method and Device for Connecting Power Operation Equipment to Industrial Control Platform Based on Open Source HarmonyOS
By using a method for connecting power operation equipment to the industrial control platform based on the open-source HarmonyOS, automatic discovery, automatic network distribution, and trusted connection establishment of power operation equipment are achieved, solving the problems of low access efficiency and insufficient security in power engineering construction, and realizing unified access and efficient management and control.
Patent Information
- Application Number
- CN202611620915.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-20
- Publication Date
- 2026-11-17
AI Technical Summary
In existing power engineering construction, the access efficiency and security of power operation equipment are low, and the access process is disconnected from business management, making it impossible to achieve fast, standardized and secure unified access.
The method of connecting power operation equipment to the industrial control platform based on open source HarmonyOS is adopted. Equipment information is automatically acquired through near-field wireless channels, a secure dedicated communication channel is established, and a unified data model is defined to achieve automatic discovery, automatic network distribution, and trusted link establishment. Combined with open source HarmonyOS soft bus technology, automated access and unified management and control of equipment are realized.
It improves the access efficiency and security of power operation equipment, enabling equipment to be discovered upon arrival at the site, automatically connected to the network, establish a trusted connection, and be uniformly managed by the platform. It solves the problems of difficulty in automating the underlying discovery and connection, lack of standardization of secure access, and inconsistent description of business data in existing technologies.
Smart Images

Figure CN123123036A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power engineering technology, and more specifically to a method and apparatus for connecting power operation equipment to an industrial control platform based on the open-source HarmonyOS. Background Technology
[0002] Unified access of power engineering construction equipment to the industrial control platform is a crucial foundation for achieving unified management of power engineering construction. With the continuous advancement of intelligent construction and new power system development, power engineering construction sites are gradually evolving towards digital organization, multi-equipment collaboration, networked scheduling, and reduced / unmanned operations. The number of various types of equipment deployed within the sites has increased significantly, and the equipment types, manufacturers, communication interfaces, and protocol formats are also becoming more diversified. Throughout the entire construction operation process, the equipment needs to be quickly discovered and connected to the site network, establish a reliable and secure connection with the site's edge controller, and report its status to the industrial control platform using a unified data model and receive control responses to achieve unified management of the construction process. Traditionally, this entire process has heavily relied on manual configuration and customized industry protocols.
[0003] To achieve unified access for various types of equipment during engineering construction, the current common practice for power engineering construction equipment to access industrial control platforms is to adopt a combination of general industry standards and customized adaptation and configuration. However, this approach has revealed numerous management shortcomings in actual project implementation. It not only significantly reduces the response efficiency from equipment arrival to platform controllability but also increases the workload of network configuration, protocol integration, and secure access, severely hindering the pace of digitalization and intelligentization in power engineering construction. Summary of the Invention
[0004] This invention provides a method and apparatus for connecting power operation equipment to an industrial control platform based on the open-source HarmonyOS, in order to solve the problems of low access efficiency and security of power engineering construction operation equipment and the disconnect between the access process and business management.
[0005] In a first aspect, the present invention provides a method for accessing power operation equipment based on the open-source HarmonyOS to an industrial control platform. The method is applied to a substation edge controller and includes: Within the target site, equipment information of power operation equipment is periodically acquired based on near-field wireless channels, and the equipment to be connected is determined based on the equipment information. The site network configuration parameters and information broadcast requests of the equipment to be connected are sent to the equipment to be connected based on the open-source HarmonyOS soft bus. Establish a secure dedicated communication channel with the devices to be connected, and define a unified data model for the devices to be connected based on the secure dedicated communication channel, so as to connect the devices to the industrial control platform for unified management and control.
[0006] The present invention provides a method for accessing power operation equipment to an industrial control platform based on open-source HarmonyOS. By relying on the collaborative application of automatic scanning and automatic network distribution, the construction of secure dedicated communication channels, and a unified object model, it breaks through the technical bottleneck of the traditional "industry standard + manual configuration / customized adaptation". It realizes that the equipment can be discovered as soon as it enters the field, automatically enters the network, establishes a trusted link, and is under unified management and control by the platform. It effectively improves the access efficiency and security of power operation equipment and solves the industry pain points of existing technologies, such as the difficulty in automating the underlying discovery and connection, the lack of standardization of secure access, and the lack of uniformity in business data description.
[0007] In one optional implementation, the equipment information of the power work equipment is periodically acquired based on a near-field wireless channel, including: Based on the near-field wireless channel, the broadcasts of power operation equipment within a preset range are periodically acquired, and equipment that does not actively broadcast is filtered out. It sends a scan request to equipment that does not actively broadcast and receives a scan response, which carries the equipment information of the corresponding power operation equipment.
[0008] The present invention provides a method for accessing power operation equipment to an industrial control platform based on open-source HarmonyOS. This method proactively initiates scanning requests for equipment that does not broadcast automatically, thus filling the information collection blind spots caused by relying solely on equipment's spontaneous broadcasts. It can fully acquire equipment information within a preset range, avoid missing silent equipment, eliminate the need for continuous equipment broadcasts, and reduce equipment broadcast power consumption. Combined with a periodic scanning mechanism, it ensures comprehensive equipment status awareness and improves the completeness and reliability of equipment discovery.
[0009] In one optional implementation, the devices to be connected include: new devices to be connected and legacy devices to be connected; Based on equipment information, the device to be connected is identified. Using the open-source HarmonyOS soft bus, the site network connection parameters and information broadcast requests for registering the device to be connected are sent to the device, including: Based on the equipment information, the system aggregates, deduplicates, and verifies its validity to obtain a candidate equipment list. The candidate equipment list includes: equipment to be connected, existing connected equipment, and equipment to be reconnected. Compare the candidate equipment list with the historical equipment list, and filter the new equipment to be connected and the legacy equipment to be connected from the candidate equipment list. The network configuration connection parameters are sent to the devices to be connected, and the devices to be connected receive the network configuration connection parameters and complete the confirmation and feedback. Receive confirmation messages from the devices to be connected and configure the corresponding network channels for the devices to be connected; On the network channel corresponding to each device to be connected, a discovery request is initiated to each device to be connected based on the open-source HarmonyOS soft bus, and a discovery response is received. Based on the discovery and response registration of devices to be connected, update the set of on-site operating equipment.
[0010] The present invention provides a method for accessing power operation equipment to an industrial control platform based on the open-source HarmonyOS. This method aggregates, deduplicates, and screens the legality of scanned equipment information to obtain a candidate equipment list. By comparing this list with historical equipment lists, it distinguishes between different types of equipment, such as new equipment to be connected and legacy equipment to be connected. It then differentiates the parameter distribution, soft bus startup, network channel configuration, and equipment registration updates, effectively filtering out interfering equipment, accurately identifying various types of equipment to be connected, avoiding duplicate processing and missed identification, ensuring the targeted nature of network parameter distribution, improving the maintenance of on-site operation equipment, and enhancing the accuracy and reliability of equipment discovery in the distribution network.
[0011] In one optional implementation, establishing a secure dedicated communication channel with the device to be accessed includes: Based on the available physical network communication channels of the device to be connected, adaptively match and create the original underlying physical communication channel corresponding to the available physical network communication channel; Based on the original underlying physical communication channel, identity interaction and handshake verification are performed to identify legitimate and illegitimate devices, and the original underlying physical communication channel corresponding to the illegitimate device is closed. On the original underlying physical communication channel of the legitimate device, bidirectional link capability negotiation is performed to dynamically determine the optimal communication channel and core communication parameters of the legitimate device. The core communication parameters include: encryption algorithm type. Key negotiation is conducted based on the type of encryption algorithm to form an end-to-end encrypted secure transmission channel on the optimal communication channel; Update the logical virtual local area network based on an encrypted secure transmission channel; Within the updated logical virtual LAN, dedicated session channels are allocated according to service type, and data collection and task distribution are carried out based on these dedicated session channels.
[0012] The present invention provides a method for power operation equipment to access an industrial control platform based on the open-source HarmonyOS. This method involves layered processes including physical channel creation, identity handshake verification, link capability negotiation, end-to-end encryption, logical virtual local area network (VLAN) construction, and business session channel division. It achieves access control layer by layer, adaptively adapting to various types of physical communication media for devices and blocking unauthorized device access. It dynamically selects optimal communication links and uses key negotiation to form encrypted transmission channels to ensure data security. Relying on the logical VLAN and dedicated session channels for service isolation, it enables classified transmission of business data, improving communication stability and security, and providing a reliable and secure communication foundation for equipment model interaction and industrial control platform management.
[0013] In one alternative implementation, adaptively matching and creating the original underlying physical communication channel corresponding to the available physical network communication channel includes: If the available physical network communication channels are wired Ethernet and wireless LAN channels, then construct a User Datagram Protocol broadcast channel for device discovery and a Transmission Control Protocol long connection channel for stable data transmission, respectively. If a physical network communication channel is available as a Bluetooth channel, then a general access profile link layer channel for device scanning and broadcasting is established, and a dedicated channel for logical link control and adaptation protocols for data interaction is also created. If the available physical network communication channel is StarShine, then directly initialize and activate the StarShine dedicated air interface communication link.
[0014] The present invention provides a method for accessing power operation equipment to an industrial control platform based on the open-source HarmonyOS. It adopts a differentiated channel construction strategy for different types of physical channels such as Ethernet, WLAN, Bluetooth, and StarScan. It initializes and adapts the corresponding links and channels for each type of communication medium, is compatible with the diverse hardware communication capabilities of power construction site operation equipment, distinguishes the channel uses for device discovery and service transmission, and realizes the separation of scanning broadcast and service data interaction links. This ensures that the basic data transmission and reception paths are ready in different scenarios, avoids the adaptation limitations caused by a single link mode, and improves the universality and adaptability of the underlying physical link creation.
[0015] Secondly, this invention provides a method for connecting power operation equipment based on the open-source HarmonyOS to an industrial control platform. The method is applied to power operation equipment and includes: Within the target site, it broadcasts its own equipment information, receives site network parameters, and performs network distribution with the site edge controller based on the site network parameters; After the distribution network is completed, a secure dedicated communication channel is established with the site edge controller, and a unified data model is received and accessed on the industrial control platform based on the secure dedicated communication channel.
[0016] The present invention provides a method for power operation equipment to access an industrial control platform based on the open-source HarmonyOS. This method realizes the complete processing logic of information broadcasting, distribution network interaction, security channel establishment, and unified data model reception from the power operation equipment side. The equipment actively reports its own information to support the device discovery of the edge controller and cooperates to complete the automatic distribution network process. It receives the unified data model and accesses the industrial control platform through a secure dedicated communication channel. No manual intervention is required for network configuration and protocol adaptation, which reduces the workload of equipment access configuration. It forms a collaborative closed loop with the process on the edge controller side of the site, ensures the automation of equipment access, and improves the adaptation efficiency and communication security of power operation equipment to the industrial control platform.
[0017] Thirdly, this invention provides a device for connecting power operation equipment to an industrial control platform based on the open-source HarmonyOS. The device is deployed on the edge controller of the power station and includes: The device access module is used to periodically acquire equipment information of power operation equipment within the target site based on a near-field wireless channel, determine the device to be accessed based on the equipment information, and send site network connection parameters and register the information broadcast request of the device to be accessed to the device based on the open-source HarmonyOS soft bus. The secure transmission and unified management module is used to establish a secure dedicated communication channel with the device to be connected, and to define a unified data model for the device to be connected based on the secure dedicated communication channel, so as to connect the device to the industrial control platform for unified management.
[0018] Fourthly, this invention provides a device for connecting power work equipment to an industrial control platform based on the open-source HarmonyOS. The device is deployed on the power work equipment and includes: The broadcast and distribution module is used to broadcast its own equipment information within the target site, receive site network parameters, and perform distribution with the site edge controller based on the site network parameters; The industrial control platform access module is used to establish a secure dedicated communication channel with the site edge controller after the distribution network is completed, and to receive a unified data model and access the industrial control platform based on the secure dedicated communication channel.
[0019] Fifthly, the present invention provides an electronic device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the methods of the first aspect, the second aspect, or any corresponding embodiment thereof described above.
[0020] In a sixth aspect, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the methods of the first aspect, the second aspect, or any corresponding embodiment thereof. Attached Figure Description
[0021] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0022] Figure 1 This is a schematic diagram of the first process of applying the method for accessing power operation equipment based on open source HarmonyOS to the industrial control platform according to an embodiment of the present invention to the edge controller of the field station; Figure 2 This is a schematic diagram of the overall process of the method for connecting power operation equipment to the industrial control platform based on the open-source HarmonyOS according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the deep integration of power industry standards and the underlying network in the method for accessing power operation equipment based on open source HarmonyOS according to an embodiment of the present invention. Figure 4 This is a schematic diagram of the second process of the method for accessing power operation equipment based on open source HarmonyOS to the industrial control platform according to an embodiment of the present invention, applied to the edge controller of the power station; Figure 5 This is a schematic diagram of the method for accessing power operation equipment to the industrial control platform based on open source HarmonyOS according to an embodiment of the present invention, which is based on the automatic discovery of operation equipment and the definition of the object model based on the open source HarmonyOS soft bus. Figure 6 This is a schematic diagram showing the six stages of secure connection between power operation equipment and the field edge controller in the method for accessing the power operation equipment to the industrial control platform based on open source HarmonyOS according to an embodiment of the present invention. Figure 7 A flowchart illustrating the application of the method for connecting power operation equipment to an industrial control platform based on open-source HarmonyOS according to an embodiment of the present invention to power operation equipment; Figure 8 This is a structural block diagram of a power operation equipment accessing an industrial control platform device based on open-source HarmonyOS according to an embodiment of the present invention; Figure 9 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0024] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.
[0025] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0026] Currently, there are significant limitations to the access of equipment at the site at the basic network level. After operational equipment enters the construction site, it often requires manual completion of steps such as wireless network parameter configuration, Internet Protocol (IP) address allocation, and channel connectivity verification. This cannot be achieved by the site edge controller automatically scanning and distributing network parameters based on near-field wireless channels to complete network access. The access process is inconsistent across different manufacturers and equipment types, leading to repetitive customization and adaptation work. The process from equipment entry to discoverability is often time-consuming, and manual configuration is required again when equipment changes or the network environment changes, significantly impacting construction efficiency and operational continuity. Simultaneously, secure access also relies on manual or generic network configuration: there is a lack of a unified identity handshake, legitimacy verification, and national cryptographic encryption channel establishment mechanism for operational equipment, resulting in a low security level and difficulty in establishing unique binding and trusted access guarantees at the underlying link layer. Furthermore, traditional methods lack a linkage mechanism with the standardized digital abstraction (object model) of operational equipment, leading to inconsistent standards for status acquisition, capability invocation, and event reporting, making it difficult for the platform to achieve consistent management and control of multiple types of equipment.
[0027] Existing power industry protocol standards primarily focus on application-layer communication protocols and data content definitions, relying on manual configuration of basic network channels. The underlying layers lack unified automatic device discovery, connection protocols, and handshake-related equipment information exchange mechanisms. While individual devices may be connected to the site's IP network, a logical near-field network and session control service channel for unified management and control have not been established, hindering subsequent real-time data acquisition, task assignment, and anomaly coordination. Current technologies have not fully disclosed the integration of soft bus underlying capabilities with power engineering access service protocol specifications, operational equipment object models, and unified access requirements of industrial control platforms to achieve a fusion from network-layer discovery to application-layer service interaction. This deficiency directly leads to difficulties in quickly completing the "discovery-connection-object model-platform registration" closed loop for operational equipment within the site after entry. The access process is disconnected from service management, hindering automated scheduling and refined management of intelligent construction sites.
[0028] It can be seen from the above two types of problems that the traditional "industry standard + manual configuration / customized adaptation" approach can no longer meet the needs of power engineering construction sites for rapid, standardized, secure and unified access. The industry urgently needs a method, system, equipment and medium based on the open source HarmonyOS soft bus that can automatically discover and connect to the distribution network, establish secure connections, define a unified object model and access the industrial control platform.
[0029] To address the aforementioned issues, this invention provides a method for power operation equipment to access an industrial control platform based on the open-source HarmonyOS. This method combines the discovery and connection capabilities of the HarmonyOS soft bus with access service protocol specifications and equipment object models in the power engineering field, achieving unified access to the industrial control platform and improving equipment access efficiency and security. With the core R&D goals of achieving automatic equipment discovery, secure connection establishment, unified object model definition, and unified access to the industrial control platform, the design incorporates comprehensive optimization across multiple dimensions, including automatic scanning and distribution network integration, a six-stage secure connection mechanism, the definition of the three elements of the object model, and platform registration and management. This results in a unified access technology solution that is adaptable to power engineering construction sites, highly automated, highly secure, and scalable.
[0030] According to an embodiment of the present invention, a method embodiment for accessing power operation equipment to an industrial control platform based on the open-source HarmonyOS is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0031] This embodiment provides a method for connecting power operation equipment to an industrial control platform based on the open-source HarmonyOS, which can be used in the aforementioned computer system or field edge controller. Figure 1 This is a flowchart of a method for connecting power operation equipment to an industrial control platform based on open-source HarmonyOS according to an embodiment of the present invention, as shown below. Figure 1 As shown, the process includes the following steps: Step S101: Within the target site, periodically acquire equipment information of power operation equipment based on near-field wireless channel, determine the device to be connected based on the equipment information, and send site network configuration parameters and register the information broadcast request of the device to be connected to the device based on open-source HarmonyOS soft bus.
[0032] Specifically, this embodiment is applied to a three-layer collaborative architecture system of industrial control platform - site edge controller - site operation equipment. The discovery, link establishment, object model interaction and business management between the three layers are all uniformly scheduled by the site edge controller as the core logic carrier. It uniformly carries automatic discovery, secure link establishment, object model maintenance and industrial control platform access collaboration, and can complete closed-loop unified access without relying on manual intervention.
[0033] In terms of communication link layout, the site edge controller and various operating equipment in the site use the open source HarmonyOS distributed soft bus as the communication link to establish a stable connection. For equipment that has not yet been connected to the site network, it first completes scanning and automatic network configuration through near-field wireless channels such as Bluetooth Low Energy (BLE) or Sparklink Low Energy (SLE), and then starts the soft bus service and participates in Constrained Application Protocol (CoAP) service discovery.
[0034] Based on the open-source HarmonyOS operating system's soft bus technology, automatic discovery of engineering operation equipment is achieved through the basic network (physical layer / data link layer / network layer). A unified object model definition is defined for the attributes of each piece of equipment, automatically sensing the type and status of discovered equipment. After equipment arrives at the site, the site edge controller first completes automatic scanning, automatic network configuration, and access discovery, adding the newly arrived equipment to the site's operational equipment set. The formula is expressed as: (1) in, The collection of operational equipment that was discovered. For the site edge controller, It is a combined discovery operation for automatic scanning, automatic network configuration, and discovery completion.
[0035] Within the target site, the near-field wireless channel can be Bluetooth or StarFlash. The automatic discovery process periodically acquires equipment information of power operation equipment based on the near-field wireless channel, completes automatic scanning and automatic network configuration, and completes soft bus discovery and information entry on the Ethernet, WiFi or Wireless LAN Authentication and Privacy Infrastructur (WAPI) channel.
[0036] Step S102: Establish a secure dedicated communication channel with the device to be connected, define a unified data model for the device to be connected based on the secure dedicated communication channel, and connect the device to the industrial control platform for unified management and control.
[0037] Specifically, upon detecting equipment entering the site, the secure connection process adaptively creates a physical channel, performs identity handshake authentication, negotiates link capabilities, applies national cryptographic encryption, establishes a logical near network (LNN) logical network topology, and binds a session channel to form a secure connection channel. The formula is as follows: (2) in, Indicates a secure connection channel. For equipment to be connected to the work site, This includes chain-building operations such as physical channel creation, identity handshake, capability negotiation, national cryptographic encryption, LNN networking, and session binding.
[0038] In the process of defining the object model and accessing the platform, three types of elements—attributes, capabilities (services), and events—are used as a unified data model to uniformly describe the operating equipment. Access registration and unified management are completed on the industrial control platform, enabling real-time acquisition of status data and precise control of operational capabilities. The formula is expressed as: (3) in, The operational equipment model consists of three categories of elements: attributes, capabilities (services), and events; based on After completing the access registration on the industrial control platform, unified management and control of the equipment can be achieved.
[0039] like Figure 2 The diagram illustrates the overall process of this embodiment, including a closed-loop path of "automatic discovery → secure connection → object model definition → platform access registration." Based on the collaborative work of each stage, it stably achieves multiple core functions such as equipment discovery upon arrival, automatic distribution network access, secure link establishment, object model standardization, and unified platform management. This fully adapts to the complex and ever-changing equipment access and management needs of power engineering construction sites. Compared to traditional manual configuration and application layer protocol customization methods, this embodiment has significant advantages such as automated distribution network discovery, standardized link establishment process, unified object model description, and standardized platform access, meeting the stringent requirements of power engineering construction sites for access response speed and security controllability. Furthermore, this embodiment reserves expansion space in object model definition, channel adaptation strategies, and platform registration rules. Technical personnel can flexibly configure discovery parameters, link establishment strategies, and object model fields according to the equipment types of different engineering projects and customer customization needs, further broadening the application scenarios and adaptation scope.
[0040] The equipment model is used to standardize the description of the status, capabilities and asynchronous notifications of each piece of equipment. It is the data foundation for the unified access of the industrial control platform. It mainly includes: defining a unified data model for the connected power operation equipment based on the established connection of the equipment, providing a unified digital description, and using three types of elements: attributes, capabilities (services) and events to unify the equipment model.
[0041] Attributes are used to describe the status variables of the work equipment, such as online / offline, in operation / idle, etc., which can be collected in real time and reported according to the strategy; capabilities (services) are used to describe the executable operations provided by the work equipment, such as digging, compaction, bulldozing, hoisting, forward / backward / turning, etc., which can be called by the industrial control platform as needed; events are used to describe the online / offline status of the work equipment, the start / completion of tasks during operation, abnormalities, etc., which are actively pushed to the site edge controller and industrial control platform after being triggered.
[0042] like Figure 3 The diagram illustrates the deep integration of power industry standards and the underlying network. Based on a pre-defined object model, the substation edge controller and industrial control platform read or subscribe to the attributes, capabilities, and events of each piece of equipment in set E via a soft bus and service channels. Based on the defined operational equipment object model, access and registration are completed on the industrial control platform, achieving unified access and enabling real-time data acquisition and precise control of operational capabilities for the accessed operational equipment.
[0043] The method for accessing power operation equipment to the industrial control platform based on open-source HarmonyOS provided in this embodiment relies on the collaborative application of automatic scanning and automatic network distribution, secure dedicated communication channels, and unified object models to break through the technical bottleneck of traditional "industry standards + manual configuration / customized adaptation". It enables equipment to be discovered upon entering the field, automatically join the network, establish a trusted connection, and achieve unified management and control by the platform. This effectively improves the access efficiency and security of power operation equipment and solves the industry pain points of existing technologies, such as difficulty in automating the underlying discovery and connection, lack of standardization of secure access, and inconsistent description of business data.
[0044] This embodiment provides a method for connecting power operation equipment to an industrial control platform based on the open-source HarmonyOS, which can be used in the aforementioned computer system or field edge controller. Figure 4 This is a flowchart of a method for connecting power operation equipment to an industrial control platform based on open-source HarmonyOS according to an embodiment of the present invention, as shown below. Figure 4 As shown, the process includes the following steps: Step S201: Within the target site, periodically acquire equipment information of power operation equipment based on near-field wireless channel, determine the device to be connected based on the equipment information, and send site network connection parameters and register the information broadcast request of the device to be connected to the device based on open-source HarmonyOS soft bus.
[0045] Specifically, step S201 includes: Step S2011: Periodically acquire the broadcasts of power operation equipment within a preset range based on the near-field wireless channel, and filter out equipment that does not actively broadcast.
[0046] Specifically, the automatic discovery process includes three stages: automatic scanning, automatic network configuration, and discovery completion, as shown in Table 1, which explains each sub-stage.
[0047] Table 1. Description of each stage of the automatic discovery process
[0048] Some operational equipment does not continuously send out broadcast packets due to power saving and privacy strategies; passively receiving broadcasts alone cannot detect these silent devices, and the controller needs to actively trigger a scanning request.
[0049] After the work equipment enters the construction site, for equipment that actively broadcasts, the site edge controller can receive the broadcast messages, identify the corresponding equipment through the broadcast messages, and add the new equipment to the site's work equipment set. Simultaneously, the site edge controller initiates automatic scanning, periodically monitoring broadcasts from surrounding equipment via BLE or SLE near-field wireless channels. The controller maintains a near-field device signal observation table, recording the hardware address (BLE address / SLE star flash address), received signal strength indication (RSSI), and timestamp of the devices that received broadcasts during the scanning cycle. At the end of each scanning cycle, the controller determines the addresses of devices within the radio frequency coverage area that are signal-reachable but did not report any spontaneous broadcast messages during that cycle as equipment that did not actively broadcast, thus filtering out such equipment.
[0050] In step S2012, a scan request is sent to equipment that has not actively broadcasted, and a scan response is received. The scan response carries the equipment information of the corresponding power operation equipment.
[0051] Specifically, for hardware addresses that are selected as having no active broadcasting devices, a targeted scan request message is sent. Upon receiving the scan request frame, the equipment's RF chip, even without actively broadcasting, will reply with a scan response frame. This response frame carries information such as the device's unique identifier, equipment type, channel address (e.g., Media Access Control Address (MAC) / Bluetooth address), and current availability. The controller captures the scan response message, extracts the equipment information, and adds it, along with the directly received active broadcast message, to the on-site operating equipment set.
[0052] like Figure 5 The diagram shows the automatic discovery and object model definition of work equipment based on the open-source HarmonyOS soft bus. The site edge controller sends a scan request (broadcast: I am the controller). After receiving the scan request, the work equipment responds (broadcast reply: I am the work equipment).
[0053] The method for accessing power operation equipment to the industrial control platform based on open-source HarmonyOS provided in this embodiment actively initiates scanning requests for equipment that does not broadcast, thus filling the information collection blind spots caused by relying solely on equipment's spontaneous broadcasts. It can fully acquire equipment information of operation equipment within a preset range, avoid missing silent equipment, eliminate the need for continuous equipment broadcasts, and reduce equipment broadcast power consumption. Combined with a periodic scanning mechanism, it takes into account the comprehensiveness of equipment status perception and improves the completeness and reliability of equipment discovery.
[0054] In some optional implementations, the device to be connected includes: a new device to be connected, and a legacy device to be connected. In step S201 above, the device to be connected is determined based on the equipment information, and a site network connection parameter is sent to the device to be connected and an information broadcast request for registering the device to be connected is sent based on the open-source HarmonyOS soft bus. This includes: Step S2013: Based on the equipment information, perform aggregation, deduplication, and legality screening to obtain a candidate equipment list. The candidate equipment list includes: devices to be connected, existing connected devices, and devices to be reconnected.
[0055] Specifically, the field edge controller continuously monitors the response frames of the equipment during the scanning cycle. Multiple operating equipment will broadcast and reply to scan response messages multiple times within the same scanning cycle. The same equipment will also report multiple responses in one scanning cycle due to the broadcast mechanism. All raw response messages received in each scanning cycle are cached in a local temporary buffer. Key fields are extracted from each message: unique device identifier, equipment type code, hardware address (MAC / Star Flash address), device name, online status, message reception timestamp, and signal strength, thus completing the aggregation of equipment information.
[0056] The same device may send broadcasts multiple times, resulting in multiple messages from the same device in the temporary buffer. Deduplication is necessary to prevent the same device from appearing multiple times in the candidate list. The unique device identifier and hardware address in each message are used to determine if a message originates from the same device. If multiple messages from the same device exist, only the scan response with the latest timestamp is retained, and the remaining messages are discarded.
[0057] The legality screening includes, but is not limited to: field integrity verification, equipment type whitelist filtering, signal strength threshold filtering, and message format verification. After the legality screening, interfering devices and malformed messages are removed to obtain a list of candidate equipment.
[0058] Step S2014: Compare the candidate equipment list with the historical equipment list, and filter the new equipment to be connected and the legacy equipment to be connected from the candidate equipment list.
[0059] Specifically, the historical equipment list records the unique identifiers of all historically discovered equipment, including old equipment that has completed the entire process and is already connected, historical legacy equipment that was previously scanned but has not yet completed network configuration, and equipment that needs to be reconnected.
[0060] If a device in the candidate equipment list is not in the historical equipment list based on its unique identifier, then that device is considered a new device to be connected. If it exists in the historical equipment list, further investigation is conducted to determine if network configuration has not been completed; if so, it is considered a legacy device to be connected. If it is in the historical equipment list and has been successfully connected before, further differentiation is made based on its current online status, distinguishing between existing connected devices (online) and devices awaiting reconnection (offline). Following these rules, new devices and legacy devices to be connected from the candidate equipment list are selected and automatically configured for network access.
[0061] In step S2015, network configuration connection parameters are sent to the devices to be connected. The devices to be connected receive the network configuration connection parameters and complete the confirmation and feedback.
[0062] Specifically, after automatically scanning and identifying the device to be connected, the system enters the automatic network configuration phase. Based on the site network plan, network configuration parameters are sent to the device to be connected, including: Service Set Identifier (SSID), access key, Internet Protocol (IP) allocation policy (Static or Dynamic Host Configuration Protocol (DHCP)), gateway and Domain Name System (DNS) and other basic network information.
[0063] The equipment to be connected receives and applies the corresponding network configuration parameters, completes the association and access with the site's basic network, obtains a valid IP address, and returns a distribution network confirmation message.
[0064] Step S2016: Receive the confirmation message from the device to be connected and configure the corresponding network channel for the device to be connected.
[0065] Specifically, during the distribution process, the controller and equipment exchange distribution commands and confirmation messages through near-field or established temporary channels until the equipment reports the distribution completion status, indicating that it is ready to perform soft bus communication on Ethernet or WiFi / WAPI channels.
[0066] Step S2017: On the network channel corresponding to each device to be connected, a discovery request is initiated to each device to be connected based on the open-source HarmonyOS soft bus, and a discovery response is received.
[0067] Specifically, after network configuration is complete, the discovery phase begins. The controller operates on the configured network channel (Ethernet or WiFi / WAPI), such as... Figure 5 As shown, based on open-source HarmonyOS soft bus CoAP and other discovery mechanisms, a discovery request is initiated to the target equipment, and a discovery response is received to obtain its soft bus node information, service list, and summary of relevant attributes of the object model.
[0068] Step S2018: Based on the discovery response registration of devices to be connected, update the set of on-site operating equipment.
[0069] Specifically, upon receiving a discovery response, the controller verifies and registers the equipment type, online status, network address, and capability information, updates the on-site equipment list, adds the equipment to the operational equipment set E, and completes the information entry into the database. At this point, the automatic discovery process (Discover) is complete, and the controller can initiate subsequent security link establishment and object model interaction with the target equipment based on the operational equipment set E.
[0070] After the equipment enters the construction site, the site edge controller detects the equipment via StarFlash or Bluetooth scanning, sends site network parameters to complete automatic network configuration, and then completes CoAP discovery and data entry on Ethernet or WiFi / WAPI channels, adding the equipment to set E.
[0071] The method for accessing power operation equipment to the industrial control platform based on open-source HarmonyOS provided in this embodiment aggregates, deduplicates, and screens the legality of scanned equipment information to obtain a candidate equipment list. By comparing with the historical equipment list, it distinguishes different types of equipment, such as new equipment to be connected and legacy equipment to be connected. It then differentiates the parameter distribution, soft bus startup, network channel configuration, and equipment registration update, effectively filtering out interfering equipment, accurately identifying various types of equipment to be connected, avoiding duplicate processing and missed identification, ensuring the relevance of network parameter distribution, improving the collective maintenance of on-site operation equipment, and enhancing the accuracy and reliability of equipment discovery in the distribution network.
[0072] Step S202: Establish a secure dedicated communication channel with the device to be connected, define a unified data model for the device to be connected based on the secure dedicated communication channel, and connect the device to the industrial control platform for unified management and control.
[0073] Specifically, step S202 includes: Step S2021: Based on the available physical network communication channels of the device to be accessed, adaptively match and create the original underlying physical communication channel corresponding to the available physical network communication channel.
[0074] Specifically, for the devices to be connected in set E, secure dedicated communication channels are established in a unified order, such as... Figure 6The diagram shown is a six-stage overview of the safe connection between power operation equipment and the site edge controller.
[0075] First, based on the available physical network communication channels for the devices to be connected, the corresponding type of underlying physical communication channel is adaptively matched and created to achieve rapid activation and readiness of physical links in multiple scenarios. Different network channel construction methods are selected according to different network media. At the underlying execution level, a series of low-level operations, including network card wake-up, RF parameter configuration, communication port allocation, port listening startup, and data transceiver queue initialization and activation, are completed to standardize the establishment of physical channels for different communication media.
[0076] In some optional implementations, step S2021 above includes: Step a1: If the available physical network communication channels are wired Ethernet and wireless LAN channels, then construct a User Datagram Protocol (UDP) broadcast channel for device discovery and a Transmission Control Protocol (TCP) long connection channel for stable data transmission, respectively.
[0077] Specifically, for wired Ethernet and wireless WiFi (LAN) channels, a User Datagram Protocol (UDP) broadcast channel for device discovery and a Transmission Control Protocol (TCP) long-connection channel for stable data transmission are respectively constructed.
[0078] Step a2: If the available physical network communication channel is the Bluetooth channel, then establish a general access profile link layer channel for device scanning and broadcasting, and create a dedicated channel for logical link control and adaptation protocols for data interaction.
[0079] Specifically, for the Bluetooth BLE channel, a Generic Access Profile (GAP) link layer channel is established for device scanning and broadcasting, and a dedicated Logical Link Control and Adaptation Protocol (L2CAP) channel is created for data interaction.
[0080] Step a3: If the available physical network communication channel is StarShine, then directly initialize and activate the StarShine dedicated air interface communication link.
[0081] Specifically, for the NearLink channel, the NearLink dedicated air interface communication link is directly initialized and activated.
[0082] The method for accessing power operation equipment to the industrial control platform based on open-source HarmonyOS provided in this embodiment adopts a differentiated channel construction strategy for different types of physical channels such as Ethernet, wireless LAN, Bluetooth, and StarScan. It initializes and adapts the corresponding links and channels for each type of communication medium, is compatible with the diverse hardware communication capabilities of power construction site operation equipment, distinguishes the channel uses for device discovery and service transmission, realizes the separation of scanning broadcast and service data interaction links, ensures that the basic data transmission and reception paths are ready in different scenarios, avoids the adaptation limitations caused by a single link mode, and improves the universality and adaptability of the underlying physical link creation.
[0083] Step S2022: Based on the original underlying physical communication channel, perform identity interaction and handshake verification to determine legitimate and illegitimate devices, and close the original underlying physical communication channel corresponding to the illegitimate device.
[0084] Specifically, during the equipment connection link initialization phase, a low-level identity interaction and handshake verification process is executed to achieve unique identity binding and legitimacy identification of the accessing equipment. During communication initialization, bidirectional exchange of a unique decentralized identifier (DID), a universally unique identifier (UUID), equipment type parameters, device name, IP address, MAC address, and Bluetooth address, among other comprehensive identity identification information, is completed through bidirectional transmission of standardized identity data frames. Simultaneously, the system incorporates legitimacy verification logic to perform compliance checks on the received equipment identity data, filtering out abnormal access requests from unauthorized equipment. Ultimately, a unique corresponding binding relationship is established at the underlying link layer to prevent unauthorized equipment access, ensuring security and reliability.
[0085] Step S2023: On the original underlying physical communication channel of the legitimate device, perform bidirectional link capability negotiation to dynamically determine the optimal communication channel and core communication parameters of the legitimate device. The core communication parameters include: encryption algorithm type.
[0086] Specifically, after the device identity handshake is completed, a bidirectional link capability negotiation process is executed to dynamically determine the optimal communication link and standardized transmission parameters, adapting to the communication performance differences of different operating equipment. Through interactive dedicated link negotiation data frames, the communication channel type of the operating equipment is clarified, including WiFi, BLE, Ethernet, etc. (when there are multiple physical network communication channels). Simultaneously, core communication parameters such as maximum bandwidth, maximum transmission unit (MTU), link heartbeat keep-alive interval, and data encryption algorithm type are negotiated and determined. Through parameter comparison and capability matching, the physical link with the optimal transmission stability, bandwidth, and power consumption is automatically selected as the main communication link channel. The communication format and interaction rules are standardized and fixed, achieving adaptive adaptation of parameters for different physical network communication channels and avoiding communication anomalies caused by parameter mismatches.
[0087] Step S2024: Perform key negotiation based on the encryption algorithm type to form an end-to-end encrypted secure transmission channel on the optimal communication channel.
[0088] Specifically, after the physical link and communication parameters are negotiated, the site edge controller and the target operating equipment enter the fourth stage of secure link establishment, namely, a full-link secure encrypted transmission mechanism based on national cryptographic algorithms. The controller sends an encrypted channel establishment request to the equipment, and the equipment returns an encrypted negotiation response. Both parties perform bidirectional national cryptographic key negotiation and generate a session key based on the national cryptographic algorithm type determined during the link negotiation stage (such as SM2 key exchange, SM3 digest, and SM4 symmetric encryption). Subsequently, both parties exchange encrypted channel verification messages to confirm key consistency and channel availability. After successful verification, an end-to-end dedicated encrypted secure transmission channel is formed on the established main communication link. Thereafter, all business data, including subsequent identity authentication interactions, object model attribute reading and writing, capability invocation, and event reporting, are transmitted encrypted through this channel to prevent link eavesdropping and tampering, meeting the security requirements for data confidentiality and integrity in power engineering construction sites.
[0089] Step S2025: Update the logical virtual local area network based on the encrypted secure transmission channel.
[0090] Specifically, based on the underlying secure communication link, an independent logical near-field network (LNN) is constructed to support unified logical networking and topology management of work equipment according to work procedures. After the work equipment completes the secure handshake, the system assigns a unique network identifier to each piece of work equipment joining the network, integrating compliant equipment into the same logical local area network (LAN) system. Simultaneously, a comprehensive network operation and maintenance mechanism is established to maintain the online status of equipment, network topology, and equipment relationships in real time. Periodic heartbeat messages are used to keep equipment links alive and monitor the online status of work equipment in real time. The system dynamically builds and updates the network routing table, incorporates automatic detection and anomaly removal logic for work equipment disconnection, and supports multi-work equipment relay networking mode. This overcomes the limitations of single-link communication, enabling logical network management capabilities for interconnection, dynamic networking, and anomaly self-healing among multiple work equipment within the LAN, providing network topology support for distributed interaction across work equipment.
[0091] Step S2026: Within the updated logical virtual local area network, dedicated session channels are divided according to service type, and data collection and task distribution are performed based on the dedicated session channels.
[0092] Specifically, based on the LNN logical network, dedicated Session devices are created and bound to manage session channels differently for different business scenarios, enabling refined data collection and task distribution. Three types of dedicated transmission channels are defined according to the data type of the business: a byte channel based on the UDP protocol for adapting to commands and small-amount control data transmission; a data stream channel based on the TCP protocol for adapting to high-definition video and large-capacity data stream transmission; and a dedicated file channel for large file transfer services. At the underlying level, by binding communication sockets, BLE L2CAP channels, and data buffers, the hardware and resource mounting of session channels is supported. Business data transmission and reception callback interfaces are registered synchronously, and a data transmission flow control mechanism is initiated to achieve classified transmission, isolation management, and orderly transmission and reception of different business data. This adapts to diverse distributed business transmission needs and ensures the stability and real-time performance of data transmission in different scenarios.
[0093] This embodiment provides a method for power operation equipment to access the industrial control platform based on the open-source HarmonyOS. It completes the creation of physical channels, identity handshake verification, link capability negotiation, end-to-end encryption, logical virtual local area network (VLAN) construction, and business session channel division in a layered manner. Access control is implemented layer by layer, adaptively adapting to various types of physical communication media of the equipment and blocking unauthorized device access. Communication links are dynamically and optimally selected, and encrypted transmission channels are formed through key negotiation to ensure data security. Relying on the logical VLAN and dedicated session channels for service isolation, business data is transmitted in a categorized manner, improving communication stability and security, and providing a reliable and secure communication foundation for equipment model interaction and industrial control platform management.
[0094] This embodiment provides a method for connecting power work equipment to an industrial control platform based on the open-source HarmonyOS, which can be used in the aforementioned computer system or power work equipment. Figure 7 This is a flowchart of a method for connecting power operation equipment to an industrial control platform based on open-source HarmonyOS according to an embodiment of the present invention, as shown below. Figure 7 As shown, the process includes the following steps: Step S301: Within the target site, broadcast its own equipment information, receive site network parameters, and perform network distribution with the site edge controller based on the site network parameters.
[0095] Specifically, when equipment enters the coverage area of the target site, it periodically sends BLE / SLE broadcast messages, which carry its own unique DID identifier, equipment type, hardware address, and other equipment information. Alternatively, the equipment may not actively broadcast, but its radio frequency remains in a listening state. When it receives a scan request frame from the site edge controller, it returns a scan response frame, reporting the aforementioned equipment information. After receiving the broadcast / scan response, the site edge controller performs aggregation, deduplication, and initial validity screening to identify the equipment to be connected.
[0096] Power work equipment receives site network configuration parameters from the site edge controller via the BLE / SLE near-field temporary channel, including SSID, access key, IP allocation policy (static / DHCP), gateway, DNS, etc.
[0097] The equipment verifies the integrity of network parameter fields, writes the network parameters into the local network configuration module, and completes the WiFi / WAPI or Ethernet network association; it also obtains the local IP address according to the IP allocation policy.
[0098] After the distribution network takes effect, the equipment starts the open-source HarmonyOS distributed soft bus service process locally; it returns a distribution network completion confirmation message to the field edge controller, informing the edge controller that it is ready and can perform soft bus discovery.
[0099] The site edge controller initiates a soft bus CoAP discovery request on the Ethernet / Wi-Fi channel; the equipment receives the discovery request and returns a discovery response message including soft bus node information and service summary, which is then registered by the edge controller to update the set of on-site operating equipment.
[0100] Step S302: After the distribution network is completed, establish a secure dedicated communication channel with the site edge controller, and receive the unified data model and access the industrial control platform based on the secure dedicated communication channel.
[0101] Specifically, after the distribution network is completed, the edge controller of the power station initiates the Connect link establishment process (six stages), and the equipment side cooperates to complete the entire process interaction. In the process of collaboratively building a secure dedicated communication channel, the power operation equipment side performs the following: (1) receiving the physical channel activation instruction from the edge controller, and completing the initialization of the corresponding underlying physical channel according to its own available communication medium, providing the original underlying communication path; (2) performing a two-way identity handshake interaction through the original physical channel, submitting its own complete set of identity identifiers to the edge controller, and completing the legality verification; if the verification fails, the local physical channel is directly closed and the access process is terminated; (3) interacting with the edge controller to form a link negotiation frame, reporting the communication channels, bandwidth, MTU, heartbeat cycle, and encryption algorithm suite that it supports, and cooperating with the edge controller to complete the process interaction. (3) Determine the optimal main communication link and core communication parameters; (4) Use the national cryptographic encryption algorithm selected through negotiation, participate in bidirectional key negotiation, and generate session keys; exchange encrypted verification messages, verify key consistency, and form an end-to-end encrypted secure transmission channel on the optimal communication channel; (5) Cooperate with the addition of LNN logical near-field virtual local area network, receive the assigned network unique identifier, enable heartbeat message sending and receiving, and maintain the online status of LNN layer; (6) Receive the business session creation instruction, complete the local binding of various Session exclusive session channels for bytes, streams, and files according to the business type, and complete the complete establishment of secure dedicated communication channels.
[0102] Receive unified data model (object model) on the established encrypted session channel, receive unified object model (attributes, capabilities, events) issued by the site edge controller; the equipment locally stores the object model definition and executes according to the object model specification: report attribute status, respond to capability call instructions, and actively report events when anomalies / task changes occur.
[0103] The equipment works in conjunction with the edge controller to complete the platform registration process: the object model information is reported to the industrial control platform by the edge controller; the equipment responds to various business instructions forwarded from the industrial control platform via the edge controller based on a secure session channel, reports its own status and events, and completes the unified management and access of the equipment on the industrial control platform.
[0104] The method for connecting power operation equipment to the industrial control platform based on open-source HarmonyOS provided in this embodiment realizes the complete processing logic of information broadcasting, distribution network interaction, security channel establishment, and unified data model reception from the power operation equipment side. The equipment actively reports its own information to support the device discovery of the edge controller and cooperates to complete the automatic distribution network process. It receives the unified data model and connects to the industrial control platform through a secure dedicated communication channel. No manual intervention is required for network configuration and protocol adaptation, which reduces the workload of equipment-side access configuration. It forms a collaborative closed loop with the process on the field edge controller side, ensures the automation of equipment access, and improves the adaptation efficiency and communication security of power operation equipment to the industrial control platform.
[0105] In one specific embodiment, after the operating equipment enters the construction site, the site edge controller automatically scans and senses the equipment via Bluetooth BLE or StarFlash SLE; after confirming the new available equipment, it automatically initiates network configuration and issues SSID, key and IP allocation policy; after the equipment connects to the site network and starts the soft bus service, the controller completes discovery and information entry on the Ethernet or WiFi / WAPI channel and includes the equipment in set E.
[0106] The site edge controller completes physical channel, identity authentication, capability negotiation, national cryptographic encryption, LNN networking and Session binding for the target equipment in set E in sequence according to formula (2); then defines the unified object model of attributes, capabilities and events according to formula (3), and completes access and registration on the industrial control platform to realize real-time acquisition of status and precise control of operation capabilities.
[0107] This embodiment also provides a device for connecting power operation equipment to an industrial control platform based on the open-source HarmonyOS. This device is used to implement the above embodiments and preferred embodiments, and details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0108] This embodiment provides a device for connecting power operation equipment to an industrial control platform based on the open-source HarmonyOS. This device is deployed on the edge controller of the power station, such as... Figure 8 As shown, it includes: The device access module 801 is used to periodically acquire equipment information of power operation equipment within the target site based on a near-field wireless channel, determine the device to be accessed based on the equipment information, and send site network connection parameters and register the information broadcast request of the device to be accessed to the device based on the open-source HarmonyOS soft bus.
[0109] The secure transmission and unified management module 802 is used to establish a secure dedicated communication channel with the device to be connected, and to define a unified data model for the device to be connected based on the secure dedicated communication channel, so as to connect the device to the industrial control platform for unified management.
[0110] This embodiment provides a device for connecting power operation equipment to an industrial control platform based on the open-source HarmonyOS. The device is deployed on the power operation equipment and includes: The broadcast and distribution module 803 is used to broadcast its own equipment information, receive the site network parameters, and perform distribution with the site edge controller based on the site network parameters within the target site. The industrial control platform access module 804 is used to establish a secure dedicated communication channel with the site edge controller after the distribution network is completed, and to receive a unified data model and access the industrial control platform based on the secure dedicated communication channel.
[0111] The device for connecting power operation equipment based on open-source HarmonyOS to an industrial control platform provided in this embodiment of the invention can execute the method for connecting power operation equipment based on open-source HarmonyOS to an industrial control platform provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the above modules and units are the same as in the corresponding embodiments described above, and will not be repeated here.
[0112] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.
[0113] The following is a detailed reference. Figure 9 This diagram illustrates a structural schematic suitable for implementing an electronic device according to embodiments of the present invention. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 901, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 902 or a program loaded from memory 908 into random access memory (RAM) 903. The RAM 903 also stores various programs and data required for the operation of the electronic device. The processor 901, ROM 902, and RAM 903 are interconnected via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0114] Typically, the following devices can be connected to I / O interface 905: input devices 906 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 907 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 908 including, for example, magnetic tapes, hard disks, etc.; and communication devices 909. Communication device 909 allows electronic devices to exchange data via wireless or wired communication with other devices. Although Figure 9 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.
[0115] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 909, or installed from a memory 908, or installed from a ROM 902. When the computer program is executed by a processor 901, it performs the functions defined in the method for accessing power operation equipment to an industrial control platform based on open-source HarmonyOS according to embodiments of the present invention.
[0116] Figure 9 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of the present invention.
[0117] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the method for accessing the power operation equipment based on the open-source HarmonyOS to the industrial control platform shown in the above embodiments is implemented.
[0118] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0119] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for connecting power operation equipment based on the open-source HarmonyOS to an industrial control platform, characterized in that, The method is applied to a site edge controller, and the method includes: Within the target site, equipment information of power operation equipment is periodically acquired based on near-field wireless channels, and the device to be connected is determined based on the equipment information. The site network connection parameters are sent to the device to be connected based on the open-source HarmonyOS soft bus, and the information broadcast request of the device to be connected is registered. Establish a secure dedicated communication channel with the device to be connected, and define a unified data model for the device to be connected based on the secure dedicated communication channel, so as to connect the device to the industrial control platform for unified management and control.
2. The method according to claim 1, characterized in that, Equipment information of power work equipment is acquired periodically based on near-field wireless channels, including: Based on the near-field wireless channel, the broadcasts of power operation equipment within a preset range are periodically acquired, and equipment that does not actively broadcast is filtered out. A scan request is sent to equipment that does not actively broadcast, and a scan response is received, the scan response carrying equipment information of the corresponding power operation equipment.
3. The method according to claim 1 or 2, characterized in that, The devices to be connected include: new devices to be connected and legacy devices to be connected. Based on the equipment information, the device to be connected is determined, and a site network connection parameter and a broadcast request for registration of the device to be connected are sent to the device based on the open-source HarmonyOS soft bus, including: Based on the equipment information, the data is aggregated, deduplicated, and legally screened to obtain a candidate equipment list, which includes: devices to be connected, existing connected devices, and devices to be reconnected. The candidate equipment list is compared with the historical equipment list to filter the new equipment to be connected and the legacy equipment to be connected from the candidate equipment list. A network configuration connection parameter broadcast request is sent to each of the devices to be connected. The devices to be connected receive the network configuration parameters and complete the confirmation and feedback. Receive the confirmation message from the device to be connected and configure the corresponding network channel for the device to be connected; On the network channel corresponding to each device to be connected, a discovery request is initiated to each device to be connected based on the open-source HarmonyOS soft bus, and a discovery response is received. Based on the discovery response, register the devices to be connected and update the set of on-site operating equipment.
4. The method according to claim 1, characterized in that, Establishing a secure dedicated communication channel with the device to be accessed includes: Based on the available physical network communication channels of the device to be connected, adaptively match and create the original underlying physical communication channel corresponding to the available physical network communication channel; Based on the original underlying physical communication channel, identity interaction and handshake verification are performed to determine legitimate and illegitimate devices, and the original underlying physical communication channel corresponding to the illegitimate device is closed. On the original underlying physical communication channel of the legitimate device, bidirectional link capability negotiation is performed to dynamically determine the optimal communication channel and core communication parameters of the legitimate device. The core communication parameters include: encryption algorithm type. Based on the encryption algorithm type, key negotiation is performed to form an end-to-end encrypted secure transmission channel on the optimal communication channel; Update the logical virtual local area network based on the aforementioned encrypted secure transmission channel; Within the updated logical virtual local area network, dedicated session channels are divided according to service type, and data collection and task distribution are carried out based on the dedicated session channels.
5. The method according to claim 4, characterized in that, Adaptively matching and creating the original underlying physical communication channel corresponding to the available physical network communication channel, including: If the available physical network communication channels are wired Ethernet and wireless LAN channels, then a User Datagram Protocol broadcast channel for device discovery and a Transmission Control Protocol long connection channel for stable data transmission shall be constructed respectively. If the available physical network communication channel is a Bluetooth channel, then a general access profile link layer channel for device scanning and broadcasting is established, and a dedicated channel for logical link control and adaptation protocols for data interaction is created accordingly. If the available physical network communication channel is StarShine, then directly initialize and activate the StarShine dedicated air interface communication link.
6. A method for connecting power operation equipment based on the open-source HarmonyOS to an industrial control platform, characterized in that, The method is applied to power work equipment, and the method includes: Within the target site, it broadcasts its own equipment information, receives site network parameters, and performs network distribution with the site edge controller based on the site network parameters; After the distribution network is completed, a secure dedicated communication channel is established with the site edge controller, and a unified data model is received and accessed through the secure dedicated communication channel.
7. A device for connecting power operation equipment to an industrial control platform based on the open-source HarmonyOS, characterized in that, The device is deployed at the site edge controller, and the device includes: The device access module is used to periodically acquire equipment information of power operation equipment within the target site based on a near-field wireless channel, determine the device to be accessed based on the equipment information, and send site network connection parameters to the device to be accessed and register the information broadcast request of the device to be accessed based on the open-source HarmonyOS soft bus. The secure transmission and unified management module is used to establish a secure dedicated communication channel with the device to be connected, and to define a unified data model for the device to be connected based on the secure dedicated communication channel, so as to connect the device to the industrial control platform for unified management and control.
8. A device for connecting power operation equipment to an industrial control platform based on the open-source HarmonyOS, characterized in that, The device is deployed on power work equipment, and the device includes: The broadcast and distribution module is used to broadcast its own equipment information within the target site, receive site network parameters, and perform distribution with the site edge controller based on the site network parameters; The industrial control platform access module is used to establish a secure dedicated communication channel with the site edge controller after the distribution network is completed, and to receive a unified data model and access the industrial control platform based on the secure dedicated communication channel.
9. An electronic device, characterized in that, include: The system includes a memory and a processor, which are interconnected. The memory stores computer instructions, and the processor executes the computer instructions to perform the method for accessing an industrial control platform for power operation equipment based on open-source HarmonyOS as described in any one of claims 1 to 5 or claim 6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute the method for accessing the power operation equipment based on the open-source HarmonyOS to the industrial control platform as described in any one of claims 1 to 5 or claim 6.
