CN111314504B - Power sensing equipment virtualization IP management method - Google Patents
Power sensing equipment virtualization IP management method Download PDFInfo
- Publication number
- CN111314504B CN111314504B CN202010249620.4A CN202010249620A CN111314504B CN 111314504 B CN111314504 B CN 111314504B CN 202010249620 A CN202010249620 A CN 202010249620A CN 111314504 B CN111314504 B CN 111314504B
- Authority
- CN
- China
- Prior art keywords
- address
- data
- sensing terminal
- sensing
- network
- 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
Links
- 238000007726 management method Methods 0.000 title claims abstract description 39
- 230000006855 networking Effects 0.000 claims abstract description 4
- 238000004891 communication Methods 0.000 claims description 35
- 238000000034 method Methods 0.000 claims description 35
- 230000008569 process Effects 0.000 claims description 22
- 230000006978 adaptation Effects 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 9
- 238000012790 confirmation Methods 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 claims description 5
- 230000009471 action Effects 0.000 claims description 4
- 238000004458 analytical method Methods 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 claims description 4
- 238000009826 distribution Methods 0.000 claims description 4
- 230000006835 compression Effects 0.000 claims description 3
- 238000007906 compression Methods 0.000 claims description 3
- 238000013467 fragmentation Methods 0.000 claims description 3
- 238000006062 fragmentation reaction Methods 0.000 claims description 3
- 238000004806 packaging method and process Methods 0.000 claims description 3
- 230000006798 recombination Effects 0.000 claims description 3
- 238000005215 recombination Methods 0.000 claims description 3
- 238000004870 electrical engineering Methods 0.000 abstract description 2
- 238000005457 optimization Methods 0.000 description 3
- 238000013519 translation Methods 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0816—Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
- H04L9/0819—Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/659—Internet protocol version 6 [IPv6] addresses
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a power sensing equipment virtualization IP management method which has the functions of sensing equipment OTA networking, IPV6 address automatic allocation, data transceiving IP management and the like, and belongs to the field of electrical engineering science. In particular to an IP hierarchical structure adopting terminal equipment and an edge gateway, which automatically converts a 16bit short address or a 64bit EUI identifier of a sensing terminal into an IPV6 address to realize lightweight IP management of the sensing terminal equipment. By means of the unified identification system and the IP network management method, network management functions of discovery, registration, IP allocation, channel establishment, logout and the like of the sensing terminal equipment are achieved, and the intelligent management level of the sensing terminal equipment is improved.
Description
Technical Field
The invention relates to the technical field of electrical engineering science, in particular to a power sensing equipment virtualization IP management method.
Background
The ubiquitous power internet of things is an important component of a strategic target of building world first-class energy internet enterprises with global competitiveness proposed by national grid companies in 2019. The electric power internet of things terminal equipment is various in types and large in quantity, and a plurality of manufacturers need to establish a unified identification system and realize the whole life cycle management of the equipment by adopting an IP network management method. Considering that distribution terminal manufacture factory is numerous, and quantity is huge, installation, debugging and fortune dimension degree of difficulty coefficient are high, through research communication unit standardization, the unified sign of equipment and IP configuration to and equipment butt joint APP ization, technologies such as little application of long-range deployment, realization terminal unit intelligence, high efficiency, conveniently insert electric power thing networking and reduce fortune dimension work load. The unified identification system is the foundation for the construction of the power internet of things and is the key for realizing the plug and play, interconnection and intercommunication and unified management of the power internet of things equipment; the power internet of things needs to realize unique identification of each access device, and the unique identification information of the device includes basic information of the device and necessary information such as device ID, manufacturer name, device type, device module model, device protocol type and the like required by device asset management. The wireless internet of things communication gateway allocates the sensing terminal IP address to the sensing terminal according to the equipment unified identification and the IP management authentication system, and establishes a communication routing mechanism between the sensing terminal and the communication gateway through identity authentication and encryption authentication. The unique identification code can be combined with the IP address, bidirectional linkage with the cloud master station system is achieved through the operation and maintenance equipment, and plug and play and full life cycle management of the Internet of things equipment are achieved.
With the rapid development and deep application of the power internet of things technology, the sensing equipment meets the requirements of low power consumption and IP communication protocol. But the resources of the power internet of things sensing equipment are relatively limited, and it is not feasible that the IPv6 protocol stack directly applies the IPv6 protocol on the sensing equipment.
Disclosure of Invention
The invention aims to solve the technical problem of overcoming the defects of the prior art and provides a power sensing equipment virtualization IP management method, and the invention adopts an IP layered structure of terminal equipment and an edge gateway, and automatically converts a 16bit short address or a 64bit EUI identifier of a sensing terminal into an IPV6 address to realize light-weight IP management of the sensing terminal equipment.
The invention adopts the following technical scheme for solving the technical problems:
the power sensing equipment virtualization IP management method provided by the invention comprises an Internet of things sensing terminal networking process without an IP address, and the specific process is as follows:
step 1, a sensing terminal sends a network access request data frame;
step 2, after receiving a network access request data frame of the sensing terminal, the gateway firstly judges whether the IP address of the sensing terminal managed by the gateway per se exceeds a preset upper limit; if yes, replying that the sensing terminal is unsuccessful in network access according to the communication mode of the sensing terminal intranet; if the IP address of the sensing terminal managed by the gateway does not exceed the IP address of the sensing terminal managed by the gateway, the IP addresses of the sensing terminals which are applied for network access and distributed are sequentially increased, namely the IPV6 address is added by 1; the IPV6 address plus 1 refers to the internal network short address plus 1 included in the IPV6 address; thereby generating a new IP address and an intranet short address;
step 3, the gateway sends the new IP address and the intranet short address generated according to the step 2 to the sensing terminal, and then the sensing terminal sends an application data frame according to the new address;
step 4, after receiving the application data frame of the sensing terminal, the gateway distributes the management communication secret key of the gateway network for the sensing terminal, and distributes the application secret key according to the application type of the data frame; after the distribution is completed, the gateway sends application key information to the sensing terminal; meanwhile, the data frame application type and the application key information are sent to a management platform for backup, so that the subsequent application management of the sensing terminal is facilitated;
step 5, after receiving the application secret key distributed by the gateway, the sensing terminal sends a network access confirmation data frame with secret key information;
step 6, after receiving the network access confirmation data frame of the sensing terminal, the gateway replies that the network access of the sensing terminal is successful; and finishing the network access process of the sensing terminal.
As a further optimization scheme of the power sensing equipment virtualization IP management method, the sensing terminal IP address in step 2 is obtained by the following method:
step A, firstly, judging whether the MAC network address of the sensing terminal is in accordance with the 802.15.4 standard or in accordance with the ID standard of EUI64 sensing equipment;
step B, if the standard is in accordance with 802.15.4, the 16bit short address defined according to IEEE802.15.4 is expanded; the specific expansion method comprises the following steps: first, a 48-bit pseudo address is generated from a 16-bit short address and a 16-bit PANID, and the format is 16_ bit _ PAN: 16_ zero _ bits: 16_ bit _ short _ address, and then inserting a 16-bit value 0xFFFE between the 48-bit MAC identifier and the extended identifier to form a 64-bit EUI-64 address; EUI-64 denotes a 64bit extended unique identifier;
step C, if the MAC network address of the sensing terminal is according to the ID standard of the EUI64 sensing equipment, the equipment is distributed to a unique 64-bit IEEE extended address when leaving the factory, and the address is directly used as a 64-bit address of the EUI-64 interface identifier;
step D, adding 16-bit segment addresses, wherein the addresses are related to the gateway, and the IP addresses of the sensing terminals managed by the same gateway have the same segment address;
step E, adding a 16-bit intranet short address serving as an intranet address for communication between the sensing terminal and the gateway;
step F, adding a network prefix, wherein if the prefix is a link local address, the network prefix is FE-80-00-00;
and G, finally forming a complete IPV6 address, wherein the address composition structure is as follows: 32bit network prefix +64bit EUI +16bit segment address +16bit intranet short address.
As a further optimized scheme of the power sensing device virtualization IP management method, after the sensing terminal successfully accesses the network, the power sensing device sends data, and the flow of sending data by the power sensing device is as follows:
(1) initializing data sent by the sensing terminal, wherein the initialization comprises parameter configuration of sensing terminal equipment hardware, a radio frequency communication device and a data processing system;
(2) initializing a protocol stack, configuring the protocol stack of the communication according to the communication technology adopted by the sending data, and preparing for communication;
(3) checking the data condition of the data sending queue;
(4) carrying out UDP packaging on the sending data, and binding the address and the port number of the destination IPV6 to be sent;
(5) the data enters a network layer, the data and an application key of the application layer of the sensing terminal are loaded, a sending interface function is called, and an IPV6 and a UDP header are loaded;
(6) the data enters an adaptation layer, an IPV6 header compression mode is selected, and fragmentation and recombination are carried out;
(7) the data enters an MAC layer, a data sending function is called, a corresponding communication type MAC frame header is selected and loaded according to the communication type, and an MAC layer network secret key is added;
(8) and calling a radio frequency transmission interface function, and sending data into a physical layer.
As a further optimization scheme of the power sensing device virtualization IP management method, the data receiving process is opposite to the data sending process in claim 3, and is implemented by a callback function, and the implementation of the bottom layer requires the action of the upper layer and is performed according to the sequence of the radio frequency physical layer, the Mac layer, the IPV6 protocol adaptation layer, and the network layer; after receiving and reading the data, the radio frequency physical layer delivers the data to an MAC layer, the MAC layer verifies an MAC address and a network key, then forwards the data to an IPV6 protocol adaptation layer, and after the data are processed by the adaptation layer, the data are submitted to the network layer for analysis and processing; and after the network layer analyzes the data, the data are delivered to the application layer to realize data processing and information display according to the data application type.
As a further optimization scheme of the power sensing device virtualization IP management method, the communication type in (7) is one of 802.15.4, LoRaWAN, and BLE.
Compared with the prior art, the invention adopting the technical scheme has the following technical effects:
aiming at the IP management requirement of the existing electric power sensing equipment, a hierarchical network IP address allocation method is adopted; the method comprises the steps that an internet address is adopted for communication between a sensing terminal and an internet of things gateway by taking the internet of things gateway as a central device, and an IPV6 address is allocated according to an ID number (EUI or MAC short address) of the sensing terminal device; the Internet and the Internet adopt a standard IPV6 protocol, and can access the sensing terminal according to the IPV6 address distributed by the sensing equipment.
Drawings
Fig. 1 is an IPv6 address translation flow diagram.
Fig. 2 is a network access process of an internet of things sensing terminal without an IP address.
Fig. 3 is a data transceiving flow of the power sensing apparatus.
Detailed Description
The technical scheme of the invention is further explained in detail by combining the attached drawings:
in the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular internal procedures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
The gateway of the Internet of things is responsible for allocating 64bit global addresses, and the sensor is responsible for allocating 64bit intranet addresses. The address format of IPV6 is: 32bit network prefix +64bit EUI +16bit segment address +16bit intranet short address.
The 64-bit global address includes: a 32-bit network prefix (default setting is FE-80-00-00), a 16-bit segment address and a 16-bit intranet address; the 64bit intranet address generation rule comprises two types: generated by the expansion of 16-bit short address of the MAC layer of 802.15.4, or directly corresponding to the 64-bit EUI address of the sensing terminal. The following is a short address extension 64bit intranet address method and process.
Fig. 1 is an IPv6 address translation flowchart, which translates the MAC address of the internet of things sensing terminal device into a globally unique IPv6 address. The method comprises the following steps:
(1) firstly, whether the MAC network address of the sensing terminal is in accordance with the 802.15.4 standard or the EUI64 sensing equipment ID standard is judged.
(2) If the address is in accordance with the 802.15.4 standard, the extension is performed according to the 16-bit short address defined by the IEEE802.15.4. The specific expansion method comprises the following steps: first, a 48-bit pseudo address is generated from a 16-bit short address and a 16-bit PANID, and the format is 16_ bit _ PAN: 16_ zero _ bits: 16_ bit _ short _ address, and then inserting a specific 16-bit value of 0xFFFE between the company ID and the company extension ID of the 48-bit MAC address to form a 64-bit EUI-64 address.
(3) If the MAC network address of the sensing terminal is according to the ID standard of the EUI64 sensing equipment, the equipment is distributed to a unique 64-bit IEEE extended address at the factory, and the address can be directly used as a 64-bit address of the EUI-64 interface identification.
(4) And adding 16-bit segment addresses, wherein the addresses are related to gateway equipment, and the IP addresses of the terminals managed by the same gateway have the same segment address.
(5) And adding a 16-bit intranet short address which can be used as an intranet address for communication between the sensing terminal and the gateway.
(6) And adding a network prefix, wherein if the prefix is a link local address, the network prefix is FE-80-00-00.
(7) Finally, a complete IPV6 address is formed, and the address composition structure is as follows: 32bit network prefix +64bit EUI +16bit segment address +16bit intranet short address.
Fig. 2 is a network access process (including IP address allocation, security authentication, etc.) of an internet-of-things sensing terminal without an IP address. The specific process is as follows:
(1) and the sensing terminal sends a network access request data frame.
(2) After receiving the terminal network access request, the gateway judges whether the terminal IP address managed by the gateway per se exceeds the upper limit. If the number of the terminals exceeds the preset value, replying that the terminal is unsuccessful in network access according to a terminal intranet communication mode; if the gateway management terminal address does not exceed the address, the gateway management terminal address is increased in sequence according to the last allocated terminal address, namely the IPV6 address is added with 1, and the intranet short address is also added with 1. The IPV6 address allocation method is converted into the IPV6 address method according to the network address of the sensing terminal equipment. The terminal IP address has two meanings, namely an IPV6 address in the outer network; the terminal address is in an intranet (PAN personal area network) managed by a gateway and also has an intranet address.
(3) The gateway sends the newly allocated IP address and the intranet short address to the terminal, and the terminal sends the application data frame according to the new address.
(4) And after receiving the data frame of the sensing terminal, the gateway distributes a gateway network management communication secret key for the terminal, and distributes an application secret key according to the type of the application data. And after the distribution is completed, sending the key information to the terminal. And meanwhile, the data frame application type and the application key information are sent to the management platform for backup, so that the management platform can conveniently manage the subsequent application of the terminal.
(5) And after receiving the key distributed by the gateway, the terminal sends a network access confirmation data frame with key information.
(6) And after receiving the terminal network access confirmation data frame, the gateway replies that the terminal network access is successful. And ending the terminal network access process.
The data receiving and sending process of the power sensing equipment is as shown in the attached figure 3, and the data sending process is as follows:
(1) the sensing terminal sends data initialization, and the initialization comprises sensing equipment hardware, a radio frequency communication device and a data processing system.
(2) Initializing a protocol stack, namely initializing the protocol stack of the communication according to a communication technology adopted by data transmission and preparing for communication;
(3) checking the data condition of a sending data queue;
(4) carrying out UDP packaging on the sending data, and binding the address and the port number of the destination IPV6 to be sent;
(5) data enters a network layer, sensor application layer data and an application key are loaded, a sending interface function is called, and an IPV6 and a UDP header are loaded;
(6) data enters an adaptation layer, an IPV6 header compression mode is selected, and fragmentation and recombination are carried out;
(7) the data enters an MAC layer, a data sending function is called, an 802.15.4 or other communication type MAC frame header is selected and loaded according to the communication type, and an MAC layer network secret key is added;
(8) and calling a radio frequency transmission interface function, and sending data into a physical layer.
The data receiving process is just opposite to the data sending process, the data receiving process and the data sending process are realized through a callback function, the realization of the bottom layer needs the action of the upper layer, and the action is carried out according to the sequence of a radio frequency physical layer, a Mac layer, an IPV6 protocol adaptation layer and a network layer. After receiving and reading the data, the radio frequency physical layer delivers the data to an MAC layer, the MAC layer verifies an MAC address and a network key, then forwards the data to an IPV6 protocol adaptation layer, and after the data are processed by the adaptation layer, the data are submitted to the network layer for analysis and processing. After the network layer analyzes the data, the network layer delivers the data to the application layer to realize the functions of data processing, information display and the like according to the data application type.
Specific embodiments of the present invention have been described above in detail. It should be understood that numerous modifications and variations could be devised by those skilled in the art in light of the present teachings without departing from the inventive concepts. Therefore, the technical solutions available to those skilled in the art through logic analysis, reasoning and limited experiments based on the prior art according to the concept of the present invention should be within the scope of protection defined by the claims.
Claims (5)
1. A power sensing equipment virtualization IP management method is characterized by comprising an Internet of things sensing terminal networking process without an IP address, and the specific process is as follows:
step 1, a sensing terminal sends a network access request data frame;
step 2, after receiving a network access request data frame of the sensing terminal, the gateway firstly judges whether the IP address of the sensing terminal managed by the gateway per se exceeds a preset upper limit; if the number of the sensor terminals exceeds the preset value, replying that the sensor terminals are not successful in network access according to the intranet communication mode of the sensor terminals; if the IP address of the sensing terminal managed by the gateway does not exceed the IP address of the sensing terminal managed by the gateway, the IP addresses of the sensing terminals which are applied for network access and distributed are sequentially increased, namely the IPV6 address is added by 1; the IPV6 address plus 1 refers to the internal network short address plus 1 included in the IPV6 address; thereby generating a new IP address and an intranet short address;
step 3, the gateway sends the new IP address and the intranet short address generated according to the step 2 to the sensing terminal, and then the sensing terminal sends an application data frame according to the new address;
step 4, after receiving the application data frame of the sensing terminal, the gateway distributes the management communication secret key of the gateway network for the sensing terminal, and distributes the application secret key according to the application type of the data frame; after the distribution is completed, the gateway sends application key information to the sensing terminal; meanwhile, the data frame application type and the application key information are sent to a management platform for backup, so that the subsequent application management of the sensing terminal is facilitated;
step 5, after receiving the application secret key distributed by the gateway, the sensing terminal sends a network access confirmation data frame with secret key information;
step 6, after receiving the network access confirmation data frame of the sensing terminal, the gateway replies that the network access of the sensing terminal is successful; and finishing the network access process of the sensing terminal.
2. The power sensing equipment virtualization IP management method according to claim 1, wherein the sensing terminal IP address in step 2 is obtained by:
step A, firstly, judging whether the MAC network address of the sensing terminal is in accordance with the 802.15.4 standard or in accordance with the ID standard of EUI64 sensing equipment;
step B, if the standard is in accordance with 802.15.4, the 16bit short address defined according to IEEE802.15.4 is expanded; the specific expansion method comprises the following steps: first, a 48-bit pseudo address is generated from a 16-bit short address and a 16-bit PANID, and the format is 16_ bit _ PAN: 16_ zero _ bits: 16_ bit _ short _ address, and then inserting a 16-bit value 0xFFFE between the 48-bit MAC identifier and the extended identifier to form a 64-bit EUI-64 address; EUI-64 denotes a 64bit extended unique identifier;
step C, if the MAC network address of the sensing terminal is according to the ID standard of the EUI64 sensing equipment, the equipment is distributed to a unique 64-bit IEEE extended address when leaving the factory, and the address is directly used as a 64-bit address of the EUI-64 interface identifier;
step D, 16bit segment addresses are added, the addresses are related to the gateways, and the IP addresses of the sensing terminals managed by the same gateway have the same segment addresses;
step E, adding a 16-bit intranet short address serving as an intranet address for communication between the sensing terminal and the gateway;
step F, adding a network prefix, wherein if the prefix is a link local address, the network prefix is FE-80-00-00;
and G, finally forming a complete IPV6 address, wherein the address composition structure is as follows: 32bit network prefix +64bit EUI +16bit segment address +16bit intranet short address.
3. The power sensing equipment virtualization IP management method according to claim 1, wherein after the sensing terminal successfully accesses the network, the power sensing equipment sends data, and a process of sending data by the power sensing equipment is as follows:
(1) initializing data sent by a sensing terminal, wherein the initialization comprises parameter configuration of sensing terminal equipment hardware, a radio frequency communication device and a data processing system;
(2) initializing a protocol stack, configuring the protocol stack of the communication according to the communication technology adopted by the sending data, and preparing for communication;
(3) checking the data condition of the data sending queue;
(4) carrying out UDP packaging on the sending data, and binding the address and the port number of the destination IPV6 to be sent;
(5) the data enters a network layer, the data and an application key of the application layer of the sensing terminal are loaded, a sending interface function is called, and an IPV6 and a UDP header are loaded;
(6) the data enters an adaptation layer, an IPV6 header compression mode is selected, and fragmentation and recombination are carried out;
(7) the data enters an MAC layer, a data sending function is called, a corresponding communication type MAC frame header is selected and loaded according to the communication type, and an MAC layer network secret key is added;
(8) and calling a radio frequency transmission interface function, and sending data into a physical layer.
4. The power sensing equipment virtualization IP management method according to claim 3, characterized in that a data receiving process is opposite to a data sending process in claim 3, and is realized through a callback function, and the implementation of a bottom layer requires an action of an upper layer and is performed according to a sequence of a radio frequency physical layer, a Mac layer, an IPV6 protocol adaptation layer and a network layer; after receiving and reading the data, the radio frequency physical layer delivers the data to an MAC layer, the MAC layer verifies an MAC address and a network key, then forwards the data to an IPV6 protocol adaptation layer, and after the data are processed by the adaptation layer, the data are submitted to the network layer for analysis and processing; and after the network layer analyzes the data, the data are delivered to the application layer to realize data processing and information display according to the data application type.
5. The power sensing equipment virtualization IP management method according to claim 3, wherein the communication type in the (7) is one of 802.15.4, LoRaWAN and BLE.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010249620.4A CN111314504B (en) | 2020-04-01 | 2020-04-01 | Power sensing equipment virtualization IP management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010249620.4A CN111314504B (en) | 2020-04-01 | 2020-04-01 | Power sensing equipment virtualization IP management method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111314504A CN111314504A (en) | 2020-06-19 |
CN111314504B true CN111314504B (en) | 2022-07-05 |
Family
ID=71148214
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010249620.4A Active CN111314504B (en) | 2020-04-01 | 2020-04-01 | Power sensing equipment virtualization IP management method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111314504B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113873521A (en) * | 2020-06-30 | 2021-12-31 | 华为技术有限公司 | Equipment model identification method, device, network equipment and system |
CN111930384B (en) * | 2020-07-02 | 2021-04-06 | 上海微亿智造科技有限公司 | Application method and system based on optimized snowflake algorithm in industrial big data |
CN114338522B (en) * | 2020-11-27 | 2024-04-05 | 成都市伏羲科技有限公司 | IPv6 addressing and networking method based on identification management |
CN112583910B (en) * | 2020-12-07 | 2022-11-22 | 深圳市信锐网科技术有限公司 | Equipment access method and device of Internet of things platform, electronic equipment and storage medium |
CN113194041B (en) * | 2021-03-30 | 2022-09-23 | 中国科学院上海微系统与信息技术研究所 | Terminal simulation platform applied to time division multiple access internet of things |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101990004A (en) * | 2010-11-05 | 2011-03-23 | 中国科学院声学研究所 | Method for distributing virtual ID and virtual IP based on home gateway of internet of things |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7814232B2 (en) * | 2003-03-28 | 2010-10-12 | Cisco Technology, Inc. | Network address translation with gateway load distribution |
-
2020
- 2020-04-01 CN CN202010249620.4A patent/CN111314504B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101990004A (en) * | 2010-11-05 | 2011-03-23 | 中国科学院声学研究所 | Method for distributing virtual ID and virtual IP based on home gateway of internet of things |
Non-Patent Citations (1)
Title |
---|
泛在电力物联网智联单元设计与实现;王洪勉;《供用电》;20190605;第36卷(第6期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111314504A (en) | 2020-06-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111314504B (en) | Power sensing equipment virtualization IP management method | |
CN102148878B (en) | IP (internet protocol) address allocation method, system and device | |
US20090113073A1 (en) | Remote access system and its ip address assigning method | |
US20050122946A1 (en) | DHCP pool sharing mechanism in mobile environment | |
CN105376357A (en) | An antenna setting method and device for a mobile device | |
US20110235502A1 (en) | Communication relay device, communication relay method, and storage medium having communication relay program stored therein | |
WO2009141385A2 (en) | Providing station context and mobility in a wireless local area network having a split mac architecture | |
CN104519554A (en) | Method for supporting parallel access of multiband 6LoWSNs (IPv6 over low power wireless sensor networks) to internet | |
US20230199870A1 (en) | Application method of computing bearer and apparatus | |
US9357386B2 (en) | System and method for femto ID verification | |
CN111405572B (en) | Mapping relation establishing method, device, user plane function and medium | |
CN102204306A (en) | Method, device and system for machine type communication (mtc) terminal communicating with network through gateway | |
US8611308B2 (en) | Method and apparatus for user handing over to home NodeB | |
CN102202389B (en) | A kind of method and system gateway being realized to management | |
CN102045882A (en) | Method, device and system of external communication of 6LoWPAN (internet protocol 6 over low power wireless personal area network) intra-network device and outside | |
US8199700B2 (en) | System and data exchanging method for interworking wireless LAN and portable internet | |
EP4037262A1 (en) | Mechanism for realizing lwa/lwip aggregator function | |
CN112583910A (en) | Equipment access method and device of Internet of things platform, electronic equipment and storage medium | |
CN102149172A (en) | Method, device and system for selecting access gateway | |
CN101257517B (en) | Method and device for processing address analysis protocol request message | |
CN107370841B (en) | Method for high-efficiency address resolution on multi-hop wireless network | |
KR20130064464A (en) | Wireless communication station and operating method of wireless communication station | |
US20200137726A1 (en) | Communications device and communication method | |
US11405775B2 (en) | Three-address scheme for forwarding frames in a wireless mesh network | |
CN104468559A (en) | Mobile internet access system |
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 | ||
CP03 | Change of name, title or address |
Address after: 5th Floor, Building B4, Xinhuahui, No. 118, Software Avenue, Yuhuatai District, Nanjing City, Jiangsu Province, 210012 Patentee after: Jiangsu Zhirong Energy Technology Co.,Ltd. Country or region after: China Address before: 168 software Avenue, Nanjing, Jiangsu 210012 Patentee before: Jiangsu Runhe Zhirong Technology Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |