Addressing method and device, related equipment and storage medium

By receiving address information and identification information of terminals and industrial equipment in a wireless environment, determining and issuing address mapping information, the problem of device address allocation sequence in a wireless environment is solved, and effective addressing and address allocation of industrial networks is realized.

CN120075185APending Publication Date: 2025-05-30CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311629883.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

In a wireless environment, the device cannot allocate slave addresses in sequence, and the device does not have a physical sequential location for actual access. It is necessary to use network-side means to realize the mapping of address and sequence. However, the subsequent operation of the industrial network requires packet grouping and forwarding based on the sequential addressing structure.

Method used

By receiving the address information reported by the terminal and the identification information of the industrial equipment in a wireless environment, when the industrial equipment initiates addressing, the address information in the data packet is obtained, the address mapping information is determined, and the address mapping information is sent to the terminal to allocate the initial address.

Benefits of technology

It realizes address allocation of terminals and industrial equipment in a wireless environment, ensures the order of addresses, and meets the addressing needs of industrial networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075185A_ABST
    Figure CN120075185A_ABST
Patent Text Reader

Abstract

The invention discloses an addressing method and device, network equipment, a terminal and a storage medium. The method comprises the following steps: in a wireless environment, receiving first address information reported by at least one terminal and first identification information of first industrial equipment hung under each terminal; under the condition that the first industrial equipment initiates addressing, acquiring a first data packet issued by the first industrial equipment based on the first identification information; the first data packet comprises second address information of the first industrial equipment; determining addressing mapping information of the first data packet based on the first address information and the second address information; the addressing mapping information is issued to the terminal; the addressing mapping information is used for allocating initial addresses of the terminal and a second industrial device belonging to the first industrial device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technologies, and in particular, to an addressing method, apparatus, related device, and storage medium. Background Art

[0002] At the current stage, in a wired network, different terminals can achieve sequential addressing according to the access order and location, so as to complete the determination of the slave station address. Existing wireless solutions have been able to report information such as the terminal IP, port number, and device name, but there are the following problems in a wireless environment: (1) Devices cannot allocate the slave station address through sequential means; (2) Devices do not have an actual physical order of access, and it is necessary to implement the mapping between the address and the order through network-side means, but the subsequent operation of the industrial network needs to be packetized and forwarded based on the sequential addressing structure. For this problem, there is currently no effective solution. Summary of the Invention

[0003] To solve the related technical problems, embodiments of this application provide an addressing method, apparatus, related device, and storage medium.

[0004] The technical solution of the embodiments of this application is implemented as follows:

[0005] Embodiments of this application provide an addressing method, which is applied to a network device and includes:

[0006] In a wireless environment, receiving first address information reported by at least one terminal and first identification information of a first industrial device subordinate to each terminal;

[0007] When the first industrial device initiates addressing, obtaining a first data packet sent by the first industrial device based on the first identification information; the first data packet includes second address information of the first industrial device;

[0008] Determining addressing mapping information of the first data packet based on the first address information and the second address information;

[0009] Sending the addressing mapping information to the terminal; the addressing mapping information is used to allocate initial addresses of the terminal and a second industrial device subordinate to the first industrial device.

[0010] In the above solution, the first identification information includes at least one of the following:

[0011] Input / Output (I / O) information of the first industrial device;

[0012] Identity information of the first industrial device.

[0013] In the above solution, the first address information includes an Internet Protocol (IP) address; the second address information includes a setting address, and determining the addressing mapping information of the first data packet based on the first address information and the second address information includes:

[0014] Configuring the sequential address and logical address of the first data packet;

[0015] Determining the addressing mapping information of the first data packet based on the IP address, the setting address, the sequential address, and the logical address.

[0016] In the above solution, sending the addressing mapping information to the terminal includes:

[0017] Sending the addressing mapping information to the terminal by means of broadcast, multicast, and / or unicast.

[0018] In the above solution, sending the addressing mapping information to the terminal by means of broadcast includes:

[0019] Sending the addressing mapping information to the terminal by means of broadcasting through a preset system information block (SIB).

[0020] In the above solution, sending the addressing mapping information to the at least one terminal by means of broadcasting through a preset SIB includes:

[0021] Obtaining the information element (IE) of the SIB; the IE carries the addressing mapping information;

[0022] Sending the IE to the terminal.

[0023] In the above solution, sending the addressing mapping information to the terminal by means of multicast includes:

[0024] Obtaining the group identifier of each terminal;

[0025] Determining the terminals belonging to the same group based on the group identifier;

[0026] Sending the addressing mapping information to the terminals in the same group.

[0027] In the above solution, sending the addressing mapping information to the terminal by means of unicast includes:

[0028] Addressing mapping information is sent to the terminal by unicast according to the IP address of each terminal.

[0029] The embodiment of the present application further provides an addressing method, which is applied to a terminal and includes:

[0030] In a wireless environment, reporting first address information of the terminal and first identification information of a first industrial device hung under the terminal to a network device; the first identification information is used for the network device to obtain a first data packet sent by the first industrial device based on the first identification information when the first industrial device initiates addressing; the first data packet includes second address information of the first industrial device; and determining addressing mapping information of the first data packet based on the first address information and the second address information;

[0031] Receiving the addressing mapping information sent by the network device;

[0032] Using the addressing mapping information to allocate initial addresses of the terminal and a second industrial device subordinate to the first industrial device.

[0033] In the above solution, the receiving the addressing mapping information sent by the network device includes:

[0034] Receiving the addressing mapping information sent by the network device in a broadcast, multicast, and / or unicast manner.

[0035] In the above solution, the receiving the addressing mapping information sent by the network device in a broadcast manner includes:

[0036] Receiving the addressing mapping information sent by the network device in a broadcast manner through a preset system information block (SIB).

[0037] In the above solution, the receiving the addressing mapping information sent by the network device in a broadcast manner through a preset system information block (SIB) includes:

[0038] Receiving element information (IE) of the SIB sent by the network device; the IE carries the addressing mapping information.

[0039] The embodiment of the present application further provides an addressing device, which is disposed on a network device and includes:

[0040] A first receiving unit, configured to receive first address information reported by at least one terminal and first identification information of a first industrial device hung under each terminal in a wireless environment;

[0041] An obtaining unit, configured to obtain a first data packet sent by the first industrial device based on the first identification information when the first industrial device initiates addressing; the first data packet includes second address information of the first industrial device;

[0042] A determination unit, configured to determine addressing mapping information of the first data packet based on the first address information and the second address information;

