A data transmission method

By receiving network slice query requests from terminal devices, querying and sending device information and network slice identifiers, the problem of low data transmission efficiency in 5G LAN networks is solved, achieving efficient data transmission and quality assurance.

CN116192986BActive Publication Date: 2025-10-31NANTONG AILING TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310189931.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-01
Publication Date
2025-10-31
Estimated Expiration
2043-03-01

AI Technical Summary

Technical Problem

In existing 5G LAN networks, the mismatch between network slicing and service requirements leads to low data transmission efficiency and fails to meet the requirements of differentiated network services.

Method used

By receiving network slice query requests from terminal devices, querying and sending device information and network slice identifiers, transmitting Ethernet data frames, and matching the network slices of terminal devices for data transmission.

Benefits of technology

It improves data transmission efficiency, meets data transmission needs in multiple scenarios, and ensures data transmission quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116192986B_ABST
    Figure CN116192986B_ABST
Patent Text Reader

Abstract

This application provides a data transmission method, relating to the field of communication technology. The method involves receiving a network slice query request sent by a terminal device. The network slice query request includes: the terminal device's protocol address, the terminal device's GPSI, and the physical addresses of each industrial device locally connected to the terminal device. Based on the terminal device's protocol address, the method queries device pair information, network slice identifiers, and network slice configuration information matching the terminal device. The method then sends the device pair information and network slice identifiers to the terminal device, enabling the terminal device to use the network slice identifiers to transmit Ethernet data frames from the industrial devices in the device pair information. This allows the terminal device to use the network slices matching each device pair for data transmission, meeting the data transmission needs of multiple scenarios, improving data transmission efficiency, and ensuring data transmission quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and more specifically, to a data transmission method. Background Technology

[0002] 5G LAN-type Services, or local area network-type services built on 5G networks, can provide IP or Ethernet communication services to specific terminal groups (Virtual Network groups). Terminals subscribed to the same VN group and operating within the same 5G LAN communicate with each other using LAN-type communication features.

[0003] 5G LAN VN can support tens of thousands of UEs. UEs within the same VN can establish private communication channels such as unicast, multicast, and broadcast as needed. UEs can belong to different PLMNs, and their access rights to the 5G LAN can be restricted based on their location.

[0004] In existing technologies, a 5G VN group can only be associated with one network slice (S-NSSAI). This makes it impossible to meet the requirements of providing differentiated network services for different services in a 5G LAN network, resulting in low data transmission efficiency. Summary of the Invention

[0005] The purpose of this invention is to address the shortcomings of the prior art by providing a data transmission method to solve problems such as low data transmission efficiency in the prior art.

