[go: up one dir, main page]

CN119254744B - Equipment networking method and system based on IPv6 protocol - Google Patents

Equipment networking method and system based on IPv6 protocol Download PDF

Info

Publication number
CN119254744B
CN119254744B CN202411765042.4A CN202411765042A CN119254744B CN 119254744 B CN119254744 B CN 119254744B CN 202411765042 A CN202411765042 A CN 202411765042A CN 119254744 B CN119254744 B CN 119254744B
Authority
CN
China
Prior art keywords
address
ipv6
management
module
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202411765042.4A
Other languages
Chinese (zh)
Other versions
CN119254744A (en
Inventor
花友祝
王慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Jinggao Information Technology Co ltd
Original Assignee
Zhejiang Jinggao Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Jinggao Information Technology Co ltd filed Critical Zhejiang Jinggao Information Technology Co ltd
Priority to CN202411765042.4A priority Critical patent/CN119254744B/en
Publication of CN119254744A publication Critical patent/CN119254744A/en
Application granted granted Critical
Publication of CN119254744B publication Critical patent/CN119254744B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables
    • H04L61/2553Binding renewal aspects, e.g. using keep-alive messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/741Routing in networks with a plurality of addressing schemes, e.g. with both IPv4 and IPv6
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种基于IPv6协议的设备联网方法及系统,包括:设备注册时,先读取自身唯一标识符中的顺序号,与随机数生成器产生的字节组合生成网卡标识符及本地链路地址,触发多播邻居请求,与路由器IPv6网络地址前缀拼成设备IPv6地址,向系统注册标识符信息,设定对象完成注册;设备IPv6网络地址变化监测中,侦听ICMP6协议路由公告,遇路由器网络前缀变化,用新前缀与网卡标识符重生成并重新注册IPv6地址;系统功能方面,接收注册信息登记相关内容,远程设参,进行用户及设备管理,设备管理涵盖软件远程在线升级等多项功能;本发明能够简化地址管理、降低使用门槛与成本、增强设备管理功能、提高动态地址处理效率,克服现有技术中的不足。

The present invention provides a device networking method and system based on IPv6 protocol, comprising: when registering a device, first read the sequence number in its own unique identifier, combine it with the bytes generated by a random number generator to generate a network card identifier and a local link address, trigger a multicast neighbor request, combine it with the router IPv6 network address prefix to form the device IPv6 address, register the identifier information with the system, set the object to complete the registration; in the monitoring of the device IPv6 network address change, listen to the ICMP6 protocol routing announcement, and when the router network prefix changes, regenerate and re-register the IPv6 address with the new prefix and the network card identifier; in terms of system functions, receive registration information and register related content, remotely set parameters, perform user and device management, and the device management covers multiple functions such as remote online software upgrade; the present invention can simplify address management, reduce the use threshold and cost, enhance the device management function, and improve the dynamic address processing efficiency, thereby overcoming the shortcomings in the prior art.

Description

Equipment networking method and system based on IPv6 protocol
Technical Field
The invention relates to the technical field of network communication, in particular to a device networking method and system based on an IPv6 protocol.
Background
With the continuous emergence and wide application of emerging technologies such as the Internet of things, big data, cloud computing, artificial intelligence and the like, the number of devices in the network is increased explosively, and the demands on network address resources are also increasingly huge;
IPv4 is used as a network protocol widely applied in early stage, the address space of the IPv4 is in front of the scene for accessing mass equipment, and the problem of address exhaustion severely restricts the further expansion of the network and the interconnection requirement of equipment; in this context, IPv6 has developed to have an address space up to the 128 th power of 2, and almost every device on earth can be assigned an independent address, which makes everything interconnected a possible prospect;
However, large-scale application of IPv6 brings a series of new challenges, on one hand, the lengthy address format brings great inconvenience to users' memory and use, and people are difficult to directly use and manage the complex addresses, on the other hand, in many practical application scenarios, such as home broadband networks, mobile wireless networks (4G/5G), etc., IPv6 addresses acquired by devices are often dynamically allocated, and each time the devices power on or switch network environments, the IPv6 addresses may change, which results in difficulty in accurately finding target devices during inter-device communication, and stability and reliability of communication connection are seriously affected;
In addition, although some existing technical means such as a Dynamic Domain Name System (DDNS) try to solve the problem of dynamic IP addresses to a certain extent, for mass devices on the Internet, domain names need to be registered in advance at a domain name service provider, and the operation is complex and impractical;
Accordingly, there is a need in the art for a method and system for device networking based on the IPv6 protocol to solve the above-mentioned problems.
Disclosure of Invention
The invention provides a device networking method and system based on an IPv6 protocol, which aims to overcome the defects in the prior art and provide a device networking method and system based on the IPv6 protocol, which are efficient, convenient and comprehensive in function.
In one aspect, the present invention provides a device networking method based on an IPv6 protocol, including:
The device sends a multicast neighbor request, if the address is not unique, the operation is repeated until the address is unique, then a router IPv6 network address prefix is inquired, the IPv6 address of the device is spliced with the network card identifier and equipment identifier information is registered to a system, and then a user data server IPv6 address sent by a system server is prepared to be received to set a communication object, so that equipment registration is completed;
The equipment monitors the route notice information of ICMP6 protocol, when the network prefix of the router is found to be changed, the IPv6 address of the equipment is regenerated by utilizing the new network prefix and the network card identifier of the equipment, and the re-registration of the IPv6 address is completed;
And step three, a system function step, in which the system receives registration information of the equipment and registers relevant information of the equipment, and remotely sets relevant parameters of the equipment to perform user management and equipment management, wherein the equipment management comprises software remote online upgrading, equipment statistics, operation mode management, grouping management, communication state management and information inquiry.
According to the device networking method based on the IPv6 protocol, in the device registration step, the method for reading the sequence number in the unique identifier of the device comprises the following steps:
The device extracts a 4-byte device sequence number from its 24-byte unique identifier containing the device type, mode of operation, system software version number, device sequence number, system software length, system software checksum, user software length, user software checksum.
According to the device networking method based on the IPv6 protocol provided by the invention, in the device registration step, the operation of generating the network card identifier comprises the following steps:
And combining the extracted 4-byte device sequence number with 4 bytes generated by the random number generator to form a 64-bit network card identifier, so as to generate a device local link address.
According to the device networking method based on the IPv6 protocol, in the device registration step, after the device sends the multicast neighbor request, if the device receives the neighbor advertisement, the device determines that the address is not unique, and the following operations are repeatedly executed until the local link address is unique:
And re-reading the device sequence number, combining the device sequence number with 4 bytes generated by the random number generator again to generate a new network card identifier and a local link address, and then re-sending the multicast neighbor request.
According to the device networking method based on the IPv6 protocol, in the device registering step, after inquiring the IPv6 network address prefix of the router, if the network prefix is less than 64 bits, a 64-bit network prefix address is formed by supplementing 0 at the lower bit of the network prefix, and then the 64-bit network card identifier of the device is spliced into the IPv6 address of the device.
According to the equipment networking method based on the IPv6 protocol, in the system function steps, user management comprises recording of user numbers, names, contacts, telephones, addresses, equipment numbers and user data server number information, equipment statistics in equipment management comprises statistics of equipment types and quantity, equipment operation mode management is used for managing different operation states of equipment, grouping management is used for classifying and grouping the equipment, communication state management is used for monitoring connection and transmission states of equipment communication, and information query is used for querying various relevant information of the equipment.
On the other hand, the invention provides an IPv6 protocol-based equipment networking system, which comprises an equipment module, a system server module, a user data server module and a software module;
the device module is in communication connection with the system server module, the user data server module and the software module, maps the sequence number into a dynamic IPv6 address through a device registration step based on a unique identifier of the device and registers the dynamic IPv6 address to the system server module, receives a software module instruction, and communicates with the user data server module to realize data transmission and interaction;
The system server module is provided with a fixed IPv6 address and is used for receiving equipment module registration information, including equipment identifiers and IPv6 addresses, registering equipment related information, issuing management instructions to equipment through the software module, realizing the functions of user management, equipment management and equipment data storage, and playing a role in bridging the communication between the equipment module and the user data server module;
The user data server module is used for storing the user subordinate device data, does not need to fix an IPv6 address, maps the sequence number into a dynamic IPv6 address through a device registration step based on a unique identifier thereof and registers the dynamic IPv6 address to the system server module, receives a software module instruction, communicates with the subordinate device module to realize data transmission and interaction, and simultaneously executes a device IPv6 network address change monitoring function, if the change exists, the device is registered again in time, and can still normally communicate with the subordinate device when the IPv6 address is dynamically changed;
The software module runs on the system server and comprises a receiving device identifier and an IPv6 address registration function unit for receiving and processing device registration information, has a system management instruction issuing function, and simultaneously has the functions of user management, device management and device data storage, and ensures the normal operation of the whole system and the effective communication among devices.
According to the device networking system based on the IPv6 protocol, the device module comprises:
An identifier reading unit, configured to read a sequence number in a unique identifier of the device itself, where the unique identifier is 24 bytes, and includes a device type 1 byte, an operation mode 1 byte, a system software version number 2 byte, a device sequence number 4 byte, a system software length 4 byte, a system software checksum 4 byte, a user software length 4 byte, and a user software checksum 4 byte, where the unit extracts a device sequence number of 4 bytes from the identifier;
The network card identifier generating unit is connected with the identifier reading unit, receives the extracted 4-byte sequence number of the equipment, combines the sequence number with 4 bytes generated by the random number generator to form a 64-bit network card identifier, and further generates an equipment local link address;
The address detection and registration unit is connected with the network card identifier generation unit and is responsible for sending a multicast neighbor request, judging that the address is not unique if a neighbor advertisement is received, triggering the identifier reading unit and the network card identifier generation unit to regenerate the address until the local link address is unique, inquiring the IPv6 network address prefix of the router, supplementing 0 at a lower position to form a 64-bit network prefix address if the address is less than 64 bits, splicing the address with the 64-bit network card identifier of the device to form the IPv6 address of the device, registering device identifier information with a system server, completing the device registration process, preparing to receive the IPv6 address of a user data server sent by the system server, and setting a communication object;
And the communication unit is connected with the address detection and registration unit, communicates with the user data server according to the communication object set during registration to realize data transmission, receives a software module instruction, and executes corresponding operation.
According to the device networking system based on the IPv6 protocol, the system server module comprises:
A registration information receiving unit connected with the equipment module and used for receiving the registration information sent by the equipment module;
the information registration unit is connected with the registration information receiving unit and is responsible for registering the type, mode, system version, sequence number and IPv6 address information of the equipment and providing data support for equipment management and inquiry;
the instruction issuing unit is connected with the software module and receives an instruction of the software module, namely an instruction for setting the IPv6 address of the user data server to which the equipment belongs;
The user management unit is responsible for managing user related information, including recording user numbers, names, contacts, telephones, addresses, equipment numbers and user data server number information, and is used for realizing the association management of users and equipment;
The device management unit is connected with the software module and realizes a device management function, and comprises a device software remote online upgrading function subunit, a device statistics function subunit, a device operation mode management function subunit, a grouping management function subunit, a communication state management function subunit and an information query function subunit, wherein the device software remote online upgrading function subunit is used for updating software programs of devices, the device statistics function subunit is used for counting types and numbers of the devices, the device operation mode management function subunit is used for managing different operation states of the devices, the grouping management function subunit is used for classifying and grouping the devices, the communication state management function subunit is used for monitoring connection and transmission states of communication of the devices, and the information query function subunit is used for querying various relevant information of the devices.
According to the present invention, there is provided an IPv6 protocol-based device networking system, where the user data server module includes:
The data storage unit is used for storing data of equipment under the control of a user and providing storage and management space for the equipment data;
a second registration unit for completing the registration process of the user data server;
The address monitoring unit is used for continuously monitoring the IPv6 network address change of the equipment, and when the router network prefix change is found, the equipment is informed to regenerate the IPv6 address and complete registration, so that the communication between the equipment and the user data server is not affected by the address change;
the identifier reading unit II is used for reading the sequence number in the unique identifier of the user data server, and then the user data server automatically generates a network card identifier;
And the communication interface unit is used for realizing data communication with the equipment module and the system server module, receiving the data sent by the equipment module, transmitting the data to the data storage unit and receiving related instructions and information.
Compared with the prior art, the application has the beneficial effects that:
1. The application realizes mapping to the dynamic IPv6 address through the device sequence number, and a user only needs to memorize the simple device sequence number without directly processing the complex and lengthy IPv6 address, thereby greatly reducing the difficulty of address management and improving the efficiency of device management;
Compared with the traditional mode, the user does not need to care about the IPv6 address which dynamically changes after the equipment is powered on each time, the equipment automatically completes registration and address updating monitoring, so that the dynamic address realizes relatively static management at the system level, and the user can conveniently communicate with the equipment at any time.
2. The equipment networking can be realized by utilizing common network access modes such as home broadband, wireless and the like and low in cost without using an expensive IPv6 private line, thereby reducing the network communication cost of users, enabling more equipment to access an IPv6 network and promoting the popularization and application of the IPv6 technology;
The system automatically processes complex processes such as equipment registration and address management, reduces the requirements of manual configuration and intervention of users, reduces the requirements on professional knowledge of the users, and can easily realize equipment networking and management by common users.
3. The device identifier contains rich information such as device type, running mode, system software version number and the like, so that mapping from sequence numbers to IP addresses is realized, more device related information is provided for the system, and device management, monitoring and maintenance are more accurately facilitated;
The system server can comprehensively manage equipment information, and comprises functions of remotely setting equipment parameters, realizing equipment software remote online upgrade, equipment statistics, operation mode management, grouping management, communication state management, information inquiry and the like, so that the equipment management is more convenient, efficient and intelligent.
4. The device has the IPv6 network address change monitoring function, can track the network environment change in real time, and timely regenerates and registers a new IPv6 address, ensures that the device always keeps smooth communication in the dynamic network environment, and effectively solves the problem of communication interruption caused by the dynamic address change;
compared with the existing Dynamic Domain Name System (DDNS), the device automatically registers without registering domain names in advance, avoids complicated registration processes, is more suitable for networking management scenes of mass devices, and improves the expandability and practicability of the system.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
fig. 1 is a schematic flow chart of a device networking method based on an IPv6 protocol according to an embodiment of the present invention;
Fig. 2 is a schematic structural diagram of a device networking system based on an IPv6 protocol according to an embodiment of the present invention;
fig. 3 is a schematic structural view of embodiment 3 of the present invention.
In fig. 3,1, a home broadband router, 2, a special line router, 3, an automobile with a wireless data collector (4G/5G), 4, a PLC, 5, an intelligent gateway, 6, a system server, 7, one of a home broadband, wireless and special lines, 81, a user data server I, 82, a user data server II, 9, a wireless network, 10, a special line network, 11, a home broadband, 12, a pressure sensor, 13, a temperature sensor, 14, an industrial robot, 15 and a coal mining machine.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
Example 1:
an embodiment of the present invention provides a device networking method based on an IPv6 protocol, referring to fig. 1, including:
The device sends a multicast neighbor request, if the address is not unique, the operation is repeated until the address is unique, then a router IPv6 network address prefix is inquired, the IPv6 address of the device is spliced with the network card identifier and equipment identifier information is registered to a system, and then a user data server IPv6 address sent by a system server is prepared to be received to set a communication object, so that equipment registration is completed;
The equipment monitors the route notice information of ICMP6 protocol, when the network prefix of the router is found to be changed, the IPv6 address of the equipment is regenerated by utilizing the new network prefix and the network card identifier of the equipment, and the re-registration of the IPv6 address is completed;
And step three, a system function step, in which the system receives registration information of the equipment and registers relevant information of the equipment, and remotely sets relevant parameters of the equipment to perform user management and equipment management, wherein the equipment management comprises software remote online upgrading, equipment statistics, operation mode management, grouping management, communication state management and information inquiry.
Preferably, in the device registration step, the manner in which the device reads the sequence number in the self-unique identifier includes:
The device extracts a 4-byte device sequence number from its 24-byte unique identifier containing the device type, mode of operation, system software version number, device sequence number, system software length, system software checksum, user software length, user software checksum.
Preferably, in the device registration step, the operation of generating the network card identifier includes:
And combining the extracted 4-byte device sequence number with 4 bytes generated by the random number generator to form a 64-bit network card identifier, so as to generate a device local link address.
Preferably, in the device registration step, after the device sends the multicast neighbor solicitation, if the device receives the neighbor advertisement, it is determined that the address is not unique, and the following operations are repeatedly performed until the local link address is unique:
And re-reading the device sequence number, combining the device sequence number with 4 bytes generated by the random number generator again to generate a new network card identifier and a local link address, and then re-sending the multicast neighbor request.
Preferably, in the device registration step, after querying the router IPv6 network address prefix, if the network prefix is less than 64 bits, a 64-bit network prefix address is formed by supplementing 0 to the lower bits of the network prefix, and then the network prefix and the 64-bit network card identifier of the device are combined into the IPv6 address of the device.
Preferably, in the system function step, the user management includes recording user number, name, contact person, telephone, address, equipment number and user data server number information, the equipment statistics in the equipment management includes statistics of equipment types and quantity, the equipment operation mode management is used for managing different operation states of the equipment, the grouping management is used for classifying and grouping the equipment, the communication state management is used for monitoring connection and transmission states of equipment communication, and the information inquiry is used for inquiring various relevant information of the equipment.
It should be noted that, for the device registration step, the device extracts the sequence number from its own unique identifier and combines with the byte generated by the random number generator to generate the network card identifier, so as to generate the local link address, thereby ensuring the initial positioning and the identification uniqueness of the device in the initial network environment;
The device sends a multicast neighbor request and repeats the operation according to feedback until the address is unique, thereby further ensuring the address uniqueness of the device in the local network, just like in a community, each family has a unique house number, and ensuring the accurate identification and communication accuracy of the device in the network;
And combining with the router IPv6 network address prefix to generate a final IPv6 address and registering the final IPv6 address in the system, so that the device can obtain a legal and unique address in the whole IPv6 network, complete the formal registration of the device in the network and lay a foundation for subsequent communication.
For the step of monitoring the IPv6 network address change of the equipment, the equipment can monitor the route announcement information of the ICMP6 protocol and timely find out the network prefix change of the router, so that the equipment can quickly adapt to the dynamic change of the network environment;
The IPv6 address is regenerated by using the new network prefix and the network card identifier and re-registered, so that the communication continuity of the equipment after the network environment changes is ensured, and even if the address changes, other equipment or servers can still find the equipment through the new address, thereby realizing seamless communication and avoiding communication interruption caused by the address change.
The system can clearly know the information such as the type, version, running state and the like of each device in the network, and the system is just like a device management center, so as to realize the palm for all access devices;
the remote device parameter setting function is convenient for an administrator to remotely manage and configure the device, and the device setting can be adjusted without going to the field of the device, so that the management efficiency is improved;
The user management function realizes effective management of user resources and equipment attribution by recording related information of the user and the association relation between the equipment and the user, ensures the safety and privacy of data and prevents unauthorized access and operation;
the method has the advantages that various functions in equipment management, such as software remote online upgrade, equipment statistics, operation mode management, grouping management, communication state management, information inquiry and the like, enable operation and maintenance of equipment to be more intelligent and convenient, enable an administrator to know operation conditions of the equipment in time, conduct classification management on the equipment, improve overall performance and reliability of the equipment, reduce maintenance cost, enable the number and distribution of different types of equipment to be known quickly through equipment statistics, facilitate resource planning, and enable communication state management to discover and solve communication faults in time.
Example 2:
The embodiment of the invention provides an IPv6 protocol-based equipment networking system, referring to FIG. 2, comprising an equipment module, a system server module, a user data server module and a software module;
The device module is in communication connection with the system server module, the user data server module and the software module, maps the sequence number into a dynamic IPv6 address through a device registration step based on the unique identifier of the device and registers the dynamic IPv6 address to the system server module, receives a software module instruction, and communicates with the user data server module to realize data transmission and interaction;
the system server module is provided with a fixed IPv6 address and is used for receiving registration information of the equipment module, including equipment identifier and IPv6 address, registering relevant information of equipment, issuing management instructions to the equipment through the software module, realizing the functions of user management, equipment management and equipment data storage, and playing a role of a bridge in the communication between the equipment module and the user data server module;
The user data server module is used for storing the data of the equipment under the control of the user, does not need to fix an IPv6 address, maps the sequence number into a dynamic IPv6 address through the equipment registration step based on the unique identifier of the user data server module, registers the dynamic IPv6 address to the system server module, receives a software module instruction, communicates with the affiliated equipment module to realize data transmission and interaction, and simultaneously executes the function of monitoring the change of the IPv6 network address of the equipment, if the change exists, the user data server module registers again in time, and ensures that the user data server module can still normally communicate with the equipment under the control of the user when the IPv6 address dynamically changes;
The software module runs on the system server and comprises a function unit for receiving the equipment identifier and registering the IPv6 address, so as to realize the receiving and processing of the equipment registration information, has the function of issuing a system management instruction, and simultaneously has the functions of user management, equipment management and equipment data storage, thereby ensuring the normal operation of the whole system and the effective communication among the equipment.
Preferably, the device module includes:
An identifier reading unit, configured to read a sequence number in a unique identifier of the device itself, where the unique identifier is 24 bytes, and includes a device type 1 byte, an operation mode 1 byte, a system software version number 2 byte, a device sequence number 4 byte, a system software length 4 byte, a system software checksum 4 byte, a user software length 4 byte, and a user software checksum 4 byte, where the unit extracts a device sequence number of 4 bytes from the identifier;
The network card identifier generating unit is connected with the identifier reading unit, receives the extracted 4-byte sequence number of the equipment, combines the sequence number with the 4 bytes generated by the random number generator to form a 64-bit network card identifier, and further generates a local link address of the equipment;
The address detection and registration unit is connected with the network card identifier generation unit and is responsible for sending a multicast neighbor request, judging that the address is not unique if the neighbor notice is received, triggering the identifier reading unit and the network card identifier generation unit to regenerate the address until the local link address is unique, inquiring the IPv6 network address prefix of the router, supplementing 0 at a lower position to form a 64-bit network prefix address if the address is less than 64 bits, splicing the address with the 64-bit network card identifier of the device to form the IPv6 address of the device, registering device identifier information with a system server, completing the device registration process, preparing to receive the IPv6 address of a user data server sent by the system server, and setting a communication object;
And the communication unit is connected with the address detection and registration unit, communicates with the user data server according to the communication object set during registration to realize data transmission, receives the software module instruction, and executes corresponding operation.
Preferably, the system server module includes:
A registration information receiving unit connected with the equipment module and used for receiving the registration information sent by the equipment module;
The information registration unit is connected with the registration information receiving unit and is responsible for registering the type, mode, system version, sequence number and IPv6 address information of the equipment and providing data support for equipment management and inquiry;
The instruction issuing unit is connected with the software module and receives an instruction of the software module, namely an instruction for setting the IPv6 address of the user data server to which the equipment belongs;
The user management unit is responsible for managing user related information, including recording user numbers, names, contacts, telephones, addresses, equipment numbers and user data server number information, and is used for realizing the association management of users and equipment;
The device management unit is connected with the software module and realizes a device management function, and comprises a device software remote online upgrading function subunit, a device statistics function subunit, a device operation mode management function subunit, a grouping management function subunit, a communication state management function subunit and an information query function subunit, wherein the device software remote online upgrading function subunit is used for updating software programs of devices, the device statistics function subunit is used for counting types and numbers of the devices, the device operation mode management function subunit is used for managing different operation states of the devices, the grouping management function subunit is used for classifying and grouping the devices, the communication state management function subunit is used for monitoring connection and transmission states of communication of the devices, and the information query function subunit is used for querying various relevant information of the devices.
Preferably, the user data server module includes:
The data storage unit is used for storing data of equipment under the control of a user and providing storage and management space for the equipment data;
a second registration unit for completing the registration process of the user data server;
The address monitoring unit is used for continuously monitoring the IPv6 network address change of the equipment, and when the router network prefix change is found, the equipment is informed to regenerate the IPv6 address and complete registration, so that the communication between the equipment and the user data server is not affected by the address change;
the identifier reading unit II is used for reading the sequence number in the unique identifier of the user data server, and then the user data server automatically generates a network card identifier;
And the communication interface unit is used for realizing data communication with the equipment module and the system server module, receiving the data sent by the equipment module, transmitting the data to the data storage unit and receiving related instructions and information.
It should be noted that the communication connection between the device module, the system server module, the user data server module and the software module constitutes a complete and efficient device networking architecture. The device module is used as a source of data generation, the user data server module is used as a terminal of data storage, and the user data server module and the system server module are in contact through a registration mechanism, so that the identification and management of the device in a network and the accurate transmission of the data in the network are realized;
The system server module becomes a core hub of the whole system by virtue of the fixed IPv6 address, and effectively coordinates the communication between the equipment module and the user data server module. The method not only receives and manages the equipment registration information, but also issues management instructions through the software module, thereby ensuring the orderly operation of the system and the effective cooperation among the equipment. The user data server module is focused on storing equipment data, ensures the stability of data communication through an address monitoring function, can continuously receive the data sent by equipment even if the IPv6 address of the equipment changes dynamically, and realizes the reliable storage and management of the data.
The software module runs on the system server as a 'brain' of the system, and comprehensively manages key functions such as equipment registration, user management, equipment management, data storage and the like, so that the whole system has intelligent and automatic management capability.
Example 3:
On the basis of embodiments 1-2, a specific implementation manner of device networking based on the IPv6 protocol is provided, and referring to fig. 3, this embodiment includes the following subjects:
1. device identifier
Each device has a unique device identifier, 24 bytes in total, and the device identifier in the embodiment contains the following information, namely a device type (1 byte), an operation mode (1 byte), a system software version number (2 bytes), a device sequence number (4 bytes), a system software length (4 bytes), a system software checksum (4 bytes), a user software length (4 bytes) and a user software checksum (4 bytes), wherein the device sequence number has uniqueness and is not repeated, and is a component part for generating an IPv6 address of the device. The device registration information is a device identifier.
2. System server
The system server has fixed IPv6 address, which is two media with dynamic IPv6 address direct communication, the system receives registration information from the equipment and the user data server to finish registration of equipment information, such as equipment type, mode, system version, sequence number, IPv6 address, etc., after the equipment is registered, the system server sends the IPv6 address of the user data server to the equipment to enable the equipment to realize end-to-end direct communication with the user data server, relevant parameters of the equipment are set remotely, such as IPv6 address of the user data server, etc., user management including information of user number, name, contact person, telephone, address, equipment number, user data server number, etc., equipment management using transmission protocol agreed with the system to carry out remote online upgrade of software of the equipment, equipment statistics including equipment type, number, statistics, equipment operation mode, equipment grouping, equipment communication state management, equipment information inquiry, etc.
In this embodiment, 3 data tables are built in the system software:
User table (user_tab) (Table 1)
In the embodiment, 2 users are built, namely, a user name 1 and a user name 2;
Equipment table (device_tab) (Table 2)
In the embodiment, 5 devices are built, namely a PLC (programmable logic controller) with the sequence number of 1, an intelligent gateway with the sequence number of 2, a wireless data collector with the sequence number of 3, a user data server I81 with the sequence number of 4, a user data server II 82 with the sequence number of 5;
User-device association table (user_device) (table 3)
In this embodiment, a user-device association table is built, see table 3, in which user 1 has a PLC4, an intelligent gateway 5, and a first user data server 81, and user 2 has an automobile 3 with wireless (4G/5G) data acquisition devices, and a second user data server 82.
3. User data server
As shown in FIG. 3, the first user data server 81 and the second user data server 82 are connected to the Internet through one of the home broadband, wireless and private lines, the first user data server 81 is registered on the system server according to the device registration step, the system software obtains the device type as user server through registration information, the sequence number is 4, the device belongs to user 1 in the user-device association table (table 3), the IPv6 address of the registration message is finally written into the IPv6_addr field with the user number of 1 in the user table (table 1), the second user data server 82 is registered on the system server according to the device registration step, the system software obtains the device type as user server through registration information, the sequence number is 5, the device belongs to user 5 in the user-device association table (table 3), the IPv6 address of the registration message is finally written into the IPv6_addr field with the user number of 2 in the user table (table 1), and the first user data server 82 can be changed in time when the user data server is normally used for receiving the user data server, and the user data server 82 can be changed in time, and the communication function can be changed when the user data server is normally, and the user data server is still normally used for receiving the user data server 81.
4. PLC device
As shown in fig. 3, after PLC4 is connected to home broadband router 1 through a network cable, PLC4 device is registered on a system server according to a device registration procedure, system software obtains the sequence number 1 of the device through registration information, searches a user-device association table (table 3) for the device belonging to user 1, searches a user data server IPv6 address in the user table (table 1), and finally sends the IPv6 address of user data server one 81 to PLC4 through a system setting command, and also sends the IPv6 address of PLC4 to user data server one 81, and then PLC4 device communicates with user data server one 81 to implement direct communication of devices having two dynamic IPv 6. As shown in fig. 3, the PLC4 collects real-time data of the pressure sensor 12, the temperature sensor 13, the industrial robot 14, etc., and then transmits the corresponding real-time data to the first user data server 81, and the PLC4 performs the function of monitoring the change of the IPv6 network address of the device while normally performing data collection and control, if the change occurs, the PLC4 registers again in time, so that the normal communication between the PLC4 and the first user data server 81 is not affected after the change of the IPv6 address.
5. Intelligent gateway equipment
As shown in fig. 3, after the intelligent gateway 5 is connected to the special router 2 through a network cable, the intelligent gateway 5 is registered on a system server according to a device registration step, the system software obtains the sequence number 2 of the device through registration information, searches a user-device association table (table 3) for the device belonging to the user 1, searches a user table (table 1) for the IPv6 address of the first user data server 81, sends the IPv6 address of the first user data server 81 to the intelligent gateway 5 through a system setting command, and sends the IPv6 address of the intelligent gateway 5 to the first user data server 81, so that the sequence number of the intelligent gateway is mapped with the IPv6 address of the first user data server 81, after the identifier registration is completed, the device communicates with the first user server 1 to realize direct communication of the device with two dynamic IPv6, and the intelligent gateway 5 performs data communication interaction with the coal mining machine 15 according to the communication protocol, and then the intelligent gateway 5 transmits real-time data of the coal mining machine 15 to the first user data server 81. The intelligent gateway 5 normally performs data acquisition and protocol conversion, and also performs the function of monitoring the change of the IPv6 network address of the device, if the change exists, the device registers again in time, and the normal communication between the intelligent gateway 5 and the user data server 81 is not affected after the change of the IPv6 address.
6. Automobile with wireless (4G/5G) data acquisition equipment
As shown in fig. 3, the automobile 3 with the wireless data collector (4G/5G) registers the device on the system server through the wireless 4G/5G card according to the device registration step, the system software obtains the sequence number 3 of the wireless data collector (4G/5G) through the registration information, searches the user_device association table (table 3) for the device belonging to the user 2, searches the user table (table 1) for the IPv6 address of the second user data server 82, finally sends the IPv6 address of the second user data server 82 to the wireless (4G/5G) data collector through the system setting command, and sends the IPv6 address of the wireless (4G/5G) data collector to the second user data server 82, then the device communicates with the user server 2 normally, so as to realize direct communication of the device with two dynamic IPv6, and the network prefix obtained by the wireless 4G/5G card is different because of different communication base stations. The wireless data collector (4G/5G) collects information such as environmental parameters, automobile parameters, GPS and the like, and the automobile continuously transmits the collected real-time data to the second user data server 82 according to the running route. The wireless data collector (4G/5G) normally collects data, and simultaneously executes the function of monitoring the IPv6 network address change of the device, if the device is changed, the device is registered again in time, and the normal communication between the wireless data collector (4G/5G) and the second user data server 82 is not affected after the IPv6 address is changed.
The embodiment shows the specific operation and advantages of the method and the system in practical application by elaborating the workflow and the function implementation of the equipment identifier, the system server, the user data server and various specific equipment in the equipment networking based on the IPv6 protocol, realizes the efficient registration, the dynamic address management, the stable communication and the intelligent management of the equipment, and provides a reliable solution for the interconnection and the intercommunication and the data interaction of different types of equipment in the IPv6 network.
It should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention, and not for limiting the same, and although the present invention has been described in detail with reference to the above-mentioned embodiments, it should be understood by those skilled in the art that the technical solution described in the above-mentioned embodiments may be modified or some technical features may be equivalently replaced, and these modifications or substitutions do not make the essence of the corresponding technical solution deviate from the spirit and scope of the technical solution of the embodiments of the present invention.

Claims (9)

1.一种基于IPv6协议的设备联网方法,其特征在于,包括:1. A device networking method based on IPv6 protocol, characterized by comprising: 步骤一,设备注册步骤;设备读取自身唯一标识符中的顺序号,每台设备拥有唯一的设备标识符,设备标识符共24字节,包含以下信息:设备类型1字节、运行模式1字节、系统软件版本号2字节、设备顺序号4字节、系统软件长度4字节、系统软件校验和4字节、用户软件长度4字节、用户软件校验和4字节;其中设备顺序号具有唯一性不重复,是生成设备IPv6地址的组成部分;设备注册信息就是设备标识符;将该顺序号与随机数生成器产生的字节组合生成网卡标识符,进而生成设备本地链路地址;设备发送多播邻居请求,若地址不唯一则重复操作直至地址唯一,随后查询路由器IPv6网络地址前缀,与网卡标识符拼成设备的IPv6地址并向系统注册设备标识符信息,随后准备接收系统服务器发送的用户数据服务器IPv6地址以设定通信对象,完成设备注册;Step 1, device registration step; the device reads the sequence number in its own unique identifier. Each device has a unique device identifier. The device identifier is 24 bytes in total and includes the following information: 1 byte for device type, 1 byte for operating mode, 2 bytes for system software version number, 4 bytes for device sequence number, 4 bytes for system software length, 4 bytes for system software checksum, 4 bytes for user software length, and 4 bytes for user software checksum; the device sequence number is unique and non-repetitive, and is a component of generating the device IPv6 address; the device registration information is the device identifier; the sequence number is combined with the bytes generated by the random number generator to generate a network card identifier, and then the device local link address is generated; the device sends a multicast neighbor request. If the address is not unique, the operation is repeated until the address is unique, and then the router IPv6 network address prefix is queried, and the IPv6 address of the device is assembled with the network card identifier and the device identifier information is registered with the system, and then the user data server IPv6 address sent by the system server is prepared to be received to set the communication object and complete the device registration; 步骤二,设备IPv6网络地址变化监测步骤;设备侦听ICMP6协议的路由公告信息,当发现路由器网络前缀变化时,利用新的网络前缀与设备的网卡标识符重新生成设备的IPv6地址,并完成IPv6地址重新注册;Step 2: Device IPv6 network address change monitoring step: the device listens to the routing announcement information of the ICMP6 protocol, and when it finds that the router network prefix has changed, it uses the new network prefix and the device's network card identifier to regenerate the device's IPv6 address and completes the IPv6 address re-registration; 步骤三,系统功能步骤;系统接收设备的注册信息并登记设备相关信息,远程设置设备的相关参数,进行用户管理和设备管理,其中设备管理包括软件远程在线升级、设备统计、运行模式管理、分组管理、通信状态管理和信息查询。Step three, system function step; the system receives the registration information of the device and registers the relevant information of the device, remotely sets the relevant parameters of the device, and performs user management and device management, where the device management includes remote online software upgrade, device statistics, operation mode management, group management, communication status management and information query. 2.根据权利要求1所述的一种基于IPv6协议的设备联网方法,其特征在于,在所述设备注册步骤中,生成网卡标识符的操作包括:2. The device networking method based on IPv6 protocol according to claim 1, characterized in that in the device registration step, the operation of generating a network card identifier comprises: 将提取的4字节设备顺序号与随机数生成器产生的4字节组合,形成64位的网卡标识符,进而生成设备本地链路地址。The extracted 4-byte device sequence number is combined with the 4 bytes generated by the random number generator to form a 64-bit network card identifier, which in turn generates the device local link address. 3.根据权利要求1所述的一种基于IPv6协议的设备联网方法,其特征在于,在所述设备注册步骤中,设备发送多播邻居请求后,若接收到邻居公告则判定地址不唯一,重复执行以下操作直至本地链路地址唯一:3. According to the device networking method based on IPv6 protocol in claim 1, it is characterized in that in the device registration step, after the device sends a multicast neighbor request, if a neighbor announcement is received, it is determined that the address is not unique, and the following operations are repeated until the local link address is unique: 重新读取设备顺序号,再次与随机数生成器产生的4字节组合生成新的网卡标识符及本地链路地址,随后再次发送多播邻居请求。The device sequence number is re-read and combined with the 4 bytes generated by the random number generator to generate a new network card identifier and local link address, and then the multicast neighbor request is sent again. 4.根据权利要求1所述的一种基于IPv6协议的设备联网方法,其特征在于,在所述设备注册步骤中,查询路由器IPv6网络地址前缀后,若该网络前缀不足64位,则在其低位补0形成64位网络前缀地址,再与设备的64位网卡标识符拼成设备的IPv6地址。4. A device networking method based on IPv6 protocol according to claim 1, characterized in that, in the device registration step, after querying the router IPv6 network address prefix, if the network prefix is less than 64 bits, then fill in its lower bits with 0 to form a 64-bit network prefix address, and then combine it with the device's 64-bit network card identifier to form the device's IPv6 address. 5.根据权利要求1所述的一种基于IPv6协议的设备联网方法,其特征在于,在所述系统功能步骤中,用户管理包括记录用户编号、名称、联系人、电话、地址、设备编号以及用户数据服务器编号信息;设备管理中的设备统计包括统计设备类型和数量,设备运行模式管理用于管理设备不同的运行状态,分组管理用于对设备进行分类分组,通信状态管理用于监控设备通信的连接与传输状态,信息查询用于查询设备的各类相关信息。5. According to claim 1, a device networking method based on IPv6 protocol is characterized in that, in the system function step, user management includes recording user number, name, contact person, telephone number, address, device number and user data server number information; device statistics in device management include statistics on device type and quantity, device operation mode management is used to manage different operation states of devices, group management is used to classify and group devices, communication status management is used to monitor the connection and transmission status of device communication, and information query is used to query various types of relevant information of the device. 6.一种基于IPv6协议的设备联网系统,基于上述权利要求1-5所述的设备联网方法,其特征在于,包括:设备模块、系统服务器模块、用户数据服务器模块、软件模块;6. A device networking system based on IPv6 protocol, based on the device networking method according to claims 1-5, characterized in that it comprises: a device module, a system server module, a user data server module, and a software module; 所述设备模块与所述系统服务器模块、所述用户数据服务器模块以及所述软件模块通信连接,将基于权利要求1中所述设备联网方法的所述设备注册步骤得到的动态IPv6地址注册到系统服务器模块,接收软件模块指令,与所属的用户数据服务器模块进行通信,实现数据传输与交互;The device module is in communication with the system server module, the user data server module and the software module, registers the dynamic IPv6 address obtained in the device registration step based on the device networking method in claim 1 to the system server module, receives software module instructions, and communicates with the user data server module to achieve data transmission and interaction; 所述系统服务器模块具有固定IPv6地址,用于接收设备模块注册信息,包括设备标识符和IPv6地址,登记设备相关信息;通过软件模块向设备下发管理指令,实现用户管理、设备管理及设备数据存储功能,在设备模块与用户数据服务器模块通信中起桥梁作用;The system server module has a fixed IPv6 address, which is used to receive device module registration information, including device identifier and IPv6 address, and register device related information; it sends management instructions to the device through the software module to realize user management, device management and device data storage functions, and plays a bridging role in the communication between the device module and the user data server module; 所述用户数据服务器模块,用于存储用户属下设备数据,无需固定IPv6地址,基于其唯一标识符通过设备注册步骤将顺序号映射为动态IPv6地址并注册到系统服务器模块,接收软件模块指令,与所属设备模块进行通信,实现数据传输与交互;同时执行设备IPv6网络地址变化监测功能,如有变化,及时再次注册,确保在其IPv6地址动态变化时仍能与其属下设备正常通信;The user data server module is used to store the user's subordinate device data, without a fixed IPv6 address. Based on its unique identifier, the sequence number is mapped to a dynamic IPv6 address through the device registration step and registered to the system server module, receiving software module instructions, communicating with the subordinate device module, and realizing data transmission and interaction; at the same time, it performs the device IPv6 network address change monitoring function. If there is a change, it will be registered again in time to ensure that it can still communicate normally with its subordinate devices when its IPv6 address changes dynamically; 所述软件模块运行于系统服务器模块上,包含接收设备唯一标识符、IPv6地址注册功能单元,实现设备注册信息的接收与处理;具有系统管理指令下发功能,同时具备用户管理、设备管理、设备数据存贮功能,保障整个系统的正常运行和设备间的有效通信。The software module runs on the system server module and includes a functional unit for receiving a unique device identifier and an IPv6 address registration to realize the reception and processing of device registration information; it has the function of issuing system management instructions, and also has user management, device management, and device data storage functions to ensure the normal operation of the entire system and effective communication between devices. 7.根据权利要求6所述的一种基于IPv6协议的设备联网系统,其特征在于,所述设备模块包括:7. The device networking system based on IPv6 protocol according to claim 6, characterized in that the device module comprises: 标识符读取单元,用于读取设备自身唯一标识符中的顺序号,该唯一标识符为24字节,包含设备类型1字节、运行模式1字节、系统软件版本号2字节、设备顺序号4字节、系统软件长度4字节、系统软件校验和4字节、用户软件长度4字节、用户软件校验和4字节,此单元从标识符中提取4字节的设备顺序号;The identifier reading unit is used to read the sequence number in the unique identifier of the device itself. The unique identifier is 24 bytes, including 1 byte of device type, 1 byte of operation mode, 2 bytes of system software version number, 4 bytes of device sequence number, 4 bytes of system software length, 4 bytes of system software checksum, 4 bytes of user software length, and 4 bytes of user software checksum. This unit extracts the 4-byte device sequence number from the identifier; 网卡标识符生成单元,其与所述标识符读取单元连接,接收提取的设备4字节顺序号,将该顺序号与随机数生成器产生的4字节组合,形成64位的网卡标识符,进而生成设备本地链路地址;a network card identifier generating unit connected to the identifier reading unit, receiving the extracted 4-byte sequence number of the device, combining the sequence number with the 4 bytes generated by the random number generator to form a 64-bit network card identifier, and then generating a device local link address; 地址检测与注册单元,其与所述网卡标识符生成单元连接,负责发送多播邻居请求,若接收到邻居公告则判定地址不唯一,触发标识符读取单元和网卡标识符生成单元重新生成地址,直至本地链路地址唯一,之后查询路由器IPv6网络地址前缀,若不足64位则在低位补0形成64位网络前缀地址,再与设备的64位网卡标识符拼成设备的IPv6地址,并向系统服务器注册设备标识符信息,完成设备注册过程,同时准备接收系统服务器发送的用户数据服务器IPv6地址,设定通信对象;An address detection and registration unit is connected to the network card identifier generation unit and is responsible for sending a multicast neighbor request. If a neighbor announcement is received, it is determined that the address is not unique, and the identifier reading unit and the network card identifier generation unit are triggered to regenerate the address until the local link address is unique. Then, the router IPv6 network address prefix is queried. If it is less than 64 bits, 0 is added to the lower bits to form a 64-bit network prefix address, and then the 64-bit network card identifier of the device is combined to form the IPv6 address of the device, and the device identifier information is registered with the system server to complete the device registration process. At the same time, the user data server IPv6 address sent by the system server is prepared to be received and the communication object is set; 通信单元,其与所述地址检测与注册单元连接,依据注册时设定的通信对象,与用户数据服务器进行通信,实现数据的传输,同时接收软件模块指令,执行相应操作。The communication unit is connected with the address detection and registration unit, and communicates with the user data server according to the communication object set during registration to realize data transmission, and at the same time receives software module instructions and executes corresponding operations. 8.根据权利要求6所述的一种基于IPv6协议的设备联网系统,其特征在于,所述系统服务器模块包括:8. The device networking system based on IPv6 protocol according to claim 6, characterized in that the system server module comprises: 注册信息接收单元,其与设备模块连接,用于接收设备模块发送的注册信息;A registration information receiving unit, connected to the device module, and configured to receive registration information sent by the device module; 信息登记单元,其与所述注册信息接收单元连接,负责登记设备的类型、模式、系统版本、顺序号以及IPv6地址信息,为设备管理和查询提供数据支持;An information registration unit, which is connected to the registration information receiving unit and is responsible for registering the type, mode, system version, sequence number and IPv6 address information of the device, and providing data support for device management and query; 指令下发单元,其与所述软件模块连接,接收软件模块的指令,即设置设备所属用户数据服务器IPv6地址的指令;An instruction issuing unit, which is connected to the software module and receives an instruction from the software module, i.e., an instruction for setting an IPv6 address of a user data server to which the device belongs; 用户管理单元,其负责管理用户相关信息,包括记录用户编号、名称、联系人、电话、地址、设备编号以及用户数据服务器编号信息,用于实现用户与设备的关联管理;The user management unit is responsible for managing user-related information, including recording user ID, name, contact person, phone number, address, device ID, and user data server ID information, which is used to achieve the association management between users and devices; 设备管理单元,其与所述软件模块连接,实现设备管理功能,包括设备软件远程在线升级功能子单元,用于更新设备的软件程序;设备统计功能子单元,统计设备类型和数量;设备运行模式管理功能子单元,用于管理设备不同的运行状态;分组管理功能子单元,用于对设备进行分类分组;通信状态管理功能子单元,用于监控设备通信的连接与传输状态;信息查询功能子单元,用于查询设备的各类相关信息。The device management unit is connected to the software module to implement the device management function, including a device software remote online upgrade function subunit for updating the device software program; a device statistics function subunit for counting the type and quantity of devices; a device operation mode management function subunit for managing the different operation states of the device; a group management function subunit for classifying and grouping the devices; a communication status management function subunit for monitoring the connection and transmission status of the device communication; and an information query function subunit for querying various types of relevant information of the device. 9.根据权利要求6所述的一种基于IPv6协议的设备联网系统,其特征在于,所述用户数据服务器模块包括:9. The device networking system based on IPv6 protocol according to claim 6, characterized in that the user data server module comprises: 数据存储单元,用于存储用户属下设备的数据,为设备数据提供存储和管理空间;The data storage unit is used to store the data of the user's devices and provide storage and management space for the device data; 注册单元二,其用于完成用户数据服务器的注册过程;Registration unit 2, which is used to complete the registration process of the user data server; 地址监测单元,用于持续侦听设备的IPv6网络地址变化,当发现路由器网络前缀变化时,通知设备重新生成IPv6地址并完成注册,确保设备与用户数据服务器之间的通信不受地址变化影响;The address monitoring unit is used to continuously monitor the IPv6 network address changes of the device. When the router network prefix changes, it notifies the device to regenerate the IPv6 address and complete the registration, ensuring that the communication between the device and the user data server is not affected by the address change; 标识符读取单元二,其用于读取用户数据服务器自身唯一标识符中的顺序号;随后用户数据服务器自动生成网卡标识符;Identifier reading unit 2, which is used to read the sequence number in the unique identifier of the user data server itself; then the user data server automatically generates a network card identifier; 通信接口单元,用于实现与设备模块和系统服务器模块的数据通信,接收设备模块发送的数据并传输给数据存储单元,同时接收相关指令和信息。The communication interface unit is used to realize data communication with the device module and the system server module, receive data sent by the device module and transmit it to the data storage unit, and receive relevant instructions and information at the same time.
CN202411765042.4A 2024-12-04 2024-12-04 Equipment networking method and system based on IPv6 protocol Active CN119254744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411765042.4A CN119254744B (en) 2024-12-04 2024-12-04 Equipment networking method and system based on IPv6 protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411765042.4A CN119254744B (en) 2024-12-04 2024-12-04 Equipment networking method and system based on IPv6 protocol

Publications (2)

Publication Number Publication Date
CN119254744A CN119254744A (en) 2025-01-03
CN119254744B true CN119254744B (en) 2025-02-18

Family

ID=94026617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411765042.4A Active CN119254744B (en) 2024-12-04 2024-12-04 Equipment networking method and system based on IPv6 protocol

Country Status (1)

Country Link
CN (1) CN119254744B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688243A (en) * 2019-01-28 2019-04-26 重庆邮电大学 Sensing node IPv6 address distribution method based on trusted identity mark
CN110601984A (en) * 2019-09-20 2019-12-20 清华大学 Method and device for acquiring local service and generating link local address

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI109950B (en) * 2000-01-20 2002-10-31 Nokia Corp Address Acquisition
US7734745B2 (en) * 2002-10-24 2010-06-08 International Business Machines Corporation Method and apparatus for maintaining internet domain name data
CN101449529A (en) * 2006-05-19 2009-06-03 华为技术有限公司 Using dhcpv6 and aaa for mobile station prefix delegation and enhanced neighbor discovery
KR100902841B1 (en) * 2007-09-03 2009-06-16 고려대학교 산학협력단 Home Network System and Home Networking Methods
CN102833732B (en) * 2012-07-25 2017-03-29 中兴通讯股份有限公司 System, data card and its implementation that a kind of IPv6 addresses stateless is automatically configured
KR20150106122A (en) * 2014-03-11 2015-09-21 한국전자통신연구원 Method of IPv6 address configuration
KR101652448B1 (en) * 2015-04-17 2016-08-30 엘지전자 주식회사 METHOD FOR ALLOCATING ADDRESS OF USER EQUIPMENT IN 3GPP IPv6 AND APPARATUS THEREOF
CN118140463A (en) * 2021-08-25 2024-06-04 瑞典爱立信有限公司 Generating or providing IPv6 addresses

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688243A (en) * 2019-01-28 2019-04-26 重庆邮电大学 Sensing node IPv6 address distribution method based on trusted identity mark
CN110601984A (en) * 2019-09-20 2019-12-20 清华大学 Method and device for acquiring local service and generating link local address

Also Published As

Publication number Publication date
CN119254744A (en) 2025-01-03

Similar Documents

Publication Publication Date Title
KR100796865B1 (en) Mobile communication terminal and network access system using same and method thereof
CN110913031A (en) IPv6 network address configuration method
US20030093542A1 (en) Communication device and communication control method using efficient echonet address determination scheme
WO2007052913A1 (en) Method of generating and managing connection identifiers for supporting multicast for each group in ipv6-based wireless network and network interface using the method
CN105959906A (en) Inter-network device communication method and inter-network device communication method
CN101098256A (en) Simple network management protocol based cluster management method and system
JP5851374B2 (en) Data management system
CN102833287B (en) The method of visit data resource in distributed file system and distributed file system
CN202094935U (en) Dynamic IP network based remote switch signal control system
CN119254744B (en) Equipment networking method and system based on IPv6 protocol
CN111698339B (en) IPV6 network positioning method and device
CN112995038B (en) Access method of PROFINET protocol in industrial SDN
CN102480476A (en) Multi-service access method based on DHCP protocol extension
CN115776678B (en) Networking method, server and medium based on 5G local area network
CN115943616B (en) Attribute subscription method, device and equipment for Zigbee equipment
CN115968543B (en) Resource mapping method, device, equipment and storage medium
CN110601892B (en) Main module access method, device and equipment based on object-oriented protocol
CN212463256U (en) Wireless terminal equipment of Internet of things and communication module
CN104427553A (en) Multicast group optimization method and anchor point
KR101184122B1 (en) Method for providing mobility of device moving to mobile network in wireless sensor network based on 6LoWPAN
CN115604224B (en) Method, device, equipment and system for providing address service
CN118869466B (en) A configuration distribution method, device, equipment and storage medium
CN110913029A (en) IPv6 address configuration method in operator
Wang et al. IPv6 Address Assignment and Management Mechanism for Heterogeneous Industrial Networks
KR20140072667A (en) Gateway and method for converting ip address in gateway

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