[0043] A distribution unit, configured to distribute the addressing mapping information to the terminal; the addressing mapping information is used to allocate initial addresses of the terminal and a second industrial device subordinate to the first industrial device.

[0044] An embodiment of the present application further provides an addressing device, disposed on a terminal, including:

[0045] Disposed on the terminal, including:

[0046] A reporting unit, configured to report, in a wireless environment, the first address information of the terminal and the first identification information of a first industrial device hung under the terminal to a network device; the first identification information is used for the network device to obtain a first data packet sent by the first industrial device based on the first identification information when the first industrial device initiates addressing; the first data packet includes the second address information of the first industrial device; and to determine addressing mapping information of the first data packet based on the first address information and the second address information;

[0047] A second receiving unit, configured to receive the addressing mapping information sent by the network device;

[0048] An allocation unit, configured to allocate initial addresses of the terminal and a second industrial device subordinate to the first industrial device by using the addressing mapping information.

[0049] An embodiment of the present application further provides a network device, including: a first communication interface and a first processor; wherein,

[0050] The first communication interface is configured to receive, in a wireless environment, the first address information reported by at least one terminal and the first identification information of a first industrial device hung under each terminal;

[0051] The first processor is configured to obtain, when the first industrial device initiates addressing, a first data packet sent by the first industrial device based on the first identification information; the first data packet includes the second address information of the first industrial device; to determine addressing mapping information of the first data packet based on the first address information and the second address information;

[0052] The first communication interface is further configured to distribute the addressing mapping information to the terminal; the addressing mapping information is used to allocate initial addresses of the terminal and a second industrial device subordinate to the first industrial device.

[0053] An embodiment of the present application further provides a terminal, including: a second communication interface and a second processor; wherein,

[0054] The second communication interface is configured to report the first address information of the terminal and the first identification information of the first industrial device subordinate to the terminal to a network device in a wireless environment; the first identification information is used for the network device to obtain a first data packet sent by the first industrial device based on the first identification information when the first industrial device initiates addressing; the first data packet includes the second address information of the first industrial device; and determine the addressing mapping information of the first data packet based on the first address information and the second address information; receive the addressing mapping information sent by the network device;

[0055] The second processor is configured to allocate initial addresses of the terminal and a second industrial device subordinate to the first industrial device by using the addressing mapping information.

[0056] An embodiment of the present application further provides a network device, including: a first processor and a first memory for storing a computer program that can run on the processor,

[0057] wherein, when the first processor is configured to run the computer program, it executes the steps of any of the methods on the network device side described above.

[0058] An embodiment of the present application further provides a terminal, including: a second processor and a second memory for storing a computer program that can run on the processor,

[0059] wherein, when the second processor is configured to run the computer program, it executes the steps of any of the methods on the terminal side described above.

[0060] An embodiment of the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of any of the methods on the network device side described above, or implements the steps of any of the methods on the terminal side described above.

[0061] The addressing method, device, related equipment and storage medium provided by the embodiments of the present application. In a wireless environment, a network device receives first address information reported by at least one terminal and first identification information of a first industrial device connected to each of the terminals; in the case where the first industrial device initiates addressing, based on the first identification information, the network device obtains a first data packet sent by the first industrial device; the first data packet includes second address information of the first industrial device; based on the first address information and the second address information, the network device determines addressing mapping information of the first data packet; and the network device sends the addressing mapping information to the terminal; the addressing mapping information is used to allocate initial addresses for the terminal and a second industrial device subordinate to the first industrial device; correspondingly, for a terminal, in a wireless environment, the terminal reports the first address information of the terminal and the first identification information of the first industrial device connected to the terminal to the network device; the first identification information is used for the network device to obtain, based on the first identification information, the first data packet sent by the first industrial device in the case where the first industrial device initiates addressing; the first data packet includes second address information of the first industrial device; and based on the first address information and the second address information, the network device determines the addressing mapping information of the first data packet; the terminal receives the addressing mapping information sent by the network device; and the terminal uses the addressing mapping information to allocate initial addresses for the terminal and the second industrial device subordinate to the first industrial device; By adopting the solution of the present application, through the first industrial device initiating addressing, based on the first identification information of the first industrial device connected to each terminal, a data packet including the second address information of the first industrial device sent by the first industrial device is obtained, and then the addressing mapping information of the first data packet is determined, and the addressing mapping information is sent to the terminal to allocate initial addresses for the terminal and the second industrial device subordinate to the first industrial device. That is, by maintaining the addressing mapping information on the network side, sequential allocation of addresses for the second industrial device subordinate to the first industrial device is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 It is a schematic diagram for sequential addressing;

[0063] Figure 2 It is a schematic flowchart of the addressing method according to the embodiment of the present application;

[0064] Figure 3 It is another schematic flowchart of the addressing method according to the embodiment of the present application;

[0065] Figure 4 It is a schematic diagram of the address data according to the embodiment of the present application;

[0066] Figure 5 It is a schematic diagram of the code program of the SIB1 message according to the embodiment of the present application;

[0067] Figure 6 Schematic diagram for the explanation of the SIB1 message in the embodiments of the present application;

[0068] Figure 7 Schematic diagram of the device for addressing in the embodiments of the present application;

[0069] Figure 8 Another schematic diagram of the device for addressing in the embodiments of the present application;

[0070] Figure 9 Schematic diagram of the structure of the network device in the embodiments of the present application;

[0071] Figure 10 Schematic diagram of the structure of the terminal in the embodiments of the present application;

[0072] Figure 11 Schematic diagram of the structure of the addressing system in the embodiments of the present application. Detailed implementation manners

[0073] The present application will be further described in detail below with reference to the accompanying drawings and embodiments.

[0074] With the gradual increase in the penetration rate of the 5th Generation Mobile Communication Technology (5G), the integration of 5G and industry has gradually evolved from factory-level auxiliary production to production-line-level core production. At present, most industrial sites use wired networking. Station-level centralized controllers (such as Programmable Logic Controllers (PLCs)) are connected by wire to form an industrial ring network. The PLC is connected southward to the IO actuator by wire, and data is transmitted between the PLC and the IO through the industrial ethernet protocol; the IO is connected southward to the physical device by wire, and data is transmitted between the IO and the physical device through the industrial bus protocol. After the cloud-based PLC is deployed on the edge cloud side through 5G, a wireless link between the controller and the IO can be achieved.