[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:

[0007] In a first aspect, embodiments of this application provide a data transmission method applied to a network management device, the method comprising:

[0008] The terminal device receives a network slice query request, which includes: the protocol address of the terminal device, the General Public Subscription Identifier (GPSI) of the terminal device, and the physical addresses of each industrial device locally connected to the terminal device.

[0009] Based on the protocol address of the terminal device, query the device pair information, network slice identifier, and network slice configuration information that match the terminal device;

[0010] The device pair information and the network slice identifier are sent to the terminal device so that the terminal device uses the network slice identifier to transmit the Ethernet data frames of the industrial equipment in the device pair information.

[0011] Optionally, before sending the device pair information and the network slice identifier to the terminal device, the method further includes:

[0012] The virtual network group information is sent to the Unified Data Management (UDM) network element, and the virtual network group information is used to enable the UDM network element to update the virtual network group information; the virtual network group information includes: the GPSI, VLAN ID, and network slice configuration information of the terminal device.

[0013] Receive a feedback completion message sent by the UDM network element, wherein the feedback completion message is a message sent by the UDM network element after it has updated the virtual network group information.

[0014] Optionally, before receiving the network slice query request sent by the receiving terminal device, the method further includes:

[0015] Receive a device information query request sent by the terminal device, wherein the device information query request includes: the protocol address of the terminal device;

[0016] Based on the protocol address of the terminal device, query the information of industrial equipment deployed in the network. The industrial equipment information includes: the protocol address of each industrial device and the VLAN ID.

[0017] The industrial equipment information is sent to the terminal device, and the industrial equipment information is used to enable the terminal device to obtain the physical address of each locally connected industrial device based on the protocol address of each industrial device.

[0018] Optionally, before receiving the device information query request sent by the terminal device, the method further includes:

[0019] The device receives the VLAN ID, the network slice identifier associated with the VLAN ID, and the device pair information sent by the network user equipment.

[0020] Optionally, before receiving the VLAN ID, the network slice identifier associated with the VLAN ID, and the device pair information sent by the network user equipment, the method further includes:

[0021] The network user equipment receives the network slice identifier and the network slice configuration information corresponding to the network slice identifier.

[0022] Optionally, the step of querying the device pair information, network slice identifier, and network slice configuration information matching the terminal device based on the protocol address of the terminal device includes:

[0023] Based on the protocol address of the terminal device, query the device pair information that matches the terminal device;

[0024] Based on the device information, query the corresponding network slice identifier;

[0025] Query the network slice configuration information based on the network slice identifier.

[0026] Secondly, embodiments of this application provide a data transmission method applied to a terminal device, the method comprising:

[0027] A network slice query request is sent to the network management device. The network slice query request includes: the protocol address of the terminal device, the GPSI of the terminal device, and the physical addresses of each industrial device locally connected to the terminal device. The network slice query request is used to enable the network management device to query the device pair information, network slice identifier, and network slice configuration information that match the terminal device based on the protocol address of the terminal device.

[0028] Receive the device pair information and the network slice identifier sent by the network management device;

[0029] The network slice identifier is used to transmit Ethernet data frames of industrial equipment in the device-to-device information.

[0030] Optionally, the step of using the network slice identifier to transmit Ethernet data frames of industrial equipment in the device-to-device information includes:

[0031] If a first Ethernet data frame is received from a first industrial device using the first local network port, then the source physical address and destination physical address in the first Ethernet data frame are obtained.

[0032] Based on the source physical address and destination physical address in the first Ethernet data frame, the identifier of the first session corresponding to the first Ethernet data frame is queried from a pre-created packet classifier; wherein, the packet classifier includes: source physical address, destination physical address, protocol address of the first industrial device, identifier of the first local network port, and identifier of the first session;

[0033] The first Ethernet data frame is sent to the User Plane Function (UPF) network element using the first session.

[0034] Optionally, before obtaining the source physical address and destination physical address in the first Ethernet data frame received from the first industrial device via the first local network port, the method further includes:

[0035] If the first Ethernet data frame from the first industrial device is received via the first local network port, the source physical address and destination physical address are read from the first Ethernet data frame, and the source physical address is used as the physical address of the first industrial device.

[0036] Based on the physical address of the first industrial equipment, query the protocol address of the first industrial equipment;

[0037] Based on the protocol address of the first industrial equipment, query the equipment pair information where the first industrial equipment is located;

[0038] The first session is created based on the network slice identifier corresponding to the information provided by the device.

[0039] After the first session is created, the packet classifier is established.

[0040] Optionally, the step of using the network slice identifier to transmit Ethernet data frames of industrial equipment in the device-to-device information further includes:

[0041] If a second Ethernet data frame is received from the UPF network element in the second session, the destination physical address is read from the second Ethernet data frame as the physical address of the second industrial device.

[0042] Based on the physical address of the second industrial device, query the identifier of the second local network port corresponding to the second industrial device from the packet classifier;

[0043] The second Ethernet data frame is sent to the second industrial device using the second local network port.

[0044] Compared with the prior art, this application has the following beneficial effects:

[0045] This application provides a data transmission method. The method involves receiving a network slice query request from a terminal device. The network slice query request includes: the terminal device's protocol address, the terminal device's GPSI, and the physical addresses of each industrial device locally connected to the terminal device. Based on the terminal device's protocol address, the method queries device pair information, network slice identifiers, and network slice configuration information matching the terminal device. The method then sends the device pair information and network slice identifiers to the terminal device, enabling the terminal device to use the network slice identifiers to transmit Ethernet data frames from the industrial devices in the device pair information. This allows the terminal device to use the network slices matching each device pair for data transmission, meeting the data transmission needs of multiple scenarios, improving data transmission efficiency, and ensuring data transmission quality. Attached Figure Description

[0046] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0047] Figure 1 A schematic diagram of a data transmission system provided in this application;

[0048] Figure 2 A flowchart illustrating a data transmission method provided in this application;

[0049] Figure 3 A flowchart illustrating a method for updating virtual network group information provided in this application;

[0050] Figure 4 A flowchart illustrating a method for querying industrial equipment information provided in this application;

[0051] Figure 5 A flowchart illustrating a method for querying matching device pair information, network slice identifiers, and network slice configuration information provided in this application;

[0052] Figure 6 A flowchart illustrating another data transmission method provided in this application;

[0053] Figure 7 A flowchart illustrating a method for transmitting Ethernet data frames using network slice identifiers, provided in this application;

[0054] Figure 8 A flowchart illustrating a method for establishing a packet classifier provided in this application;

[0055] Figure 9 A flowchart illustrating another method for transmitting Ethernet data frames using network slice identifiers provided in this application;

[0056] Figure 10 A schematic diagram of a data transmission device provided in an embodiment of this application;

[0057] Figure 11 A schematic diagram of another data transmission apparatus provided in the embodiments of this application;

[0058] Figure 12 A schematic diagram of a network management device provided in an embodiment of this application;

[0059] Figure 13 This is a schematic diagram of a terminal device provided in an embodiment of this application.

[0060] Icons: 1001-First receiving module, 1002-Query module, 1003-First transmitting module, 1101-Second transmitting module, 1102-Second receiving module, 1103-Transmission module, 1201-First processor, 1202-First transmitter, 1203-First receiver, 1301-Second processor, 1302-Second transmitter, 1303-Second receiver, 100-Network management device, 200-Terminal device, 300-Industrial equipment. Detailed Implementation

[0061] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. The components of the embodiments of the present application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0062] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0063] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0064] Furthermore, the terms "first" and "second" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.

[0065] It should be noted that, where there is no conflict, the features in the embodiments of the present invention can be combined with each other.

[0066] To improve data transmission efficiency, this application provides a data transmission method.

[0067] Before explaining the data transmission method provided in the embodiments of this application, the data transmission system used in the data transmission method will be explained first. Figure 1 This is a schematic diagram of a data transmission system provided in an embodiment of this application. Figure 1 As shown, the system includes: a network management device 100 and multiple terminal devices 200.

