A communication method and a communication device

By assigning the extended address of the basic address to the device, the problem of restricted basic address allocation in the prior art is solved, and effective communication between multiple devices is realized.

CN115804237BActive Publication Date: 2025-02-21HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202080102677.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-15
Publication Date
2025-02-21
Estimated Expiration
2040-12-15

AI Technical Summary

Technical Problem

In the prior art, cross-wide communication between devices depends on globally unified IP address or MAC address allocation, resulting in limited allocation and inability to meet the communication needs between more devices.

Method used

Addressing is achieved by assigning the extended address of the basic address to the device, and the problem of restricted basic address allocation is avoided. The specific method includes receiving addressing information by the user-plane function network element, determining the terminal device, and sending a message carrying the extended address to the terminal device.

Benefits of technology

When multiple terminal devices share the same basic address, they can still effectively address, avoiding the problem of restricted basic address allocation and meeting the communication needs between more devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115804237B_ABST
    Figure CN115804237B_ABST
Patent Text Reader

Abstract

The present application discloses a communication method and a communication device, wherein the communication method includes: a user plane functional network element receives a message carrying addressing information from an application server, determines a terminal device 20 according to the addressing information, and sends a message carrying the extended address to the terminal device 20. The addressing information includes a basic address associated with the terminal device 10 and an extended address of the terminal device 10, wherein the terminal device 20 is connected to one or more terminal devices, the one or more terminal devices include the terminal device 10, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different. Since addressing is performed according to the extended address of the terminal device 10, compared with addressing based on the basic address in the prior art, it is only necessary to associate the same basic address with multiple terminal devices 10, thereby avoiding the problem of limited basic address allocation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of addressing technology, and in particular to a communication method and a communication device. Background Art

[0002] Generally speaking, in communication, each device communicates based on the interface protocol between each device. If devices want to communicate across a wide area, this involves addressing, that is, finding the valid address of the destination device, and then communicating with the destination device based on the valid address. The addresses currently used are the globally universal Internet Protocol (IP) addresses or media access control (MAC) addresses, which require allocating IP addresses or MAC addresses to each device through a globally unified allocation method. However, applying for global IP addresses or MAC addresses is uncontrollable. For example, the current allocation of IP addresses or MAC addresses requires applying for address space in the United States, which has the disadvantage of being regulated. That is, the current application for global IP addresses or MAC addresses has the problem of limited allocation, which cannot meet the communication needs of more devices. Summary of the invention

[0003] The present application provides a communication method and a communication device, which can implement addressing according to an extended address of a basic address allocated to a device, thereby avoiding the problem of limited basic address allocation.

[0004] In a first aspect, a communication method is provided, which can be performed by a first communication device, and the first communication device can be a communication device or a communication device capable of supporting the communication device to implement the functions required by the method, such as a chip system. The following description is taken as an example that the communication device is a user plane function network element. The method includes:

[0005] The user plane functional network element receives a message carrying addressing information from the application server, determines the terminal device 20 according to the addressing information, and sends the message carrying the extended address to the terminal device 20. The addressing information includes a basic address associated with the terminal device 10 and an extended address of the terminal device 10, wherein the terminal device 20 is connected to one or more terminal devices, the one or more terminal devices include the terminal device 10, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different.

[0006] It should be understood that the basic addresses associated with multiple terminal devices 10 accessing the terminal device 20 are the same, but the extended addresses are different. Therefore, if a certain terminal device 10 (for example, the first terminal device 10) is to be accessed, the multiple terminal devices 10 connected to the terminal device 20 can be determined based on the basic address, and then the first terminal device 10 can be found from the multiple terminal devices 10 based on the extended address of the first terminal device 10. Compared with the prior art of finding the terminal device 10 based on the basic address, the solution provided in the embodiment of the present application only needs to associate the same basic address with multiple terminal devices 10, which can avoid the problem of limited basic address allocation.

[0007] In the present application, there are multiple ways for the user plane functional network element to determine the terminal device 20 according to the addressing information, and the embodiments of the present application do not limit the specific method used.

[0008] An exemplary method for determining the terminal device 20 is as follows: the basic address is a multicast address of a local area network, the local area network includes the terminal device 20 and the one or more terminal devices, and the user plane function network element determines the terminal device 20 according to the addressing information, including: the user plane function network element determines the terminal device 20 according to the addressing information and a first corresponding relationship, wherein the first corresponding relationship is a corresponding relationship between the basic address associated with the terminal device 10 and the extended address of the terminal device 10, and the session of the terminal device 20 accessed by the terminal device 10. In this method, the application server accesses the terminal device 10, and matches the session of the terminal device 20 accessed by the terminal device 10 through the user plane function network element. That is, the application server does not need to perceive the association between the terminal device 20 and the terminal device 10, that is, it does not need to determine the association between the extended address of the terminal device 10 and the basic address of the terminal device 20, thereby simplifying the complexity.

[0009] In a possible implementation, the user plane functional network element may also establish (update) a first corresponding relationship. There are multiple specific implementations for establishing the first corresponding relationship, which are not limited in the embodiments of the present application and are relatively flexible.

[0010] In an exemplary implementation manner 1, the method further includes:

[0011] The user plane function network element receives the message 10 from the application server, and broadcasts (or multicasts) the message 20 in the local area network, and then receives the extended address of the terminal device 10 from the terminal device 10 through the session established by the terminal device 20, and establishes a first corresponding relationship according to the session established by the terminal device 20 and the extended address of the terminal device 10; wherein the message 10 is used to discover the terminal device 10, the message 10 includes the multicast address and the identification information of the terminal device 10, and the message 20 includes the identification information of the terminal device 10. In this way, the application server discovers at least one terminal device 10 in the local area network by broadcasting or multicasting, that is, instructs at least one terminal device 10 to report its own extended address. Since each terminal device 10 reports its own extension to the user plane function network element through the session of the terminal device 20, and then reports it to the application server, the user plane function network element can obtain the extended address of each terminal device 10, and then establish a first corresponding relationship.

[0012] In an exemplary implementation mode 2, the method further includes:

[0013] The user plane functional network element receives a message carrying the multicast address and the extended address of the terminal device 10 from the application server; if the user plane functional network element determines that there is no forwarding rule matching the multicast address and the extended address of the terminal device 10, the message carrying the extended address of the terminal device 10 is broadcast in the local area network; thereafter, the user plane functional network element receives a response 10 from the terminal device 10 through the session established by the terminal device 20, and establishes a first corresponding relationship according to the session of the terminal device 20. In this way, the application server discovers a certain terminal device 10 in the local area network through unicast, that is, instructs the terminal device 10 to report its own extended address. Similarly, the terminal device 10 reports its own extension to the user plane functional network element through the session of the terminal device 20, and then reports it to the application server, so the user plane functional network element can learn the extended address of the terminal device 10, and then establish a first corresponding relationship.

[0014] The second exemplary method of determining the terminal device 20, in which the basic address associated with the terminal device 10 is the unicast address of the terminal device 20, and the user plane functional network element determines the terminal device 20 according to the addressing information, includes: the user plane functional network element determines the terminal device 20 according to the unicast address of the terminal device 10. In this method, if the application server wants to access the terminal device 10, it can select the terminal device 20 to which the terminal device 10 is connected, and instruct the user plane functional network element to forward data to the terminal device 10 through the terminal device 20. Since the user plane functional network element can conveniently select the session of the terminal device 20 according to the unicast address of the terminal device 20 indicated by the application server, and then forward the data from the application server to the terminal device 10 through the session. In this process, the user plane functional network element does not need to perceive the association between the extended address of the terminal device 10 and the session of the terminal device 20, and naturally does not need to perceive some interactive messages for establishing the association, thereby improving the security of the industrial network.

[0015] It should be understood that in the second method of determining the terminal device 20, the application server needs to know the extended address and / or identification information of the terminal device 10 and the association relationship between the basic address of the terminal device 20. In a possible implementation, the application server can establish (update) the association relationship. That is, the method provided in the present application can also include:

[0016] The user plane function network element receives a message 30 from the application server, and broadcasts a message 40 in the local area network, wherein the message 30 is used to discover the terminal device 10, the message 30 includes the multicast address of the local area network and the identification information of the terminal device 10, and the message 40 includes the identification information of the terminal device 10; wherein the terminal device 20 and one or more terminal devices are located in the local area network; thereafter, the user plane function network element receives the extended address of the terminal device 10 from the terminal device 10 through the session established by the terminal device 20, and sends the extended address and / or identification information of the terminal device 10 and the basic address of the terminal device 20 to the application server. In this solution, the user plane function network element may send the extended address and / or identification information of the terminal device 10 and the basic address of the terminal device 20 to the application server, and the application server establishes an association relationship between the extended address of the terminal device 10 and the basic address of the terminal device 20, so that the application server can directly instruct the user plane function network element that the terminal device 10 accesses the terminal device 20 according to the association relationship.

[0017] In one possible implementation, the basic address includes a MAC address or an IP address. In the communication method provided in the present application, the extended address can be obtained by extending the MAC address or IP address of the data link layer, for example, the extended address is carried in the extended field of the MAC address or the IP address. The extended address is implemented at the data link layer, and the private address can be replaced for addressing, thereby saving the message length.

[0018] In a second aspect, another communication method is provided, which can be performed by a second communication device, which can be a communication device or a communication device capable of supporting the communication device to implement the functions required by the method, such as a chip system. The following description is taken as an example that the communication device is a terminal device. The method includes:

[0019] The terminal device 20 receives a message carrying the extended address of the terminal device 10 from the user plane functional network element, and sends the message to the terminal device 10, wherein the terminal device 20 is connected to one or more terminal devices, the one or more terminal devices include the terminal device 10, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different. In this solution, the basic addresses of one or more terminal devices 10 accessing the terminal device 20 are the same, and the extended addresses are different, so that the terminal device 20 can address one or more terminal devices 10 based on the extended address. Compared with the prior art, in which addressing based on the basic address of the terminal device 10 requires allocating different basic addresses to each terminal device 10, this solution can allocate the same basic address to multiple terminal devices 10, thereby avoiding the problem of limited basic address allocation.

[0020] In a possible implementation manner, the terminal device 20 sends the message to the terminal device 10, including:

[0021] The terminal device 20 determines the first port of the terminal device 20 according to the extended address of the terminal device 10 and the second correspondence, and sends the message to the terminal device 10 through the first port, wherein the second correspondence is the correspondence between the interface of the terminal device 20 and the extended address of the terminal device 10. It should be understood that when multiple terminal devices 10 are connected to the same terminal device 20, the terminal device 20 addresses the terminal device 10 based on the extended address, and needs to determine the port connected to the terminal device, so the terminal device 20 needs to establish the second correspondence.

[0022] In a possible implementation, the method further includes:

[0023] The terminal device 20 broadcasts a message 10 , receives a response 10 from the terminal device 10 through the interface of the terminal device 20 , and establishes a second corresponding relationship according to the response 10 , wherein the message 10 is used to discover the terminal device 10 , and the message 10 includes identification information of the terminal device 10 .

[0024] In a possible implementation, the method further includes: the terminal device 20 receives a message 20 from the control plane function network element, the message 20 including a multicast address of a local area network, wherein the terminal device 20 and the one or more terminal devices are located in the local area network. In this solution, the control plane function network element may configure the multicast address of the local area network for discovering the terminal device 10 located in the local area network. It should be understood that the multicast address is the basic address of the terminal device 20 accessed by the terminal device 10 in the local area network.

[0025] In a possible implementation, the method further includes: the terminal device 20 receives a message 50 from the control plane function network element, the message 50 including the extended address information of the terminal device 10, the extended address information being used to indicate the type and / or format of the extended address of the terminal device 10. In this solution, the control plane function network element may also configure the extended address for the terminal device 10 to implement dynamic allocation, update, etc. of the terminal device 10.

[0026] In a third aspect, a communication method is provided, which can be performed by a third communication device, which can be a communication device or a communication device capable of supporting the communication device to implement the functions required by the method, such as a chip system. The following description is made by taking the communication device as an application server as an example. The method includes:

[0027] The application server generates a message carrying addressing information and sends the message to the user plane functional network element, wherein the addressing information includes a basic address associated with the terminal device 10 and an extended address of the terminal device 10, wherein the terminal device 20 is connected to one or more terminal devices, the one or more terminal devices include the terminal device 10, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different.

[0028] In a possible implementation, the method further includes: the application server configures the multicast address of the local area network where the terminal device 20 is located through the network capability exposure interface, and the basic address associated with the terminal device 10 is the multicast address.

[0029] In a possible implementation, the method also includes: the application server sends a message 10 to the user plane functional network element, and receives a message 20 from the user plane functional network element, wherein the message 10 is used to discover the terminal device 10, the message 10 includes the multicast address and the identification information of the terminal device 10, and the message 20 includes the extended address or identification information of the terminal device 10, and the basic address of the terminal device 20 connected to the terminal device 10; thereafter, the application server establishes a third corresponding relationship with the basic address of the terminal device 20 connected to the terminal device 10 according to the extended address and / or identification information of the terminal device 10.