[0075] At present, there are many types of industrial transmission protocols. The mainstream industrial Ethernet protocols include serial communication protocols (ModbusTCP), automation bus standards for industrial Ethernet technology (Profinet), Ethernet control automation technology (Ethercat), etc. In the case of industrial equipment initialization, in order to further reduce latency, industrial Ethernet needs to address all devices within the local area network. Taking Ethercat as an example, all devices on the end side will be addressed in the order of their wired connections. When addressing sequentially, the address of a slave station is determined by its connection position within the network segment, and a negative number is used to represent the position of each slave station within the network segment determined by the wiring order. When the sequential addressing sub-message passes through each slave station device, its position address is incremented by 1. When a slave station receives a message, if the address is zero, it is its own message. This content can be combined with Figure 1 for understanding, Figure 1 which is a schematic diagram of sequential addressing.

[0076] After completing sequential addressing, its assigned order is its logical address bit, and subsequently the master station can use the station address independent of the physical position to address the slave station.

[0077] At present, under wired networking, different terminals can achieve sequential addressing according to the access order and position, thereby completing the determination of the slave station address. Existing wireless solutions can already report information such as the terminal IP, port number, and device name, but there are the following problems in a wireless environment:

[0078] 1. Devices cannot allocate the slave station address through sequential means;

[0079] 2. Devices do not have an actual physical access order position, and it is necessary to use network-side means to implement the mapping of the address and the order. However, the subsequent operation of the industrial network requires packet assembly and forwarding based on the sequential addressing structure.

[0080] This patent proposes an addressing method for industrial devices in a wireless environment. On the one hand, it realizes the allocation of the slave station address through broadcast or multicast information; on the other hand, it realizes the sequential allocation of different slave station addresses by maintaining a mapping table on the network side.

[0081] Based on this, an embodiment of this application provides an addressing method, which is applied to a network device, Figure 2 which is a schematic flow diagram of the addressing method of the embodiment of this application; as Figure 2 shown, this method includes:

[0082] Step 201: In a wireless environment, receive the first address information reported by at least one terminal and the first identification information of the first industrial device hung under each terminal.

[0083] Step 202: When the first industrial device initiates addressing, obtain the first data packet sent by the first industrial device based on the first identification information; the first data packet includes the second address information of the first industrial device.

[0084] Step 203: Determine the addressing mapping information of the first data packet based on the first address information and the second address information.

[0085] Step 204: Send the addressing mapping information to the terminal; the addressing mapping information is used to allocate the initial addresses of the terminal and the second industrial device subordinate to the first industrial device.

[0086] It should be noted that the network device can be any network device and is not limited here. As an example, the network device can at least include a base station, a server, etc. The terminal can also be determined according to the actual situation and is not limited here. As an example, the terminal can be a smart phone, a tablet computer, a desktop computer, a notebook, a client, etc.

[0087] In step 201, the wireless environment can be determined according to the actual situation and is not limited here. As an example, the wireless environment can be a wireless networking environment.

[0088] Receive the first address information reported by at least one terminal and the first identification information of the first industrial device hung under each terminal; where the first address information can be the terminal IP address; the first identification information can be determined according to the actual situation and is not limited here. As an example, the first identification information can include at least one of the following: the I / O information of the first industrial device; the identity information of the first industrial device. Where the I / O information can include the IO number; the identity information of the first industrial device can include the device number. The first industrial device hung under can be determined according to the actual situation and is not limited here. As an example, the first industrial device hung under can be abbreviated as the hung-under device and can be a master station.

[0089] As an example, in a wireless environment, when a terminal accesses, it can trigger the reporting of information such as the terminal IP address and the IO number and device number of the hung-under device along with the access information or configuration event.

[0090] In step 202, the first data packet includes the second address information of the first industrial device; where the second address information can be understood as the address information set for the industrial devices hung under different terminals and can be abbreviated as the set address.

[0091] As an example, after the master station triggers the setting of addressing, it will send the address information that will be set for the industrial devices hung under different terminals.

[0092] In step 203, the specific determination process of determining the addressing mapping information of the first data packet based on the first address information and the second address information can be determined according to the actual situation and is not limited herein. As an example, the first address information may include an IP address; the second address information may include a set address, and determining the addressing mapping information of the first data packet based on the first address information and the second address information may include: configuring the sequential address and logical address of the first data packet; determining the addressing mapping information of the first data packet based on the IP address, the set address, the sequential address, and the logical address.

[0093] In step 204, the specific distribution process of distributing the addressing mapping information to the terminal can be determined according to the actual situation and is not limited herein. As an example, the specific distribution process may include distributing the addressing mapping information to the terminal by means of broadcast, multicast, and / or unicast.

[0094] The addressing mapping information is used to allocate the initial addresses of the terminal and the second industrial device subordinate to the first industrial device. It can be understood that the addressing mapping information is distributed to the terminal by means of broadcast, multicast, and / or unicast to complete initialization.

[0095] In one embodiment, the first identification information includes at least one of the following:

[0096] The input or output I / O information of the first industrial device;

[0097] The identity information of the first industrial device.

[0098] It should be noted that the I / O information may include an IO number; the identity information of the first industrial device may include a device number. As an example, the first identification information may include information such as the IO number and device number of the subordinate device.

[0099] In one embodiment, the first address information includes an IP address; the second address information includes a set address, and determining the addressing mapping information of the first data packet based on the first address information and the second address information includes:

[0100] Configuring the sequential address and logical address of the first data packet;

[0101] Determining the addressing mapping information of the first data packet based on the IP address, the set address, the sequential address, and the logical address.

[0102] In this embodiment, the IP address, the setting address, the sequential address, and the logical address can all be determined according to the actual situation and are not limited herein. As an example, the IP address may include 192.168.1.1, 192.168.1.2, 192.168.1.3, 192.168.1.4. The setting address may include 162.108.1.1, 162.108.1.2, 162.108.1.3, 162.108.1.4. The sequential address may include 1, 2, 3, 4. The logical address may include AA, AB, AC, AD.

