CN114760265A - Method, device, equipment and storage medium for generating IPv6 address of power sensing network - Google Patents

Method, device, equipment and storage medium for generating IPv6 address of power sensing network Download PDF

Info

Publication number
CN114760265A
CN114760265A CN202210431865.8A CN202210431865A CN114760265A CN 114760265 A CN114760265 A CN 114760265A CN 202210431865 A CN202210431865 A CN 202210431865A CN 114760265 A CN114760265 A CN 114760265A
Authority
CN
China
Prior art keywords
ipv6
address
sensing
network
identifier
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.)
Pending
Application number
CN202210431865.8A
Other languages
Chinese (zh)
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 Smart Grid Research Institute Co ltd
Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd
State Grid Corp of China SGCC
State Grid Chongqing Electric Power Co Ltd
State Grid Jibei Electric Power Co Ltd
Information and Telecommunication Branch of State Grid Jibei Electric Power Co Ltd
Original Assignee
State Grid Smart Grid Research Institute Co ltd
Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd
State Grid Corp of China SGCC
State Grid Chongqing Electric Power Co Ltd
State Grid Jibei Electric Power Co Ltd
Information and Telecommunication Branch of State Grid Jibei Electric Power 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 Smart Grid Research Institute Co ltd, Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd, State Grid Corp of China SGCC, State Grid Chongqing Electric Power Co Ltd, State Grid Jibei Electric Power Co Ltd, Information and Telecommunication Branch of State Grid Jibei Electric Power Co Ltd filed Critical State Grid Smart Grid Research Institute Co ltd
Priority to CN202210431865.8A priority Critical patent/CN114760265A/en
Publication of CN114760265A publication Critical patent/CN114760265A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/106Mapping addresses of different types across networks, e.g. mapping telephone numbers to data network addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for generating an IPv6 address of a power sensing network. The method comprises the following steps: the IPv6 identifies that the management and control equipment acquires IPv6 registration request information sent by the sensing equipment and preset IPv6 identification header information of the power sensing network; analyzing the unique attribute information of the sensing equipment from the IPv6 registration request information, and carrying out coding operation on the unique attribute information to generate sensing equipment identification information; splicing preset IPv6 identification header information and identification information of the sensing equipment to generate an IPv6 identification of the sensing equipment; sending the IPv6 identifier to the power sensing network gateway; the power sensing network gateway identifies IPv6 as an IPv6 address of the sensing equipment to an external network; and carrying out data communication between the external network and the perception device based on the IPv6 address. By implementing the method, the sensing equipment which does not support the IPv6 protocol is endowed with the unique IPv6 identifier, the extension of an external network to the power sensing network is realized, and the high compatibility intercommunication between the power sensing network and the external network is realized through the IPv6 identifier.

Description