[0030] In a possible implementation, the basic address associated with the terminal device 10 is the unicast address of the terminal device 20 .

[0031] In a possible implementation, the basic address includes a MAC address or an IP address.

[0032] Regarding the technical effects brought about by the third aspect or various possible implementations of the third aspect, reference can be made to the introduction to the technical effects of the first aspect or the second aspect, or various possible implementations of the first aspect or the second aspect, and no further details will be given here.

[0033] In a fourth aspect, a communication method is provided, which can be performed by a fourth communication device, and the fourth communication device can be a communication device or a communication device capable of supporting the communication device to implement the functions required by the method, such as a chip system. The following description is taken as an example that the communication device is a control plane function network element. The method includes:

[0034] The control plane functional network element receives a message 10 from an application server, and sends a message 20 to a terminal device 20 or a user plane functional network element, wherein the message 10 is used to configure basic address information and extended address information associated with the terminal device 10, wherein the terminal device 20 is connected to one or more terminal devices, the one or more terminal devices include the terminal device 10, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different; the message 20 includes the extended address information of the terminal device 10, and the extended address information indicates the type and / or format of the extended address of the terminal device 10.

[0035] In a possible implementation, the basic address in the message 10 is a multicast address of a local area network, and the control plane functional network element allocates the multicast address to the terminal device 20 in the local area network according to the multicast address.

[0036] Regarding the technical effects brought about by the fourth aspect or various possible implementation methods of the fourth aspect, reference can be made to the introduction to the technical effects of the first aspect or the second aspect, or various possible implementation methods of the first aspect or the second aspect, and no further details will be given here.

[0037] In a fifth aspect, a communication device is provided, for example, the communication device is a user plane functional network element as described above. The communication device has the function of implementing the behavior in the method embodiment of the first aspect above. The function can be implemented by hardware, or by hardware executing corresponding software implementation. The hardware or software includes one or more modules corresponding to the above functions. In a possible implementation, the communication device includes, for example, a transceiver module, and may also include a processing module coupled to the transceiver module, wherein the transceiver module may include a receiving module and a sending module coupled to each other, and these modules can perform the corresponding functions in the method example of the first aspect above, and please refer to the detailed description in the method example for details.

[0038] Exemplarily, the communication device has the function of implementing the behavior in the above-mentioned first aspect embodiment. In a possible implementation method, the transceiver module is used to receive a message carrying addressing information from an application server, and the addressing information includes a basic address associated with the terminal device 10 and an extended address of the terminal device 10, wherein the terminal device 20 is connected to one or more terminal devices, and the one or more terminal devices include the terminal device 10, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different; the processing module is used to determine the terminal device 20 according to the addressing information; the transceiver module is also used to send the message carrying the extended address to the terminal device 20.

[0039] In a possible implementation, the basic address is a multicast address of a local area network, the local area network includes the terminal device 20 and the one or more terminal devices, and the processing module is specifically configured to:

[0040] The terminal device 20 is determined according to the addressing information and a first corresponding relationship, wherein the first corresponding relationship is a corresponding relationship between a basic address associated with the terminal device 10 and an extended address of the terminal device 10 , and a session of the terminal device 20 to which the terminal device 10 accesses.

[0041] In a possible implementation, the transceiver module is further used to: receive a message 10 from an application server, broadcast a message 20 in the local area network, and receive an extended address of the terminal device 10 from the terminal device 10 through a session established by the terminal device 20, wherein the message 10 is used to discover the terminal device 10, the message 10 includes the multicast address and identification information for the terminal device 10, and the message 20 includes identification information of at least one of the terminal devices 10;

[0042] The processing module is specifically configured to establish the first corresponding relationship according to the session established by the terminal device 20 and the extended address of the terminal device 10 .

[0043] In a possible implementation, the transceiver module is further used to: receive a message carrying the multicast address and the extended address of the terminal device 10 from the application server; if it is determined that there is no forwarding rule matching the multicast address and the extended address of the terminal device 10, broadcast the message carrying the extended address of the terminal device 10 in the local area network; receive a response 10 from the terminal device 10 through the session established by the terminal device 20;

[0044] The processing module is specifically configured to establish the first corresponding relationship according to the session of the terminal device 20 .

[0045] In a possible implementation, the basic address associated with the terminal device 10 is the unicast address of the terminal device 20 , and the processing module is specifically configured to determine the terminal device 20 according to the unicast address of the terminal device 10 .

[0046] In a possible implementation, the transceiver module is also used to: receive a message 30 from an application server, broadcast a message 40 in the local area network, and receive the extended address of the terminal device 10 from the terminal device 10 through a session established by the terminal device 20, and send the extended address and / or identification information of the terminal device 10 and the basic address of the terminal device 20 to the application server; wherein the message 30 is used to discover the terminal device 10, the message 30 includes the multicast address of the local area network and the identification information of the terminal device 10, wherein the terminal device 20 and the one or more terminal devices are located in the local area network, and the message 40 includes the identification information of the terminal device 10.

[0047] In a possible implementation, the basic address includes a MAC address or an IP address.

[0048] In a sixth aspect, a communication device is provided, for example, the communication device is the terminal device 20 as described above. The communication device has the function of implementing the behavior in the method embodiment of the second aspect above. The function can be implemented by hardware, or by hardware executing corresponding software implementation. The hardware or software includes one or more modules corresponding to the above functions. In a possible implementation, the communication device, such as a transceiver module, may also include a processing module coupled to the transceiver module, wherein the transceiver module may include a receiving module and a sending module coupled to each other, and these modules can perform the corresponding functions in the method example of the second aspect above, and please refer to the detailed description in the method example for details.

[0049] Exemplarily, the communication device has the function of implementing the behavior in the above-mentioned second aspect embodiment. In a possible implementation method, the transceiver module is used to receive a message carrying the extended address of the terminal device 10 from the user plane function network element, and send the message to the terminal device 10, wherein the communication device is connected to one or more terminal devices, the one or more terminal devices include the terminal device 10, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different.

[0050] In a possible implementation, the processing module is specifically used to determine the first port of the communication device according to the extended address of the terminal device 10 and the second corresponding relationship, where the second corresponding relationship is the corresponding relationship between the interface of the communication device and the extended address of the terminal device 10;

[0051] The transceiver module is specifically used to send messages to the terminal device 10 through the first port.

[0052] In a possible implementation, the transceiver module is further used for:

[0053] Broadcasting (or multicasting) a message 10, and receiving a response 10 from the terminal device 10 through an interface of the communication device, wherein the message 10 is used to discover the terminal device 10, the message 10 includes identification information of the terminal device 10, and the response 10 includes an extended address of the terminal device 10;

[0054] The processing module is specifically configured to establish the second corresponding relationship according to the response 10 .

[0055] In a possible implementation, the transceiver module is further used to receive a message 50 from a control plane functional network element, the message 50 including a multicast address of a local area network, wherein the communication device and the one or more terminal devices are located in the local area network.

[0056] In a possible implementation, the transceiver module is also used to: receive a message 20 from a control plane functional network element, the message 20 including extended address information of the terminal device 10, and the extended address information is used to indicate the type and / or format of the extended address of the terminal device 10.

[0057] In a possible implementation, the base address includes a MAC address or an IP address.

[0058] In the seventh aspect, a communication device is provided, for example, the communication device is an application server as described above. The communication device has the function of implementing the behavior in the method embodiment of the third aspect above. The function can be implemented by hardware, or by hardware executing corresponding software implementation. The hardware or software includes one or more modules corresponding to the above functions. In a possible implementation, the communication device includes, for example, a transceiver module, which may include a receiving module and a sending module coupled to each other, and may also include a processing module coupled to the receiving module and / or the sending module, and these modules can perform the corresponding functions in the method example of the third aspect above, and please refer to the detailed description in the method example for details.

[0059] Exemplarily, the communication device has the function of implementing the behavior in the above-mentioned third aspect embodiment. In a possible implementation method, the processing module is used to generate a message carrying addressing information, and the addressing information includes a basic address associated with the terminal device 10 and an extended address of the terminal device 10, wherein the terminal device 20 is connected to one or more terminal devices, and the one or more terminal devices include the terminal device 10, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different; the transceiver module is used to send the message to the user plane function network element.

[0060] In a possible implementation, the transceiver module is further used to configure the multicast address of the local area network where the terminal device 20 is located through the network capability exposure interface, and the basic address associated with the terminal device 10 is the multicast address.

[0061] In a possible implementation, the transceiver module is further used to send a message 10 to a user plane function network element, and receive a message 20 from the user plane function network element, wherein the message 10 is used to discover the terminal device 10, the message 10 includes the multicast address and the identification information of the terminal device 10, and the message 20 includes the extended address or identification information of the terminal device 10, and the basic address of the terminal device 20 accessed by the terminal device 10;

[0062] The processing module is specifically configured to establish a third corresponding relationship between the extended address and / or identification information of the terminal device 10 and the basic address of the terminal device 20 to which the terminal device 10 is connected.

[0063] In a possible implementation, the basic address associated with the terminal device 10 is the unicast address of the terminal device 20 .

[0064] In a possible implementation, the basic address includes a MAC address or an IP address.

[0065] In an eighth aspect, a communication device is provided, for example, the communication device is a control plane functional network element as described above. The communication device has the function of implementing the behavior in the method embodiment of the fourth aspect above. The function can be implemented by hardware, or it can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In one possible implementation, the communication device includes, for example, a transceiver module, which may include a receiving module and a sending module coupled to each other, and may also include a processing module coupled to the receiving module and / or the sending module, and these modules can perform the corresponding functions in the method example of the fourth aspect above, and please refer to the detailed description in the method example for details.

[0066] Exemplarily, the communication device has the function of implementing the behavior in the above-mentioned fourth aspect embodiment. In a possible implementation method, the transceiver module is used to receive a message 10 from an application server, and to send a message 20 to a terminal device 20 or a user plane function network element, wherein the message 10 is used to configure the basic address information and extended address information associated with the terminal device 10, and the terminal device 20 is connected to one or more terminal devices, and the one or more terminal devices include the terminal device 10, and the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different; the message 20 includes the extended address information of the terminal device 10, and the extended address information indicates the type and / or format of the extended address of the terminal device 10.

[0067] In a possible implementation, the basic address in the message 10 is a multicast address of a local area network, and the processor is configured to allocate the multicast address to the terminal device 20 in the local area network according to the multicast address.

[0068] In the ninth aspect, a communication device is provided. The communication device may be a user plane function network element in the above method embodiment or a chip set in the user plane function network element; the communication device may also be the terminal device 20 in the above method embodiment or a chip set in the terminal device 20; the communication device may also be an application server in the above method embodiment or a chip set in the application server; the communication device may also be a control plane function network element in the above method embodiment or a chip set in the control plane function network element. The communication device includes a communication interface and a processor, and optionally, also includes a memory. The memory is used to store computer programs or instructions, and the processor is coupled to the memory and the communication interface. When the processor executes the computer program or instruction, the communication device executes the method executed by the corresponding functional entity in the above method embodiment. For example, when the processor executes the computer program or instruction, the communication device executes the method executed by the user plane function network element in the above method embodiment; for example, when the processor executes the computer program or instruction, the communication device executes the method executed by the terminal device 20 in the above method embodiment; for example, when the processor executes the computer program or instruction, the communication device executes the method executed by the application server in the above method embodiment; for example, when the processor executes the computer program or instruction, the communication device executes the method executed by the control plane function network element in the above method embodiment.

[0069] Among them, the communication interface in the communication device of the ninth aspect can be a transceiver in the communication device, for example, implemented by an antenna, feeder and codec in the communication device, or, if the communication device is a chip set in the communication device, then the communication interface can be an input / output interface of the chip, such as an input / output pin, etc.

[0070] Exemplarily, the communication device has the function of implementing the behavior in the above-mentioned first aspect embodiment. In a possible implementation method, the communication interface is used to receive a message carrying addressing information from an application server, and the addressing information includes a basic address associated with the terminal device 10 and an extended address of the terminal device 10, wherein the terminal device 20 is connected to one or more terminal devices, and the one or more terminal devices include the terminal device 10, and the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different; the processor is used to determine the terminal device 20 according to the addressing information; and the communication interface is also used to send the message carrying the extended address to the terminal device 20.

[0071] In a possible implementation, the basic address is a multicast address of a local area network, the local area network includes the terminal device 20 and the one or more terminal devices, and the processor is specifically configured to:

[0072] The terminal device 20 is determined according to the addressing information and a first corresponding relationship, wherein the first corresponding relationship is a corresponding relationship between a basic address associated with the terminal device 10 and an extended address of the terminal device 10 , and a session of the terminal device 20 to which the terminal device 10 accesses.