[0103] Determine the addressing mapping information of the first data packet based on the IP address, the setting address, the sequential address, and the logical address; wherein, the addressing mapping information can be determined according to the actual situation and is not limited herein. As an example, the addressing mapping information may be an addressing information mapping table. As an example, determining the addressing mapping information of the first data packet based on the IP address, the setting address, the sequential address, and the logical address can be understood as determining the addressing information mapping table of the first data packet based on the IP address, the setting address, the sequential address, and the logical address. Among them, the addressing information mapping table may be the correspondence relationship of the IP address, the setting address, the sequential address, and the logical address. For example, the correspondence relationship where the IP address is 192.168.1.1, the setting address is 162.108.1.1, the sequential address is 1, and the logical address is AA; the correspondence relationship where the IP address is 192.168.1.2, the setting address is 162.108.1.2, the sequential address is 2, and the logical address is AB; the correspondence relationship where the IP address is 192.168.1.3, the setting address is 162.108.1.3, the sequential address is 3, and the logical address is AC; the correspondence relationship where the IP address is 192.168.1.4, the setting address is 162.108.1.4, the sequential address is 4, and the logical address is AD.

[0104] In practical applications, a new service initialization enhancement module is added on the base station side. The module mainly realizes three functions: First, perform traffic splitting according to the service-side IP or the terminal IP, and split the setting address packet to the service initialization enhancement module. Second, the service initialization enhancement module identifies the reception flag according to the setting address packet and parses the setting address data. Third, the service initialization enhancement module realizes the mapping of the address information and the terminal IP information here, and at the same time assigns different sequence numbers and logical addresses to different addresses to form an addressing information mapping table.

[0105] In one embodiment, the step of sending the addressing mapping information to the terminal includes:

[0106] Send the addressing mapping information to the terminal by means of broadcast, multicast, and / or unicast.

[0107] In practical applications, due to the wireless access of the overall industrial control and other capabilities, the ability to assign the addresses of industrial slave devices through wired broadcast information during the initialization of the original industrial network needs to be carried by the 5G network, and the addresses, sequences, and logical addresses of the slave stations are assigned through broadcast, multicast, or unicast information.

[0108] In a wireless environment, based on the event trigger of the master station triggering the addressing information, after the master station triggers the slave station address setting to form an addressing information mapping table, the addresses of the terminals on the terminal side can be configured by means of broadcast, multicast, or unicast to complete the initialization. Therefore, three methods for sending packets are formed.

[0109] In one embodiment, the sending the addressing mapping information to the terminal by means of broadcast includes:

[0110] Send the addressing mapping information to the terminal by means of broadcasting through a preset information block SIB.

[0111] In this embodiment, the preset information block can be determined according to the actual situation and is not limited here. As an example, the preset information block can be denoted as SIB1, and the SIB1 message is extended. A new nonCriticalExtensionSIB1 - Slave station - informationRequest - IEs is defined. That is, the IE carries the addressing mapping information.

[0112] In one embodiment, the sending the addressing mapping information to the at least one terminal by means of broadcasting through a preset information block SIB includes:

[0113] Obtain the element information IE of the SIB; the IE carries the addressing mapping information;

[0114] Send the IE to the terminal.

[0115] In practical applications, SIB1 is broadcast to all terminals within the cell to expand the SIB1 message. New nonCriticalExtension SIB1-Slave station-informationRequest-IEs are defined. That is, the IE carries the addressing mapping information. Each user decodes the PDCCH according to the SI-RNTI, and the users whose decoded SIB1 information contains SIB1-Slavestation-informationRequest-IEs configure their device information according to this information.

[0116] In one embodiment, the step of sending the addressing mapping information to the terminal by multicast includes:

[0117] Obtain the group identifier of each terminal;

[0118] Determine the terminals belonging to the same group based on the group identifier;

[0119] Send the addressing mapping information to the terminals in the same group.

[0120] In this embodiment, the group identifier can be determined according to the actual situation and is not limited herein. As an example, the group identifier can be denoted as group session. Determining the terminals belonging to the same group based on the group identifier can be understood as forming a multicast for the UEs in the same group by identifying the group session.

[0121] In practical applications, for the terminals that have completed multicast configuration, the base station side can form a multicast for the UEs in the same group by identifying the group session, use the multicast IP address as the destination address, and all hosts that have joined the "group" will receive the data packets sent to this group. The data packets are the relevant information such as the set addressing. The slave station completes the address setting according to the set addressing packet.

[0122] In one embodiment, the step of sending the addressing mapping information to the terminal by unicast includes:

[0123] Send the addressing mapping information to the terminal by unicast according to the IP address of each terminal.

[0124] In this embodiment, as an example, the IP address addressing mapping information can be an IP address addressing mapping table. Sending the addressing mapping information to the terminal by unicast according to the IP address of each terminal can be sending the addressing mapping table of each terminal to the terminal by unicast.

[0125] In practical applications, for a terminal with a mapping table already formed, the base station can combine the set address and the logical address separately according to the IP address and send them as unicast. In this case, the resource occupancy is relatively high compared to the broadcast and multicast cases.

[0126] In this embodiment, addressing is initiated by the first industrial device. Based on the first identification information of the first industrial device attached to each terminal, a data packet including the second address information of the first industrial device sent by the first industrial device is obtained, and then the addressing mapping information of the first data packet is determined. The addressing mapping information is sent to the terminal to allocate the initial addresses of the terminal and the second industrial device subordinate to the first industrial device. That is, the sequential allocation of the addresses of the second industrial device subordinate to the first industrial device is realized by maintaining the addressing mapping information on the network side.

[0127] Correspondingly, an embodiment of the present application further provides an addressing method, which is applied to a terminal. Figure 3 It is another flowchart of the addressing method according to the embodiment of the present application; as Figure 3 shown, the method includes:

[0128] Step 301: In a wireless environment, report the first address information of the terminal and the first identification information of the first industrial device attached to the terminal to a network device; the first identification information is used for the network device to obtain the first data packet sent by the first industrial device based on the first identification information when the first industrial device initiates addressing; the first data packet includes the second address information of the first industrial device; and determine the addressing mapping information of the first data packet based on the first address information and the second address information.

[0129] Step 302: Receive the addressing mapping information sent by the network device.

[0130] Step 303: Use the addressing mapping information to allocate the initial addresses of the terminal and the second industrial device subordinate to the first industrial device.

[0131] It should be noted that the network device can be any network device and is not limited here. As an example, the network device can at least include a base station, a server, etc. The terminal can also be determined according to the actual situation and is not limited here. As an example, the terminal can be a device including a smart phone, a tablet computer, a desktop computer, a notebook, a client, etc.

[0132] In step 301, the wireless environment can be determined according to the actual situation and is not limited here. As an example, the wireless environment can be a wireless networking environment.

