CN116319322B - Power equipment node communication connection method, device, equipment and computer medium - Google Patents

Power equipment node communication connection method, device, equipment and computer medium Download PDF

Info

Publication number
CN116319322B
CN116319322B CN202310547949.2A CN202310547949A CN116319322B CN 116319322 B CN116319322 B CN 116319322B CN 202310547949 A CN202310547949 A CN 202310547949A CN 116319322 B CN116319322 B CN 116319322B
Authority
CN
China
Prior art keywords
information
node
network connection
power equipment
information set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310547949.2A
Other languages
Chinese (zh)
Other versions
CN116319322A (en
Inventor
陈曦
隋志巍
王颖
王丽君
张硕
王超
王志波
陈恩光
苏冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Information and Telecommunication Co Ltd
Beijing Guodiantong Network Technology Co Ltd
Original Assignee
State Grid Information and Telecommunication Co Ltd
Beijing Guodiantong Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Information and Telecommunication Co Ltd, Beijing Guodiantong Network Technology Co Ltd filed Critical State Grid Information and Telecommunication Co Ltd
Priority to CN202310547949.2A priority Critical patent/CN116319322B/en
Publication of CN116319322A publication Critical patent/CN116319322A/en
Application granted granted Critical
Publication of CN116319322B publication Critical patent/CN116319322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements

Abstract

Embodiments of the present disclosure disclose a power equipment node communication connection method, apparatus, device and computer medium. One embodiment of the method comprises the following steps: acquiring preconfigured network connection resource information of first equipment; in response to receiving a power device node network connection event corresponding to the first device network connection resource information, determining a power device node information set corresponding to the first device network connection resource information; determining a node space information group corresponding to each piece of power equipment node information in the power equipment node information set to obtain a node space information group set; for each node space information in the node space information set, creating network connection mode information corresponding to the node space information; and establishing network connection among the power equipment nodes according to the information of each network connection mode. The embodiment can quickly and efficiently realize the network stable connection of a plurality of power equipment nodes through the established network connection mode information.

Description

Power equipment node communication connection method, device, equipment and computer medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technology, and in particular, to a method, an apparatus, a device, and a computer medium for connecting power equipment nodes in communication.
Background
There are a large number of power equipment nodes (e.g., regional power control terminals) in the field of power networks. Currently, for network connection of each power equipment node, the following manner is generally adopted: network configuration of the power equipment nodes is accomplished using CNI (Container Network Interface ) plugins.
However, when the above manner is adopted, there are generally the following technical problems:
firstly, network configuration of power equipment nodes is realized by using a CNI plug-in, and network connection abnormality of a plurality of power equipment nodes is easily caused;
secondly, network configuration of the power equipment nodes is realized by using the CNI plug-in, and network connection relations among the power equipment nodes are difficult to adjust, so that network resource distribution is uneven.
The above information disclosed in this background section is only for enhancement of understanding of the background of the inventive concept and, therefore, may contain information that does not form the prior art that is already known to those of ordinary skill in the art in this country.
Disclosure of Invention
The disclosure is in part intended to introduce concepts in a simplified form that are further described below in the detailed description. The disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose a power device node communication connection method, apparatus, electronic device, and computer readable medium to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a method of power equipment node communication connection, the method comprising: acquiring preconfigured network connection resource information of first equipment; determining a power equipment node information set corresponding to the first equipment network connection resource information in response to receiving a power equipment node network connection event corresponding to the first equipment network connection resource information; determining a node space information group corresponding to each piece of power equipment node information in the power equipment node information set to obtain a node space information group set, wherein the power equipment node information in the power equipment node information set corresponds to one power equipment node; for each node space information in the node space information group, creating network connection mode information corresponding to the node space information; and establishing network connection among the power equipment nodes corresponding to the power equipment node information set according to the established network connection mode information.
In a second aspect, some embodiments of the present disclosure provide an electrical device node communication connection apparatus, the apparatus comprising: an acquisition unit configured to acquire preconfigured first device network connection resource information; a first determining unit configured to determine a power equipment node information set corresponding to the first equipment network connection resource information in response to receiving a power equipment node network connection event corresponding to the first equipment network connection resource information; a second determining unit configured to determine a node space information group corresponding to each power equipment node information in the power equipment node information set, to obtain a node space information group set, where the power equipment node information in the power equipment node information set corresponds to one power equipment node; a creation unit configured to create, for each node space information in the node space information group, network connection mode information corresponding to the node space information; the establishing unit is configured to establish network connection among the power equipment nodes corresponding to the power equipment node information set according to the established network connection mode information.
In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors causes the one or more processors to implement the method described in any of the implementations of the first aspect above.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in any of the implementations of the first aspect above.
The above embodiments of the present disclosure have the following advantageous effects: by the power equipment node communication connection method, abnormal network connection of a plurality of power equipment nodes is reduced. Specifically, the reason why the network connection abnormality of the plurality of power equipment nodes is easily caused is that: network configuration of the power equipment nodes is achieved by using CNI plug-ins. Based on this, the power device node communication connection method of some embodiments of the present disclosure first obtains the first device network connection resource information configured in advance. Therefore, the method can be used for subsequently determining the power equipment node information to be subjected to network connection, and the configuration of the power equipment node information network connection can be realized. And secondly, in response to receiving the power equipment node network connection event corresponding to the first equipment network connection resource information, determining a power equipment node information set corresponding to the first equipment network connection resource information. And then, determining a node space information group corresponding to each piece of power equipment node information in the power equipment node information set to obtain a node space information group set. Wherein, the power equipment node information in the power equipment node information set corresponds to one power equipment node. Thus, the network connection of the subsequent power equipment nodes can be realized based on the node space information corresponding to the power equipment nodes. Then, for each node space information in the node space information group, network connection mode information corresponding to the node space information is created. And finally, establishing network connection among the power equipment nodes corresponding to the power equipment node information set according to the established network connection mode information. Thus, the resource information can be connected through the first equipment network, and the configuration of the power equipment node network can be realized. Therefore, the network stable connection of the power equipment nodes can be realized rapidly and efficiently through the established network connection mode information, and the network connection abnormality among the power equipment nodes is reduced.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a flow chart of some embodiments of a power device node communication connection method according to the present disclosure;
fig. 2 is a schematic structural view of some embodiments of a power equipment node communication connection device according to the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates a flow 100 of some embodiments of a power device node communication connection method according to the present disclosure. The power equipment node communication connection method comprises the following steps:
Step 101, obtaining preconfigured first equipment network connection resource information.
In some embodiments, an execution body (for example, a computing device) of the power device node communication connection method may acquire the preconfigured first device network connection resource information from the terminal through a wired connection manner or a wireless connection manner. Wherein the first device network connection resource information may be pre-configured resource information characterizing the mutual communication (i.e. network connection) between the power device nodes. In practice, the first network connection Custom Resource information may be CR (Custom Resource) resources for a particular data structure for a plurality of power device nodes. The power device node may be a computing device that controls power in a region. A certain area may be a cell. CR resources define node information that requires network connections between power device nodes. The node information may be information characterizing an area to which the power device node corresponds. For different power device nodes, the isolation is performed using a corresponding at least one node space (namespace). The namespaces may be namespaces under k8s (Kubernetes, container orchestration platform). Kubernetes supports multiple virtual clusters, with the underlying layer relying on the same physical cluster. These virtual clusters are called namespaces. A namespace is a k8s cluster level resource. In practice, corresponding namespaces may be created for different power device nodes. Namespaces can be resources for separating process trees, network interfaces, mount points, inter-process communications, and the like.
Step 102, in response to receiving the power equipment node network connection event corresponding to the first equipment network connection resource information, determining a power equipment node information set corresponding to the first equipment network connection resource information.
In some embodiments, the executing entity may determine, in response to receiving a power device node network connection event corresponding to the first device network connection resource information, a power device node information set corresponding to the first device network connection resource information. The power device node network connection event may be a calculation command to perform a network connection between corresponding power device nodes. The above-mentioned power device node information set may be a power device node information set to be network-connected, which is referred to in the first device network connection resource information.
In practice, the above-mentioned power device node information set may be { "the first power device node is network-connected with the second power device node", "the third power device node is network-connected with the fourth power device node" }. The corresponding power device node information set may include: the system comprises first power equipment node information, second power equipment node information, third power equipment node information and fourth power equipment node information. For example, the executing entity may receive the power device node network connection event for the first device network connection resource information through an api server (interface service) in k8s (Kubernetes, container orchestration platform).
Step 103, determining a node space information group corresponding to each piece of power equipment node information in the power equipment node information set, and obtaining a node space information group set.
In some embodiments, the executing entity may determine a node space information group corresponding to each power device node information in the power device node information set, to obtain a node space information group set. Wherein, the power equipment node information in the power equipment node information set corresponds to one power equipment node. The node space information may correspond to identification information of the namespace. Wherein, the association relationship between the power equipment node information and the corresponding node space information group may be established in advance.
In an actual application scenario, the execution body may determine, by using a node space selector, a node space information group corresponding to each piece of power equipment node information in the power equipment node information set. Wherein the utilizing node space selector may be a tag-based selection to filter namespaces. In practice, the node space selector may be namespaces selector (namespace selector).
Step 104, for each node space information in the node space information group, creating network connection mode information corresponding to the node space information.
In some embodiments, the executing entity may create network connection mode information corresponding to the node space information for each node space information in the node space information group. The Network connection mode information may be Network Policy resources. The network connection mode information includes a network policy. Network Policy is a specification of allowed communication rules between Pod (the smallest deployable computing unit created and managed in Kubernetes) and with other Network Endpoints (Network endpoints). Network Policy can act on the pod under the corresponding namespace to implement the corresponding Network connection control.
And 105, establishing network connection among the power equipment nodes corresponding to the power equipment node information set according to the established network connection mode information.
In some embodiments, the executing body may establish network connection between the power device nodes corresponding to the power device node information set according to the created network connection mode information.
In practice, the power equipment node information set includes: first power device node information, second power device node information, third power device node information, fourth power device node information, and fifth power device node information. The above power device node information set is { "the first power device node is connected to the second power device node by a network", "the third power device node, the fourth power device node, and the fifth power device node are connected to the network" }. The execution body may establish a network connection between the "first power device node" and the "second power device node", and may also establish a network connection between the third power device node, the fourth power device node, and the fifth power device node. Network connections between individual power device nodes may be established using open source calico network plug-ins, flannel network plug-ins.
Optionally, preconfigured power device node resource information is obtained.
In some embodiments, the executing body may acquire the preconfigured power equipment node resource information from the terminal through a wired connection manner or a wireless connection manner. The power device node resource information may represent a correspondence between power device nodes and namespaces.
Optionally, in response to receiving node definition information corresponding to the power equipment node resource information, a device node namespace information set and a node information set corresponding to the power equipment node resource information are determined.
In some embodiments, the executing entity may determine a device node namespace information set and a node information set corresponding to the power device node resource information in response to receiving node definition information corresponding to the power device node resource information. The node definition information may be information defining an association relationship between the power device node and the namespace. The device node namespace information in the device node namespace information set may be information corresponding to a namespace field in the power device node resource information. The node information in the node information set may be information associated with a power equipment node field in the power equipment node resource information. For example, node definition information may be received by an api server. The device node namespace information set may be determined through namespaces selector.
Optionally, determining network connection information corresponding to each device node namespace information in the device node namespace information set, to obtain a network connection information set.
In some embodiments, the executing body may determine network connection information corresponding to each device node namespace information in the device node namespace information set, to obtain a network connection information set. The Network connection information may be a Network Policy resource. The network connection information can act on the pod under the corresponding namespace to realize the definition of the corresponding relation between the corresponding power equipment node and the namespace.
Optionally, a connection relationship between the device node namespace information set and the node information set is established according to the network connection information set.
In some embodiments, the executing entity may establish a connection relationship between the device node namespace information set and the node information set according to the network connection information set. For example, an association relationship between the device node namespace information set and the node information set may be established according to the network connection information set by using an open-source calico network plug-in and a flannel network plug-in.
Optionally, the preconfigured second device network connection resource information and the second power device node resource information are obtained.
In some embodiments, the executing body may acquire the preconfigured second device network connection resource information and the second power device node resource information from the terminal through a wired connection manner or a wireless connection manner. Wherein the second device network connection resource information may be resource information of preconfigured power device nodes characterizing mutual communication (i.e. network connection) between the respective power device nodes. The second device network connection resource information may be the same as or different from the first device network connection resource information. The second power device node resource information may characterize a correspondence between the power device node and the namespace. For example, the second power device node resource information may include: the correspondence between "power equipment node a and" a namespace "and the correspondence between" power equipment node B and "B namespace".
Optionally, in response to receiving the namespace establishment instruction, an alternative device node information set is determined according to the second power device node resource information.
In some embodiments, the executing entity may determine the set of candidate device node information from the second power device node resource information in response to receiving a namespace establishment instruction. The namespace-establishing instruction may be an instruction to establish a power device node corresponding to at least one namespace. The alternative device node information in the alternative device node information set may be power device node information referred to in the second power device node resource information. The "power device node information field" may be screened from the second power device node resource information to generate an alternative device node information set.
Optionally, an internal network of the candidate power equipment node corresponding to each candidate equipment node information in the candidate equipment node information set is constructed.
In some embodiments, the execution body may construct an internal network of the candidate power device node corresponding to each candidate device node information in the candidate device node information set. The internal network of candidate power device nodes may be a network of containers between respective containers in the candidate power device node's corresponding pod. And building an internal network of the alternative power equipment node corresponding to each alternative equipment node information in the alternative equipment node information set through building a plug-in through a relevant internal network.
Optionally, in response to determining that the internal network establishment of each candidate power device node is completed, a second set of power device node information is determined according to the second device network connection resource information described above.
In some embodiments, the executing entity may determine the second power device node information set according to the second device network connection resource information in response to determining that the internal network establishment of each candidate power device node is completed. Wherein the second power device node information set is a subset of the candidate device node information set. The second power device node information in the second power device node information set may be power device node information to be connected by a power device node network. And the information associated with the power equipment node field can be screened out from the second equipment network connection resource information to obtain a second power equipment node information set.
Optionally, a network connection between the respective power equipment nodes corresponding to the second power equipment node information set is established.
In some embodiments, the executing entity may establish a network connection between respective power device nodes corresponding to the second power device node information set.
Optionally, in response to receiving a network connection adjustment instruction for the power equipment node information set, the respective network connection mode information and the network connection adjustment information are acquired.
In some embodiments, the executing entity may obtain the respective network connection mode information and the network connection adjustment information in response to receiving a network connection adjustment instruction for the power device node information set. The network connection adjustment instruction may be an instruction to adjust a network connection between the power device nodes. The network connection adjustment information may include: the network connection is transformed to each power equipment node information and the transformed information of each power equipment node.
Optionally, information adjustment is performed on network connection mode information corresponding to the network connection adjustment information in the network connection mode information to generate first adjustment network connection mode information, so as to obtain a first adjustment network connection mode information set.
In some embodiments, the executing body may perform information adjustment on network connection mode information corresponding to the network connection adjustment information in the respective network connection mode information to generate first adjusted network connection mode information, so as to obtain a first adjusted network connection mode information set. The first network connection mode adjustment information may represent a network connection condition adjusted by the corresponding power equipment node. The network connection mode information corresponding to the network connection adjustment information may be network connection mode information corresponding to a power equipment node to which the network connection adjustment information relates.
Optionally, according to the first network connection mode adjustment information set, performing a network adjustment operation of the power equipment node.
In some embodiments, the executing body may execute the power device node network adjustment operation according to the first adjustment network connection mode information set. The network among the corresponding power equipment nodes can be adjusted by utilizing the open-source calico network plug-in and the gateway network plug-in according to the first adjustment network connection mode information set.
Optionally, in response to receiving an association adjustment instruction corresponding to the device node namespace information set and the node information set, obtaining association adjustment information.
In some embodiments, the executing entity may obtain the association adjustment information in response to receiving an association adjustment instruction corresponding to the device node namespace information set and the node information set. The association relationship between the equipment node naming space information set and the node information set can be the association relationship between the power equipment node and the naming space, wherein the association relationship represents the power equipment node resource information. The association adjustment instruction may be an instruction to adjust an association between the power device node and the namespace. The association adjustment information may characterize adjustment information between the power device node and the namespace.
Optionally, at least one piece of network connection information corresponding to the association relation adjustment information in the network connection information set is adjusted to obtain at least one piece of adjustment network connection information.
In some embodiments, the executing body may adjust at least one network connection information corresponding to the association adjustment information in the network connection information set to obtain at least one adjusted network connection information. The at least one network connection information associated with the above-mentioned association adjustment information may be at least one network connection information to which the association adjustment information relates to the device node namespace information correspondence.
Optionally, according to the at least one adjustment network connection information, an association adjustment operation is performed.
In some embodiments, the executing body may execute the association adjustment operation according to the at least one adjustment network connection information. And the correlation adjustment of the correlation adjustment information can be performed according to the at least one adjustment network connection information by using an open-source calico network plug-in and a gateway network plug-in.
The above-mentioned related matters serve as an invention point of the embodiments of the present disclosure, and solve the second technical problem mentioned in the background art, namely "uneven allocation of network resources. Factors that cause maldistribution of network resources tend to be as follows: the network configuration of the power equipment nodes is realized by using the CNI plug-in, and the network connection relation among the power equipment nodes is difficult to adjust. If the above factors are solved, the effect of uniformly scheduling network resources can be achieved. To achieve this, first, the respective network connection mode information and network connection adjustment information described above are acquired in response to receiving a network connection adjustment instruction for the above-described power equipment node information set. Thereby facilitating adjustment of the network connection between the individual power equipment nodes. And then, carrying out information adjustment on the network connection mode information corresponding to the network connection adjustment information in the network connection mode information so as to generate first adjustment network connection mode information and obtain a first adjustment network connection mode information set. And finally, executing the network adjustment operation of the power equipment node according to the first network connection mode adjustment information set. Thereby, the network connection between the individual power equipment nodes can be adjusted in real time. Thus, network resources can be uniformly scheduled.
With further reference to fig. 2, as an implementation of the method shown in the above figures, the present disclosure provides some embodiments of a power equipment node communication connection device, which correspond to those method embodiments shown in fig. 1, which may be particularly applicable in various electronic devices.
As shown in fig. 2, the power device node communication connection apparatus 200 of some embodiments includes: an acquisition unit 201, a first determination unit 202, a second determination unit 203, a creation unit 204, and a creation unit 205. Wherein, the obtaining unit 201 is configured to obtain preconfigured first device network connection resource information; a first determining unit 202 configured to determine a power device node information set corresponding to the first device network connection resource information in response to receiving a power device node network connection event corresponding to the first device network connection resource information; a second determining unit 203, configured to determine a node space information group corresponding to each power equipment node information in the power equipment node information set, to obtain a node space information group set, where the power equipment node information in the power equipment node information set corresponds to one power equipment node; a creation unit 204 configured to create, for each node space information in the node space information group, network connection mode information corresponding to the node space information; and a setting unit 205 configured to set up network connections between the power equipment nodes corresponding to the power equipment node information sets according to the created network connection mode information.
It will be appreciated that the elements described in the power equipment node communication connection 200 correspond to the various steps in the method described with reference to fig. 1. Thus, the operations, features and advantages described above with respect to the method are equally applicable to the power equipment node communication connection device 200 and the units contained therein, and are not described here again.
Referring now to fig. 3, a schematic diagram of an electronic device 300 (e.g., a computing device) suitable for use in implementing some embodiments of the present disclosure is shown. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), car terminals (e.g., car navigation terminals), and the like, as well as stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 3, the electronic device 300 may include a processing means 301 (e.g., a central processing unit, a graphics processor, etc.) that may perform various suitable actions and processes in accordance with a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
In general, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 308 including, for example, magnetic tape, hard disk, etc.; and communication means 309. The communication means 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 shows an electronic device 300 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 3 may represent one device or a plurality of devices as needed.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via communications device 309, or from storage device 308, or from ROM 302. The above-described functions defined in the methods of some embodiments of the present disclosure are performed when the computer program is executed by the processing means 301.
It should be noted that, the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (Hyper Text Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring preconfigured network connection resource information of first equipment; determining a power equipment node information set corresponding to the first equipment network connection resource information in response to receiving a power equipment node network connection event corresponding to the first equipment network connection resource information; determining a node space information group corresponding to each piece of power equipment node information in the power equipment node information set to obtain a node space information group set, wherein the power equipment node information in the power equipment node information set corresponds to one power equipment node; for each node space information in the node space information group, creating network connection mode information corresponding to the node space information; and establishing network connection among the power equipment nodes corresponding to the power equipment node information set according to the established network connection mode information.
Computer program code for carrying out operations for some embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor comprising: the device comprises an acquisition unit, a first determination unit, a second determination unit, a creation unit and a establishment unit. The names of these units do not limit the unit itself in some cases, and for example, the establishing unit may also be described as "a unit that establishes network connections between respective power device nodes corresponding to the above-described power device node information set" according to the created respective network connection manner information.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above technical features, but encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the spirit of the invention. Such as the above-described features, are mutually substituted with (but not limited to) the features having similar functions disclosed in the embodiments of the present disclosure.

Claims (5)

1. A method of power equipment node communication connection, comprising:
acquiring preconfigured first equipment network connection resource information, wherein the first network connection custom resource information is custom resources of specific data structures aiming at a plurality of power equipment nodes, the custom resources define node information needing network connection among the power equipment nodes, the node information is information representing areas corresponding to the power equipment nodes, and at least one corresponding node space is used for isolating different power equipment nodes;
determining a power equipment node information set corresponding to the first equipment network connection resource information in response to receiving a power equipment node network connection event corresponding to the first equipment network connection resource information;
determining a node space information group corresponding to each piece of power equipment node information in the power equipment node information set to obtain a node space information group set, wherein the power equipment node information in the power equipment node information set corresponds to one power equipment node;
for each node space information in the node space information group, creating network connection mode information corresponding to the node space information;
According to the created information of each network connection mode, establishing network connection among each power equipment node corresponding to the power equipment node information set;
acquiring pre-configured power equipment node resource information;
in response to receiving node definition information corresponding to the power equipment node resource information, determining an equipment node naming space information set and a node information set corresponding to the power equipment node resource information;
determining network connection information corresponding to each device node namespace information in the device node namespace information set to obtain a network connection information set;
establishing a connection relationship between the equipment node naming space information set and the node information set according to the network connection information set;
acquiring preconfigured second equipment network connection resource information and second power equipment node resource information;
responsive to receiving a namespace creation instruction, determining an alternative device node information set from the second power device node resource information;
constructing an internal network of an alternative power equipment node corresponding to each alternative equipment node information in the alternative equipment node information set;
Determining a second power device node information set according to the second device network connection resource information in response to determining that the internal network establishment of each alternative power device node is completed, wherein the second power device node information set is a subset of the alternative device node information set;
establishing network connection among the power equipment nodes corresponding to the second power equipment node information set;
acquiring the network connection mode information and the network connection adjustment information of each network in response to receiving a network connection adjustment instruction for the power equipment node information set;
information adjustment is carried out on network connection mode information corresponding to the network connection adjustment information in the network connection mode information so as to generate first adjustment network connection mode information, and a first adjustment network connection mode information set is obtained;
according to the first network connection mode information set, performing network adjustment operation of the power equipment nodes;
acquiring association relation adjustment information in response to receiving an association relation adjustment instruction corresponding to the equipment node naming space information set and the node information set;
adjusting at least one piece of network connection information which corresponds to the association relation adjustment information and is in the network connection information set to obtain at least one piece of adjustment network connection information;
And executing the association relation adjustment operation according to the at least one adjustment network connection information.
2. The method of claim 1, wherein the determining a node space information group corresponding to each power device node information in the set of power device node information comprises:
and determining a node space information group corresponding to each piece of power equipment node information in the power equipment node information set by using a node space selector.
3. A power equipment node communication connection device, comprising:
an acquisition unit configured to acquire preconfigured first device network connection resource information;
a first determining unit configured to determine a power device node information set corresponding to the first device network connection resource information in response to receiving a power device node network connection event corresponding to the first device network connection resource information;
a second determining unit configured to determine a node space information group corresponding to each power equipment node information in the power equipment node information set, to obtain a node space information group set, where the power equipment node information in the power equipment node information set corresponds to one power equipment node;
A creation unit configured to create, for each node space information in the node space information group, network connection mode information corresponding to the node space information;
the establishing unit is configured to establish network connection among the power equipment nodes corresponding to the power equipment node information set according to the established network connection mode information;
a second acquisition unit configured to acquire pre-configured power equipment node resource information;
a third determining unit configured to determine a device node namespace information set and a node information set corresponding to the power device node resource information in response to receiving node definition information corresponding to the power device node resource information;
a fourth determining unit configured to determine network connection information corresponding to each device node namespace information in the device node namespace information set, to obtain a network connection information set;
a second establishing unit configured to establish a connection relationship between the device node namespace information set and the node information set according to the network connection information set;
a third acquisition unit configured to acquire preconfigured second device network connection resource information and second power device node resource information;
A fifth determining unit configured to determine, in response to receiving a namespace establishment instruction, an alternative device node information set from the second power device node resource information;
a construction unit configured to construct an internal network of an alternative power device node corresponding to each alternative device node information in the alternative device node information set;
a sixth determining unit configured to determine a second power device node information set according to the second device network connection resource information in response to determining that the internal network establishment of each candidate power device node is completed, wherein the second power device node information set is a subset of the candidate device node information set;
a third establishing unit configured to establish network connections between respective power equipment nodes corresponding to the second power equipment node information set;
a fourth obtaining unit configured to obtain the respective network connection mode information and network connection adjustment information in response to receiving a network connection adjustment instruction for the power equipment node information set;
the first adjusting unit is configured to perform information adjustment on the network connection mode information corresponding to the network connection adjustment information in the network connection mode information so as to generate first adjustment network connection mode information and obtain a first adjustment network connection mode information set;
The first execution unit is configured to execute the network adjustment operation of the power equipment node according to the first network connection mode adjustment information set;
a fifth obtaining unit configured to obtain association relation adjustment information in response to receiving an association relation adjustment instruction between the corresponding device node namespace information set and the node information set;
the second adjusting unit is configured to adjust at least one piece of network connection information corresponding to the association relation adjusting information in the network connection information set to obtain at least one piece of adjusted network connection information;
and the second execution unit is configured to execute the association relation adjustment operation according to the at least one adjustment network connection information.
4. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-2.
5. A computer readable medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the method of any of claims 1-2.
CN202310547949.2A 2023-05-16 2023-05-16 Power equipment node communication connection method, device, equipment and computer medium Active CN116319322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310547949.2A CN116319322B (en) 2023-05-16 2023-05-16 Power equipment node communication connection method, device, equipment and computer medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310547949.2A CN116319322B (en) 2023-05-16 2023-05-16 Power equipment node communication connection method, device, equipment and computer medium

Publications (2)

Publication Number Publication Date
CN116319322A CN116319322A (en) 2023-06-23
CN116319322B true CN116319322B (en) 2023-09-12

Family

ID=86799881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310547949.2A Active CN116319322B (en) 2023-05-16 2023-05-16 Power equipment node communication connection method, device, equipment and computer medium

Country Status (1)

Country Link
CN (1) CN116319322B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114172802A (en) * 2021-12-01 2022-03-11 百果园技术(新加坡)有限公司 Container network configuration method and device, computing node, main node and storage medium
WO2022105589A1 (en) * 2020-11-20 2022-05-27 上海连尚网络科技有限公司 Resource scheduling method and apparatus, electronic device and computer readable medium
CN115379010A (en) * 2022-08-15 2022-11-22 杭州安恒信息技术股份有限公司 Container network construction method, device, equipment and storage medium
CN115766189A (en) * 2022-11-10 2023-03-07 贵州电网有限责任公司 Multi-channel isolation safety protection method and system
WO2023046026A1 (en) * 2021-09-27 2023-03-30 华为技术有限公司 Containerized vnf deployment method and apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11558426B2 (en) * 2020-07-29 2023-01-17 Vmware, Inc. Connection tracking for container cluster
CN115086166B (en) * 2022-05-19 2024-03-08 阿里巴巴(中国)有限公司 Computing system, container network configuration method, and storage medium
CN115879329A (en) * 2023-02-28 2023-03-31 中电运行(北京)信息技术有限公司 Multi-target field synchronization method and system for power network safety simulation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022105589A1 (en) * 2020-11-20 2022-05-27 上海连尚网络科技有限公司 Resource scheduling method and apparatus, electronic device and computer readable medium
WO2023046026A1 (en) * 2021-09-27 2023-03-30 华为技术有限公司 Containerized vnf deployment method and apparatus
CN114172802A (en) * 2021-12-01 2022-03-11 百果园技术(新加坡)有限公司 Container network configuration method and device, computing node, main node and storage medium
CN115379010A (en) * 2022-08-15 2022-11-22 杭州安恒信息技术股份有限公司 Container network construction method, device, equipment and storage medium
CN115766189A (en) * 2022-11-10 2023-03-07 贵州电网有限责任公司 Multi-channel isolation safety protection method and system

Also Published As

Publication number Publication date
CN116319322A (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN111581291A (en) Data processing method and device, electronic equipment and readable medium
CN110909521B (en) Online document information synchronous processing method and device and electronic equipment
CN110753089A (en) Method, device, medium and electronic equipment for managing client
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN111309304B (en) Method, device, medium and electronic equipment for generating IDL file
CN111596992A (en) Navigation bar display method and device and electronic equipment
CN116302271A (en) Page display method and device and electronic equipment
CN116319322B (en) Power equipment node communication connection method, device, equipment and computer medium
CN115022106B (en) Group information processing method, device, equipment and medium
CN111756833B (en) Node processing method, node processing device, electronic equipment and computer readable medium
CN112257039B (en) Identity attribute adding method and device and electronic equipment
CN111538717B (en) Data processing method, device, electronic equipment and computer readable medium
CN113127550A (en) Information processing method, information processing device, electronic equipment and storage medium
CN113792869A (en) Video processing method and device based on neural network chip and electronic equipment
CN111580890A (en) Method, apparatus, electronic device, and computer-readable medium for processing features
CN113472565B (en) Method, apparatus, device and computer readable medium for expanding server function
CN116599846A (en) Inter-tenant network connection method, inter-tenant network connection device, electronic equipment and computer readable medium
CN112883697B (en) Workflow form generation method, device, electronic equipment and computer readable medium
CN116755889B (en) Data acceleration method, device and equipment applied to server cluster data interaction
CN114697206B (en) Method, device, equipment and computer readable medium for managing nodes of Internet of things
CN111314457B (en) Method and device for setting virtual private cloud
CN113157365B (en) Program running method, program running device, electronic equipment and computer readable medium
CN112507676B (en) Method and device for generating energy report, electronic equipment and computer readable medium
CN111581305B (en) Feature processing method, device, electronic equipment and medium
CN112883697A (en) Workflow list generation method and device, electronic equipment and computer readable medium

Legal Events

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