Method, device, equipment and storage medium for generating IPv6 address of power sensing network
Technical Field
The invention relates to the technical field of information communication of the Internet of things, in particular to a method, a device, equipment and a storage medium for generating an IPv6 address of a power sensing network.
Background
The IPv6 identifier is an important link for application and deployment of internet technology as a general network identifier system, and is widely applied to various communication networks. However, network devices in the power sensor network are limited in energy consumption, transmission calculation and the like, an IP protocol is relatively complex, the power sensor network cannot support the IP protocol generally, and sensing devices of the power sensor network do not have IPv6 addresses, which causes the problems that the power sensor network is relatively split from an external network and is not easy to control. The power internet of things has massive sensing equipment, IPv6 address resources are abundant, and under the scene of the power internet of things, if the barrier between the power sensing network and an upper layer IP network (external network) can be opened, the method has important significance for realizing high compatibility and intercommunication between the power sensing network and the external network. Therefore, how to give the IPv6 address as a global unique identifier to the sensing device in each power sensing network to support the power sensing network to be compatible and interwork with the external network is a technical problem to be solved urgently.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for generating an IPv6 address of a power sensor network, so as to solve a problem that it is difficult to assign a global unique identifier to a sensing device in each power sensor network in a power internet of things scenario, so that it is difficult to implement high compatibility and interworking between the power sensor network and an external network.
According to a first aspect, an embodiment of the present invention provides a method for generating an IPv6 address of a power sensor network, where the method is used for IPv6 identifier management and control equipment, and includes: acquiring IPv6 registration request information sent by sensing equipment to be allocated with an IPv6 identifier and preset IPv6 identifier header information of a power sensing network where the sensing equipment is located, wherein the sensing equipment to be allocated with the IPv6 identifier is sensing equipment which is accessed for the first time and does not support an IPv6 protocol; analyzing the unique attribute information corresponding to the sensing equipment in the IPv6 registration request information, and carrying out coding operation on the unique attribute information to generate sensing equipment identification information; splicing the preset IPv6 identifier header information with the identification information of the sensing equipment to generate an IPv6 identifier corresponding to the sensing equipment; and sending the IPv6 identifier to a power sensor network gateway so that the power sensor network gateway determines the IPv6 identifier as an IPv6 address of the sensing device corresponding to an external network.
According to the method for generating the IPv6 address of the power sensing network, the unique attribute information of the sensing equipment is encoded and operated to generate the globally unique IPv6 identifier, the IPv6 identifier is used as the management and control identifier and the network communication identifier of the sensing equipment, and the uniqueness of the IPv6 identifier of the sensing equipment is guaranteed by combining the unique attribute information. The IPv6 identifier of the sensing equipment is used as an IPv6 address of the sensing equipment corresponding to an external network, namely the IPv6 identifier of the sensing equipment points to the power sensing network gateway, so that the further extension of the external network to the power sensing network which does not support the IPv6 protocol is realized, a unique IPv6 identifier can be given to the sensing equipment which does not support the IPv6 protocol, and the power sensing network is supported by the IPv6 identifier and is in high compatibility and intercommunication with the external network.
With reference to the first aspect, in a first implementation manner of the first aspect, the method further includes: updating a first address mapping table stored by the IPv6 identity management and control device based on the IPv6 identity; the first address mapping table is generated based on the IPv6 identifier and the communication address of the sensing device in the power sensing network, and the IPv6 identifier corresponds to the communication address of the sensing device in the power sensing network in a one-to-one mode.
According to the method for generating the IPv6 address of the power sensing network, provided by the embodiment of the invention, the first address mapping table stored by the IPv6 identification management and control equipment is updated through the IPv6 identification, so that the real-time updating of the first address mapping table is realized, and the information intercommunication between the sensing equipment in the power sensing network and an external network is facilitated.
According to a second aspect, an embodiment of the present invention provides a method for generating an IPv6 address of a power sensor network, where the method is used for a power sensor network gateway, and includes: receiving an IPv6 identifier which is sent by an IPv6 identifier management and control device and corresponds to a perception device; determining the IPv6 identity as an IPv6 address of the perceiving device corresponding to an external network; and carrying out data communication between the external network and the perception device based on the IPv6 address.
According to the method for generating the IPv6 address of the power sensing network, provided by the embodiment of the invention, the IPv6 identifier of the sensing equipment is used as the IPv6 address of the sensing equipment, which corresponds to an external network, so that the method is beneficial to the refined management and control of network and power service. The IPv6 identifier of the sensing equipment points to the gateway of the power sensing network, the IPv6 address is endowed to the sensing equipment which does not support the IPv6 protocol, and the data intercommunication between the sensing equipment and an external network in the power sensing network is realized through the IPv6 identifier, so that the high compatibility and intercommunication between the power sensing network and the external network can be supported.
With reference to the second aspect, in a first embodiment of the second aspect, the method further includes: updating a second address map corresponding to the perceiving device based on the IPv6 identification, the second address map being consistent with the first address map.
According to the method for generating the IPv6 address of the power sensing network, provided by the embodiment of the invention, the second address mapping table stored in the gateway of the power sensing network is updated through the IPv6 identifier, so that the real-time updating of the second address mapping table is realized, the sensing equipment in the power sensing network is convenient to perform real-time information intercommunication with an external network, the error transmission of data information is avoided, and the accuracy of the data intercommunication between the sensing equipment and the external network is improved.
With reference to the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the performing data communication between an external network and the sensing device based on the IPv6 address includes: acquiring a data packet transmitted to the sensing equipment by the external network; analyzing the data packet to obtain a target IPv6 address and data information carried by the data packet; converting the destination IPv6 address into a communication address of the perception device in the power sensing network based on a second address mapping table; and encapsulating a first target data packet based on the data information and the communication address, and sending the first target data packet to the perception device corresponding to the communication address.
With reference to the first implementation manner of the second aspect, in a third implementation manner of the second aspect, the performing, based on the IPv6 address, data communication between an external network and the sensing device further includes: acquiring a data packet transmitted to the external network by the perception device; analyzing the data packet to obtain a communication address, data information and a destination address carried by the data packet; converting the communication address to an IPv6 address of the perceiving device corresponding to an external network based on the second address mapping table; and taking the IPv6 address as a source address, encapsulating the data information, the source address and the destination address into a second target data packet, and sending the second target data packet to external network equipment corresponding to the destination address.
According to the method for generating the IPv6 address of the power sensing network, provided by the embodiment of the invention, the IPv6 identifier and the power sensing network address are mapped and converted at the gateway of the power sensing network, so that the extension of an external network IPv6 protocol to the power sensing network which does not support the IPv6 protocol is realized, the compatibility between the external network and the power sensing network is improved, and the effective intercommunication of data between the external network and sensing equipment is ensured.
According to a third aspect, an embodiment of the present invention provides an apparatus for generating an IPv6 address of a power sensing network, where the apparatus is used for IPv6 identifier management and control equipment, and the apparatus includes: the first obtaining module is used for obtaining IPv6 registration request information sent by sensing equipment to be allocated with an IPv6 identifier and preset IPv6 identifier header information of a power sensing network where the sensing equipment is located, wherein the sensing equipment to be allocated with the IPv6 identifier is sensing equipment which is accessed for the first time and does not support an IPv6 protocol; the generating module is used for analyzing the unique attribute information corresponding to the sensing equipment in the IPv6 registration request information, carrying out coding operation on the unique attribute information and generating sensing equipment identification information; the splicing module is used for splicing the preset IPv6 identification header information with the sensing equipment identification information to generate an IPv6 identification corresponding to the sensing equipment; the sending module is used for sending the IPv6 identifier to the power sensing network gateway so that the power sensing network gateway determines the IPv6 identifier as an IPv6 address of the sensing device, wherein the IPv6 address corresponds to an external network.
According to a fourth aspect, an embodiment of the present invention provides an apparatus for generating an IPv6 address of a power sensor network, where the apparatus is used for a power sensor network gateway, and includes: the receiving module is used for receiving an IPv6 identifier which is sent by the IPv6 identifier management and control device and corresponds to the perception device; a determination module for determining the IPv6 identity as the IPv6 address of the perceiving device corresponding to an external network; and the communication module is used for carrying out data communication between an external network and the perception equipment based on the IPv6 address.
According to a fifth aspect, embodiments of the present invention provide an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing therein computer instructions, and the processor executing the computer instructions to perform the method for extending the IPv6 address of the power sensing network according to the first aspect or the first embodiment of the first aspect, or to perform the method for generating the IPv6 address of the power sensing network according to any one of the second aspect or the second embodiment of the second aspect.
According to a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions for causing a computer to execute the method for extending an IPv6 address of a power sensing network according to the first aspect or the first embodiment of the first aspect, or execute the method for generating an IPv6 address of a power sensing network according to any one of the second aspect or the second embodiment of the second aspect.
It should be noted that, for the corresponding beneficial effects of the apparatus for generating an IPv6 address of an electrical power sensing network, the electronic device, and the computer-readable storage medium provided in the embodiment of the present invention, please refer to the description of corresponding contents in the method for generating an IPv6 address of an electrical power sensing network, and details are not repeated here.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for generating an IPv6 address of a power sensing network according to an embodiment of the present invention;
fig. 2 is another flowchart of a method for generating an IPv6 address of a power sensing network according to an embodiment of the present invention;
fig. 3 is another flowchart of a method for generating an IPv6 address of the power sensing network according to an embodiment of the present invention;
fig. 4 is still another flowchart of a method for generating an IPv6 address of the power sensing network according to the embodiment of the present invention;
fig. 5 is a flowchart of a method for generating an IPv6 address of a power sensing network according to a preferred embodiment of the present invention;
FIG. 6 is a diagram illustrating an encoding structure identified by IPv6 according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a power sensing network structure based on IPv6 identification according to an embodiment of the invention;
Fig. 8 is a block diagram showing a configuration of an apparatus for generating an IPv6 address of a power sensor network according to an embodiment of the present invention;
fig. 9 is a block diagram of a configuration of a power sensor network IPv6 address generation apparatus according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
According to an embodiment of the present invention, there is provided an embodiment of a method for generating an IPv6 address for a power sensing network, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
In this embodiment, a method for generating an IPv6 address of an electric power sensing network is provided, where the method is used for an IPv6 identifier management and control platform formed by an IPv6 identifier management and control device, such as a mobile phone, a tablet computer, and a computer, and fig. 1 is a flowchart of a method for generating an IPv6 address of an electric power sensing network according to an embodiment of the present invention, where as shown in fig. 1, the flowchart includes the following steps:
s11, acquiring IPv6 registration request information sent by the perception device to be allocated with the IPv6 identifier and preset IPv6 identifier header information of the power sensing network where the perception device is located.
The sensing equipment to be allocated with the IPv6 identifier is sensing equipment which is accessed for the first time and does not support an IPv6 protocol.
The IPv6 identifies that the management and control device determines whether the currently accessed sensing device which does not support the IPv6 protocol is accessed for the first time by detecting the information of the sensing device stored on the management and control device, and if the IPv6 identifies that the management and control device does not store the relevant information of the sensing device, the management and control device indicates that the sensing device is accessed for the first time.
Sensing equipment which is accessed to the IPv6 identification management and control equipment for the first time and does not support an IPv6 protocol can send IPv6 registration request information to the IPv6 identification management and control equipment through a power sensing network gateway, wherein the IPv6 registration request information contains unique attribute information of the sensing equipment.
The preset IPv6 identification header information is preset bit information used for representing an IPv6 identification header, the preset IPv6 identification header information is determined by the electric power sensing network where the sensing equipment is located, and the IPv6 identification management and control equipment can acquire the IPv6 identification header information used for representing the electric power sensing network where the sensing equipment is located through the electric power sensing network gateway.
And S12, analyzing the unique attribute information corresponding to the sensing equipment in the IPv6 registration request information, and performing coding operation on the unique attribute information to generate sensing equipment identification information.
The unique attribute information of the sensing equipment is static attribute information used for representing the uniqueness of the sensing equipment, and the unique attribute information can reflect the identification information of the sensing equipment, namely the unique identification of the identity of the sensing equipment is carried out through the unique attribute information, and the uniqueness of the identity of the sensing equipment is identified.
Specifically, the unique attribute information may include static attribute information such as a hardware address, a factory identifier, a name, a size, and a form of the sensing device, and the unique attribute information is not specifically limited herein, and may be any static attribute information that can represent uniqueness of the sensing device.
The IPv6 identifies that after the management and control device receives the IPv6 registration request information, the management and control device analyzes the IPv6 registration request information, unique attribute information carried by the management and control device is analyzed, and the sensing device sending the IPv6 registration request information is identified through the unique attribute information. The IPv6 id management and control device may perform encoding operation on the unique attribute information by using a one-way encoding algorithm such as a hash algorithm, so as to generate a unique Nbits address, that is, sensing device id information, and identify the sensing device in the power sensing network by using the sensing device id information.
For example, the IPv6 id management and control device may perform unidirectional coding operation through the SHA-1 algorithm to obtain 160bits of information, and then extract continuous Nbits information from the 160bits of information as the sensing device id information. Of course, other unidirectional encoding algorithms may be used to determine the identification information of the sensing device, which is not specifically limited in this application and may be determined by those skilled in the art according to actual needs.
And S13, splicing the preset IPv6 identifier header information and the identification information of the sensing equipment to generate an IPv6 identifier corresponding to the sensing equipment.
The IPv6 identifier management and control device splices the preset IPv6 identifier header information with the identifier information of the sensing device to form an IPv6 identifier of the sensing device, that is, the IPv6 identifier management and control device can automatically allocate IPv6 identifiers to the sensing device accessing the IPv6 identifier management and control device.
As shown in fig. 6, an IPv6 identifier is usually 128bits, after acquiring unique static attribute information of a sensing device in an electric power sensing network, an IPv6 identifier management and control device performs unidirectional coding operation on the unique static attribute information to generate sensing device identifier information of N bits, and the sensing device identifier information of N bits is spliced with an IPv6 identifier header prefix of (128-N) bits preset by the electric power sensing network where the sensing device is located to form an IPv6 identifier of 128bits corresponding to the sensing device.
And S14, sending the IPv6 identifier to the power sensing network gateway, so that the power sensing network gateway determines the IPv6 identifier as an IPv6 address of the sensing device corresponding to the external network.
The power sensing network gateway can construct a virtual IPv6 power sensing network with sensing equipment facing to a top-layer network, IPv6 identification management and control equipment sends an IPv6 identification to the power sensing network gateway, the power sensing network gateway takes the IPv6 identification of the sensing equipment as an IPv6 address for data intercommunication between the sensing equipment and an external network, and the IPv6 address is a virtual IPv6 address.
According to the method for generating the IPv6 address of the power sensing network, the unique attribute information of the sensing equipment is subjected to encoding operation to generate a globally unique IPv6 identifier, the IPv6 identifier is used as a management and control identifier and a network communication identifier of the sensing equipment, and the uniqueness of the IPv6 identifier of the sensing equipment is guaranteed by combining the unique attribute information. The IPv6 identifier of the sensing equipment is used as an IPv6 address of the sensing equipment corresponding to an external network, namely the IPv6 identifier of the sensing equipment points to the power sensing network gateway, so that the further extension of the external network to the power sensing network which does not support the IPv6 protocol is realized, the sensing equipment which does not support the IPv6 protocol can be endowed with a unique IPv6 identifier, and the power sensing network is supported by the IPv6 identifier to be highly compatible and intercommunicated with the external network.
In this embodiment, a method for generating an IPv6 address of an electric power sensing network is provided, where the method is used for an IPv6 identification management and control platform formed by an IPv6 identification management and control device, such as a mobile phone, a tablet computer, and a computer, and fig. 2 is a flowchart of a method for generating an IPv6 address of an electric power sensing network according to an embodiment of the present invention, where, as shown in fig. 2, the flowchart includes the following steps:
s21, acquiring IPv6 registration request information sent by the perception device to be allocated with the IPv6 identifier and preset IPv6 identifier header information of the power sensing network where the perception device is located, wherein the perception device to be allocated with the IPv6 identifier is a perception device which is accessed for the first time and does not support the IPv6 protocol. For detailed description, reference is made to the corresponding related description of the above embodiments, and details are not repeated herein.
And S22, analyzing the unique attribute information corresponding to the sensing equipment in the IPv6 registration request information, and performing coding operation on the unique attribute information to generate sensing equipment identification information. For detailed description, reference is made to the corresponding related description of the above embodiments, and details are not repeated herein.
And S23, splicing the preset IPv6 identifier header information and the identification information of the sensing equipment to generate an IPv6 identifier corresponding to the sensing equipment. For detailed description, reference is made to the related description of the above embodiments, and details are not repeated herein.
And S24, updating a first address mapping table stored by the IPv6 identifier management and control device based on the IPv6 identifier, wherein the first address mapping table is generated based on the communication address of the IPv6 identifier and the sensing device in the power sensing network, and the IPv6 identifier is in one-to-one correspondence with the communication address of the sensing device in the power sensing network.
The communication address of the sensing device in the power sensing network is the power sensing network address corresponding to the sensing device, and the power sensing network addresses corresponding to different sensing devices are different. The communication address is the hardware address of the perceiving device, i.e. the perceiving device ID. The sensing equipment ID is in one-to-one correspondence with the IPv6 identifier thereof, and the first address mapping table is a mapping relation table between the sensing equipment ID and the IPv6 identifier. When a new sensing device is accessed or an IPv6 identifier of the sensing device is changed, the IPv6 identifier management and control device can update the first address mapping table to ensure a correspondence between the sensing device ID and the IPv6 identifier.
And S25, sending the IPv6 identifier to the power sensing network gateway, so that the power sensing network gateway determines the IPv6 identifier as an IPv6 address of the sensing device corresponding to the external network. For detailed description, reference is made to the corresponding related description of the above embodiments, and details are not repeated herein.
According to the method for generating the IPv6 address of the power sensor network, the first address mapping table stored in the IPv6 identifier management and control device is updated through the IPv6 identifier, so that the first address mapping table is updated in real time, and information intercommunication between the sensing device and the external network in the power sensor network is facilitated.
In this embodiment, a method for generating an IPv6 address of a power sensor network is provided, where the method is applicable to a gateway of the power sensor network, and fig. 3 is a flowchart of a method for generating an IPv6 address of the power sensor network according to an embodiment of the present invention, and as shown in fig. 3, the flowchart includes the following steps:
s31, an IPv6 identification which is sent by the IPv6 identification governing device and corresponds to the perception device is received.
After the IPv6 identifies that the management and control device completes allocation of the IPv6 identifier of the sensing device, the IPv6 identifies that the management and control device can send the IPv6 identifier of the sensing device to the power sensing network gateway. Correspondingly, the power sensing network gateway can receive the IPv6 identification, sent by the IPv6 identification management and control device, corresponding to the perception device.
And S32, determining the IPv6 identifier as the IPv6 address of the perception device corresponding to the external network.
The power sensor network gateway can construct a virtual IPv6 power sensor network facing an upper network (external network), that is, IPv6 identifiers of all sensing devices connected to the power sensor network gateway in the external network all point to the network location of the power sensor network gateway as IPv6 addresses.
And S33, performing data communication between the external network and the perception device based on the IPv6 address.
The communication between the sensing equipment and the power sensing network gateway supports a sensing network communication protocol, and the power sensing network gateway can identify the sensing equipment from which the communication data packet is sent or to which the communication data packet is sent through a communication address carried in the communication data packet. Because the power sensing network is limited in resources, the power sensing network cannot support an IPv6 protocol, the sensing device does not have an IPv6 address, but the resources of the power sensing network gateway and an upper network are not limited, the power sensing network gateway can support an IPv6 protocol, and each network device has a unique IPv6 address.
An IPv6 identifier mapping and converting program is deployed in the power sensing network gateway, and the conversion and encapsulation from the IPv6 address carried by the data packet to the power sensing network address are realized by combining a second address mapping table stored in the power sensing network gateway. Specifically, when the external network communicates with the sensing device in the power sensing network, the power sensing network gateway may perform communication protocol and address conversion on the data packet, and when a data packet arrives at the power sensing network gateway, the power sensing network gateway may perform encapsulation conversion on the data packet, and modify a destination address of the data packet according to the IPv6 address and the second address mapping table, so as to send the data packet to the destination address. If the data packet is sent to the sensing equipment by an external network, the destination address is the communication address of the sensing equipment; if the data packet is sent to the external network by the sensing device, the destination address is a network address of a certain node in the external network.
According to the method for generating the IPv6 address of the power sensing network, the IPv6 identifier of the sensing device is used as the IPv6 address of the sensing device, which corresponds to the external network, so that the method is beneficial to fine management and control of network and power services. The IPv6 identifier of the sensing equipment points to the gateway of the power sensing network, the IPv6 address is endowed to the sensing equipment which does not support the IPv6 protocol, and the data intercommunication between the sensing equipment and an external network in the power sensing network is realized through the IPv6 identifier, so that the high compatibility and intercommunication between the power sensing network and the external network can be supported.
In this embodiment, a method for generating an IPv6 address of a power sensor network is provided, where the method is used for a gateway of the power sensor network, and fig. 4 is a flowchart of the method for generating an IPv6 address of the power sensor network according to the embodiment of the present invention, and as shown in fig. 4, the flowchart includes the following steps:
s41, an IPv6 identification which is sent by the IPv6 identification governing device and corresponds to the perception device is received. For detailed description, reference is made to the corresponding related description of the above embodiments, and details are not repeated herein.
And S42, determining the IPv6 identifier as the IPv6 address of the perception device corresponding to the external network. For detailed description, reference is made to the corresponding related description of the above embodiments, and details are not repeated herein.
S43, updating a second address map corresponding to the perceiving device based on the IPv6 identification, the second address map being consistent with the first address map.
The second address mapping table is formed by an IPv6 identifier of a sensing device in the power sensing network and a power sensing network address (a hardware address of the sensing device), and the contents of the first address mapping table stored in the management and control device and the second address mapping table stored in the power sensing network gateway are kept in dynamic consistency by the IPv6 identifier of the second address mapping table. Since the IPv6 identifiers (IPv6 addresses) of all sensing devices in the power sensing network point to the power sensing network gateway, a mapping state of a globally unique IPv6 address is formed on an external network level.
After the power sensing network gateway receives the IPv6 identifier sent by the IPv6 identifier management and control device, the power sensing network gateway updates the second address mapping table stored in the power sensing network gateway according to the IPv6 identifier, so that the second address mapping table is consistent with the first address mapping table.
And S44, performing data communication between the external network and the perception device based on the IPv6 address.
Specifically, the step S44 may include:
and S441, acquiring a data packet transmitted to the sensing device by the external network.
The external network is an upper network of the power sensor network gateway, and when the device in the external network transmits a data packet to the sensing device in the power sensor network, the data packet can reach the power sensor network gateway according to a destination address (IPv6 address) carried by the data packet. Accordingly, the power sensor network gateway can receive data packets transmitted from devices in the external network to the sensing device.
S442, the data packet is analyzed to obtain the destination IPv6 address and the data information carried by the data packet.
The power sensor network gateway analyzes the data packet, and analyzes the data information carried in the data packet and a target IPv6 address from the data packet, wherein the target IPv6 address is an IPv6 address pointing to the power sensor network gateway. The parsing method of the data packet can be known by those skilled in the art according to the prior art, and is not described herein again.
And S443, converting the destination IPv6 address into a communication address of the sensing device in the power sensing network based on the second address mapping table.
The power sensing network gateway can determine the IPv6 identifier according to the destination IPv6 address, and then converts the destination IPv6 address of the data packet into the power sensing network address corresponding to the IPv6 identifier according to the second address mapping table, namely converts the destination IPv6 address into the communication address of the sensing device in the power sensing network.
And S444, encapsulating the first target data packet based on the data information and the communication address, and sending the first target data packet to the perception device corresponding to the communication address.
And the electric power sensing network gateway encapsulates the communication address, the data information and the source address carried by the data packet according to a communication protocol between the electric power sensing network gateway and the sensing equipment to obtain a re-encapsulated first target data packet, and transmits the first target data packet to the sensing equipment in the electric power sensing network according to the communication address.
The above process is explained here with an example:
the external network is supporting the IPv6 protocol, and the destination address of the packet is typically a 128-bit (16-byte) IPv6 address, such as: 2001:0db8:3c4d:0015:0000:0000:1a2f:1a2 b. What is usually adopted in the power sensing network is a sensing device ID, i.e. a hardware address of the sensing device, and the sensing device ID is usually 6 bytes, for example: 34356: f:32: 1783214.
The sensing device only has one sensing device ID as a communication address of the sensing device in the power sensing network, and the power sensing network gateway maintains a corresponding IPv6 address for each sensing device, namely the sensing device ID and the IPv6 address correspond to each other.
When an external network data packet reaches the power sensor network gateway, the power sensor network gateway extracts a target IPv6 address in an IPv6 packaging header of the data packet, queries a second address mapping table according to the target IPv6 address to find a corresponding power sensor network address (namely a sensing equipment ID), removes the packaging header of an IPv6 data packet, packages effective data information to be transmitted by the data packet by adding information such as the packet header and the like according to a message format required by a sensor network protocol, fills a sensing equipment ID corresponding to a target IPv6 address in the position of the target IPv6 address, thereby completing the repackaging of the data packet to obtain a first target data packet, and sends the first target data packet to corresponding sensing equipment in the power sensor network.
Specifically, the step S44 may further include:
s445, the data packet transmitted by the sensing device to the external network is obtained.
When the sensing device in the power sensing network transmits a data packet to a device in the external network, the sensing device preferably transmits the data packet to the power sensing network gateway. Accordingly, the power sensing network gateway can receive the data packet transmitted by the sensing device to the external network device.
And S446, analyzing the data packet to obtain a communication address, data information and a destination address carried by the data packet.
And the power sensing network gateway analyzes the data packet, and analyzes the data information carried in the data packet. And sensing the communication address of the device and the destination address, wherein the destination address is an IPv6 address pointing to the external network device. The parsing method of the data packet can be known by those skilled in the art according to the prior art, and is not described herein again.
S447, converting the communication address into an IPv6 address of the perceiving device corresponding to the external network based on the second address mapping table.
The power sensor network gateway can determine the IPv6 identifier corresponding to the communication address of the sensing device by querying the second address mapping table, that is, the sensing device corresponds to the IPv6 address of the external network.
S448, using the IPv6 address as a source address, encapsulating the data information, the source address, and the destination address into a second destination packet, and sending the second destination packet to an external network device corresponding to the destination address.
The power sensing network gateway performs IP encapsulation on data information according to an IPv6 communication protocol between the power sensing network gateway and an external network, and specifically, the power sensing network gateway removes packet header encapsulation contents of a data packet in the power sensing network, and adds IPv6 packet header encapsulation information according to the requirements of an IPv6 communication protocol, so that the data packet loads the requirements of an IPv6 transmission protocol rule, and transmission can be performed in the external network supporting the IPv6 protocol. The method comprises the steps of obtaining a packet header, inquiring an IPv6 address corresponding to sensing equipment and obtained by inquiring a second address mapping table, filling the IPv6 address as a source address into the packet header of a data packet, encapsulating the source address, data information and a destination address according to an IPv6 communication protocol to obtain an encapsulated second target data packet, and transmitting the second target data packet to external network equipment according to the destination address.
According to the method for generating the IPv6 address of the power sensor network, mapping and conversion between the IPv6 identifier and the power sensor network address are implemented at the gateway of the power sensor network, so that extension from the IPv6 protocol to the power sensor network that does not support the IPv6 protocol is implemented, compatibility between the external network and the power sensor network is improved, and effective intercommunication between the external network and the sensing device is ensured. The second address mapping table stored in the power sensing network gateway is updated through the IPv6 identifier, so that real-time updating of the second address mapping table is realized, real-time information intercommunication between sensing equipment in the power sensing network and an external network is facilitated, mistransmission of data information is avoided, and the accuracy of data intercommunication between the sensing equipment and the external network is improved.
In the present embodiment, a preferred method for generating an IPv6 address of a power sensing network is provided, and fig. 5 is a flowchart of a method for generating an IPv6 address of a power sensing network according to an embodiment of the present invention, as shown in fig. 5, where the flowchart includes the following steps:
s51, the sensing device to be allocated with the IPv6 identifier is firstly accessed to the IPv6 identifier management and control device, and IPv6 registration request information is sent to the IPv6 identifier management and control device through the power sensing network gateway. For detailed description, reference is made to the corresponding related description of the above embodiments, and details are not repeated herein.
S52, the IPv6 mark management and control device receives the IPv6 registration request information and obtains preset IPv6 mark header information of the electric power sensing network where the sensing device is located. For detailed description, reference is made to the corresponding related description of the above embodiments, and details are not repeated herein.
And S53, the IPv6 identifier management and control device analyzes the unique attribute information corresponding to the sensing device in the IPv6 registration request information, codes and operates the unique attribute information, and generates sensing device identifier information. For a detailed description, refer to the corresponding related description of the above embodiments, which is not repeated herein.
And S54, splicing the preset IPv6 identification header information and the identification information of the perception equipment by the IPv6 identification management and control equipment to generate an IPv6 identification corresponding to the perception equipment. For a detailed description, refer to the corresponding related description of the above embodiments, which is not repeated herein.
S55, the IPv6 identifier updating, by the identity management device, the first address mapping table stored in the IPv6 identifier management device based on the IPv6 identifier. For detailed description, reference is made to the corresponding related description of the above embodiments, and details are not repeated herein.
And S56, the IPv6 mark management and control equipment sends the IPv6 mark to the power sensing network gateway. For a detailed description, refer to the corresponding related description of the above embodiments, which is not repeated herein.
S57, the power sensor network gateway receives the IPv6 identifier which is sent by the IPv6 identifier management and control device and corresponds to the perception device, and determines the IPv6 identifier as the IPv6 address of the perception device corresponding to the external network. For a detailed description, refer to the corresponding related description of the above embodiments, which is not repeated herein.
S58, the power sensing network gateway updates a second address map corresponding to the aware device based on the IPv6 identification. For a detailed description, refer to the corresponding related description of the above embodiments, which is not repeated herein.
And S59, the power sensor network gateway performs data communication between the external network and the sensing equipment based on the IPv6 address. For a detailed description, refer to the corresponding related description of the above embodiments, which is not repeated herein.
Specifically, as shown in fig. 7, the sensing device is connected to an electric power sensing network gateway to implement connection and communication with an external network, where the electric power sensing network does not support an IPv6 protocol, the external network supports an IPv6 protocol, the electric power sensing network gateway implements communication interaction with an IPv6 identifier management platform through the external network, and the electric power sensing network gateway constructs a virtual IPv6 electric power sensing network facing the external network based on an IPv6 identifier and communication address (hardware address) mapping table of the sensing device in the electric power sensing device.
After the IPv6 identifier management and control device completes automatic allocation of the IPv6 identifier of the access sensing device, the IPv6 identifier management and control device and the power sensing network gateway update the mapping tables (i.e., the first address mapping table and the second address mapping table) for maintaining the IDs of the sensing device and the IPv6 identifiers of the sensing device. The power sensor network gateway identifies the IPv6 of the sensing device 1 in the external network as an IPv6 address, and points to the network location of the power sensor network gateway. When the information transmission of the perceiving device 1 is divided into two cases: 1) the external network transmits information to the sensing device. When the external network transmits a data packet to the sensing device in the power sensing network, the data packet can be transmitted to the power sensing network gateway by using a destination IPv6 address, wherein the destination IPv6 address serves as an IPv6 identifier of the sensing device 1, the power sensing network gateway converts the destination IPv6 address of the data packet into a sensing device ID corresponding to the IPv6 identifier according to the second address mapping table, and continues to transmit the data packet to the sensing device 1 according to the power sensing network communication protocol, thereby completing information transmission from the external network to the sensing device. 2) When the perceiving device 1 transmits information to the external network device. When the sensing device 1 transmits a data packet to an external network device, the sensing device 1 first transmits the data packet to the power sensor network gateway, the power sensor network gateway converts a source address of the data packet from a sensing device ID to a corresponding IPv6 address according to the second address mapping table, then performs IP encapsulation according to an IPv6 communication protocol, and transmits the data packet to the external network device according to an IPv6 communication protocol, thereby completing information transmission from the sensing device to the external network.
According to the method for generating the IPv6 address of the power sensing network, the unique attribute information of the sensing equipment is encoded and operated to generate the globally unique IPv6 identifier, the IPv6 identifier is used as the management and control identifier and the network communication identifier of the sensing equipment, and the uniqueness of the IPv6 identifier of the sensing equipment is guaranteed by combining the unique attribute information. By using the IPv6 identifier of the sensing equipment as the IPv6 address of the sensing equipment corresponding to the external network, the method is beneficial to the refined management and control of the network and the power service. The IPv6 identification of the sensing equipment points to the gateway of the power sensing network, the IPv6 address is endowed to the sensing equipment which does not support the IPv6 protocol, and the compatibility and the intercommunication between the sensing equipment and an external network in the power sensing network are realized through the IPv6 identification, so that the further extension of the external network to the power sensing network which does not support the IPv6 protocol is realized.
In this embodiment, a device for generating an IPv6 address of a power sensing network is also provided, where the device is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated after the description is given. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
The present embodiment provides an apparatus for generating an IPv6 address of a power sensing network, which is used for IPv6 to identify a management and control device, as shown in fig. 8, the apparatus includes:
the first obtaining module 61 is configured to obtain IPv6 registration request information sent by a sensing device to be assigned an IPv6 identifier and preset IPv6 identifier header information of an electric power sensing network in which the sensing device is located, where the sensing device to be assigned the IPv6 identifier is a sensing device that is not supported by the IPv6 protocol and is accessed for the first time. For detailed description, reference is made to the corresponding related description of the above method embodiments, and details are not repeated herein.
The generating module 62 is configured to analyze the unique attribute information corresponding to the sensing device in the IPv6 registration request information, perform encoding operation on the unique attribute information, and generate sensing device identification information. For detailed description, reference is made to the corresponding related description of the above method embodiments, and details are not repeated herein.
And the splicing module 63 is configured to splice the preset IPv6 identifier header information with the sensing device identifier information, and generate an IPv6 identifier corresponding to the sensing device. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
And the sending module 64 is configured to send the IPv6 identifier to the electric power sensor network gateway, so that the electric power sensor network gateway determines the IPv6 identifier as an IPv6 address of the sensing device corresponding to the external network. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
The generation apparatus of the IPv6 address of the power sensing network provided in this embodiment generates a globally unique IPv6 identifier by performing encoding operation on unique attribute information of a sensing device, uses the IPv6 identifier as a management control identifier and a network communication identifier of the sensing device, and guarantees uniqueness of the IPv6 identifier of the sensing device in combination with the unique attribute information. The IPv6 identifier of the sensing equipment is used as an IPv6 address of the sensing equipment corresponding to an external network, namely the IPv6 identifier of the sensing equipment points to the power sensing network gateway, so that the further extension of the external network to the power sensing network which does not support the IPv6 protocol is realized, the sensing equipment which does not support the IPv6 protocol can be endowed with a unique IPv6 identifier, and the power sensing network is supported by the IPv6 identifier to be highly compatible and intercommunicated with the external network.
The apparatus for generating IPv6 addresses in the present embodiment is in the form of functional units, where a unit refers to an ASIC circuit, a processor and a memory executing one or more software or fixed programs, and/or other devices that can provide the above-described functions.
Further functional descriptions of the modules are the same as those of the corresponding embodiments, and are not repeated herein.
The present embodiment further provides a device for generating an IPv6 address of a power sensor network, which is used for a power sensor network gateway, as shown in fig. 9, and includes:
the receiving module 71 is configured to receive an IPv6 identifier, which is sent by the IPv6 identifier governing device and corresponds to the perceiving device. For detailed description, reference is made to the corresponding related description of the above method embodiments, and details are not repeated herein.
A determining module 72 for determining the IPv6 identity as the IPv6 address of the perceiving device corresponding to the external network. For detailed description, reference is made to the corresponding related description of the above method embodiments, and details are not repeated herein.
And the communication module 73 is used for carrying out data communication between the external network and the perception device based on the IPv6 address. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
The device for generating the IPv6 address of the power sensing network provided in this embodiment is favorable to fine control of a network and a power service by using the IPv6 identifier of the sensing device as the IPv6 address of the sensing device corresponding to the external network. The IPv6 identifier of the sensing equipment points to the gateway of the power sensing network, the IPv6 address is endowed to the sensing equipment which does not support the IPv6 protocol, and the data intercommunication between the sensing equipment and an external network in the power sensing network is realized through the IPv6 identifier, so that the high compatibility and intercommunication between the power sensing network and the external network can be supported.
The apparatus for generating IPv6 addresses in the present embodiment is in the form of functional units, where a unit refers to an ASIC circuit, a processor and a memory executing one or more software or fixed programs, and/or other devices that can provide the above-described functions.
Further functional descriptions of the modules are the same as those of the corresponding embodiments, and are not repeated herein.
An embodiment of the present invention further provides an electronic device, where the electronic device may be an IPv6 identity management and control device, and may also be an electric power sensor network gateway, and the electronic device has a device for generating an IPv6 address of an electric power sensor network shown in fig. 8 or fig. 9.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an electronic device according to an alternative embodiment of the present invention, as shown in fig. 10, the electronic device may include: at least one processor 801, such as a CPU (Central Processing Unit), at least one communication interface 803, memory 804, at least one communication bus 802. Wherein a communication bus 802 is used to enable connective communication between these components. The communication interface 803 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 803 may also include a standard wired interface and a standard wireless interface. The Memory 804 may be a high-speed RAM (Random Access Memory) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 804 may optionally be at least one memory device located remotely from the processor 801 as previously described. Wherein the processor 801 may be in connection with the apparatus described in fig. 8 or fig. 9, the memory 804 stores an application program, and the processor 801 calls the program code stored in the memory 804 for performing any of the above method steps.
The communication bus 802 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industrial Standard Architecture (EISA) bus. The communication bus 802 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 10, but that does not indicate only one bus or one type of bus.
The memory 804 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (such as a flash memory), a hard disk (HDD) or a solid-state drive (SSD); the memory 804 may also include a combination of the above types of memory.
The processor 801 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP.
The processor 801 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Optionally, the memory 804 is also used for storing program instructions. The processor 801 may call program instructions to implement the method for generating an IPv6 address of the power sensing network shown in the embodiments of fig. 1 and fig. 2 of the present application, or implement the method for generating an IPv6 address of the power sensing network shown in the embodiments of fig. 3 and fig. 4 of the present application.
An embodiment of the present invention further provides a non-transitory computer storage medium, where the computer storage medium stores computer-executable instructions, and the computer-executable instructions may execute a processing method of the method for generating an IPv6 address of the power sensing network in any method embodiment described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk Drive (Hard Disk Drive, abbreviated as HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present 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 fall within the scope defined by the appended claims.

Claims (10)

1. A generation method of an IPv6 address of a power sensing network is used for IPv6 identification management and control equipment, and is characterized by comprising the following steps:
acquiring IPv6 registration request information sent by sensing equipment to be allocated with an IPv6 identifier and preset IPv6 identifier header information of a power sensing network where the sensing equipment is located, wherein the sensing equipment to be allocated with the IPv6 identifier is sensing equipment which is accessed for the first time and does not support an IPv6 protocol;
analyzing unique attribute information corresponding to the sensing equipment in the IPv6 registration request information, and performing coding operation on the unique attribute information to generate sensing equipment identification information;
splicing the preset IPv6 identification header information with the identification information of the sensing equipment to generate an IPv6 identification corresponding to the sensing equipment;
and sending the IPv6 identifier to a power sensing network gateway so that the power sensing network gateway determines the IPv6 identifier as an IPv6 address of the sensing device corresponding to an external network.
2. The method of claim 1, further comprising:
updating a first address mapping table stored by the IPv6 identity management and control device based on the IPv6 identity;
the first address mapping table is generated based on the IPv6 identifier and the communication address of the sensing device in the power sensing network, and the IPv6 identifier is in one-to-one correspondence with the communication address of the sensing device in the power sensing network.
3. A generation method of an IPv6 address of a power sensing network is used for a power sensing network gateway, and is characterized by comprising the following steps:
receiving an IPv6 identifier which is sent by an IPv6 identifier management and control device and corresponds to a perception device;
determining the IPv6 identification as an IPv6 address of the perceiving device corresponding to an external network;
and performing data communication between the external network and the perception device based on the IPv6 address.
4. The method of claim 3, further comprising:
updating a second address map corresponding to the perceiving device based on the IPv6 identification, the second address map being consistent with the first address map.
5. The method of claim 4, wherein the communicating data between the external network and the aware device based on the IPv6 address comprises:
acquiring a data packet transmitted to the sensing equipment by the external network;
analyzing the data packet to obtain a target IPv6 address and data information carried by the data packet;
converting the destination IPv6 address into a communication address of the perception device in the power sensing network based on the second address mapping table;
and encapsulating a first target data packet based on the data information and the communication address, and sending the first target data packet to the perception device corresponding to the communication address.
6. The method according to claim 4, wherein said communicating data between the external network and the perceiving device based on the IPv6 address further comprises:
acquiring a data packet transmitted to the external network by the perception device;
analyzing the data packet to obtain a communication address, data information and a destination address carried by the data packet;
converting the communication address to an IPv6 address of the perceiving device corresponding to an external network based on the second address mapping table;
and taking the IPv6 address as a source address, encapsulating the data information, the source address and the destination address into a second target data packet, and sending the second target data packet to external network equipment corresponding to the destination address.
7. An apparatus for generating an IPv6 address of a power sensing network, which is used for IPv6 to identify a management and control device, is characterized by comprising:
the first acquisition module is used for acquiring IPv6 registration request information sent by sensing equipment to be allocated with an IPv6 identifier and preset IPv6 identifier header information of a power sensing network where the sensing equipment is located, wherein the sensing equipment to be allocated with the IPv6 identifier is sensing equipment which is accessed for the first time and does not support an IPv6 protocol;
The generating module is used for analyzing the unique attribute information corresponding to the sensing equipment in the IPv6 registration request information, carrying out coding operation on the unique attribute information and generating sensing equipment identification information;
the splicing module is used for splicing the preset IPv6 identification header information with the sensing equipment identification information to generate an IPv6 identification corresponding to the sensing equipment;
and the sending module is used for sending the IPv6 identifier to the power sensor network gateway so that the power sensor network gateway determines the IPv6 identifier as an IPv6 address of the sensing equipment corresponding to an external network.
8. An apparatus for generating an IPv6 address of a power sensor network, used for a power sensor network gateway, comprising:
the receiving module is used for receiving an IPv6 identifier which is sent by the IPv6 identifier management and control device and corresponds to the perception device;
a determination module for determining the IPv6 identity as the IPv6 address of the perceiving device corresponding to an external network;
and the communication module is used for carrying out data communication between an external network and the perception equipment based on the IPv6 address.
9. An electronic device, comprising:
a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing therein computer instructions, the processor executing the computer instructions to perform the method for generating an IPv6 address of a power sensing network according to claim 1 or 2, or to perform the method for generating an IPv6 address of a power sensing network according to any one of claims 3 to 6.
10. A computer-readable storage medium characterized by storing computer instructions for causing a computer to execute the method for generating an IPv6 address of a power sensing network according to claim 1 or 2, or the method for generating an IPv6 address of a power sensing network according to any one of claims 3 to 6.
CN202210431865.8A 2022-04-22 2022-04-22 Method, device, equipment and storage medium for generating IPv6 address of power sensing network Pending CN114760265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210431865.8A CN114760265A (en) 2022-04-22 2022-04-22 Method, device, equipment and storage medium for generating IPv6 address of power sensing network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210431865.8A CN114760265A (en) 2022-04-22 2022-04-22 Method, device, equipment and storage medium for generating IPv6 address of power sensing network

Publications (1)

Publication Number Publication Date
CN114760265A true CN114760265A (en) 2022-07-15

Family

ID=82333383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210431865.8A Pending CN114760265A (en) 2022-04-22 2022-04-22 Method, device, equipment and storage medium for generating IPv6 address of power sensing network

Country Status (1)

Country Link
CN (1) CN114760265A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116506296A (en) * 2023-03-17 2023-07-28 北京交通大学 Equipment data management method based on network access address identification and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422519A (en) * 2020-10-27 2021-02-26 黑龙江省电工仪器仪表工程技术研究中心有限公司 Electric power Internet of things IP fusion terminal and communication method thereof
CN112866429A (en) * 2021-01-18 2021-05-28 北方工业大学 Multi-protocol industrial Internet of things fusion gateway and communication method thereof
CN113163028A (en) * 2021-04-29 2021-07-23 全球能源互联网研究院有限公司 Service data transmission method, device and system
CN113225407A (en) * 2021-04-29 2021-08-06 全球能源互联网研究院有限公司 Equipment identification information management method and device, electronic equipment and storage medium
CN113595890A (en) * 2021-08-06 2021-11-02 江苏方天电力技术有限公司 Internet of things access gateway system under power grid multi-service application scene

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422519A (en) * 2020-10-27 2021-02-26 黑龙江省电工仪器仪表工程技术研究中心有限公司 Electric power Internet of things IP fusion terminal and communication method thereof
CN112866429A (en) * 2021-01-18 2021-05-28 北方工业大学 Multi-protocol industrial Internet of things fusion gateway and communication method thereof
CN113163028A (en) * 2021-04-29 2021-07-23 全球能源互联网研究院有限公司 Service data transmission method, device and system
CN113225407A (en) * 2021-04-29 2021-08-06 全球能源互联网研究院有限公司 Equipment identification information management method and device, electronic equipment and storage medium
CN113595890A (en) * 2021-08-06 2021-11-02 江苏方天电力技术有限公司 Internet of things access gateway system under power grid multi-service application scene

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116506296A (en) * 2023-03-17 2023-07-28 北京交通大学 Equipment data management method based on network access address identification and computer equipment

Similar Documents

Publication Publication Date Title
US20200045770A1 (en) Method For Implementing Policy Control, Apparatus, And System
US20160285820A1 (en) Method for processing address resolution protocol message, switch, and controller
CN101262478A (en) Method and device for penetrating NAT
US11405314B2 (en) Packet processing method and apparatus
CN105430059A (en) Smart client routing
KR101319418B1 (en) Information providing method, home gateway and home network system
Phung et al. The OpenLISP control plane architecture
CN112073545B (en) MP-TCP capability for transmitting server devices using DNS
CN108965036B (en) Method, system, server and storage medium for configuring cross-public network equipment mutual access
WO2018010397A1 (en) Method and equipment for establishing wireless connection through first application on user equipment
CN111552568B (en) Cloud service calling method and device
CN112612595A (en) Method and device for establishing micro-service calling relationship, computer equipment and storage medium
WO2020038443A1 (en) Bridging communication method and device
CN114760265A (en) Method, device, equipment and storage medium for generating IPv6 address of power sensing network
CN111093262A (en) Method, network element equipment and storage medium for realizing 5G user registration
CN105450585A (en) Information transmission method and device
CN114500453B (en) Identification analysis method and device
CN114866472A (en) Method and system for realizing open source community access in multi-mode network
US10303502B2 (en) Creating a virtual machine for an IP device using information requested from a lookup service
EP2922253A1 (en) Method and apparatus for accessing demilitarized zone host on local area network
CN108810180B (en) Scheduling method, device and terminal for domain name resolution redirection
CN101465783B (en) Connection method, device and connection network bridge for isomery household network appliances
CN111338758A (en) Resource management method and device and electronic equipment
CN107835198B (en) Method and device for PPTP traversal in IPv4-IPv6 intercommunication scene and electronic equipment
CN108737347B (en) Data communication method, device and equipment

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