[0133] Report the first address information of the terminal and the first identification information of the first industrial device hung under the terminal to the network device; wherein, the first address information may be the terminal IP address; the first identification information may be determined according to the actual situation and is not limited herein. As an example, the first identification information may include at least one of the following: the I / O information of the first industrial device; the identity information of the first industrial device. Wherein, the I / O information may include the IO number; the identity information of the first industrial device may include the device number. The first industrial device hung under may be determined according to the actual situation and is not limited herein. As an example, the first industrial device hung under may be abbreviated as the hung device and may be the master station.

[0134] As an example, in a wireless environment, when the terminal accesses, it may trigger the reporting of information such as the terminal IP address and the IO number and device number of the hung device along with the access information or configuration event.

[0135] The first data packet includes the second address information of the first industrial device; wherein, the second address information may be understood as the address information set for the industrial devices hung under different terminals and may be abbreviated as the set address.

[0136] As an example, after the master station triggers the setting of addressing, it will send down the address information that will be set for the industrial devices hung under different terminals.

[0137] The specific determination process of determining the addressing mapping information of the first data packet based on the first address information and the second address information may be determined according to the actual situation and is not limited herein. As an example, the first address information may include the IP address; the second address information may include the set address, and determining the addressing mapping information of the first data packet based on the first address information and the second address information may include: configuring the sequential address and logical address of the first data packet; determining the addressing mapping information of the first data packet based on the IP address, the set address, the sequential address, and the logical address.

[0138] In step 302, the receiving of the addressing mapping information sent by the network device may be determined according to the actual situation and is not limited herein. As an example, the receiving of the addressing mapping information sent by the network device may include receiving the addressing mapping information sent by the network device in a broadcast, multicast, and / or unicast manner.

[0139] In step 303, allocating the initial addresses of the terminal and the second industrial device subordinate to the first industrial device by using the addressing mapping information may be understood as allocating the initial addresses of the terminal and the second industrial device subordinate to the first industrial device by using the addressing mapping information to complete the initialization.

[0140] In one embodiment, receiving the addressing mapping information sent by the network device includes:

[0141] Receiving the addressing mapping information sent by the network device by means of broadcast, multicast, and / or unicast.

[0142] In practical applications, due to the wireless access of overall industrial control and other capabilities, the ability to assign industrial slave device addresses through wired broadcast information during the initialization of the original industrial networking needs to be carried by the 5G network, and the assignment of slave addresses, sequences, and logical addresses is achieved through broadcast, multicast, or unicast information.

[0143] In a wireless environment, based on the event trigger of the master station triggering the addressing information, after the master station triggers the slave address setting to form an addressing information mapping table, the addresses of the terminals on the terminal side can be configured by means of broadcast, multicast, or unicast to complete the initialization. Therefore, three methods for sending packets are formed.

[0144] In one embodiment, receiving the addressing mapping information sent by the network device by means of broadcast includes:

[0145] Receiving the addressing mapping information sent by the network device by means of broadcasting through a preset information block SIB.

[0146] In this embodiment, the preset information block can be determined according to the actual situation and is not limited here. As an example, the preset information block can be denoted as SIB1, an extended SIB1 message. A new nonCriticalExtensionSIB1 - Slave station - informationRequest - IEs is defined. That is, the IE carries the addressing mapping information.

[0147] In one embodiment, receiving the addressing mapping information sent by the network device by means of broadcasting through a preset information block SIB includes:

[0148] Receiving the element information IE of the SIB sent by the network device; the IE carries the addressing mapping information.

[0149] In practical applications, SIB1 is broadcast to all terminals within the cell to expand the SIB1 message. A new nonCriticalExtension SIB1-Slave station-informationRequest-IEs is defined. That is, the IE carries the addressing mapping information. Each user decodes the PDCCH according to the SI-RNTI, and the user whose SIB1 information contains SIB1-Slavestation-informationRequest-IEs configures its own device information according to this information.

[0150] To better understand this application, a practical application scenario is exemplified here. The addressing method is an addressing method for industrial devices in a wireless environment, and the network device is a base station.. This method mainly involves two parts. The first part: When the master station triggers the setting of addressing, a mapping table is formed on the base station side according to the terminal reported information and the setting addressing packet to clarify the terminal IP, and the corresponding relationship between the setting addressing address, sequential address and logical address is set; The second part: After the mapping is completed, the base station issues the setting addressing and other information according to the mapping table.

[0151] I. Mapping scheme for slave station IP address, logical address and MAC address under wireless networking (supplementary module details)

[0152] In a wireless environment, when the terminal accesses, it can trigger the reporting of the terminal IP address and the IO numbers, device numbers, etc. of the subordinate devices along with the access information or configuration events. After the master station triggers the setting of addressing, it will issue the address information to be set for the industrial devices subordinate to different terminals. At this time, a new service initialization enhancement module is added on the base station side, and the module mainly realizes three functions:

[0153] 1. Perform traffic splitting according to the service side IP or terminal IP, and split the setting address packet to the service initialization enhancement module.

[0154] 2. The service initialization enhancement module identifies the reception flag according to the setting address packet and parses the setting address data. This content can be combined with Figure 4 for understanding, Figure 4 which is a schematic diagram of the address data in the embodiment of this application.

[0155] 3. The service initialization enhancement module realizes the mapping of the address information and the terminal IP information here, and at the same time assigns different sequential numbers and logical addresses to different addresses to form an addressing information mapping table. This addressing information mapping table can be understood in combination with Table 1, and Table 1 is the addressing information mapping table.

[0156] Table 1

[0157]

[0158]

[0159] II: Slave station address allocation scheme under wireless networking.

[0160] Due to the wireless access of the overall industrial control and other capabilities, the ability to allocate the addresses of industrial slave devices through wired broadcast information during the initialization of the original industrial networking needs to be carried by the 5G network, and the allocation of slave station addresses, sequences, and logical addresses is achieved through broadcast, multicast, or unicast information.

[0161] In a wireless environment, based on the event trigger of the master station triggering the addressing information, after the master station triggers the slave station address setting to form an addressing information mapping table, the addresses of the terminals on the terminal side can be configured through broadcast, multicast, or unicast to complete the initialization. Therefore, three methods for sending packets are formed.

[0162] Method 1: Broadcast distribution.

[0163] SIB1 is broadcast to all terminals within the cell to expand the SIB1 message. A new nonCriticalExtension SIB1-Slave station-informationRequest-IEs is defined. Each user decodes the PDCCH according to the SI-RNTI, and the users whose sib1 information decoded contains SIB1-Slave station-informationRequest-IEs configure their device information according to this information. This content can be understood in combination with Figure 5 and Figure 6 for understanding. Figure 5 is the schematic diagram of the code program of the SIB1 message in the embodiment of this application; Figure 6 is the schematic diagram for the explanation of the SIB1 message in the embodiment of this application.

[0164] Method 2: Multicast distribution.

[0165] For the terminals that have completed the multicast configuration, the base station side can form a multicast for the UEs in the same group by identifying the group session, use the multicast IP address as the destination address, and all the hosts that have joined the "group" will receive the data packets sent to this group, and the data packets are the relevant information for setting addressing, etc. The slave station completes the address setting according to the set addressing packet.

[0166] Method 3: Unicast distribution.

[0167] For the terminals that have formed the mapping table, the base station can separately combine the set address and logical address into a unicast for distribution according to the IP address. In this case, the resource occupation is relatively high compared to the broadcast and multicast cases.

[0168] As an example, assuming that the controller currently needs to implement sequential addressing for four terminals in the area, and there are other non-sequentially addressed terminals in the area, after the controller sends the address setting packet to the base station, the base station matches the IP address reported by the terminal with the setting address one by one, and assigns sequential addresses to them according to the order of the address setting packet and maps them to logical addresses.

[0169] After the allocation is completed, since the terminal does not manufacture the setting address issued by the controller for the time being, and there are other terminals in the area that do not need to be set, the base station compares the IP address in the mapping table with the group session and sends the device address packet issued by the master station as multicast information to achieve the terminal address setting. After completion, the return packet is unpacked and embedded with the sequential address information and logical address information and returned to the master station.

[0170] In the embodiment of the present application, the newly added service initialization enhancement module on the base station side can realize the formation of a mapping table of IP address, setting address, sequential address and logical address based on the UE address and the setting address; supplement the SIB1message information to realize the sending of the setting address; and realize the sending of the setting address of the master station to the slave station through various methods such as broadcast, multicast, and unicast; that is, on the one hand, the allocation of slave station addresses is realized through broadcast or multicast information; on the other hand, the sequential allocation of different slave station addresses is realized by maintaining the mapping table on the network side.

[0171] In order to implement the method of the embodiment of the present application, the embodiment of the present application further provides an addressing device, which is arranged on a network device. Figure 7 A schematic diagram of a device for addressing an embodiment of the present application; Figure 7 As shown, the device 700 includes:

[0172] The first receiving unit 701 is used to receive, in a wireless environment, first address information reported by at least one terminal and first identification information of a first industrial device connected to each terminal;

[0173] An acquisition unit 702 is configured to acquire, when the first industrial device initiates addressing, a first data packet sent by the first industrial device based on the first identification information; the first data packet includes second address information of the first industrial device;

[0174] A determining unit 703, configured to determine addressing mapping information of the first data packet based on the first address information and the second address information;

[0175] The sending unit 704 is used to send the addressing mapping information to the terminal; the addressing mapping information is used to allocate initial addresses of the terminal and a second industrial device subordinate to the first industrial device.

[0176] Wherein, in one embodiment, the first identification information includes at least one of the following:

[0177] The input or output I / O information of the first industrial device;

[0178] The identity information of the first industrial device.

[0179] In one embodiment, the first address information includes an Internet Protocol (IP) address; the second address information includes a set address. The determining unit 703 is further configured to configure the sequential address and the logical address of the first data packet; and determine the addressing mapping information of the first data packet based on the IP address, the set address, the sequential address, and the logical address.

[0180] Here, in one embodiment, the sending unit 704 is further configured to send the addressing mapping information to the terminal by means of broadcast, multicast, and / or unicast.

[0181] In one embodiment, the sending unit 704 is further configured to send the addressing mapping information to the terminal by broadcasting a preset system information block (SIB).

[0182] In one embodiment, the sending unit 704 is further configured to obtain the information element (IE) of the SIB; the IE carries the addressing mapping information; and send the IE to the terminal.

[0183] In one embodiment, the sending unit 704 is further configured to obtain the group identifier of each terminal;

[0184] Determine the terminals belonging to the same group based on the group identifier; and send the addressing mapping information to the terminals in the same group.

[0185] In one embodiment, the sending unit 704 is further configured to send the addressing mapping information to the terminal by unicast according to the Internet Protocol (IP) address of each terminal.

[0186] To implement the method on the terminal side in the embodiments of the present application, the embodiments of the present application further provide an addressing device, which is disposed on the terminal. Figure 8 For another schematic diagram of the addressing device in the embodiments of the present application; as Figure 8 shown, the device 800 includes:

[0187] A reporting unit 801, configured to report first address information of the terminal and first identification information of a first industrial device subordinate to the terminal to a network device in a wireless environment; the first identification information is used for the network device to obtain a first data packet sent by the first industrial device based on the first identification information when the first industrial device initiates an addressing operation; the first data packet includes second address information of the first industrial device; and an addressing mapping information of the first data packet is determined based on the first address information and the second address information.

[0188] A second receiving unit 802, configured to receive the addressing mapping information sent by the network device.

[0189] An allocation unit 803, configured to allocate initial addresses of the terminal and a second industrial device subordinate to the first industrial device by using the addressing mapping information.

[0190] Wherein, in one embodiment, the second receiving unit 802 is further configured to receive the addressing mapping information sent by the network device in a broadcast, multicast, and / or unicast manner.

[0191] In one embodiment, the second receiving unit 802 is further configured to receive the addressing mapping information sent by the network device in a manner of broadcasting a preset system information block (SIB).

[0192] In one embodiment, the second receiving unit 802 is further configured to receive element information (IE) of the SIB sent by the network device; the IE carries the addressing mapping information.

[0193] It should be noted that: when the addressing device provided in the above embodiment performs addressing, only the division of the above program modules is used for illustration. In practical applications, the above processing may be allocated to different program modules according to needs, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-described processing. In addition, the addressing device provided in the above embodiment and the embodiment of the addressing method belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be elaborated here.

[0194] Based on the hardware implementation of the above program modules, and in order to implement the method on the network device side in the embodiments of the present application, the embodiments of the present application further provide a network device. Figure 9 It is a schematic structural diagram of the network device in the embodiments of the present application; as Figure 9 shown, the network device 900 includes:

[0195] A first communication interface 901, capable of performing information interaction with a terminal.

[0196] The first processor 902 is connected to the first communication interface 901 to implement information interaction with the terminal. When running a computer program, it executes the method provided by one or more of the above technical solutions on the network device side. The computer program is stored on the first memory 903.

[0197] Specifically, the first communication interface is used to receive, in a wireless environment, the first address information reported by at least one terminal and the first identification information of the first industrial device subordinate to each terminal.

[0198] The first processor 902 is used to, when the first industrial device initiates addressing, obtain the first data packet sent by the first industrial device based on the first identification information; the first data packet includes the second address information of the first industrial device; determine the addressing mapping information of the first data packet based on the first address information and the second address information.

[0199] The first communication interface 901 is further used to send the addressing mapping information to the terminal; the addressing mapping information is used to allocate the initial addresses of the terminal and the second industrial device subordinate to the first industrial device.

[0200] It should be noted that the specific processing procedures of the first processor 902 and the first communication interface 901 can be understood with reference to the above method.

[0201] Of course, in actual application, each component in the network device 900 is coupled together through the bus system 904. It can be understood that the bus system 904 is used to realize the connection and communication between these components. The bus system 904 includes, in addition to the information bus, a power bus, a control bus, and a status signal bus. However, for the sake of clear description, in Figure 9 all kinds of buses are labeled as the bus system 904.

[0202] The first memory 903 in the embodiment of the present application is used to store various types of information to support the operation of the network device 900. Examples of this information include: any computer program for operating on the network device 900.

[0203] The method disclosed in the embodiments of the present application can be applied to or implemented by the first processor 902. The first processor 902 may be an integrated circuit chip with signal processing capabilities. During implementation, the steps of the above method can be completed by the integrated logic circuit of the hardware in the first processor 902 or instructions in software form. The above-mentioned first processor 902 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 902 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. Combining the steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed and completed by the hardware decoding processor, or executed and completed by a combination of the hardware and software modules in the decoding processor. The software module may be located in a storage medium, and this storage medium is located in the first memory 903. The first processor 902 reads the information in the first memory 903 and combines its hardware to complete the steps of the foregoing method.

[0204] In an exemplary embodiment, the network device 900 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontroller units (MCUs), microprocessors, or other electronic components, and is used to execute the foregoing method.

[0205] Based on the hardware implementation of the foregoing program module, and in order to implement the method on the terminal side in the embodiments of the present application, the embodiments of the present application further provide a terminal. Figure 10 is a schematic structural diagram of the terminal in the embodiments of the present application; as Figure 10 shown, the terminal 1000 includes:

[0206] A second communication interface 1001, capable of interacting with the network device for information.

[0207] The second processor 1002 is connected to the second communication interface 1001 to enable information interaction with a network device, and is configured to execute the method provided by one or more of the above terminal-side technical solutions when running a computer program. The computer program is stored in the second memory 1003.

[0208] Specifically, the second communication interface is configured to report, in a wireless environment, the first address information of the terminal and the first identification information of the first industrial device connected to the terminal; the first identification information is used for the network device to obtain the first data packet sent by the first industrial device based on the first identification information when the first industrial device initiates addressing; the first data packet includes the second address information of the first industrial device; and to determine the addressing mapping information of the first data packet based on the first address information and the second address information; and to receive the addressing mapping information sent by the network device.

[0209] The second processor is configured to allocate initial addresses for the terminal and a second industrial device subordinate to the first industrial device by using the addressing mapping information.

[0210] It should be noted that the specific processing procedures of the second communication interface 1001 and the second processor 1002 can be understood with reference to the above method.

[0211] Of course, in actual application, each component in the terminal 1000 is coupled together through a bus system 1004. It can be understood that the bus system 1004 is used to implement connection and communication between these components. In addition to an information bus, the bus system 1004 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear illustration, in Figure 10 all kinds of buses are labeled as the bus system 1004.

[0212] The second memory 1003 in the embodiment of the present application is used to store various types of information to support the operation of the terminal 1000. Examples of such information include: any computer program for operating on the terminal 1000.

[0213] The method disclosed in the embodiments of the present application above can be applied to or implemented by the second processor 1002. The second processor 1002 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit in hardware or instructions in software form in the second processor 1002. The above-mentioned second processor 1002 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The second processor 1002 can implement or execute each method, step, and logic block diagram disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. Combining the steps of the method disclosed in the embodiments of the present application can be directly embodied as being completed by the hardware decoding processor, or completed by a combination of the hardware and software modules in the decoding processor. The software module may be located in a storage medium, and this storage medium is located in the second memory 1003. The second processor 1002 reads the information in the second memory 1003 and combines its hardware to complete the steps of the foregoing method.

[0214] In an exemplary embodiment, the terminal 1000 can be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, microprocessors, or other electronic components for executing the foregoing method.

[0215] It can be understood that the memories (the first memory 903 and the second memory 1003) in the embodiments of the present application can be volatile memories or non-volatile memories, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory), an electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), a ferromagnetic random access memory (FRAM, ferromagnetic random access memory), a flash memory (Flash Memory), a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM, Compact Disc Read-Only Memory); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM, Random Access Memory), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as a static random access memory (SRAM, Static Random Access Memory), a synchronous static random access memory (SSRAM, Synchronous Static Random Access Memory), a dynamic random access memory (DRAM, Dynamic Random Access Memory), a synchronous dynamic random access memory (SDRAM, Synchronous Dynamic Random Access Memory), a double data rate synchronous dynamic random access memory (DDR SDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), an enhanced synchronous dynamic random access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), a synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and a direct rambus random access memory (DRRAM, Direct Rambus Random Access Memory).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.

[0216] To implement the method provided by the embodiments of the present application, the embodiments of the present application further provide an addressing system. Figure 11 It is a schematic structural diagram of the addressing system according to the embodiments of the present application; as Figure 11 shown, the system includes: a network device 1101 and a terminal 1102.

[0217] Here, it should be noted that: the specific processing procedures of the network device 1101 and the terminal 1102 have been described in detail above and will not be elaborated here.

[0218] In an exemplary embodiment, the embodiments of the present application further provide a storage medium, namely a computer storage medium, specifically a computer-readable storage medium. For example, it includes a first memory 903 that stores a computer program, and the above computer program can be executed by a first processor 902 of the network device 900 to complete the steps of the method on the network device side described above. Another example is a second memory 1003 that stores a computer program, and the above computer program can be executed by a second processor 1002 of the terminal 1000 to complete the steps of the method on the terminal side described above. The computer-readable storage medium can be a FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM, etc.