[0068] The network management device 100 is communicatively connected to multiple terminal devices 200, and the multiple terminal devices 200 are also communicatively connected to each other. Each terminal device 200 is also locally connected to multiple industrial devices 300.

[0069] Data transmission can be performed between the network management device 100 and multiple terminal devices 200. Each terminal device 200 can also receive data transmitted from the locally connected industrial device 300, and send the data to the terminal device 200 connected to the destination industrial device 300 through the UPF network element, and transmit it to the destination industrial device 300.

[0070] The following specific examples illustrate a data transmission method provided in the embodiments of this application. Figure 2 This is a flowchart illustrating a data transmission method provided in an embodiment of this application. The execution entity of this method is a network management device, which can be a device with sending, receiving, and processing functions. Figure 2 As shown, the method includes:

[0071] S101, Receive network slice query request sent by terminal device.

[0072] The network slice query request includes: the protocol address of the terminal device, the GPSI of the terminal device, and the physical addresses of each industrial device locally connected to the terminal device.

[0073] Before transmitting data, the terminal device needs to obtain the network slices of each locally connected industrial device in order to use those network slices for data transmission. Therefore, the network management device will receive a network slice query request from the terminal device.

[0074] After receiving a network slice query request from a terminal device, the network management device can learn about the various industrial devices locally connected to the terminal device.

[0075] S102. Based on the protocol address of the terminal device, query the device pair information, network slice identifier, and network slice configuration information that match the terminal device.

[0076] In this system, each device pair comprises two industrial devices. Each pair is assigned a specific network slice, and the two industrial devices within the pair use this specific network slice for data transmission. This particular network slice is tailored to the data transmission needs between the two industrial devices, resulting in more efficient data transmission. For example, some industrial devices require high-speed uplinks, while others require low-latency downlinks. Using the same network slice would not meet the data transmission needs of these diverse scenarios. Assigning a specific network slice to each pair of industrial devices satisfies these specific data transmission requirements and improves transmission efficiency.

[0077] Based on the protocol address of the terminal device, query the protocol addresses of multiple industrial devices locally connected to the terminal device. Based on the protocol address of the industrial devices, query the device pair information, network slice identifier, and network slice configuration information that match the industrial devices.

[0078] Each industrial device is matched with multiple device pair information, multiple network slice identifiers, and multiple network slice configuration information. When a terminal device is locally connected to multiple industrial devices, the terminal device is matched with multiple device pair information, multiple network slice identifiers, and multiple network slice configuration information.

[0079] S103. Send device pair information and network slice identifier to the terminal device.

[0080] This enables terminal devices to use network slice identifiers to identify the corresponding network slices and transmit Ethernet data frames of industrial equipment in the information.

[0081] In this embodiment, by sending device pair information and network slice identifiers to the terminal device, the terminal device can use the network slice matched by each device pair for data transmission, which meets the data transmission needs of multiple scenarios, improves data transmission efficiency, and ensures data transmission quality.

[0082] In summary, this embodiment receives a network slice query request from a terminal device. This request includes the terminal device's protocol address, GPSI, and the physical addresses of each industrial device locally connected to the terminal device. Based on the terminal device's protocol address, it queries the device pair information, network slice identifier, and network slice configuration information matching the terminal device. The device pair information and network slice identifier are then sent to the terminal device, enabling it to use the network slice identifier to transmit Ethernet data frames from the industrial devices in the device pair information. This allows the terminal device to use the network slice matching each device pair for data transmission, meeting the data transmission needs of multiple scenarios, improving data transmission efficiency, and ensuring data transmission quality.

[0083] In the above Figure 2 Based on the corresponding embodiments, this application also provides a method for updating virtual network group information. Figure 3 This is a flowchart illustrating a method for updating virtual network group information provided in this application. Figure 3 As shown, before sending device pair information and network slice identifier to the terminal device in S103, the method further includes:

[0084] S201. Send virtual network group information to UDM network elements.

[0085] Virtual network group information is used to enable UDM network elements to update virtual network group information. Virtual network group information includes: the GPSI, VLAN ID, network slice identifier, and network slice configuration information of the terminal devices. The GPSI of the terminal devices is included in the virtual network group information, identifying the terminal devices included in the virtual network group for matching and querying, allowing for flexible, plug-and-play deployment of terminal devices in the field. It also identifies multiple network slice identifiers included in the virtual network group information.

[0086] For example, the network management device sends virtual network group information to the UDM network element through the Network Open Function (NEF) network element. The UDM network element updates its existing virtual network group information based on the received virtual network group information to store the latest virtual network group information.

[0087] S202, Receive the feedback completion message sent by the UDM network element.

[0088] The feedback completion message is sent by the UDM network element after it has updated the virtual network group information.

[0089] For example, the network management device receives a feedback completion message sent by the UDM network element through the Network Open Function (NEF) network element.

[0090] In summary, in this embodiment, virtual network group information is sent to the UDM network element. This virtual network group information enables the UDM network element to update its virtual network group information. The virtual network group information includes: the terminal device's GPSI, VLAN ID, network slice identifier, and network slice configuration information. A feedback completion message is received from the UDM network element after the virtual network group information update is complete. This allows the storage of the latest virtual network group information.

[0091] In the above Figure 3 Based on the corresponding embodiments, this application also provides a method for querying industrial equipment information. Figure 4 This is a flowchart illustrating a method for querying industrial equipment information provided in this application. Figure 4 As shown, before receiving the network slice query request sent by the terminal device in S101, the method further includes:

[0092] S301, Receive device information query request sent by terminal device.

[0093] The device information query request includes: the protocol address of the terminal device.

[0094] S302. Query the information of industrial equipment deployed in the network based on the protocol address of the terminal device.

[0095] The industrial equipment information includes: the protocol address of each industrial device, and the VLAN ID.

[0096] S303, Send industrial equipment information to terminal equipment.

[0097] Industrial equipment information is used to enable terminal devices to obtain the physical addresses of locally connected industrial devices based on the protocol addresses of each industrial device.

[0098] In summary, in this embodiment, the system receives a device information query request from a terminal device. The device information query request includes the protocol address of the terminal device. Based on the protocol address of the terminal device, it queries information about industrial devices deployed in the network. The industrial device information includes the protocol addresses and VLAN IDs of each industrial device. The system then sends the industrial device information to the terminal device. This industrial device information enables the terminal device to obtain the physical addresses of each locally connected industrial device based on its protocol addresses. Thus, the system achieves the transmission of industrial device information to the terminal device.

[0099] In the above Figure 4 Based on the corresponding embodiments, before receiving the device information query request sent by the terminal device in S301, the method in this application embodiment further includes:

[0100] Receive VLAN ID, network slice identifier associated with VLAN ID, and device pair information sent by network user equipment.

[0101] Before data transmission, network users pre-enter the network management device with the VLAN ID, the network slice identifier associated with the VLAN ID, and device pair information.

[0102] Each device pair consists of two industrial devices, and each device pair is matched with a specific network slice. Network users determine the corresponding matching network slice based on the data transmission characteristics between the two industrial devices, thereby pre-forming multiple sets of VLAN IDs, network slice identifiers associated with the VLAN IDs, and device pair information.

[0103] Exemplarily, the specific manifestation is as follows: <VLAN ID, [(Industrial Device 1, Industrial Device 2), Network Slice Identifier]>. Among them, the VLAN ID is pre-determined by the network user. [(Industrial Device 1, Industrial Device 2), Network Slice Identifier] is a list of information, consisting of multiple entries. In each entry, (Industrial Device 1, Industrial Device 2) is device pair information, indicating that data transmission between these two industrial devices needs to use a specific network slice, and the identifier of this specific network slice is the network slice identifier in the entry. The device pair information includes the protocol addresses of the industrial devices.

[0104] In summary, in this embodiment, the VLAN ID, the network slice identifier associated with the VLAN ID, and the device pair information sent by the network user device are received. Thus, the VLAN ID, the network slice identifier associated with the VLAN ID, and the device pair information are pre-determined.

[0105] Based on the above embodiment, before receiving the VLAN ID, the network slice identifier associated with the VLAN ID, and the device pair information sent by the network user device, the method further includes:

[0106] Receiving the network slice identifier sent by the network user device and the network slice configuration information corresponding to the network slice identifier.

[0107] Before data transmission, the network user pre-uses the network user device to input the network slice identifier and the network slice configuration information corresponding to the network slice identifier to the network management device.

[0108] Exemplarily, the specific manifestation is as follows: <Network Slice Identifier, Network Slice Configuration Information>, where the network slice configuration information includes: session type, data network name, application descriptor, information related to secondary authentication / authorization (for example, IP address allocation enabling DN-AAA [authentication, authorization, accounting]).

[0109] In summary, in this embodiment, the network slice identifier sent by the network user device and the network slice configuration information corresponding to the network slice identifier are received. Thus, the network slice identifier and the network slice configuration information corresponding to the network slice identifier are pre-determined.

[0110] In the above Figure 2 Based on the corresponding embodiment, the present application further provides a method for querying and matching device pair information, network slice identifiers, and network slice configuration information. Figure 5 It is a schematic flowchart of a method for querying and matching device pair information, network slice identifiers, and network slice configuration information provided by the present application. As Figure 5As shown, in S102, based on the protocol address of the terminal device, the system queries the device pair information, network slice identifier, and network slice configuration information that match the terminal device, including:

[0111] S401. Based on the protocol address of the terminal device, query the device pair information that matches the terminal device.

[0112] Based on the protocol address of the terminal device, query each industrial device locally connected to the terminal device, and query the protocol address of each industrial device. Based on the protocol address of each industrial device, query multiple device pair information containing the protocol address of each industrial device, and use the multiple device pair information containing the protocol address of each industrial device as the device pair information for matching the terminal device.

[0113] S402. Based on the device information, query the corresponding network slice identifier.

[0114] Based on information from multiple devices, multiple corresponding network slice identifiers are queried. As can be seen from the above embodiments, there is a one-to-one correspondence between device information and network slice identifiers.

[0115] S403. Query network slice configuration information based on the network slice identifier.

[0116] Based on multiple network slice identifiers, multiple network slice configuration information can be retrieved.

[0117] In summary, in this embodiment, based on the protocol address of the terminal device, the system queries the device pair information matching the terminal device; based on the device pair information, it queries the corresponding network slice identifier; and based on the network slice identifier, it queries the network slice configuration information. Thus, it accurately retrieves multiple device pair information, multiple network slice identifiers, and multiple network slice configuration information matching the terminal device.

[0118] The following specific examples illustrate another data transmission method provided in the embodiments of this application. Figure 6 This is a flowchart illustrating another data transmission method provided in an embodiment of this application. The execution subject of this method is a terminal device, which can be a device with sending, receiving, and processing functions. Figure 6 As shown, the method includes:

[0119] S501, Send a network slice query request to the network management device.

[0120] The network slice query request includes: the protocol address of the terminal device, the GPSI of the terminal device, and the physical addresses of each industrial device locally connected to the terminal device.

[0121] The network slice query request enables the network management device to query the device pair information, network slice identifier, and network slice configuration information that match the terminal device based on the terminal device's protocol address.

[0122] S502, Receive device pair information and network slice identifier sent by the network management device.

[0123] The terminal device is matched with multiple device pair information and multiple network slice identifiers.

[0124] S503 uses network slice identification to transmit Ethernet data frames of industrial equipment in the device-to-device information.

[0125] During data transmission, device pair information is determined based on the source and destination industrial equipment. Further, the network slice identifier corresponding to this device pair information can be identified. The network slice identified by this identifier is used to transmit the Ethernet data frames of the industrial equipment in the device pair information. This ensures that each device uses a matching network slice for data transmission, meeting the data transmission needs of multiple scenarios, improving data transmission efficiency, and ensuring data transmission quality.

[0126] In summary, in this embodiment, a network slice query request is sent to the network management device. This request includes the terminal device's protocol address, GPSI, and the physical addresses of each industrial device locally connected to the terminal device. The network slice query request enables the network management device to query device pair information, network slice identifiers, and network slice configuration information matching the terminal device based on its protocol address. The device pair information and network slice identifiers sent by the network management device are received. The network slice identifiers are then used to transmit Ethernet data frames from the industrial devices within the device pair information. This ensures that each device uses a matching network slice for data transmission, meeting the data transmission needs of multiple scenarios, improving data transmission efficiency, and ensuring data transmission quality.

[0127] In the above Figure 6 Based on the corresponding embodiments, this application also provides a method for transmitting Ethernet data frames using network slice identifiers. Figure 7 This is a flowchart illustrating a method for transmitting Ethernet data frames using network slice identifiers, as provided in this application. Figure 7 As shown, the network slice identifier used in S503 is used to transmit Ethernet data frames of industrial equipment in the device-to-device information, including:

[0128] S601. If the first Ethernet data frame from the first industrial device is received using the first local network port, the source physical address and destination physical address in the first Ethernet data frame are obtained.

[0129] The first industrial device is the industrial device locally connected to the terminal device, and the first Ethernet data frame is the data that the first industrial device needs to send to other industrial devices through the terminal device.

[0130] The source physical address and destination physical address are obtained from the first Ethernet data frame. The source industrial device is identified by the source physical address, and the destination industrial device is identified by the destination physical address. Since the first Ethernet data frame is an Ethernet data frame of the first industrial device, the first industrial device is the source industrial device.

[0131] S602. Based on the source physical address and destination physical address in the first Ethernet data frame, query the identifier of the first session corresponding to the first Ethernet data frame from the pre-created packet classifier.

[0132] Each packet classifier includes: source physical address, destination physical address, protocol address of the first industrial device, identifier of the first local network port, and identifier of the first session.

[0133] The first session is the session when data is transmitted between the source industrial equipment and the destination industrial equipment using corresponding network slices.

[0134] S603, The first Ethernet data frame is sent to the UPF network element using the first session.

[0135] The first Ethernet data frame is sent to the UPF network element using the first session, which means sending the first Ethernet data frame to the UPF network element using the network slice corresponding to the source industrial equipment and the destination industrial equipment. This improves data transmission efficiency.

[0136] In summary, in this embodiment, if a first Ethernet data frame is received from a first industrial device via the first local network port, the source physical address and destination physical address in the first Ethernet data frame are obtained. Based on the source and destination physical addresses in the first Ethernet data frame, the identifier of the first session corresponding to the first Ethernet data frame is queried from a pre-created packet classifier. The packet classifier includes: the source physical address, the destination physical address, the protocol address of the first industrial device, the identifier of the first local network port, and the identifier of the first session. The first Ethernet data frame is then sent to the UPF network element using the first session. This improves data transmission efficiency.

[0137] In the above Figure 7 Based on the corresponding embodiments, this application also provides a method for establishing a packet classifier. Figure 8 This is a flowchart illustrating a method for building a packet classifier provided in this application. Figure 8As shown, in S601, if a first Ethernet data frame is received from a first industrial device via a first local network port, before obtaining the source physical address and destination physical address in the first Ethernet data frame, the method further includes:

[0138] S701. If the first Ethernet data frame from the first industrial device is received via the first local network port, the source physical address and destination physical address are read from the first Ethernet data frame, and the source physical address is used as the physical address of the first industrial device.

[0139] S702. Based on the physical address of the first industrial equipment, query the protocol address of the first industrial equipment.

[0140] For example, in the local address cache, the protocol address of the first industrial device is queried based on the physical address of the first industrial device.

[0141] S703. Based on the protocol address of the first industrial equipment, query the equipment pair information where the first industrial equipment is located.

[0142] As can be seen from the above embodiments, each device pair information includes the protocol address of the industrial equipment. Therefore, the device pair information of the first industrial equipment is queried based on the protocol address of the first industrial equipment.

[0143] S704. Based on the network slice identifier corresponding to the information provided by the device, create the first session.

[0144] As can be seen from the above embodiments, each device pair corresponds to a unique network slice identifier. Therefore, the network slice is determined based on the network slice identifier corresponding to the device pair information, and a first session is created based on the network slice.

[0145] S705. After the first session is created, establish a package classifier.

[0146] Each time a new session is created, a packet classifier is built and updated to enrich the packet classifier.

[0147] In summary, in this embodiment, if the first Ethernet data frame from the first industrial device is received via the first local network port, the source physical address and destination physical address are read from the first Ethernet data frame, and the source physical address is used as the physical address of the first industrial device. Based on the physical address of the first industrial device, the protocol address of the first industrial device is queried. Based on the protocol address of the first industrial device, the device pair information of the first industrial device is queried. Based on the network slice identifier corresponding to the device pair information, a first session is created. After the first session is created, a packet classifier is established. Thus, the packet classifier is established and updated during data transmission.

[0148] In the above Figure 7 Based on the corresponding embodiments, this application also provides another method for transmitting Ethernet data frames using network slice identifiers. Figure 9 A flowchart illustrating another method for transmitting Ethernet data frames using network slice identifiers provided in this application. Figure 9 As shown, the use of network slice identifiers in S503 for transmitting Ethernet data frames of industrial equipment in device-to-device information also includes:

[0149] S801. If a second Ethernet data frame is received from a UPF network element using the second session, the destination physical address is read from the second Ethernet data frame as the physical address of the second industrial device.

[0150] The target industrial equipment can be identified based on the target physical address, i.e., the second industrial equipment is the target industrial equipment.

[0151] S802. Based on the physical address of the second industrial device, query the identifier of the second local network port corresponding to the second industrial device from the packet classifier.

[0152] S803 uses a second local network port to send a second Ethernet data frame to the second industrial equipment.

[0153] This allows the second industrial device, which is the target industrial device, to receive the second Ethernet data frame.

[0154] In summary, in this embodiment, if a second Ethernet data frame is received from a UPF network element via a second session, the destination physical address is read from the second Ethernet data frame as the physical address of the second industrial device; based on the physical address of the second industrial device, the identifier of the second local network port corresponding to the second industrial device is queried from the packet classifier; and the second Ethernet data frame is sent to the second industrial device using the second local network port. This ensures accurate reception of the second Ethernet data frame and improves data transmission efficiency.

[0155] Furthermore, after receiving industrial equipment information sent by the network management device, the terminal device obtains the physical address of each locally connected industrial device based on the protocol address of each industrial device.

[0156] Furthermore, after receiving the first Ethernet data frame, the UPF network element determines the destination industrial device based on the destination physical address and identifies the terminal device connected to the destination industrial device. It then sends the first Ethernet data frame to the terminal device corresponding to the destination industrial device. The terminal device then sends the first Ethernet data frame back to the destination industrial device.

[0157] Furthermore, after each UPF network element receives the first Ethernet data frame, it obtains the source physical address in the first Ethernet data frame and establishes a local packet forwarding list based on the source physical address. The entries in the forwarding list include: the GTP (General Data Transfer Platform) tunnel identifier and the physical address; the physical address is the source physical address in the first Ethernet data frame, and the GTP tunnel is used to transmit data between the UPF network element and the industrial equipment corresponding to the first Ethernet data frame.

[0158] Furthermore, after receiving the third Ethernet data frame, the UPF network element obtains the destination physical address from the third Ethernet data frame and determines the GTP tunnel identifier corresponding to the destination physical address in the forwarding list based on the destination physical address in the third Ethernet data frame. Then, it uses this GTP tunnel to send the third Ethernet data frame to the destination industrial equipment.

[0159] For example, the third Ethernet data frame may come from a data network DN element and / or other UPF elements.

[0160] The following describes a data transmission apparatus, device, and storage medium provided in this application for implementation. The specific implementation process and technical effects are described above and will not be repeated hereafter.

[0161] Figure 10 A schematic diagram of a data transmission device provided in an embodiment of this application is shown below. Figure 10 As shown, a network management device applied in a communication system includes:

[0162] The first receiving module 1001 is used to receive a network slice query request sent by the terminal device. The network slice query request includes: the protocol address of the terminal device, the GPSI of the terminal device, and the physical addresses of each industrial device locally connected to the terminal device.

[0163] The query module 1002 is used to query the device pair information, network slice identifier and network slice configuration information that match the terminal device based on the protocol address of the terminal device.

[0164] The first sending module 1003 is used to send device pair information and network slice identifier to the terminal device, so that the terminal device can use the network slice identifier to transmit the Ethernet data frames of industrial equipment in the device pair information.

[0165] Furthermore, the first sending module 1003 is also used to send virtual network group information to the UDM network element. The virtual network group information is used to enable the UDM network element to update the virtual network group information. The virtual network group information includes: the GPSI, VLAN ID and network slicing configuration information of the terminal device.

[0166] Furthermore, the first receiving module 1001 is also used to receive a feedback completion message sent by the UDM network element. The feedback completion message is a message sent by the UDM network element after it has updated the virtual network group information.

[0167] Furthermore, the first receiving module 1001 is also used to receive a device information query request sent by the terminal device, the device information query request including: the protocol address of the terminal device.

[0168] Furthermore, the query module 1002 is also used to query information about industrial equipment deployed in the network based on the protocol address of the terminal device. The industrial equipment information includes the protocol address of each industrial device and its VLAN ID.

[0169] Furthermore, the first sending module 1003 is also used to send industrial equipment information to the terminal device. The industrial equipment information is used to enable the terminal device to obtain the physical address of each locally connected industrial device based on the protocol address of each industrial device.

[0170] Furthermore, the first receiving module 1001 is also used to receive VLAN ID, network slice identifier associated with VLAN ID, and device pair information sent by network user equipment.

[0171] Furthermore, the first receiving module 1001 is also used to receive the network slice identifier and the network slice configuration information corresponding to the network slice identifier sent by the network user equipment.

[0172] Furthermore, the query module 1002 is specifically used to query the device pair information matched by the terminal device based on the protocol address of the terminal device; query the corresponding network slice identifier based on the device pair information; and query the network slice configuration information based on the network slice identifier.

[0173] Figure 11 A schematic diagram of another data transmission device provided in the embodiments of this application is shown below. Figure 11 As shown, the device is applied to a terminal device and includes:

[0174] The second sending module 1101 is used to send a network slice query request to the network management device. The network slice query request includes: the protocol address of the terminal device, the GPSI of the terminal device, and the physical addresses of each industrial device locally connected to the terminal device. The network slice query request enables the network management device to query the device pair information, network slice identifier, and network slice configuration information that match the terminal device based on the protocol address of the terminal device.

[0175] The second receiving module 1102 is used to receive device pair information and network slice identifier sent by the network management device.

[0176] The transmission module 1103 is also used to transmit Ethernet data frames of industrial equipment in the device-to-device information using network slice identification.

[0177] Further, the transmission module 1103 is specifically configured to, if a first Ethernet data frame is received from a first industrial device via a first local network port, obtain the source physical address and destination physical address in the first Ethernet data frame; query the identifier of the first session corresponding to the first Ethernet data frame from a pre-created packet classifier based on the source physical address and destination physical address in the first Ethernet data frame; wherein the packet classifier includes: source physical address, destination physical address, protocol address of the first industrial device, identifier of the first local network port, and identifier of the first session; and send the first Ethernet data frame to the UPF network element using the first session.

[0178] Furthermore, the transmission module 1103 is specifically configured to, if it receives the first Ethernet data frame sent from the first industrial device through the first local network port, read the source physical address and destination physical address from the first Ethernet data frame and use the source physical address as the physical address of the first industrial device; query the protocol address of the first industrial device based on the physical address of the first industrial device; query the device pair information of the first industrial device based on the protocol address of the first industrial device; create a first session based on the network slice identifier corresponding to the device pair information; and establish a packet classifier after the first session is created.

[0179] Furthermore, the transmission module 1103 is specifically configured to, if a second Ethernet data frame is received from a UPF network element using the second session, read the destination physical address from the second Ethernet data frame as the physical address of the second industrial device; query the identifier of the second local network port corresponding to the second industrial device from the packet classifier based on the physical address of the second industrial device; and send the second Ethernet data frame to the second industrial device using the second local network port.

[0180] Figure 12 This is a schematic diagram of a network management device provided in an embodiment of this application. The network management device can be a device with processing, sending, and receiving functions. For example... Figure 12 As shown:

[0181] The network management device includes a first processor 1201, a first transmitter 1202, and a first receiver 1203. The first processor 1201 is connected to the first transmitter 1202 and the first receiver 1203 via a bus communication connection.

[0182] The first receiver 1203 is used to receive signals sent by the terminal device and transmit them to the first processor 1201. The first processor 1201 is used to execute the above method embodiment. The specific implementation and technical effects are similar, and will not be described again here. The first transmitter 1202 is used to send the processing results of the first processor 1201 to other devices.

[0183] Figure 13 This is a schematic diagram of a terminal device provided in an embodiment of this application. The terminal device can be a device with processing, sending, and receiving functions. For example... Figure 13 As shown:

[0184] The terminal device includes a second processor 1301, a second transmitter 1302, and a second receiver 1303. The second processor 1301 is connected to the second transmitter 1302 and the second receiver 1303 via a bus communication connection.

[0185] The second receiver 1303 is used to receive signals sent by other devices and transmit them to the second processor 1301. The second processor 1301 is used to execute the above-described method embodiment. The specific implementation and technical effects are similar and will not be described again here. The second transmitter 1302 is used to send the processing result of the second processor 1301 to the terminal device.

[0186] Optionally, the present invention also provides a program product, such as a computer-readable storage medium, including a program that, when executed by a processor, is used to perform the above-described method embodiments.

[0187] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0188] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0189] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0190] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A data transmission method, characterized in that, A network management device is applied to a data transmission system, the data transmission system comprising: the network management device and multiple terminal devices, the network management device being communicatively connected to the multiple terminal devices, the multiple terminal devices being communicatively connected to each other, and each terminal device being connected to multiple industrial devices; the method comprising: The terminal device receives a network slice query request, which includes: the protocol address of the terminal device, the General Public Subscription Identifier (GPSI) of the terminal device, and the physical addresses of each industrial device locally connected to the terminal device. Based on the protocol address of the terminal device, query the device pair information, network slice identifier, and network slice configuration information that match the terminal device; wherein, the device pair information includes two industrial devices, each device pair matches a specific network slice, the two industrial devices in the device pair use the specific network slice for data transmission, and the specific network slice is determined based on the data transmission characteristics between the two industrial devices; Send the device pair information and the network slice identifier to the terminal device so that the terminal device uses the network slice identifier to transmit the Ethernet data frames of the industrial equipment in the device pair information; The step of querying the device pair information, network slice identifier, and network slice configuration information matching the terminal device based on the protocol address of the terminal device includes: Based on the protocol address of the terminal device, query the device pair information that matches the terminal device; Based on the device information, query the corresponding network slice identifier; Query the network slice configuration information based on the network slice identifier.

2. The method according to claim 1, characterized in that, Before sending the device pair information and the network slice identifier to the terminal device, the method further includes: The virtual network group information is sent to the Unified Data Management (UDM) network element, and the virtual network group information is used to enable the UDM network element to update the virtual network group information; the virtual network group information includes: the GPSI, VLAN ID, and network slice configuration information of the terminal device. Receive a feedback completion message sent by the UDM network element, wherein the feedback completion message is a message sent by the UDM network element after it has updated the virtual network group information.

3. The method according to claim 2, characterized in that, Before receiving the network slice query request sent by the terminal device, the method further includes: Receive a device information query request sent by the terminal device, wherein the device information query request includes: the protocol address of the terminal device; Based on the protocol address of the terminal device, query the information of industrial equipment deployed in the network. The industrial equipment information includes: the protocol address of each industrial device and the VLAN ID. The industrial equipment information is sent to the terminal device, and the industrial equipment information is used to enable the terminal device to obtain the physical address of each locally connected industrial device based on the protocol address of each industrial device.

4. The method according to claim 3, characterized in that, Before receiving the device information query request sent by the terminal device, the method further includes: The device receives the VLAN ID, the network slice identifier associated with the VLAN ID, and the device pair information sent by the network user equipment.

5. The method according to claim 4, characterized in that, Before receiving the VLAN ID, the network slice identifier associated with the VLAN ID, and the device pair information sent by the network user equipment, the method further includes: The network user equipment receives the network slice identifier and the network slice configuration information corresponding to the network slice identifier.

6. A data transmission method, characterized in that, A terminal device applied in a data transmission system, the data transmission system comprising: a network management device and multiple terminal devices, the network management device being communicatively connected to the multiple terminal devices, the multiple terminal devices being communicatively connected to each other, and each terminal device being connected to multiple industrial devices, the method comprising: A network slice query request is sent to the network management device. The network slice query request includes: the protocol address of the terminal device, the GPSI of the terminal device, and the physical addresses of each industrial device locally connected to the terminal device. The network slice query request enables the network management device to query device pair information matching the terminal device based on its protocol address; query the corresponding network slice identifier based on the device pair information; and query network slice configuration information based on the network slice identifier. The device pair information includes two industrial devices, each device pair matches a specific network slice, and the two industrial devices in the device pair use the specific network slice for data transmission. The specific network slice is determined based on the data transmission characteristics between the two industrial devices. Receive the device pair information and the network slice identifier sent by the network management device; The network slice identifier is used to transmit Ethernet data frames of industrial equipment in the device-to-device information.

7. The method according to claim 6, characterized in that, The step of using the network slice identifier to transmit Ethernet data frames of industrial equipment in the device-to-device information includes: If a first Ethernet data frame is received from a first industrial device using the first local network port, then the source physical address and destination physical address in the first Ethernet data frame are obtained. Based on the source physical address and destination physical address in the first Ethernet data frame, the identifier of the first session corresponding to the first Ethernet data frame is queried from a pre-created packet classifier; wherein, the packet classifier includes: source physical address, destination physical address, protocol address of the first industrial device, identifier of the first local network port, and identifier of the first session; The first Ethernet data frame is sent to the User Plane Function (UPF) network element using the first session.

8. The method according to claim 7, characterized in that, If a first Ethernet data frame is received from a first industrial device via a first local network port, before obtaining the source physical address and destination physical address in the first Ethernet data frame, the method further includes: If the first Ethernet data frame from the first industrial device is received via the first local network port, the source physical address and destination physical address are read from the first Ethernet data frame, and the source physical address is used as the physical address of the first industrial device. Based on the physical address of the first industrial equipment, query the protocol address of the first industrial equipment; Based on the protocol address of the first industrial equipment, query the equipment pair information where the first industrial equipment is located; The first session is created based on the network slice identifier corresponding to the information provided by the device. After the first session is created, the packet classifier is established.

9. The method according to claim 7, characterized in that, The step of using the network slice identifier to transmit Ethernet data frames of industrial equipment in the device-to-device information further includes: If a second Ethernet data frame is received from the UPF network element in the second session, the destination physical address is read from the second Ethernet data frame as the physical address of the second industrial device. Based on the physical address of the second industrial device, query the identifier of the second local network port corresponding to the second industrial device from the packet classifier; The second Ethernet data frame is sent to the second industrial device using the second local network port.

Citation Information

Patent Citations

  • Selection method and selection device of network slices

    CN108513290A

  • Method and device for selecting network slice

    CN111918273A

  • Network slice adjustment method, device and equipment

    CN115499894A