[0073] In a possible implementation manner, the basic address is a unicast address of the terminal device 10, and the processor is specifically configured to:

[0074] The terminal device 20 is determined according to the unicast address of the terminal device 10 .

[0075] Exemplarily, the communication device has the function of implementing the behavior in the above-mentioned second aspect embodiment. In a possible implementation method, the communication interface is used to receive a message from a user plane function network element carrying an extended address of a terminal device 10, and to send the message to the terminal device 10, wherein the communication device is connected to one or more terminal devices, the one or more terminal devices include the terminal device 10, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different.

[0076] In a possible implementation, the processor is specifically configured to determine the first port of the communication device according to the extended address of the terminal device 10 and a second corresponding relationship, where the second corresponding relationship is a corresponding relationship between an interface of the communication device and the extended address of the terminal device 10;

[0077] The communication interface is specifically used to send a message to the terminal device 10 through the first port.

[0078] Exemplarily, the communication device has the function of implementing the behavior in the above-mentioned third aspect embodiment. In a possible implementation method, the processor is used to generate a message carrying addressing information, and the addressing information includes a basic address associated with the terminal device 10 and an extended address of the terminal device 10, wherein the terminal device 20 is connected to one or more terminal devices, and the one or more terminal devices include the terminal device 10, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different; the communication interface is used to send the message to the user plane function network element.

[0079] Exemplarily, the communication device has the function of implementing the behavior in the above-mentioned fourth aspect embodiment. In a possible implementation method, the communication interface is used to receive a message 10 from an application server, and to send a message 20 to a terminal device 20 or a user plane function network element, wherein the message 10 is used to configure the basic address information and extended address information associated with the terminal device 10, and the terminal device 20 is connected to one or more terminal devices, and the one or more terminal devices include the terminal device 10, and the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different; the message 20 includes the extended address information of the terminal device 10, and the extended address information indicates the type and / or format of the extended address of the terminal device 10.

[0080] In a possible implementation, the basic address in the message 10 is a multicast address of a local area network, and the processor is configured to allocate the multicast address to the terminal device 20 in the local area network according to the multicast address.

[0081] It should be noted that, in a possible implementation, the above-mentioned user plane functional network element can be an industrial network edge gateway, the terminal device 10 is an industrial device, the terminal device 20 is a gateway of the industrial device, and the application server is an industrial application server.

[0082] In the tenth aspect, a communication system is provided, which includes any communication device described in the fifth aspect, any communication device described in the sixth aspect, any communication device described in the seventh aspect, and any communication device described in the eighth aspect; or, the communication system may also include more any communication device described in the fifth aspect, more any communication device described in the sixth aspect, more any communication device described in the seventh aspect, and more any communication device described in the eighth aspect.

[0083] In an eleventh aspect, the present application provides a chip system, which includes a processor for implementing the functions of the user plane function network element or terminal device 20 or application server or control plane function network element in the above-mentioned methods. In one possible design, the chip system also includes a memory for storing program instructions and / or data. The chip system can be composed of a chip, or it can include a chip and other discrete devices.

[0084] In the twelfth aspect, a computer program product is provided, which includes: a computer program code, when the computer program code is run in parallel, the methods performed by the user plane function network element or the terminal device 20 or the application server or the control plane function network element in the above aspects are executed.

[0085] In the thirteenth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, it implements the method executed by the user plane function network element or terminal device 20 or application server or control plane function network element in the above aspects.

[0086] Regarding the technical effects brought about by the various possible implementations of the fifth to thirteenth aspects or the fifth to thirteenth aspects, reference may be made to the introduction to the technical effects of the various possible implementations of the first to fourth aspects or the first to fourth aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] Figure 1 An architecture diagram of a communication system provided in an embodiment of the present application;

[0088] Figure 2 For the existing technology Figure 1 A schematic diagram of a protocol stack architecture for each device in the embodiment;

[0089] Figure 3 Provided for the embodiments of this application Figure 1 Schematic diagram of the protocol stack architecture of each device;

[0090] Figure 4 An architecture diagram of another communication system provided in an embodiment of the present application;

[0091] Figure 5 An architecture diagram of a communication system applicable to an embodiment of the present application;

[0092] Figure 6 A flow chart of a communication method provided in an embodiment of the present application;

[0093] Figure 7 Another flow chart of the communication method provided in the embodiment of the present application;

[0094] Figure 8 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0095] Fig. 9 Another structural schematic diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0096] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0097] Before introducing the present application, some terms in the embodiments of the present application are briefly explained first to facilitate understanding by those skilled in the art.

[0098] 1) Tunnels, including the 3rd generation partnership project network, for example, the 4th generation mobile communication (4G) network (referred to as 4G network) or the 5th generation mobile communication (5G) network (referred to as 5G network) interface tunnel; or the next generation network (Next generation, N) interface 3 (referred to as N3) tunnel and N interface 9 (referred to as N9) tunnel. Among them, the N3 tunnel is a tunnel between the access device (such as a base station) and the user plane function entity; the N9 tunnel is a tunnel between the user plane function entity and the user plane function entity.

[0099] 2) In the embodiments of the present application, "multiple" refers to two or more than two. In view of this, in the embodiments of the present application, "multiple" can also be understood as "at least two". "At least one" can be understood as one or more, for example, one, two or more. For example, including at least one means including one, two or more, and there is no restriction on which ones are included. For example, including at least one of A, B and C, then A, B, C, A and B, A and C, B and C, or A and B and C may be included. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / ", unless otherwise specified, generally indicates that the previously associated objects are in an "or" relationship. The terms "system" and "network" in the embodiments of the present application may be used interchangeably.

[0100] Unless otherwise specified, the ordinal numbers such as "first" and "second" mentioned in the embodiments of the present application are used to distinguish multiple objects and are not used to limit the order, timing, priority or importance of the multiple objects.

[0101] The "connection" mentioned in the embodiments of the present application may include a physical connection or a wireless connection. If two devices are connected to each other, the two devices can communicate, for example, by transmitting data to each other. The "connection" mentioned in the embodiments of the present application may be a direct connection or an indirect connection. For example, when a source device and a target device are connected, the source device may be directly connected to the target device, or the source device may be connected to the target device via multiple intermediate devices.

[0102] The technical solution provided in the embodiments of the present application can be applied to various communication systems, such as: long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), fifth generation (5G) system or new radio (NR), or further evolved system based on LTE or NR, as well as future wireless communication systems or other similar communication systems.

[0103] Please refer to Figure 1 , is a schematic diagram of a network architecture of a communication system applicable to the embodiment of the present application. The communication system may include three parts, namely, an operator network part, a terminal device part and a data network part. The functions of some network elements are briefly introduced below.

[0104] The operator network part provides network services for the terminal equipment part. The operator network can be a 5G network, a 4G network, or a next-generation mobile communication network. The operator network part includes the (radio) access network ((R)AN) and the core network part. For the convenience of explanation, the following explanation takes the (R)AN as RAN as an example.

[0105] RAN is a subnetwork of the operator network and an implementation system between the service node and the terminal device in the operator network. To access the operator network, the terminal device first passes through the RAN, and then can be connected to the service node of the operator network through the RAN. The RAN device in the embodiment of the present application is also called a network device, which is a device that provides wireless communication functions for the terminal device. Network devices include, for example, but are not limited to: the next generation base station (generation nodeB, gNB) in 5G, evolved node B (evolved node B, eNB), baseband unit (baseband unit, BBU), transmitting and receiving point (transmitting and receiving point, TRP), transmitting point (transmitting point, TP), base station in future mobile communication system or access point in WiFi system, etc. The access network device can also be a wireless controller, a centralized unit (centralized unit, CU), and / or a distributed unit (distributed unit, DU) in the cloud radio access network (cloud radio access network, CRAN) scenario, or the network device can be a relay station, a vehicle-mounted device, and a network device in the future evolved PLMN network, etc.

[0106] The core network equipment includes, for example, user plane network elements, control plane network elements, such as network open network elements, session management function (SMF) network elements, etc. Figure 1 This is just an illustration, and the core network part may also include other devices, such as protocol data units (PDU), etc., which are not listed one by one here.

[0107] The user plane function network element is a gateway provided by the operator, and is the gateway for communication between the operator network and the data network. The user plane network element includes data packet routing and transmission, packet detection, service usage reporting, Quality of Service (QoS) processing, legal monitoring, uplink packet detection, downlink data packet storage and other user-related functions. In 5G, the user plane network element can be a user plane function (UPF) network element. In future communications such as 6G, the user plane network element can still be a UPF network element, or have other names, which are not limited in this application.

[0108] The network exposure network element can be a network exposure function (NEF) network element, which is a control plane network element provided by the operator. The NEF network element opens the external interface of the operator network to the third party in a secure manner. When the SMF network element needs to communicate with the network element of a third party, the NEF network element can serve as a relay for the communication between the SMF network element and the network element of the third party. When the NEF network element acts as a relay, it can be used as a translator for the identification information of the contracted user and the identification information of the network element of the third party.

[0109] The terminal equipment part includes terminals, industrial equipment connected to the terminals, etc. The terminal can establish a connection with the operator network through the interface provided by the operator network (such as N1, etc.), and use the data and / or voice services provided by the operator network. The terminal can also access the data network part through the operator network, use the operator services deployed on the data network part, and / or services provided by a third party. Among them, the above-mentioned third party may be a service provider other than the operator network and the terminal, and can provide other data and / or voice services to the terminal. Among them, the specific form of expression of the above-mentioned third party can be determined according to the actual application scenario, and is not limited here. Figure 1Taking the example that the terminal device part includes an industrial device and a terminal, in some embodiments, the terminal device part may include multiple industrial devices and multiple terminals, and one terminal may be connected to one industrial device or multiple industrial devices. Here, the industrial device is connected to the terminal, that is, the industrial device is connected to the terminal. The industrial device connected to the terminal can also be called an industrial terminal device or a terminal device. It can be considered that the terminal and the industrial device connected to the terminal are two types of terminal devices. For the convenience of description, the terminal devices connected to a terminal are collectively referred to as industrial devices in this article.

[0110] A terminal, also known as user equipment or terminal device, or terminal equipment, includes a device that provides voice and / or data connectivity to a user, such as a handheld device with wireless connection function, or a processing device connected to a wireless modem. The terminal device can communicate with the core network via a radio access network (RAN) and exchange voice and / or data with the RAN. The terminal device may include user equipment (UE), wireless terminal device, mobile terminal device, device-to-device (D2D) terminal device, V2X terminal device, machine-to-machine / machine-type communications (M2M / MTC) terminal device, Internet of Things (IoT) terminal device, subscriber unit, subscriber station, mobile station, remote station, access point (AP), remote terminal, access terminal, user terminal, user agent, aircraft (such as drone, hot air balloon, civil airliner, etc.) or user equipment, etc. For example, it may include a mobile phone (or "cellular" phone), a computer with a mobile terminal device, a portable, pocket-sized, handheld, or computer-built-in mobile device, etc. For example, personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDA), and other devices. It also includes limited devices, such as devices with low power consumption, or devices with limited storage capacity, or devices with limited computing power, etc. For example, it includes barcodes, radio frequency identification (RFID), sensors, global positioning system (GPS), Beidou positioning system, laser scanners and other information sensing devices.

[0111] As an example but not limitation, in the embodiments of the present application, the vehicle-mounted device placed or installed on the vehicle may also include a wearable device. Wearable devices may also be referred to as wearable smart devices or smart wearable devices, etc., which are a general term for the application of wearable technology to intelligently design and develop wearable devices for daily wear, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only a kind of hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and can realize complete or partial functions without relying on smartphones, such as smart watches or smart glasses, etc., as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets, smart helmets, and smart jewelry for vital sign monitoring.

[0112] The data network part, also known as the packet data network (PDN), is a network outside the operator's network, including Figure 1 The external data network and industrial network shown in the figure can be connected to multiple data networks. A variety of services can be deployed on the data network, and data and / or voice services can be provided to terminal devices. For example, the data network is the private network of a smart factory. The sensors installed in the workshop of the smart factory can be terminals. The control server of the sensor is deployed in the data network N, and the control server can provide services for the sensor. The sensor can communicate with the control server, obtain the instructions of the control server, and transmit the collected sensor data to the control server according to the instructions. For another example, the data network is the internal office network of a company. The mobile phones or computers of the company's employees can be terminals. The mobile phones or computers of the employees can access the information, data resources, etc. on the company's internal office network.

[0113] It should be understood that Figure 1In the present invention, industrial equipment and terminals can be connected through dedicated lines; terminals and network equipment can be connected through air interfaces; network equipment and user plane functional network elements are connected through mobile tunnels; different user plane functional network elements can be connected through mobile tunnels; user plane functional network elements and industrial networks can be connected through dedicated network tunnels; user plane functional network elements and external data networks can be connected through external networks, such as Ethernet connections. The terminal and each network element can transmit information through a session. It should be understood that a session provides data connectivity between the terminal and the data network (DN). The session can be, for example, a protocol data unit (PDU) session, and the type of PDU can be an internet protocol (IP) between networks, or Ethernet, or an unstructured type. The following takes the example of the transmission of information between the terminal and the user plane functional network element through a PDU session, but information can also be transmitted through other possible sessions, which is not limited by the embodiments of the present application.

[0114] It should be understood that the devices in the system access the data network part based on the interface protocol between different network elements, such as the existing four-layer communication protocol or seven-layer communication protocol, to complete data encapsulation, mapping or parsing.

[0115] For example, see Figure 2 ,for Figure 1 The following is a schematic diagram of the protocol stack architecture of each device in the system. Figure 2 The possible protocol stacks for each device interface.

[0116] 1) The protocol stack of industrial equipment, which may include a physical (PHY) layer (also called L1CEG L1 layer), a data link layer (also called L2 layer) and a network layer. Among them, the PHY layer can be implemented to create a physical link required for data transmission, etc. to ensure data transmission. The data link layer defines the specifications for data transmission between devices interconnected by communication media. One of the related technologies of the data link layer is media access control (MAC) address or Internet protocol (IP) address addressing, that is, identifying interconnected nodes in the data link through MAC address or IP address to access the corresponding node. The network layer can encapsulate the data to be sent based on the supported communication protocol. Since one of the related technologies in the data link layer is MAC address or IP address addressing, Figure 2 The MAC layer / IPv6 layer represents the data link layer.

[0117] 2) The terminal's protocol stack, which may include a PHY layer and a data link layer. It should be understood that the terminal's protocol stack may also include a 5G access network protocol stack equivalent to the PHY layer to access network devices and communicate with network devices. The data sent by the terminal to the network device is encapsulated in the data link layer.

[0118] 3) The protocol stack of the network device, which includes the 5G access network protocol stack, the General Packet Radio Service (GPRS) tunneling protocol (GPRS tunnelling protocol, GTP) protocol layer, the user datagram protocol (user datagram protocol, UDP) protocol layer, the Internet protocol (internet protocol, IP) protocol layer, the L2 layer and the L1 layer. In a possible implementation, data transmission between the terminal and the network device can be achieved through a relay, so the protocol stack of the network device may also include a relay layer.

[0119] 4) UPF protocol stack, which may include MAC layer, GTP protocol layer, UDP protocol layer, IP protocol layer, L2 layer and L1 layer.

[0120] 5) The protocol stack of the application server, which may include a network layer and a MAC layer.

[0121] based on Figure 2 As shown in the protocol stack architecture diagram, if industrial equipment wants to address across a wide area, then the devices involved in the system need to use a globally universal IP address or MAC address. This requires a globally unified allocation method to allocate IP addresses or MAC addresses to each device, but the application of global IP addresses or MAC addresses is uncontrollable. For example, the current allocation of IP addresses or MAC addresses requires applying for address space in the United States, which has the disadvantage of being regulated. That is, the current application of global IP addresses or MAC addresses has the problem of limited allocation and cannot support communication between more devices.

[0122] In some possible scenarios, industrial devices can negotiate private protocols and implement addressing based on private protocols. Although this method is not restricted by applying for IP addresses or MAC addresses, addressing based on private protocols is only applicable to local systems. That is, the addressing method based on private protocol addressing and the addressing method based on IP addresses / MAC addresses cannot achieve system intercommunication.

[0123] In view of this, an embodiment of the present application provides a communication method, which can extend the allocated address of industrial equipment and perform addressing based on the expanded address of the industrial equipment. For example, if the method extends the MAC address of the industrial equipment, the address of the industrial equipment includes the allocated MAC address and the extended address (referred to as the extended address). Different industrial equipment can be defined to share the same MAC address, and different industrial equipment corresponds to different extended addresses. For an application server, the application server can determine which industrial equipment the received information comes from through the shared MAC address, and the extended address is used to distinguish different industrial equipment to determine which industrial equipment the received information comes from. It can be seen that addressing is achieved through the allocated MAC and extended addresses, and the same MAC address can be assigned to multiple industrial equipment, which can avoid the problem of limited MAC address allocation. At the same time, the method does not need to change the current addressing method, that is, it is compatible with the current addressing method.

[0124] It should be noted that the aforementioned addressing is implemented by MAC address or IP address as an example, and the embodiments of the present application can also be applied to addressing by private address and private identification. For the convenience of description, the MAC address, IP address and private address can be collectively referred to as the basic address in this article, and the address extended to the basic address is referred to as the extended address. That is, the address of an industrial device includes two parts: the basic address and the extended address. The embodiments of the present application extend the MAC address or IP address, that is, the address of the device is extended at the data link layer (L2 layer), which can avoid the packet header of the message sent between devices being too long.

[0125] For example, see Figure 3 , corresponding to the embodiment of this application Figure 1 The schematic diagram of the protocol stack architecture of each device in the system is shown. Figure 2 The difference is that the data link layer (ie, MAC layer, or MAC / IPv6 layer) of each device includes two parts, namely, MAC address / IPv6 address and extended address. Figure 3 Industrial devices and terminals can be addressed through extended addresses, so that the same MAC address and different extended addresses can be configured for multiple industrial devices connected to one terminal, avoiding the problem of limited MAC address allocation. Figure 3 and Figure 2 Same part reference Figure 2 The description is not repeated here.

[0126] It should be understood that in order to achieve Figure 3 The protocol stack shown, Figure 1The system needs to add an extended address function, for example, adding an extended address definition function in the control plane, and adding an extended address execution function in the terminal and user plane. Exemplarily, an extended address definition function module is added to the existing control plane function network element or a new control plane function network element for defining the extended address is added, and the control plane function network element sends the defined extended address to the terminal and the user plane function network element. The terminal and the user plane function network element transmit the message carrying the extended address through the connected network, and each network element can realize addressing based on the basic address and / or the extended address.

[0127] In some embodiments, an extended address can be defined at the data link layer, for example, based on the extended field of the MAC address carrying the extended address, or adding a header of the IP address, based on which the extended address is carried. Defining an extended address at the data link layer can replace the private address for addressing, thereby saving the message length. In addition, defining an extended address at the data link layer can better be compatible with MAC addresses or IP addresses, and can be combined with extended addresses to heterogeneously configure multiple addressing methods.

[0128] It should be understood that during the addressing process, the terminal and the user plane functional network element adaptively re-encapsulate the message carrying the extended address, that is, the basic address and the extended address are mapped or restored to obtain addressing information that matches each industry. For example, the addressing information between different network elements can be a private address or an extended address or a MAC address + an extended address or an IP address + an extended address. And because the addressing address between different network elements can be an extended address, that is, addressing is based on a partial address of the network element, then the message transmitted between network elements can remove the common information, such as the MAC address as the basic address, thereby reducing the message length.

[0129] Below Figure 1 Taking the protocol stack of each device in the system shown as an example, the addressing principle of the technical solution provided by the present application is introduced.

[0130] The following is based on Figure 3 The protocol stack shown provides a detailed description of the technical solution provided in the embodiment of the present application.

[0131] The communication method provided in the embodiment of the present application can be applied to Figure 1 The communication architecture shown can also be applied to other future-oriented communication technologies, and can also be applied to mobile communication systems, fixed communication systems, etc. with other virtual connections or tunnel mechanisms.

[0132] For example, see Figure 4, is a schematic diagram of a system architecture applicable to the communication method provided in the embodiment of the present application. The system includes industrial equipment, an industrial equipment gateway connected to the industrial equipment, an industrial network edge gateway connected to the industrial equipment gateway, and an industrial application server connected to the industrial network edge gateway. The industrial equipment gateway is similar to Figure 1 The terminal in the industrial network edge gateway is similar to Figure 1 The user plane functional network element in the industrial device gateway. An industrial device gateway can connect multiple industrial devices, and an industrial network edge gateway can connect multiple supply servers. Each industrial device can send information (such as control information or data, etc.) to the industrial application server through the industrial device gateway connected to the industrial device and the industrial network edge gateway connected to the industrial device gateway. Conversely, each industrial application server can send information to the corresponding industrial device through the industrial network edge gateway and the industrial device gateway.

[0133] The system can configure a basic address and an extended address for industrial devices, where the basic address of the industrial device can be consistent with the basic address of the industrial device gateway, and the industrial device and the industrial device gateway can be addressed based on the extended address. Similarly, the industrial network edge gateway can also be configured with a basic address and an extended address, and the industrial application server can also be configured with a basic address and an extended address. The industrial device gateway and the industrial network edge gateway can be addressed with the basic address and / or the extended address, and the industrial network edge gateway and the industrial application server can be addressed based on the basic address and / or the extended address.

[0134] It should be noted that the industrial equipment in this article can also be terminal equipment applicable to other industries. That is, industrial equipment can also be called industrial terminal equipment, and one terminal equipment can be connected to one or more industrial terminal equipment. For the sake of distinction, in the following, industrial terminal equipment is called industrial equipment, and the terminal equipment connected to the industrial terminal equipment is called a terminal.

[0135] The addressing method provided by the present application is described in detail below in conjunction with specific application scenarios. It should be understood that the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solution of the present application, and do not constitute a limitation on the technical solution provided by the present application. A person of ordinary skill in the art will know that with the evolution of the network architecture and the emergence of new business scenarios, the technical solution provided by the present application is also applicable to similar technical problems.

[0136] See also Figure 5 , which is a schematic diagram of a system architecture for an application of the communication method provided in an embodiment of the present application. Figure 5Take the industrial network over 5G network as an example. The system includes 5G core network (5G core, 5GC) equipment, network equipment, UPF, application server (application server, AS), at least one terminal and at least one industrial device connected to each terminal. Figure 5 Take three terminals as an example, the three terminals are terminal 1, terminal 2 and terminal 3. Among them, terminal 1 is connected to working equipment 1, industrial equipment 2 and industrial equipment 3; terminal 2 is connected to industrial equipment 4; terminal 3 is connected to industrial equipment 5 and industrial equipment 6. In an embodiment of the present application, the control plane function network element can configure the basic address and extended address for one or more industrial devices connected to each terminal. Among them, the basic address (such as MAC address or IP address) of one or more industrial devices connected to each terminal is the same, and the extended address is different. The industrial equipment and the terminal can communicate based on the addressing method of the extended address. AS and UPF can communicate based on the addressing method that can use MAC address or IPv6 address, and the terminal and UPF can transmit information based on the PDU session established by the terminal, thereby realizing communication between AS and industrial equipment. For multiple UPFs, if multiple UPFs are interconnected, then these multiple UPFs can forward messages based on the local area network protocol or the general packet radio service (general packet radio service, GPRS) tunneling protocol (GPRS tunnelling protocol, GTP). It should be understood that the forwarding table entries of GTP-C are adaptively extended to implement addressing through extended addresses.

[0137] For example, see Figure 6 , is a flow chart of a communication method provided in an embodiment of the present application. The method can be applied to Figure 1 or Figure 4 or Figure 5 The following is an application of this method to Figure 5 The system shown in the figure is taken as an example, and the terminal is UE, the user plane function network element is UPF, and the control plane function network element is SMF. The steps of the method are described as follows.

[0138] S601. AS registers the basic address and extended address of each industrial device with the 5G core network.

[0139] The basic address can be a MAC address or an IP address or a private address or an identifier, etc., which is used to identify the address of the device, and the extended address can be considered as an address obtained by extending the basic address. For example, the address registered for industrial equipment can be a MAC address + an extended address, where the extended address can be carried in a reserved field of the MAC address. For another example, the address registered for industrial equipment can be an IP address + an extended address, and the extended address can be encapsulated with the IP address as the header of the IP address. For ease of description, the following takes the example of a MAC address as the basic address. It should be understood that the MAC address and the IP address are interchangeable in the embodiments of the present application.

[0140] In the embodiment of the present application, the MAC address and extended address of the industrial device are used to uniquely identify the industrial device. If multiple industrial devices have the same MAC address but different extended addresses, the multiple industrial devices can be distinguished based on the extended addresses. For example, for a certain UE, the MAC address configured for multiple industrial devices connected to the UE can be the MAC address of the UR, and different extended addresses can be configured for the multiple industrial devices. Figure 6 For example, MAC address 1 can be configured for UE1, MAC address 2 can be configured for UE2, and MAC3 can be configured for UE3. Correspondingly, the basic address configured for industrial equipment 1-industrial equipment 3 is MAC address 1, the basic address configured for industrial equipment 4 is MAC address 2, and the basic address configured for industrial equipment 5 and industrial equipment 6 is MAC address. In this way, addressing between UE and industrial equipment can be performed based on extended addresses. For example, UE1 and industrial equipment 1-industrial equipment 3 can be addressed based on the extended addresses of industrial equipment 1-industrial equipment 3. Since industrial equipment 1-industrial equipment 3 share MAC address 1, that is, multiple industrial equipment share one MAC address, addressing is performed based on the extended addresses of each industrial equipment, thereby avoiding the problem of limited MAC address allocation.

[0141] As an example, the AS may register the MAC address and extended address of each industrial device with the 5G core network. For example, the AS may send the MAC address to be registered to the 5GC device through the network capability exposure interface, and the 5GC device may create a local area network for multiple industrial devices in a certain industrial network. It should be understood that the local area network is a 5G local area network. For ease of description, the 5G local area network is referred to as the first network below. In the process of creating the first network, the control plane function network element in the system, such as SMF, may allocate the MAC address to the local area network, that is, allocate the MAC address to all industrial devices in the first network. The MAC address may also be referred to as a multicast MAC address. It should be understood that the multicast MAC address is the MAC address of the UE accessed by all industrial devices in the first network. In addition, the AS also registers different extended addresses for all industrial devices in the first network. For example, the AS may configure the format and / or type of the extended address for each industrial device, and the industrial device determines the configured extended address based on the format and / or type of the extended address. The embodiment of the present application does not limit the specific implementation of the format and type of the extended address.

[0142] S602. SMF sends the relevant information of the extended address configured for each industrial device to the UE or UPF.

[0143] It should be understood that the AS can register the MAC address and extended address for each industrial device through multiple network elements between the AS and the industrial equipment. This requires informing other network elements in the system, such as the UE and UPF, of the MAC address and / or extended address of each industrial device. Exemplarily, during the PDU session creation process initiated by the UE, the SMF may send information related to the extended addresses of each industrial device connected to the UE to the UE and UPF respectively through non-access stratum (NAS) messages and N4 messages. The UE and UPF can store the MAC address and / or extended address of each industrial device to implement addressing based on the MAC address and / or extended address.

[0144] The MAC address configured for the terminal can be the MAC address of the terminal network card. When the terminal network fails, the control plane function network element can update the terminal's MAC address through the UPF, and map the reallocated MAC address to the terminal's addressing address for external communication. Similarly, the address of the UPF can also be adjusted dynamically, as long as the adjusted address is notified to other network elements in the system, such as terminals and application servers. Since the addresses of the terminal and UPF can be updated dynamically, the method of the embodiment of the present application is used to facilitate maintenance in the event of a failure in device hardware, such as a network card.

[0145] It should be understood that information is transmitted between network elements in the system based on the addressing method. Take the transmission direction of industrial equipment->UE->UPF->AS as the uplink transmission direction, and conversely, the transmission direction of AS->UPF->UE->industrial equipment as the downlink transmission direction. Taking downlink transmission as an example, if the AS wants to transmit information to a certain industrial equipment, the AS needs to transmit the information to the UPF first, and the UPF transmits the information to the terminal connected to the industrial equipment, and then the terminal transmits it to the industrial equipment. However, the UPF can connect to multiple UEs, and each UE can be connected to one or more industrial equipment. This involves how the UPF forwards information to the correct UE, and how the UE forwards information to the correct industrial equipment.

[0146] To this end, UPF can establish a correspondence between the extended address of the industrial equipment and the PDU session of the UE, so as to forward the information to the UE corresponding to the industrial equipment according to the extended address of the industrial equipment. Alternatively, AS can establish a correspondence between the extended address of the industrial equipment and the MAC address of the UE, and AS sends the MAC address of the UE corresponding to the extended address of the industrial equipment to UPF based on the correspondence. UPF forwards the information to the corresponding UE based on the MAC address of the UE, and the UE forwards the information to the corresponding industrial equipment based on the extended address of the industrial equipment. It should be understood that a UE can be connected to multiple industrial equipment, and the UE can establish a correspondence between multiple interfaces of the UE and multiple connected industrial equipment, so as to select the correct interface based on the correspondence and forward the information to the corresponding industrial equipment.

[0147] For the sake of ease of description, this article refers to the correspondence between the extended address of the industrial equipment established by UPF and the PDU session of the UE as the first correspondence; the correspondence between the extended address of the industrial equipment established by AS and the MAC address of the terminal as the second correspondence; and the correspondence between the multiple interfaces established by the UE and the multiple connected industrial devices as the third correspondence.

[0148] The above-mentioned first correspondence, second correspondence and third correspondence can also be understood as the rules according to which each network element processes the addressing address. For example, for downlink transmission, UPF needs to map the addressing address carried by the message from AS to correctly find the industrial equipment that AS wants to access. For uplink transmission, UPF needs to restore the addressing address from the industrial equipment to an address that AS can recognize. In an embodiment of the present application, the first correspondence, the second correspondence and the third correspondence can be dynamically established or updated, that is, the access path from the source device to the destination device in the network can be dynamically changed, which can improve security.

[0149] The following describes how to establish the first corresponding relationship, the second corresponding relationship, and the third corresponding relationship.

[0150] As an example of establishing a first corresponding relationship (Example 1), UPF can learn and record the association between the extended address of the industrial equipment and the PDU session of the UE accessed by the industrial equipment during the process of AS configuring the industrial equipment, thereby establishing the first corresponding relationship.

[0151] For example, please see Figure 6 , the UPF may include the following steps to establish the first corresponding relationship:

[0152] S603a. AS sends a message 10 to UPF. Accordingly, UPF receives the message 10. The message 10 is used to discover at least one industrial device.

[0153] Message 10 may be used to request the discovery of at least one industrial device, or it may be considered that message 10 is used to request the acquisition of the addressing address of at least one industrial device, and it should be understood that the addressing address at least includes an extended address. It should be noted that the embodiment of the present application does not limit the name of message 10, and message 10 may also be other names as long as it is used to discover at least one industrial device. For example, message 10 may be called a device discovery request message.

[0154] It should be understood that the AS only knows information such as the name of the industrial device, but does not know the extended address of the industrial device. If the AS wants to know the extended address of the industrial device, it can instruct the industrial device to report the extended address. For example, the AS can request the extended address of the industrial device through the UPF and the UE. For example, the AS wants to configure an extended address for at least one industrial device in the first network. The AS can send a message 10 to the UPF or the AS can broadcast or multicast the message 10.

[0155] Exemplarily, the message 10 may carry identification information of at least one industrial device. The identification information may indicate the identity (ID) information of the industrial device, such as the name information, number information, etc. of the industrial device, as long as the industrial device can be identified. Since the UPF communicates with at least one industrial device through the UE, the UPF forwards the content carried by the message 10 to the at least one industrial device through the UE. To this end, the message 10 also includes the MAC address of the UE to which the at least one industrial device is connected. The MAC address of the UE may be the multicast MAC address of the first network.

[0156] It should be noted that the embodiment of the present application does not limit the specific implementation form of the message 10. In a possible implementation, the message 10 can be encapsulated based on the Profinet digital communication protocol (DCP), that is, the message 10 can be an information frame. In this case, the destination address of the information frame is the multicast address of the first network, and the content carried by the information frame includes identification information of at least one industrial device.

[0157] S604a: UPF broadcasts a message 20 in the first network. The message 20 carries identification information of at least one industrial device.

[0158] After receiving message 10, UPF can obtain the multicast address and at least one identification information. Afterwards, UPF can forward part or all of the content carried by message 10 to UE, and forward it to at least one industrial device through UE. It should be understood that in order to discover industrial equipment, UPF only needs to send the identification information of the industrial equipment to the industrial equipment. Therefore, UPF receives message 10 and can generate message 20 based on message 10. For example, the UPF can remove the multicast address in message 10 and generate message 20. That is, message 20 includes the identification information of at least one industrial device. Afterwards, UPF can broadcast message 20 in the first network. After each UE in the first network receives the message 20, it sends the content carried by the message 20 to each industrial device connected to the UE.

[0159] S605a: The industrial device sends a response 10 to the UE, where the response 10 includes an extended address of the industrial device.

[0160] Any industrial device that receives message 20 can determine whether its own identification information belongs to one of the identification information of at least one industrial device carried in message 20. If the identification information of the industrial device is the same as a certain identification information carried by message 20, the industrial device sends a response 10 to the UE. That is, response 10 can be considered as a response message of message 20, and the response 10 includes the extended address of the industrial device. It should be noted that the embodiment of the present application does not limit the specific name of response 10. If message 10 is called a device discovery request message, response 10 can be called a device discovery response message.

[0161] S606a: The UE establishes a third corresponding relationship.

[0162] It should be understood that when the AS sends a message to the industrial device, the message needs to be forwarded to the industrial device through the UE. However, a UE can be connected to multiple industrial devices, which requires the UE to select the corresponding interface to forward the message from the AS to the correct industrial device. Therefore, the UE needs to establish a third corresponding relationship.

[0163] Exemplarily, the extended address of the industrial device and the hardware of the industrial device can be bound. The UE can bind the hardware of the industrial device to the interface of the UE used by the industrial device to access the UE. When the UE receives a response 10 from an industrial device, the extended address of the industrial device can be determined. According to the correspondence between the extended address of the industrial device and the hardware of the industrial device, and the correspondence between the hardware of the industrial device and the interface of the UE, the correspondence between the extended address of the industrial device and the port of the UE can be established. By analogy, the UE can establish a third correspondence.

[0164] S607a: The UE sends a PDU session to the UPF. The PDU session carries responses 10 from various industrial devices.

[0165] It should be understood that the UE receives the first response message from each industrial device and can obtain the extended address carried by each response 10. The UE then reports the extended address of each industrial device to the UPF. Exemplarily, the UE can report the extended address of each industrial device to the UPF through the established PDU session.

[0166] It should be noted that the embodiment of the present application does not limit the execution order of S606a and S607a, that is, S606a can be executed before S607a or after S607a.

[0167] S608a: UPF establishes a first corresponding relationship.

[0168] The UPF may establish a first correspondence according to the received PDU session, that is, establish a correspondence between the addressing address of the industrial device and the PDU session. It should be understood that the addressing address includes a multicast MAC address and an extended address.

[0169] As another example of establishing the first correspondence (Example 2), the UPF learns and records the association between the extended address of the industrial device and the PDU session of the UE accessed by the industrial device during the unicast message sent by the AS to the industrial device, thereby establishing the first correspondence. Different from the previous example, in this example, the AS requests to discover a certain industrial device, that is, the way in which the AS sends the industrial device is different from the previous example.

[0170] For example, please see Figure 6 , the UPF may include the following steps to establish the first corresponding relationship:

[0171] S603b. AS sends a first message to UPF. Correspondingly, UPF receives the first message, which carries the multicast MAC address and the first extended address.

[0172] The multicast MAC address can be considered as a basic address of a certain industrial device (eg, a first industrial device), and the first extended address is an extended address of the first industrial device. The first message is used to discover the first industrial device.

[0173] S604b, UPF matches the forwarding rule according to the first message.

[0174] After receiving the first message, the UPF may use the multicast MAC address and the first extended address carried in the first message as a matching item (PDR) of the forwarding table to determine whether there is a forwarding rule matching the first industrial device.

[0175] S605b. If no forwarding rule is matched, the UPF broadcasts or multicasts a second message on the first network corresponding to the multicast MAC address, where the second message carries the first extended address.

[0176] If the UPF does not match the forwarding rule according to the multicast MAC address and the first extended address, the multicast MAC address of the first message can be removed to obtain the second message. Then the UPF sends the second message to all UEs in the first network through the first network multicast to send the first industrial device.

[0177] S606b: The UE broadcasts or multicasts the second message to send the second message to the industrial devices connected to the UE.

[0178] S607b: The industrial device sends a response message to the second message to the AS through the PDU session of the UE, where the response message carries the first extended address.

[0179] The industrial device receives the second message, and if it is determined that the first extended address is the same as the extended address of the industrial device, the industrial device sends a response message of the second message to the UE.

[0180] S608b. The UE establishes a third corresponding relationship according to the response message of the second message.

[0181] When the UE receives the response message, a third correspondence can be established. For example, the extended address of the first industrial device and the hardware of the first industrial device can be bound. The UE can bind the hardware of the first industrial device to the interface of the UE used by the first industrial device to access the UE. When the UE receives a response message from the first industrial device, it can be determined that based on the correspondence between the first extended address and the hardware of the first industrial device, and the correspondence between the hardware of the first industrial device and the interface of the UE, a correspondence between the first extended address and the port of the UE can be established. By analogy, the UE can establish a third correspondence.

[0182] S609b. The UE sends a response message of the first industrial device to the first message to the UPF.

[0183] After receiving the response message, the UE may also send a response message (eg, a third message) of the first industrial device to the first message to the UPF through the UE's PDU session. It should be understood that the third message carries the first extended address.

[0184] S610b: UPF establishes a first corresponding relationship.

[0185] After receiving the third message, the UPF may establish the above-mentioned first correspondence according to the received PDU session, that is, establish a correspondence between the multicast MAC address of the first industrial device, the first extended address, and the PDU session.

[0186] S603. AS sends a first downlink message to UPF. Correspondingly, UPF receives the first downlink message, which carries addressing information of the destination industrial device.

[0187] When the AS wants to send data to the destination industrial device, the data can be forwarded to the destination industrial device through the UPF. For example, the AS can send a first downlink message to the UPF, and the first downlink message can include the addressing information of the destination industrial device to instruct the UPF to send the data to the destination industrial device. Exemplarily, the addressing information can be used to indicate the MAC address and extended address of the destination industrial device.

[0188] S604. UPF determines the UE to which the destination industrial equipment is connected according to the first downlink message.

[0189] The UPF receives the first downlink message from the AS and can determine the UE to which the target industrial device is connected according to the addressing information carried in the first downlink message, so as to forward the data from the AS to the target industrial device through the UE.

[0190] Specifically, based on the first corresponding relationship, the UPF uses the MAC address and the extended address indicated by the addressing information as matching items, determines the forwarding rule corresponding to the PDU session of the UE, and thus determines the UE to which the destination industrial equipment is connected.

[0191] S605. UPF sends a second downlink message to the UE accessed by the destination industrial device.

[0192] After receiving the first downlink message, the UPF can remove the MAC address carried in the first downlink message and generate a second downlink message. That is, the second downlink message includes the extended address of the destination industrial device. Afterwards, the UPF forwards the second downlink message to the UE connected to the destination industrial device through the determined forwarding rule, that is, the UE's PDU session.

[0193] S606. The UE sends a third downlink message to the destination industrial device.

[0194] The UE receives the second downlink message and can determine the port connected to the destination industrial device according to the extended address carried in the second downlink message and the third corresponding relationship. Then, the UE sends the data from the AS to the destination industrial device through the port.

[0195] Exemplarily, the UE can forward the third downlink message to the destination industrial device through the determined port. It should be understood that the third downlink message carries the data that the AS wants to send to the destination industrial device. If the UE and the destination industrial device are connected via an Ethernet network, the UE can encapsulate the multicast MAC address and its own MAC address as the destination MAC address and source MAC address in the second downlink message to generate a third downlink message. Afterwards, the UE sends the third downlink message to the destination industrial device through the determined port.

[0196] It should be understood that for UE and industrial equipment, the UE and the industrial equipment can be addressed based on the extended address of the industrial equipment. However, there may be a non-direct connection between the industrial equipment and the UE, for example, the UE and the industrial equipment are indirectly connected through a switch or Ethernet network. When the industrial equipment and the UE are indirectly connected, the UE and the industrial equipment can be addressed based on the MAC address and extended address of the industrial equipment. Exemplarily, the MAC address of the UE can be the hardware address of the UE network card, and the MAC address of the industrial equipment can be a multicast MAC address (i.e., a MAC address shared by multiple industrial devices). The multicast MAC address can be used for addressing between the UE and the industrial equipment. When the UE determines the destination industrial equipment, it can send the message to the destination industrial equipment according to the port corresponding to the destination industrial equipment.

[0197] The foregoing Figure 6 Take the example of UPF selecting UE and forwarding data from AS to the destination industrial equipment. In this embodiment, multiple industrial devices connected to the same UE share the MAC address of the UE as the base address. AS accesses the destination industrial equipment and matches the PDU session of the UE that matches the destination industrial equipment through UPF. That is, AS does not need to perceive the association between UE and industrial equipment, that is, it does not need to determine the association between the extended address of the industrial equipment and the MAC address of the UE, thereby simplifying the complexity.

[0198] As an alternative implementation method, if AS wants to send data to the destination industrial equipment, it can select the UE connected to the destination industrial equipment and instruct UPF to forward the data to the destination industrial equipment through the UE. In this way, UPF can easily select the PDU session of UE according to the instruction of AS, and then forward the data from AS to the destination industrial equipment through the PDU session. UPF does not need to perceive the association between the extended address of the industrial equipment and the UE, and naturally does not need to perceive some interactive messages to establish the association, thereby improving the security of the industrial network.

[0199] See also Figure 7 , is a flow chart of another addressing method provided in an embodiment of the present application. This method can be applied to Figure 1 or Figure 4 or Figure 5 The following is an application of this method to Figure 5 The system shown in the figure is taken as an example, and the terminal is UE, the user plane function network element is UPF, and the control plane function network element is SMF. The steps of the method are described as follows.

[0200] S701, AS registers the basic address and extended address of each industrial device with the 5G core network.

[0201] The specific implementation method of S701 is the same as the specific implementation method of the aforementioned S601. Please refer to the relevant description of S601, which will not be repeated here.

[0202] S702. SMF sends the relevant information of the extended address configured for each industrial device to the UE or UPF.

[0203] The specific implementation method of S702 is the same as the specific implementation method of the aforementioned S602. Please refer to the relevant description of S602, which will not be repeated here.

[0204] S703. AS sends message 30 to UPF.

[0205] The specific implementation of S703 is similar to the specific implementation of S603, except that the message 30 in S703 includes the multicast MAC address of the first network and the identification information of a certain industrial device, that is, the AS unicasts the message to the industrial device.

[0206] S704. UPF broadcasts or multicasts message 40 in the first network.

[0207] The specific implementation method of S704 is similar to the specific implementation method of the aforementioned S604a, that is, reference may be made to the relevant description of S604a, which will not be repeated here.

[0208] S705 . The industrial device sends a response 30 to the UE.

[0209] The specific implementation of S705 is similar to the specific implementation of S605a described above, and reference may be made to the relevant description of S605a, which will not be repeated here. The difference is that the response 30 is a response message of the message 40.

[0210] S706. The UE establishes a third corresponding relationship.

[0211] The specific implementation method of S706 is the same as the specific implementation method of the aforementioned S606a. Please refer to the relevant description of S606a, which will not be repeated here.

[0212] S707 . The UE sends a PDU session to the UPF. The PDU session carries the response 20 of each industrial device.

[0213] The specific implementation method of S707 is the same as the specific implementation method of S607a mentioned above. Please refer to the relevant description of S607a, which will not be repeated here.

[0214] S708 . The UPF sends a response 30 to the AS. The response 30 carries the MAC address of the UE and the extended address and / or identification information of each industrial device.

[0215] The UPF receives the response 20 from the UE's PDU session and obtains the MAC address of the UE corresponding to the UE's PDU session. The UPF encapsulates the MAC address in the outer layer of the response 20 to generate a response 30. Afterwards, the UPF sends the response 30 to the AS for the AS to establish a second corresponding relationship.

[0216] S709 . The AS establishes a second corresponding relationship according to the response 30 .

[0217] After receiving the response 30, the AS may establish a correspondence between the identification information or the extended address of the industrial device and the MAC address of the UE, and then send data to the destination industrial device according to the second correspondence.

[0218] S710. AS sends a first downlink message to UPF. Correspondingly, UPF receives the first downlink message, which carries the MAC address of the UE to which the destination industrial device is connected.

[0219] The AS stores a second correspondence. When the AS wants to send data to the destination industrial device, the AS can determine the MAC address of the UE connected to the destination industrial device based on the second correspondence. The AS can instruct the UPF to forward the data from the AS to the destination industrial device through the UE corresponding to the MAC address. For ease of description, the UE connected to the destination industrial device can be referred to as the destination UE. Exemplarily, the AS can send a first downlink message to the UPF, and the first downlink message carries the MAC address of the destination UE to instruct the UPF to select the destination UE. It should be understood that the first downlink message also includes the data that the AS wants to send to the destination industrial device.

[0220] S711. UPF sends a second downlink message to the destination UE.

[0221] After receiving the first downlink message, the UPF may remove the MAC address of the destination UE carried in the first downlink message to generate a second downlink message. The UPF sends the second downlink message to the destination UE through the PDU session of the UE matching the MAC address of the destination UE.

[0222] S712: The destination UE sends a third downlink message to the destination industrial device.

[0223] The specific implementation method of S712 provides the specific implementation method of S606. For details, please refer to the relevant description of S606 mentioned above, which will not be repeated here.

[0224] It should be understood that the communication method provided by this application is applied to Figure 5 The difference between the systems shown is that if the communication method provided by the present application is applied to Figure 4 In the system shown, information is transmitted between the industrial network edge gateway and the industrial equipment network element based on the Ethernet communication protocol or other possible communication protocols.

[0225] The present application can avoid restrictions on MAC address or IP address allocation by extending the address already allocated to the device, such as the MAC address or IP address, and performing addressing based on the extended address.

[0226] In the embodiments provided by the present application, the method provided by the embodiments of the present application is introduced from the perspective of interaction between industrial equipment, terminal, UPF and application server. In order to realize the functions in the methods provided by the embodiments of the present application, the industrial equipment, terminal, UPF and application server may include hardware structure and / or software module, and the functions are realized in the form of hardware structure, software module, or hardware structure plus software module. Whether a function of the above functions is executed in the form of hardware structure, software module, or hardware structure plus software module depends on the specific application and design constraints of the technical solution.

[0227] The following describes the device used to implement the above method in the embodiment of the present application in conjunction with the accompanying drawings. Therefore, the above content can be used in subsequent embodiments, and the repeated content will not be repeated.

[0228] like Figure 8As shown, it is a possible exemplary block diagram of a communication device involved in the present application. The communication device 800 can correspond to the functions or steps implemented by the industrial equipment or terminal or UPF or application server in the above-mentioned various method embodiments. The communication device may include a transceiver module 801 and a processing module 802. Optionally, a storage module may also be included, which can be used to store instructions (codes or programs) and / or data. The transceiver module 801 and the processing module 802 can be coupled with the storage module. For example, the processing module 802 can read the instructions (codes or programs) and / or data in the storage module to implement the corresponding method. The above-mentioned modules can be set independently or partially or fully integrated.

[0229] It should be understood that the processing module 802 can be a processor or a controller, for example, a general-purpose central processing unit (CPU), a general-purpose processor, a digital signal processing (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, for example, including a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The transceiver module 801 is an interface circuit of the device for receiving signals from other devices. For example, when the device is implemented in the form of a chip, the transceiver module 801 is an interface circuit of the chip for receiving signals from other chips or devices, or an interface circuit of the chip for sending signals to other chips or devices.

[0230] The communication device 800 may be the industrial device or terminal or UPF or application server in the above-mentioned embodiment, or may be a chip for industrial device or terminal or UPF or application server. For example, when the communication device 800 is an industrial device or terminal or UPF or application server, the processing module 802 may be, for example, a processor, and the transceiver module 801 may be, for example, a transceiver. Optionally, the transceiver may include a radio frequency circuit, and the storage unit may be, for example, a memory. For example, when the communication device 800 is a chip for industrial device or terminal or UPF or application server, the processing module 802 may be, for example, a processor, and the transceiver module 801 may be, for example, an input / output interface, a pin or a circuit, etc. The processing module 802 can execute computer-executable instructions stored in a storage unit. Optionally, the storage unit is a storage unit within the chip, such as a register, a cache, etc. The storage unit can also be a storage unit located outside the chip within the network device, terminal or positioning management device, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.

[0231] In some possible implementations, the communication device 800 can implement the behaviors and functions of the UPF in the above method embodiments. For example, the communication device 800 can be a UPF, or a component (such as a chip or circuit) used in the UPF. The transceiver module 801 can be used to support the communication between the UPF and other network entities, such as supporting the UPF to communicate with the UPF. Figure 7 or Figure 8 The processing module 802 is used to control and manage the actions of the UPF. For example, the processing module 802 is used to support the UPF to execute Figure 6 or Figure 7 All operations of UPF except sending and receiving.

[0232] For example, the transceiver module 801 can be used to perform Figure 6 In the embodiment shown, all receiving or sending operations performed by the UPF, such as Figure 6 S601, S602, S603a, S604a, S603 in the illustrated embodiment, and / or other processes for supporting the technology described herein; for example Figure 7 S601, S602, S603b, S605a, S603 in the embodiment shown, and / or other processes for supporting the technology described herein. Wherein, the processing module 802 is used to perform the following steps: Figure 6 In the embodiment shown, all operations except the sending and receiving operations are performed by the UPF, such as Figure 6S604b, S610b, S604 in the illustrated embodiment, and / or other processes for supporting the techniques described herein.

[0233] For example, the transceiver module 801 can be used to perform Figure 7 In the embodiment shown, all receiving or sending operations performed by the UPF, such as Figure 7 S701, S702, S703, S704, S708, S710, S711, S712 in the embodiment shown, and / or other processes for supporting the technology described herein. The processing module 802 is used to perform the following steps: Figure 7 All operations except transceiver operations performed by the UPF in the illustrated embodiment, and / or other processes used to support the technology described herein.

[0234] In some embodiments, the transceiver module 801 is used to receive a message carrying addressing information from an application server, the addressing information including a basic address associated with the terminal device 10 and an extended address of the terminal device 10, wherein the terminal device 20 is connected to one or more terminal devices, the one or more terminal devices including the terminal device 10, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different; the processing module 802 is used to determine the terminal device 20 based on the addressing information; the transceiver module 801 is also used to send the message carrying the extended address to the terminal device 20.

[0235] In a possible implementation, the basic address is a multicast address of a local area network, the local area network includes the terminal device 20 and the one or more terminal devices, and the processing module 802 is specifically configured to:

[0236] The terminal device 20 is determined according to the addressing information and a first corresponding relationship, wherein the first corresponding relationship is a corresponding relationship between a basic address associated with the terminal device 10 and an extended address of the terminal device 10 , and a session of the terminal device 20 to which the terminal device 10 accesses.

[0237] In a possible implementation, the transceiver module 801 is further used to: receive a message 10 from an application server, broadcast a message 20 in the local area network, and receive an extended address of the terminal device 10 from the terminal device 10 through a session established by the terminal device 20, wherein the message 10 is used to discover the terminal device 10, the message 10 includes the multicast address and identification information for the terminal device 10, and the message 20 includes identification information of at least one of the terminal devices 10;

[0238] The processing module 802 is specifically configured to establish the first corresponding relationship according to the session established by the terminal device 20 and the extended address of the terminal device 10 .

[0239] In a possible implementation, the transceiver module 801 is further used to: receive a message carrying the multicast address and the extended address of the terminal device 10 from the application server; if it is determined that there is no forwarding rule matching the multicast address and the extended address of the terminal device 10, broadcast the message carrying the extended address of the terminal device 10 in the local area network; receive a response 10 from the terminal device 10 through the session established by the terminal device 20;

[0240] The processing module 802 is specifically configured to establish the first corresponding relationship according to the session of the terminal device 20 .

[0241] In a possible implementation, the basic address of the terminal device 10 is a unicast address of the terminal device 10 , and the processing module is specifically configured to determine the terminal device 20 according to the unicast address of the terminal device 10 .

[0242] In a possible implementation, the transceiver module 801 is also used to: receive a message 30 from an application server, broadcast a message 40 in the local area network, and receive the extended address of the terminal device 10 from the terminal device 10 through a session established by the terminal device 20, and send the extended address and / or identification information of the terminal device 10 and the basic address of the terminal device 20 to the application server; wherein the message 30 is used to discover the terminal device 10, the message 30 includes the multicast address of the local area network and the identification information of the terminal device 10, wherein the terminal device 20 and the one or more terminal devices are located in the local area network, and the message 40 includes the identification information of the terminal device 10.

[0243] In a possible implementation, the basic address includes a MAC address or an IP address.

[0244] It should be understood that the processing module 802 in the embodiment of the present application can be implemented by a processor or a processor-related circuit component, and the transceiver module 801 can be implemented by a transceiver or a transceiver-related circuit component.

[0245] In some possible implementations, the communication device 800 can implement the behaviors and functions of the terminal device in the above method embodiments. For example, the communication device 800 can be a terminal device, or a component (such as a chip or circuit) used in a terminal device. The transceiver module 801 can be used to support the communication between the application server and other network entities, such as supporting the terminal device to communicate with the network entity. Figure 6 or Figure 6The processing module 802 is used to control and manage the actions of the terminal device. For example, the processing module 802 is used to support the application server to execute Figure 7 or Figure 8 All operations of the terminal device except sending and receiving.

[0246] For example, the transceiver module 801 can be used to perform Figure 6 In the embodiment shown, all receiving or sending operations performed by the terminal device, such as Figure 6 S602, S605a, S607a in the illustrated embodiment, and / or other processes for supporting the technology described herein; for example Figure 6 S605b, S606b, S607b, S608b in the embodiment shown, and / or other processes for supporting the technology described herein. Wherein, the processing module 802 is used to perform the following steps: Figure 6 In the embodiment shown, all operations except the sending and receiving operations performed by the terminal device, such as Figure 6 S606a in the illustrated embodiment, and / or other processes for supporting the techniques described herein; e.g. Figure 6 S608b in the illustrated embodiment, and / or other processes for supporting the techniques described herein.

[0247] For example, the transceiver module 801 can be used to perform Figure 7 In the embodiment shown, all receiving or sending operations performed by the terminal device, such as Figure 7 S702, S704, S705, S711, S712 in the embodiment shown, and / or other processes for supporting the technology described herein. Wherein, the processing module 802 is used to perform the following steps: Figure 7 In the embodiment shown, all operations except the sending and receiving operations performed by the terminal device, such as Figure 7 S706 in the illustrated embodiment, and / or other processes for supporting the techniques described herein.

[0248] In some embodiments, the transceiver module 801 is used to receive a message carrying an extended address of a terminal device 10 from a user plane functional network element, and to send the message to the terminal device 10, wherein the communication device is connected to one or more terminal devices, the one or more terminal devices include the terminal device 10, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different.

[0249] In a possible implementation, the processing module 802 is specifically configured to determine the first port of the communication device according to the extended address of the terminal device 10 and the second corresponding relationship, where the second corresponding relationship is a corresponding relationship between the interface of the communication device and the extended address of the terminal device 10;

[0250] The transceiver module 801 is specifically configured to send a message to the terminal device 10 via the first port.

[0251] In a possible implementation, the transceiver module 801 is further configured to:

[0252] Broadcasting (or multicasting) a message 10, and receiving a response 10 from the terminal device 10 through an interface of a communication device, wherein the message 10 is used to discover the terminal device 10, the message 10 includes identification information of the terminal device 10, and the response 10 includes an extended address of the terminal device 10;

[0253] The processing module 802 is specifically configured to establish the second corresponding relationship according to the response 10 .

[0254] In a possible implementation, the transceiver module 801 is further used to receive a message 20 from a control plane functional network element, where the message 20 includes a multicast address of a local area network, wherein the communication device and the one or more terminal devices are located in the local area network.

[0255] In a possible implementation, the transceiver module 801 is also used to: receive a message 20 from a control plane functional network element, the message 20 including extended address information of the terminal device 10 , and the extended address information is used to indicate the type and / or format of the extended address of the terminal device 10 .

[0256] In a possible implementation, the base address includes a MAC address or an IP address.

[0257] It should be understood that the processing module 802 in the embodiment of the present application can be implemented by a processor or a processor-related circuit component, and the transceiver module 801 can be implemented by a transceiver or a transceiver-related circuit component.

[0258] In some possible implementations, the communication device 800 can implement the behaviors and functions of the application server in the above method embodiments. For example, the communication device 800 can be an application server, or a component (such as a chip or circuit) used in an application server. The transceiver module 801 can be used to support the communication between the application server and other network entities, such as supporting the application server to communicate with the application server. Figure 6 or Figure 7 The processing module 802 is used to control and manage the actions of the application server. For example, the processing module 802 is used to support the application server to execute Figure 6 or Figure 7 All operations of the application server except sending and receiving.

[0259] For example, the transceiver module 801 can be used to perform Figure 6 In the embodiment shown, all receiving or sending operations performed by the application server, such as Figure 6 S601, S603a or S603b in the embodiment shown, and / or other processes for supporting the technology described herein. Wherein, the processing module 802 is used to perform the following steps: Figure 6 In the embodiment shown, all operations except the sending and receiving operations performed by the application server are as follows, for example Figure 6 S603 in the illustrated embodiment, and / or other processes for supporting the techniques described herein.

[0260] For example, the transceiver module 801 can be used to perform Figure 7 In the embodiment shown, all receiving or sending operations performed by the application server, such as Figure 7 S701, S703, S708, S710 and / or other processes used to support the technology described herein in the embodiment shown. Among them, the processing module 802 is used to perform the following steps: Figure 7 In the embodiment shown, all operations except the sending and receiving operations performed by the application server are as follows, for example Figure 8 S708 in the illustrated embodiment, and / or other processes for supporting the techniques described herein.

[0261] In some embodiments, the processing module 802 is used to generate a message carrying addressing information, the addressing information including a basic address associated with the terminal device 10 and an extended address of the terminal device 10, wherein the terminal device 20 is connected to one or more terminal devices, the one or more terminal devices include the terminal device 10, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different; the transceiver module 801 is used to send the message to the user plane functional network element.

[0262] In a possible implementation, the transceiver module 801 is further used to configure the multicast address of the local area network where the terminal device 20 is located through the network capability exposure interface, and the basic address associated with the terminal device 10 is the multicast address.

[0263] In a possible implementation, the transceiver module 801 is further used to send a message 10 to a user plane function network element, and receive a message 20 from the user plane function network element, wherein the message 10 is used to discover the terminal device 10, the message 10 includes the multicast address and the identification information of the terminal device 10, and the message 20 includes the extended address or identification information of the terminal device 10, and the basic address of the terminal device 20 accessed by the terminal device 10;

[0264] The processing module 802 is specifically configured to establish a third corresponding relationship between the extended address and / or identification information of the terminal device 10 and the basic address of the terminal device 20 to which the terminal device 10 is connected.

[0265] In a possible implementation, the basic address associated with the terminal device 10 is the unicast address of the terminal device 20 .

[0266] In a possible implementation, the basic address includes a MAC address or an IP address.

[0267] In some possible implementations, the communication device 800 can implement the behaviors and functions of the control plane function network element (e.g., SMF) in the above method embodiments. For example, the communication device 800 can be a control plane function network element, or a component (e.g., a chip or circuit) used in the control plane function network element. The transceiver module 801 can be used to support communication between the application server and other network entities, such as supporting the control plane function network element and the communication between ... Figure 6 or Figure 7 The processing module 802 is used to control and manage the actions of the control plane functional network element. For example, the processing module 802 is used to support the application server to execute Figure 6 or Figure 7 All operations of the control plane functional network element except sending and receiving.

[0268] For example, the transceiver module 801 can be used to perform Figure 6 In the embodiment shown, all receiving or sending operations performed by the control plane functional network element, such as Figure 6 S601, S602 in the embodiment shown, and / or other processes for supporting the technology described herein. Wherein, the processing module 802 is used to perform the following steps: Figure 6 In the illustrated embodiment, all operations except the sending and receiving operations are performed by the control plane function network element, and / or other processes for supporting the technology described in this document.

[0269] For example, the transceiver module 801 can be used to perform Figure 7 In the embodiment shown, all receiving or sending operations performed by the control plane functional network element, such as Figure 6S701, S702 in the embodiment shown, and / or other processes for supporting the technology described herein. Wherein, the processing module 802 is used to perform the following steps: Figure 7 In the illustrated embodiment, all operations except the sending and receiving operations are performed by the application server, and / or other processes for supporting the technology described herein.

[0270] In some embodiments, the transceiver module 801 is used to receive a message 10 from an application server, and to send a message 20 to a terminal device 20 or a user plane functional network element, wherein the message 10 is used to configure the basic address information and extended address information associated with the terminal device 10, and the terminal device 20 is connected to one or more terminal devices, and the one or more terminal devices include the terminal device 10, and the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different; the message 20 includes the extended address information of the terminal device 10, and the extended address information indicates the type and / or format of the extended address of the terminal device 10.

[0271] In a possible implementation, the basic address in the message 10 is a multicast address of a local area network, and the processor is configured to allocate the multicast address to the terminal device 20 in the local area network according to the multicast address.

[0272] It should be understood that the terminal device 10 is the same as 6 or Figure 7 Industrial equipment in.

[0273] like Fig. 9 The communication device 900 provided in the embodiment of the present application is shown, wherein the communication device 900 may be a UPF, capable of implementing the function of the UPF in the method provided in the embodiment of the present application, or the communication device 900 may be a terminal, capable of implementing the function of the terminal in the method provided in the embodiment of the present application; or the communication device 900 may be an application server, capable of implementing the function of the application server in the method provided in the embodiment of the present application; or the communication device 900 may be an industrial device, capable of implementing the function of the industrial device in the method provided in the embodiment of the present application; or the communication device 900 may also be a device capable of supporting an application server or UPF or a terminal or an industrial device to implement the corresponding function in the method provided in the embodiment of the present application. Among them, the communication device 900 may be a chip system. In the embodiment of the present application, the chip system may be composed of a chip, or may include a chip and other discrete devices.

[0274] In terms of hardware implementation, the transceiver module 801 may be a transceiver, which is integrated into the communication device 900 to form a communication interface 910 .

[0275] The communication device 900 includes at least one processor 920, which may be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the present application, and is used to implement or support the communication device 900 to implement the functions of the application server or UPF or terminal or industrial equipment in the method provided in the embodiment of the present application. For details, please refer to the detailed description in the method example, which will not be repeated here.

[0276] The communication device 900 may also include at least one memory 930 for storing program instructions and / or data. The memory 930 is coupled to the processor 920. The coupling in the embodiment of the present application is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processor 920 may operate in conjunction with the memory 930. The processor 920 may execute program instructions and / or data stored in the memory 930 so that the communication device 900 implements the corresponding method. At least one of the at least one memory may be included in the processor 920.

[0277] The communication device 900 may also include a communication interface 910, using any transceiver-like device for communicating with other devices or communication networks, such as a radio access network (RAN), a wireless local area network (WLAN), a wired access network, etc. The communication interface 910 is used to communicate with other devices through a transmission medium, so that the device used in the communication device 900 can communicate with other devices. Exemplarily, when the communication device 900 is a UPF, the other device is a terminal or an application server; or, when the communication device is a terminal, the other device is an industrial device or a UPF. The processor 920 can use the communication interface 910 to send and receive data. The communication interface 910 can specifically be a transceiver.

[0278] The specific connection medium between the communication interface 99, the processor 920 and the memory 930 is not limited in the embodiment of the present application. Fig. 9 In the embodiment, the memory 930, the processor 920 and the communication interface 910 are connected via a bus 940. Fig. 9 The connections between the other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0279] In the embodiment of the present application, the processor 920 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiment of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0280] The memory 930 may be a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may be independent and connected to the processor via a communication line 940. The memory may also be integrated with the processor.

[0281] The memory 930 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 920. The processor 920 is used to execute the computer-executable instructions stored in the memory 930, thereby implementing the service management method provided in the above embodiment of the present application.

[0282] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, which is not specifically limited in the embodiments of the present application.

[0283] It should be noted that the communication device in the above embodiments may be a terminal or a circuit, or may be a chip applied to a terminal or other combined devices, components, etc. having the above terminal functions. When the communication device is a terminal, the transceiver module may be a transceiver, which may include an antenna and a radio frequency circuit, etc., and the processing module may be a processor, such as a central processing unit (CPU). When the communication device is a component having the above terminal functions, the transceiver module may be a radio frequency unit, and the processing module may be a processor. When the communication device is a chip or a chip system, the transceiver module may be an input and output interface of the chip or chip system, and the processing module may be a processor of the chip or chip system.

[0284] The present application also provides a communication system. Specifically, the communication system includes an application server or a UPF or a terminal or an industrial device, or may also include more application servers or more UPFs or more terminals or more industrial devices. Figure 6 or Figure 7 The relevant functions of the embodiment are application servers or UPFs or terminals or industrial equipment.

[0285] The application servers are used to implement the functions of the application server parts related to the embodiments of the present application, for example, to implement the above Figure 6 or Figure 7 The UPF is used to implement the functions of the UPF part related to the embodiment of the present application, for example, to implement the above Figure 6 or Figure 7 The terminal is used to implement the functions of the terminal part related to the embodiment of the present application, for example, to implement the above Figure 6 or Figure 7 The functions of the terminals in the embodiment shown are as follows. The industrial equipment is used to implement the above Figure 6 or Figure 7 The functions of the relevant industrial equipment parts are described in detail in the above method embodiment, which will not be repeated here.

[0286] The present application also provides a computer-readable storage medium including instructions, which, when executed on a computer, causes the computer to execute Figure 6 or Figure 7 A method for applying a server or UPF or terminal or industrial equipment.

[0287] The present application also provides a computer program product, including instructions, which, when executed on a computer, causes the computer to execute Figure 6 or Figure 7A method executed by an application server or UPF or terminal or industrial equipment.

[0288] The embodiment of the present application provides a chip system, which includes a processor and may also include a memory, for implementing the functions of the application server or UPF or terminal or industrial equipment in the aforementioned method. The chip system may be composed of a chip, or may include a chip and other discrete devices.

[0289] In the method provided in the embodiment of the present application, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., an SSD), etc.

[0290] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of protection of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A communication method, characterized in that: include: The user plane function network element receives a message carrying addressing information from an application server, wherein the addressing information includes a basic address associated with a terminal device and an extended address of the terminal device, wherein the terminal device is connected to one or more terminal devices, the one or more terminal devices include the terminal device, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different; The user plane function network element determines the terminal device according to the addressing information; The user plane functional network element sends the message carrying the extended address to the terminal device.

2. The method according to claim 1, characterized in that The basic address is a multicast address of a local area network, the local area network includes the terminal device and the one or more terminal devices, and the user plane function network element determines the terminal device according to the addressing information, including: The user plane functional network element determines the terminal device based on the addressing information and a first corresponding relationship, wherein the first corresponding relationship is the correspondence between a basic address associated with the terminal device and an extended address of the terminal device, and a session of a terminal device to which the terminal device accesses.

3. The method according to claim 2, characterized in that The method further comprises: The user plane function network element receives a message from an application server, where the message is used to discover a terminal device, and the message includes the multicast address and identification information of the terminal device; The user plane function network element broadcasts a message in the local area network, where the message includes identification information of the terminal device; The user plane function network element receives the extended address from the terminal device through the session of the terminal device; The user plane functional network element establishes the first corresponding relationship according to the session of the terminal device and the extended address of the terminal device.

4. The method according to claim 2, characterized in that The method further comprises: The user plane function network element receives a message carrying the multicast address and the extended address of the terminal device from the application server; If the user plane function network element determines that there is no forwarding rule that matches the multicast address and the extended address of the terminal device, the user plane function network element broadcasts a message carrying the extended address of the terminal device in the local area network; The user plane function network element receives a response from the terminal device through a session of the target terminal device; The user plane functional network element establishes the first corresponding relationship according to the session of the terminal device.

5. The method according to claim 1, characterized in that The basic address associated with the terminal device is a unicast address of the terminal device, and the user plane function network element determines the terminal device according to the addressing information, including: The user plane functional network element determines the terminal device according to the unicast address of the terminal device.

6. The method according to claim 5, characterized in that The method further comprises: The user plane function network element receives a message from the application server, the message being used to discover the terminal device, the message including a multicast address of a local area network and identification information of the terminal device, wherein the terminal device and the one or more terminal devices are located in the local area network; The user plane function network element broadcasts a message in the local area network, where the message includes identification information of the terminal device; The user plane function network element receives the extended address from the terminal device through the session of the terminal device; The user plane functional network element sends the extended address and / or identification information of the terminal device and the unicast address of the terminal device to the application server.

7. The method according to any one of claims 1 to 6, characterized in that: The basic address includes a Media Access Control (MAC) address or an Internet Protocol (IP) address.

8. A communication method, characterized in that: include: The terminal device receives a message carrying an extended address of the terminal device from a user plane function network element, wherein the terminal device is connected to one or more terminal devices, the one or more terminal devices include the terminal device, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different; The terminal device sends the message to the terminal device.

9. The method according to claim 8, characterized in that The terminal device sending a message to the terminal device includes: The terminal device determines the first port of the terminal device according to the extended address of the terminal device and a second corresponding relationship, where the second corresponding relationship is a corresponding relationship between an interface of the terminal device and the extended address of the terminal device; The terminal device sends a message to the terminal device through the first port.

10. The method according to claim 9, characterized in that The method further comprises: The terminal device broadcasts a message, where the message is used to discover the terminal device and includes identification information of the terminal device; The terminal device receives a response from the terminal device through the interface of the terminal device, wherein the response includes an extended address of the terminal device; The terminal device establishes the second corresponding relationship according to the response.

11. The method according to claim 10, characterized in that The method further comprises: The terminal device receives a message from a control plane functional network element, wherein the message includes a multicast address of a local area network, wherein the terminal device and the one or more terminal devices are located in the local area network.

12. The method according to any one of claims 8 to 11, characterized in that: The method further comprises: The terminal device receives a message from a control plane functional network element, where the message includes extended address information of the terminal device, and the extended address information is used to indicate a type and / or format of an extended address of the terminal device.

13. The method according to any one of claims 8 to 11, characterized in that: The basic address includes a Media Access Control (MAC) address or an Internet Protocol (IP) address.

14. A communication device, characterized in that: It includes a transceiver module and a processing module, wherein: The transceiver module is used to receive a message carrying addressing information from an application server, wherein the addressing information includes a basic address associated with a terminal device and an extended address of the terminal device, wherein the terminal device is connected to one or more terminal devices, the one or more terminal devices include the terminal device, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different; The processing module is used to determine the terminal device according to the addressing information; The transceiver module is also used to send the message carrying the extended address to the terminal device.

15. The communication device according to claim 14, characterized in that The basic address is a multicast address of a local area network, the local area network includes the terminal device and the one or more terminal devices, and the processing module is specifically used for: The terminal device is determined according to the addressing information and a first corresponding relationship, wherein the first corresponding relationship is a corresponding relationship between a basic address associated with the terminal device and an extended address of the terminal device, and a session of a terminal device to which the terminal device accesses.

16. The communication device according to claim 15, characterized in that The transceiver module is also used for: receiving a message from an application server, the message being used to discover a terminal device, the message comprising the multicast address and identification information for the terminal device; broadcasting a message in the local area network, the message comprising identification information of at least one of the terminal devices; receiving an extended address from the terminal device through a session established by the terminal device; The processing module is used to establish the first corresponding relationship according to the session established by the terminal device and the extended address of the terminal device.

17. The communication device according to claim 16, wherein: The transceiver module is also used for: receiving a message carrying the multicast address and the extended address of the terminal device from an application server; if it is determined that there is no forwarding rule matching the multicast address and the extended address of the terminal device, broadcasting the message carrying the extended address of the terminal device in the local area network; receiving a response from the terminal device through the session established by the target terminal device; The processing module is used to establish the first corresponding relationship according to the session of the terminal device.

18. The communication device according to claim 14, characterized in that: The basic address associated with the terminal device is a unicast address of the terminal device, and the processing module is specifically used for: The terminal device is determined according to the unicast address of the terminal device.

19. The communication device according to claim 18, characterized in that The transceiver module is also used for: receiving a message from the application server, the message being used to discover the terminal device, the message including a multicast address of a local area network and identification information of the terminal device, wherein the terminal device and the one or more terminal devices are located in the local area network; Broadcasting a message in the local area network, wherein the message includes identification information of the terminal device; receiving an extended address from the terminal device through a session established by the terminal device; The extended address and / or identification information of the terminal device and the basic address of the terminal device are sent to the application server.

20. The communication device according to any one of claims 14 to 19, characterized in that: The basic address includes a Media Access Control (MAC) address or an Internet Protocol (IP) address.

21. A communication device, characterized in that: It includes a transceiver module and a processing module, wherein: The transceiver module is used to receive a message carrying an extended address of a terminal device from a user plane functional network element, and to send the message to the terminal device, wherein the communication device is connected to one or more terminal devices, the one or more terminal devices include the terminal device, the basic addresses associated with the one or more terminal devices are the same, and the extended addresses of the one or more terminal devices are different; the message sent by the transceiver module to the terminal device is generated by the processing module.

22. The communication device according to claim 21, characterized in that The processing module is specifically used to determine the first port of the communication device according to the extended address of the terminal device and a second corresponding relationship, where the second corresponding relationship is a corresponding relationship between an interface of the communication device and the extended address of the terminal device; The transceiver module is used to send messages to the terminal device through the first port.

23. The communication device according to claim 22, characterized in that The transceiver module is also used for: broadcasting a message, the message being used to discover the terminal device, and receiving a response from the terminal device through an interface of the terminal device, the message including identification information of the terminal device, and the response including an extended address of the terminal device; The processing module is further configured to establish the second corresponding relationship according to the response.

24. The communication device according to claim 23, characterized in that The transceiver module is also used for: Receive a message from a control plane functional network element, wherein the message includes a multicast address of a local area network, wherein the terminal device and the one or more terminal devices are located in the local area network.

25. The communication device according to any one of claims 21 to 24, characterized in that: The transceiver module is also used for: A message is received from a control plane functional network element, wherein the message includes extended address information of the terminal device, and the extended address information is used to indicate a type and / or format of an extended address of the terminal device.

26. The communication device according to any one of claims 21 to 24, characterized in that: The basic address includes a Media Access Control (MAC) address or an Internet Protocol (IP) address.

27. A communication device, characterized in that: The communication device includes a processor and a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the device performs the communication method as described in any one of claims 1 to 7, or the device performs the communication method as described in any one of claims 8 to 13.

28. A communication system, characterized in that: The communication system comprises a communication device according to any one of claims 14 to 20 and a communication device according to any one of claims 21 to 26.

29. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a computer, the computer executes the method according to any one of claims 1 to 13.

30. A computer program product, characterized in that The computer program product stores a computer program, and when the computer program is executed by a computer, the computer is caused to execute the method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • System and methods for registering wireless devices and transmitting information

    EP3403430A1