[0219] It should be noted that: "first", "second", etc. are used to distinguish similar objects and do not necessarily need to describe a specific order or sequence.

[0220] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0221] The above is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. An addressing method, characterized in that, applied to a network device, includes: in a wireless environment, receiving first address information reported by at least one terminal and first identification information of a first industrial device connected under each of the terminals; when the first industrial device initiates addressing, obtaining a first data packet sent by the first industrial device based on the first identification information; the first data packet includes second address information of the first industrial device; determining addressing mapping information of the first data packet based on the first address information and the second address information; sending the addressing mapping information to the terminal; the addressing mapping information is used to allocate initial addresses for the terminal and a second industrial device subordinate to the first industrial device.

2. The method according to claim 1, characterized in that, the first identification information includes at least one of the following: input or output I / O information of the first industrial device; identity information of the first industrial device.

3. The method according to claim 1, characterized in that, the first address information includes an Internet Protocol (IP) address; the second address information includes a set address, and determining the addressing mapping information of the first data packet based on the first address information and the second address information includes: configuring a sequential address and a logical address of the first data packet; determining the addressing mapping information of the first data packet based on the IP address, the set address, the sequential address, and the logical address.

4. The method according to claim 1, characterized in that, sending the addressing mapping information to the terminal includes: sending the addressing mapping information to the terminal by means of broadcast, multicast, and / or unicast.

5. The method according to claim 4, characterized in that, sending the addressing mapping information to the terminal by means of broadcast includes: sending the addressing mapping information to the terminal by means of broadcasting through a preset system information block (SIB).

6. The method according to claim 5, characterized in that, sending the addressing mapping information to the at least one terminal by means of broadcasting through a preset SIB includes: obtaining element information (IE) of the SIB; the IE carries the addressing mapping information; sending the IE to the terminal.

7. The method according to claim 4, characterized in that, sending the addressing mapping information to the terminal by means of multicast includes: obtaining a group identifier of each terminal; determining terminals belonging to the same group based on the group identifier; sending the addressing mapping information to the terminals in the same group.

8. The method according to claim 4, characterized in that, sending the addressing mapping information to the terminal by means of unicast includes: addressing and mapping information according to the Internet Protocol (IP) address of each terminal and sending it to the terminal by means of unicast.

9. An addressing method for an industrial device, characterized in that, applied to a terminal, includes: In a wireless environment, report the first address information of the terminal and the first identification information of the first industrial device hung under the terminal to a network device; the first identification information is used for the network device to obtain a first data packet sent by the first industrial device based on the first identification information when the first industrial device initiates addressing; the first data packet includes second address information of the first industrial device; and determine addressing mapping information of the first data packet based on the first address information and the second address information; Receive the addressing mapping information sent by the network device; Allocate initial addresses of the terminal and a second industrial device subordinate to the first industrial device by using the addressing mapping information.

10. The method according to claim 9, wherein, the receiving the addressing mapping information sent by the network device includes: receiving the addressing mapping information sent by the network device by means of broadcast, multicast, and / or unicast.

11. The method according to claim 10, wherein, the receiving the addressing mapping information sent by the network device by means of broadcast includes: receiving the addressing mapping information sent by the network device by means of broadcasting through a preset system information block (SIB).

12. The method according to claim 11, wherein, the receiving the addressing mapping information sent by the network device by means of broadcasting through a preset SIB includes: receiving element information (IE) of the SIB sent by the network device; the IE carries the addressing mapping information.

13. An addressing device, wherein, it is disposed on a network device and includes: a first receiving unit, configured to receive, in a wireless environment, first address information reported by at least one terminal and first identification information of a first industrial device hung under each terminal; an obtaining unit, configured to obtain, when the first industrial device initiates addressing, a first data packet sent by the first industrial device based on the first identification information; the first data packet includes second address information of the first industrial device; a determining unit, configured to determine addressing mapping information of the first data packet based on the first address information and the second address information; a sending unit, configured to send the addressing mapping information to the terminal; the addressing mapping information is used to allocate initial addresses of the terminal and a second industrial device subordinate to the first industrial device.

14. An addressing device, wherein, it is disposed on a terminal and includes: a reporting unit, configured to report, in a wireless environment, first address information of the terminal and first identification information of a first industrial device hung under the terminal to a network device; the first identification information is used for the network device to obtain a first data packet sent by the first industrial device based on the first identification information when the first industrial device initiates addressing; the first data packet includes second address information of the first industrial device; and determine addressing mapping information of the first data packet based on the first address information and the second address information; A second receiving unit, configured to receive the addressing mapping information sent by the network device; An allocation unit, configured to allocate initial addresses for the terminal and a second industrial device subordinate to the first industrial device by using the addressing mapping information.

15. A network device, characterized in that it includes: A first communication interface and a first processor; wherein, the first communication interface is configured to receive, in a wireless environment, first address information reported by at least one terminal and first identification information of a first industrial device hung under each terminal; the first processor is configured to, when the first industrial device initiates addressing, obtain a first data packet sent by the first industrial device based on the first identification information; the first data packet includes second address information of the first industrial device; determine addressing mapping information of the first data packet based on the first address information and the second address information; the first communication interface is further configured to send the addressing mapping information to the terminal; the addressing mapping information is used to allocate initial addresses for the terminal and a second industrial device subordinate to the first industrial device.

16. A terminal, characterized in that it includes: A second communication interface and a second processor; wherein, the second communication interface is configured to, in a wireless environment, report the first address information of the terminal and the first identification information of the first industrial device hung under the terminal to a network device; the first identification information is used for the network device to obtain a first data packet sent by the first industrial device based on the first identification information when the first industrial device initiates addressing; the first data packet includes second address information of the first industrial device; and determine the addressing mapping information of the first data packet based on the first address information and the second address information; receive the addressing mapping information sent by the network device; the second processor is configured to allocate initial addresses for the terminal and a second industrial device subordinate to the first industrial device by using the addressing mapping information.

17. A network device, characterized in that it includes: A first processor and a first memory for storing a computer program capable of running on the processor, wherein, when the first processor is configured to run the computer program, it executes the steps of the method according to any one of claims 1 to 8.

18. A terminal, characterized in that it includes: A second processor and a second memory for storing a computer program capable of running on the processor, wherein, when the second processor is configured to run the computer program, it executes the steps of the method according to any one of claims 9 to 12.

19. A storage medium, on which a computer program is stored, characterized in that when the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 8, or implements the steps of the method according to any one of claims 9 to 12.