Message transmission method, device, electronic device and storage medium

By implementing the message transmission method in the UPF network element of the 5G network, the problem that the 5G network cannot meet the delay certainty in industrial scenarios is solved, and the automatic configuration of the dual transmit and selective link is realized, which reduces the configuration cost and ensures the certainty of communication delay.

CN119788753APending Publication Date: 2025-04-08SHENZHEN AI LINK CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411905743.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

Existing 5G networks cannot meet the deterministic requirements of network delay in industrial scenarios, and manual configuration of dual transmission and selective links is costly and prone to errors.

Method used

By implementing the message transmission method in the UPF network element of the user plane function, the receiving terminal device sends uplink data packets through two communication modules, and copy them when the preset stream identification rules are met, and the dual sending, selecting and receiving protocol fields are added. Update the dual-send and selective link table to determine whether the downlink data packet is sent through the dual-send and selective mechanism.

Benefits of technology

Automatic update and maintenance of dual-send and selective link tables is realized, which reduces configuration costs, avoids configuration errors, and ensures the certainty of communication delay.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119788753A_ABST
    Figure CN119788753A_ABST
Patent Text Reader

Abstract

The present application provides a message transmission method, device, electronic device and storage medium, which relate to the field of communication technology. The method is applied to a UPF network element, including: receiving two uplink data messages periodically sent by a first terminal device through two communication modules respectively; updating a dual-transmission selective reception link table according to the session identifiers of the two PDU sessions receiving the two uplink data messages, the first terminal device address and the downstream device address, the dual-transmission selective reception link table includes: a pairing relationship between a group of two PDU sessions and the terminal device address and the downstream device address, and the dual-transmission selective reception link table is used to determine whether the downlink data message sent by the data network is sent to the terminal device through the dual-transmission selective reception mechanism; the first uplink data message received first in the two uplink data messages is sent to the data network. The present application automatically updates the dual-transmission selective reception link table, without the need to manually configure the dual-transmission selective reception link, thereby reducing the configuration cost and the possibility of configuration errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a message transmission method, device, electronic device and storage medium. Background Art

[0002] 5G private networks are usually used in industrial scenarios. Some industrial scenarios have very high requirements for the certainty of network latency. However, the latency fluctuations of 5G wireless transmission are large and uncontrollable, which cannot meet the network latency requirements of industrial scenarios.

[0003] In order to reduce the latency fluctuation of wireless transmission, the 5G R16 standard defines Time Sensitive Networking (TSN) to ensure the latency determinism of 5G networks. However, the complete TSN technology requires special hardware support and is not yet mature. Some manufacturers use the Frame Replication and Elimination for Reliability (FRER) protocol defined in the 802.1CB standard of the TSN protocol family to implement dual-transmission and selective reception of 5G network wireless transmission to increase the determinism of 5G network transmission latency.

[0004] However, in the prior art, it is necessary to manually configure paired PDU sessions as dual-transmit selective-receiving links. When there are many dual-transmit selective-receiving links to be configured, the configuration cost is very high and the configuration is prone to errors. Summary of the invention

[0005] The purpose of the present application is to provide a message transmission method and electronic device to address the deficiencies in the above-mentioned prior art, so as to ensure the delay determinism of message transmission.

[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0007] In a first aspect, an embodiment of the present application provides a message transmission method, which is applied to a user plane function UPF network element, and the method includes:

[0008] Receive two uplink data messages periodically sent by the first terminal device through two communication modules respectively, wherein the two uplink data messages are periodically generated by the first terminal device according to the downlink device address and network transmission information of the first downlink device, and when the uplink data message meets the preset flow identification rule, the uplink data message is copied, and a first dual-transmission selective reception protocol field is added to the end of the two uplink data messages, and the first dual-transmission selective reception protocol field includes: a redundancy type identifier and a first sequence number;

[0009] According to the session identifiers of the two PDU sessions receiving the two uplink data messages, the first terminal device address and the downstream device address, the dual-transmission selective reception link table is updated, wherein the dual-transmission selective reception link table includes: a pairing relationship between a group of two PDU sessions and the terminal device address and the downstream device address, and the dual-transmission selective reception link table is used to determine whether the downlink data message sent by the data network is sent to the terminal device through the dual-transmission selective reception mechanism;

[0010] The first uplink data message received first among the two uplink data messages is sent to the data network.

[0011] Optionally, the method further comprises:

[0012] Receiving a downlink data message sent by the data network;

[0013] According to the destination address of the downlink data message and the dual-send selective reception link table, determining whether the downlink data message is sent through the dual-send selective reception mechanism;

[0014] If the downlink data message is sent through the dual-transmission selective reception mechanism, the downlink data message is copied to obtain two downlink data messages, and a second dual-transmission selective reception protocol field is added at the end of the two downlink data messages, wherein the second dual-transmission selective reception protocol field includes: the redundancy type identifier and a second sequence number;

[0015] According to the session identifiers of the two target PDU sessions corresponding to the destination address in the dual-send selective reception link table and the second terminal device address, two copies of the downlink data messages are respectively sent to the second terminal device corresponding to the second terminal device address through the two target PDU sessions, so that the second terminal device sends the first downlink data message received first to the second downstream device corresponding to the destination address.

[0016] Optionally, the two uplink data messages further include: a first quality of service identifier; and the updating of the dual-transmission selective reception link table entry according to the session identifiers of the two PDU sessions receiving the two uplink data messages, the first terminal device address, and the downstream device address includes:

[0017] According to the session identifiers of the two PDU sessions, the first terminal device address, the downstream device address and the first service quality identifier, the dual-send selective reception link table entry is updated, and the dual-send selective reception link table entry includes: the pairing relationship between the session identifiers of two PDU sessions in a group and the terminal device address, the downstream device address and the service quality identifier.

[0018] Optionally, judging whether the downlink data message is sent through the dual-send selective reception mechanism according to the destination address of the downlink data message and the dual-send selective reception link table includes:

[0019] According to the destination address, determining the downstream device address corresponding to the destination address from the dual-transmit selective receiving link table;

[0020] If the quality of service identifier that matches the downstream device address corresponding to the destination address matches the second quality of service identifier of the downlink data message, it is determined that the downlink data message is sent through the dual-send selective reception mechanism.

[0021] Optionally, the method further comprises:

[0022] If the downstream device address corresponding to the destination address is not obtained in the dual-transmit selective reception link table, the downlink data message is broadcasted.

[0023] Optionally, the method further comprises:

[0024] If the dual-transmit selective receiving link table has a target downstream device address corresponding to the destination address, but the service quality identifier matched by the target downstream device address does not match the second service quality identifier, then according to any one of the two PDU sessions corresponding to the target downstream device address and the third terminal device address, the downlink data message is sent to the third terminal device corresponding to the third terminal device address through any one of the PDU sessions.

[0025] Optionally, sending a first uplink data message received first among the two uplink data messages to the data network includes:

[0026] Determining, according to the redundancy type identifier in the received target uplink data message, that the target uplink data message is a dual-transmit selective-receive message;

[0027] Determining, according to a first sequence number in the target uplink data message, whether the first sequence number is marked as having arrived;

[0028] If the first sequence number is not marked as the arrived state, determine that the target uplink data packet is the first uplink data packet, send the first uplink data packet to the data network, and mark the first sequence number as the arrived state.

[0029] In a second aspect, an embodiment of the present application further provides a message transmission device, which is applied to a user plane function UPF network element, and the device includes:

[0030] A message receiving module, used for receiving two uplink data messages periodically sent by a first terminal device through two communication modules respectively, wherein the two uplink data messages are periodically generated by the first terminal device according to the downlink device address and network transmission information of the first downlink device, and when the uplink data message meets the preset flow identification rule, the uplink data message is copied, and a first dual-transmission selective reception protocol field is added to the end of the two uplink data messages, and the first dual-transmission selective reception protocol field includes: a redundancy type identifier and a first sequence number;

[0031] A link table update module, used for updating a dual-transmission selective reception link table according to the session identifiers of the two PDU sessions receiving the two uplink data messages, the first terminal device address and the downstream device address, wherein the dual-transmission selective reception link table includes: a pairing relationship between a group of two PDU sessions and the terminal device address and the downstream device address, and the dual-transmission selective reception link table is used to determine whether the downlink data message sent by the data network is sent to the terminal device through the dual-transmission selective reception mechanism;

[0032] The message sending module is used to send the first uplink data message received first among the two uplink data messages to the data network.

[0033] Optionally, the message receiving module is further used to receive a downlink data message sent by the data network;

[0034] A judgment module, used for judging whether the downlink data message is sent through the dual-send selective reception mechanism according to the destination address of the downlink data message and the dual-send selective reception link table;

[0035] The message duplication module is further used for duplicating the downlink data message to obtain two downlink data messages if the downlink data message is sent through the dual-transmission and selective-reception mechanism, and adding a second dual-transmission and selective-reception protocol field at the end of the two downlink data messages, wherein the second dual-transmission and selective-reception protocol field includes: the redundancy type identifier and the second sequence number;

[0036] The message sending module is used to send two copies of the downlink data messages to the second terminal device corresponding to the second terminal device address through the two target PDU sessions according to the session identifiers of the two target PDU sessions corresponding to the destination address in the dual-send selective link table and the second terminal device address, so that the second terminal device sends the first downlink data message received first to the second downstream device corresponding to the destination address.

[0037] Optionally, the two uplink data messages also include: a first quality of service identifier; the link table update module is specifically used to update the dual-send selective receiving link table entry according to the session identifiers of the two PDU sessions, the first terminal device address, the downstream device address and the first quality of service identifier, and the dual-send selective receiving link table entry includes: a pairing relationship between the session identifier of a group of two PDU sessions and the terminal device address, the downstream device address and the quality of service identifier.

[0038] Optionally, the judgment module is used to determine the downstream device address corresponding to the destination address from the dual-send selective reception link table according to the destination address; if the service quality identifier matching the downstream device address corresponding to the destination address matches the second service quality identifier of the downlink data message, it is determined that the downlink data message is sent through the dual-send selective reception mechanism.

[0039] Optionally, the message sending module is further configured to broadcast the downlink data message if the downstream device address corresponding to the destination address is not obtained in the dual-transmit selective reception link table.

[0040] Optionally, the message sending module is also used to send the downlink data message to the third terminal device corresponding to the third terminal device address through any one of the two PDU sessions corresponding to the target downstream device address and the third terminal device address, if the dual-send selective receiving link table has a target downstream device address corresponding to the destination address, but the service quality identifier matching the target downstream device address does not match the second service quality identifier.

[0041] Optionally, the message sending module is further used to determine, based on the redundant type identifier in the received target uplink data message, that the target uplink data message is a dual-send selective reception message; based on the first sequence number in the target uplink data message, determine whether the first sequence number is marked as an arrived state; if the first sequence number is not marked as an arrived state, determine that the target uplink data message is the first uplink data message, send the first uplink data message to the data network, and mark the first sequence number as the arrived state.

[0042] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the message transmission method as described in any one of the first aspects.

[0043] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the message transmission method as described in any one of the first aspects are executed.

[0044] The beneficial effects of this application are:

[0045] The message transmission method, device, electronic device and storage medium provided in the present application, when the UPF network element receives two uplink data messages of dual-transmission and selective reception sent by the first terminal device, it updates the dual-transmission and selective reception link table according to the session identifiers of the two PDU sessions for receiving the two uplink data messages, the first terminal device address and the downstream device address, so that when the downlink data message sent by the data network is received, it can be determined whether the downlink data message needs to be sent using the dual-transmission and selective reception mechanism, and when the dual-transmission and selective reception mechanism is adopted, it is determined that the dual-transmission and selective reception link corresponding to the grouped PDU session sends the downlink data message, and the dual-transmission and selective reception link table is automatically updated and maintained, so that the user does not need to manually configure the grouped PDU sessions as the dual-transmission and selective reception link, thereby reducing the configuration cost, avoiding configuration errors, and ensuring the determinism of communication delay. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1 A network system architecture diagram provided for an embodiment of the present application;

[0048] Figure 2 Schematic diagram of the message transmission method provided in the embodiment of the present application Figure 1 ;

[0049] Figure 3 Schematic diagram of the message transmission method provided in the embodiment of the present application Figure 2 ;

[0050] Figure 4 Schematic diagram of the message transmission method provided in the embodiment of the present application Figure 3 ;

[0051] Figure 5 Schematic diagram of the message transmission method provided in the embodiment of the present application Figure 4 ;

[0052] Figure 6 A flowchart of an uplink message transmission provided in an embodiment of the present application;

[0053] Figure 7 A flowchart of downlink message transmission provided in an embodiment of the present application;

[0054] Figure 8 A result schematic diagram of a message transmission device provided in an embodiment of the present application;

[0055] Fig. 9 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.

[0057] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0058] In addition, the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0059] It should be noted that, in the absence of conflict, the features in the embodiments of the present application may be combined with each other.

[0060] Figure 1 The network system architecture diagram provided for the embodiment of the present application, the embodiment of the present application can be implemented based on the 5G network architecture, but is not limited thereto. Figure 1As shown, the network system architecture may include: at least one terminal device 10, a UPF network element 20, a base station 30 located between the terminal device 10 and the UPF network element 20, at least one downstream device 40 connected to each terminal device 10, and a data network (Data Network, DN) 50 that communicates with the UPF network element.

[0061] Among them, the terminal device 10 is a user equipment (User Equipment, UE), and the terminal device 10 can be a routing device or a relay device, which is used to control the communication between the downstream device 40 and the data network DN50. The terminal device 10 may include multiple modules, each module can communicate with the base station 30 separately, the base station 30 communicates with the UPF network element 20 through the N3 interface, and the data network DN50 communicates with the UPF network element 20 through the N6 interface.

[0062] The downstream device 40 may be a computer device, a mobile terminal device or other device that needs to access the data network DN through the UE.

[0063] It should be noted that the network system architecture may also include other functional network elements, which are not introduced in this embodiment.

[0064] Based on the above network system architecture, the specific implementation method of the message transmission method of the UPF network element applied in the network system architecture is explained below in combination with the embodiments.

[0065] Figure 2 Schematic diagram of the message transmission method provided in the embodiment of the present application Figure 1 ,like Figure 2 As shown, the method may include:

[0066] S101. Receive two uplink data messages periodically sent by a first terminal device through two communication modules respectively.

[0067] Among them, two uplink data messages are periodically generated by the first terminal device according to the downstream device address and network transmission information of the first downstream device, and when the uplink data message meets the preset flow identification rule, the uplink data message is copied, and a first dual-transmission and selective reception protocol field is added to the end of the two uplink data messages, and the first dual-transmission and selective reception protocol field includes: a redundant type identifier and a first serial number.

[0068] In this embodiment, the first terminal device is any one of the multiple terminal devices that communicate with the UPF network element. When the downstream device of the first terminal device needs to communicate with the data network DN through the first terminal device, or the first terminal device periodically reports regular service messages to the UPF network element, the first terminal device generates an uplink data message according to the downstream device address and network transmission information of the first downstream device. The downstream device address may include: the MAC address and IP address of the first downstream device, and the network transmission information may include: the virtual local area network type, Ethernet type, communication protocol type and other information used by the first downstream device. Among them, the layer 2 frame header of the uplink data message may include: the destination MAC address, the source MAC address, the virtual local area network type, and the Ethernet type. The layer 3 frame header of the uplink data message may include: the IP address of the downstream device and the IP address and communication protocol type of the communication device on the data network DN side. The layer 3 frame header of the uplink data message includes: the communication port information corresponding to the communication protocol type. The destination MAC address is the MAC address of the communication device on the data network DN side, and the source MAC address is the MAC address of the first downstream device.

[0069] It should be noted that if only the first terminal device periodically reports regular service messages to each downstream device and the UPF network element, the destination MAC address may not be carried in the uplink data message. The first terminal device learns and records the MAC address of the downstream device based on the access information previously sent by the downstream device or the access request when the downstream device accesses the first terminal device, and saves a MAC address table entry for each downstream device in the MAC address table. When the downstream device connected to the first terminal device changes, the MAC address table entry in the MAC address table is also updated. Since the downstream device needs to communicate with the data network DN through the first terminal device, the network transmission information configured by the first terminal device is the network transmission information of the downstream device.

[0070] If the downstream device of the first terminal device needs to communicate with the data network DN through the first terminal device, the uplink data message also needs to carry the access information sent by the downstream device.

[0071] The preset flow identification rule is used to indicate the message type that needs to be sent using the dual-send selective reception mechanism. After generating an uplink data message, the first terminal device first determines whether there is a pre-configured flow identification rule. If there is a pre-configured flow identification rule in the first terminal device, it can determine whether the uplink data message can be sent using the dual-send selective reception mechanism based on the message type of the uplink data message and the pre-configured flow identification rule. The message type can be the network type of network transmission information, the communication protocol type, etc.

[0072] If the message type of the uplink data message matches the message type in the pre-configured flow identification rule, it is determined that the uplink data message needs to be sent using the dual-send and selective-receive mechanism. The dual-send and selective-receive mechanism refers to copying the uplink data message in two copies for sending, and the receiving end that receives the two uplink data messages adopts a first-come, first-served strategy, giving priority to processing the first received uplink data message and discarding the redundant uplink data message that arrives later.

[0073] When the first terminal device determines that the uplink data message can be sent using the dual-send and selective-receive mechanism, it copies the uplink data message to obtain two uplink data messages, and appends a first dual-send and selective-receive protocol field to the end of the two uplink data messages. The first dual-send and selective-receive protocol field includes: a redundancy type identifier (Redundancy tag, R-TAG) and a first sequence number. The two uplink data messages have the same sequence number, and every two identical uplink data messages have a unique sequence number. The redundancy type identifier is used to indicate that the uplink data message is sent using the dual-send and selective-receive mechanism.

[0074] For two identical uplink data messages, the first terminal device sends the two identical uplink data messages to the UPF network element through two base stations respectively via a dual-send selective-receive link formed by two PDU sessions corresponding to the two modules.

[0075] The UPF network element receives two identical uplink data messages through the dual-send and selective-receive links corresponding to the two PDU sessions.

[0076] The UPF network element determines that the second uplink data message received is a redundant data message, and can directly discard the second uplink data message.

[0077] In one embodiment, if the uplink data packet does not satisfy the preset flow identification rule, the first terminal device sends an uplink data message to the UPF network element through a communication module.

[0078] In this embodiment, if the data type of the uplink data message does not match the data packet type in the preset configured flow identification rule, it is determined that the uplink data message does not need to be sent using the dual-send and selective-receive mechanism. The first terminal device directly selects a communication module from multiple communication modules to send the uplink data message to the base station, and the base station then sends the uplink data message to the UPF network element.

[0079] Furthermore, if the first terminal device does not have a pre-configured flow identification rule, the first terminal device directly sends the uplink data message to the base station through the communication module, and the base station then sends the uplink data message to the UPF network element.

[0080] S102: Update the dual-transmit selective receiving link table according to the session identifiers of the two PDU sessions for receiving the two uplink data messages, the first terminal device address and the downstream device address.

[0081] Among them, the dual-transmit selective reception link table includes: a pairing relationship between two PDU sessions and the terminal device address and the downstream device address. The dual-transmit selective reception link table is used to determine whether the downlink data message sent by the data network is sent to the terminal device through the dual-transmit selective reception mechanism.

[0082] In this embodiment, a dual-send selective reception link table entry is pre-created in the UPF network element. The dual-send selective reception link entry is used to store the pairing relationship between the session identifier, the terminal device address and the downstream device address of a group of two PDU sessions. The pairing relationship is used to indicate the terminal device corresponding to the downstream device, and the two PDU sessions corresponding to the dual-send selective reception link used when the terminal device adopts the dual-send selective reception mechanism to send two uplink data packets to the UPF network element. The two PDU sessions in a group have a pairing relationship.

[0083] After receiving the uplink data message, the UPF network element determines that the uplink data message is a message sent using the dual-send selective reception mechanism based on the redundancy type identifier in the uplink data message, and records the session identifier of the PDU session that receives the uplink data message. The UPF network element determines that two identical uplink data messages are sent using the dual-send selective reception mechanism from the received uplink data message based on the first sequence number in the uplink data message, and determines the session identifiers of the two PDU sessions corresponding to the two identical uplink data messages.

[0084] If there is no table entry corresponding to the downstream device address recorded in the uplink data message in the dual-send selective link table, then a dual-send selective link table entry is generated in the dual-send selective link table according to the session identifiers of the two PDU sessions, the first terminal device address of the first terminal device and the downstream device address recorded in the uplink data message; if there is a table entry corresponding to the downstream device address in the dual-send selective link table, then the table entry corresponding to the downstream device address is updated in the dual-send selective link table according to the session identifiers of the two PDU sessions, the first terminal device address of the first terminal device and the downstream device address recorded in the uplink data message.

[0085] When the UPF network element receives a downlink data message sent by the data network DN, it needs to determine whether the downlink data message needs to be sent to the terminal device using the dual-send selective reception mechanism based on the dual-send selective reception link table.

[0086] It should be noted that in addition to being directly stored in the UPF network element, the dual-transmission and selective reception link table can also be applied to data management function network elements in the 5G core network, such as the Unified Data Management (UDM) network element. The UDM network element synchronizes the dual-transmission and selective reception link table to the UPF network element through the session management function (SMF) network element.

[0087] S103: Send the first uplink data message received first of the two uplink data messages to the data network.

[0088] In this embodiment, the UPF network element determines the first uplink data message received based on the reception time of two identical uplink data messages received. If the first uplink data message is a regular business message, the first uplink data message is processed. If the first uplink data message carries interactive data sent by the first downstream device, the UPF network element sends the first uplink data message to the data network DN.

[0089] In some embodiments, if the UPF network element receives an uplink data message that does not carry the dual-send selective-receive protocol field and determines that the uplink data message is not sent using the dual-send selective-receive mechanism, the UPF network element directly sends the uplink data message to the data network DN.

[0090] The message transmission method provided in the above embodiment is that when the UPF network element receives two uplink data messages of dual-transmission and selective reception sent by the first terminal device, it updates the dual-transmission and selective reception link table according to the session identifiers of the two PDU sessions for receiving the two uplink data messages, the address of the first terminal device and the address of the downstream device, so that when the downlink data message sent by the data network is received, it can be determined whether the downlink data message needs to be sent using the dual-transmission and selective reception mechanism, and when the dual-transmission and selective reception mechanism is adopted, it is determined that the dual-transmission and selective reception link corresponding to the grouped PDU session sends the downlink data message, and the dual-transmission and selective reception link table is automatically updated and maintained, so that the user does not need to manually configure the grouped PDU sessions as dual-transmission and selective reception links, thereby reducing the configuration cost, avoiding configuration errors, and ensuring the certainty of communication delay.

[0091] In one possible implementation, Figure 3 Schematic diagram of the message transmission method provided in the embodiment of the present application Figure 2 ,like Figure 3 As shown, the method may also include:

[0092] S201. Receive a downlink data message sent by a data network.

[0093] In this embodiment, when the data network DN needs to actively send interactive data to the downstream device of the terminal device, or respond to the downstream device based on the interactive data sent by the downstream device, the data network DN sends a downlink data message to the UPF network element. The format of the downlink data message is basically the same as the uplink data message, wherein the source MAC address is the MAC address of the communication device of the data network DN, the destination address is the MAC address of the downstream device receiving the downlink data message, and the network transmission information is the network transmission information of the data network DN.

[0094] S202: Determine whether the downlink data message is sent through the dual-send selective reception mechanism according to the destination address of the downlink data message and the dual-send selective reception link table.

[0095] In this embodiment, when the UPF network element receives a downlink data message sent by the data network DN, it needs to determine whether the downlink data message needs to be sent using a dual-send and selective-receive mechanism.

[0096] Specifically, the UPF network element determines whether there is a downstream device address that matches the destination address from the dual-send selective reception link table based on the destination address in the downlink data message. If there is a downstream device address that matches the destination address in the dual-send selective reception link table, it is determined that the downlink data message needs to be sent using the dual-send selective reception mechanism. If there is no downstream device address that matches the destination address in the dual-send selective reception link table entry, it is determined that the downlink data message does not need to be sent using the dual-send selective reception mechanism.

[0097] In some embodiments, if the UPF network element stores the mapping relationship between the downstream device addresses of all downstream devices and the terminal device addresses of the terminal devices to which they are connected, the UPF network element can determine the terminal device address corresponding to the downstream device address, and send the downlink data message to the terminal device through a PDU session between the terminal device and the UPF network element.

[0098] In other embodiments, if the UPF network element does not store the mapping relationship between the downstream device address and the terminal device address of the terminal device to which it is connected, the UPF network element can broadcast the downlink data message to all terminal devices through a PDU session with each terminal device.

[0099] In other embodiments, the UPF network element can copy two downlink data messages for each group of two PDU sessions based on all the two-piece PDU sessions recorded in the dual-send selective reception link table, and add the same dual-send selective reception protocol field to each of the two data messages, so as to send the two identical downlink data messages to the corresponding terminal devices through the dual-send selective reception link corresponding to a group of PDU sessions. In this way, the terminal devices corresponding to all the terminal device addresses recorded in the dual-send selective reception link table can receive two identical downlink data messages, and send the first downlink data message received first to the downstream device, and discard the second downlink data message received later.

[0100] S203. If the downlink data message is sent through the dual-send selective reception mechanism, the downlink data message is copied to obtain two downlink data messages, and a second dual-send selective reception protocol field is added to the end of the two downlink data messages. The second dual-send selective reception protocol field includes: a redundant type identifier and a second sequence number.

[0101] In this embodiment, if the dual-transmit selective reception link table has a downstream device address that matches the destination address, it is determined that the downlink data message needs to be sent using the dual-transmit selective reception mechanism, and the UPF network element copies the downlink data message to obtain two downlink data messages, and appends a second dual-transmit selective reception protocol field to the end of the two downlink data messages. The second dual-transmit selective reception protocol field includes: a redundant type identifier and a second sequence number. The two downlink data messages have the same sequence number, and every two identical downlink data messages corresponding to each terminal device have a unique sequence number. The redundant type identifier is used to indicate that the downlink data message is sent using the dual-transmit selective reception mechanism.

[0102] Among them, adding the second dual-transmission selective reception protocol field at the end of the downlink data message does not require memory copying and has relatively smaller performance loss than adding the dual-transmission selective reception protocol field after the second layer header of the downlink data message.

[0103] S204. According to the session identifiers of the two target PDU sessions corresponding to the destination address in the dual-transmit selective reception link table and the second terminal device address, two downlink data messages are sent to the second terminal device corresponding to the second terminal device address through the two target PDU sessions respectively, so that the second terminal device sends the first downlink data message received first to the second downstream device corresponding to the destination address.

[0104] In this embodiment, the UPF network element determines the second terminal device address corresponding to the downstream device address and the session identifier of a group of two target PDU sessions based on the downstream device address corresponding to the destination address matched from the dual-send selective receiving link table, and sends two downlink data messages to the second terminal device corresponding to the second terminal device address through the dual-send selective receiving link corresponding to the two target PDU sessions.

[0105] The second terminal device determines the first downlink data message received first according to the receiving time of the two identical downlink data messages received, deletes the second dual-transmission and selective reception protocol field from the first downlink data message, and then sends it to the downstream device corresponding to the destination address. The second terminal device determines that the second downlink data message received later is a redundant data message, and can directly discard the second downlink data message.

[0106] In the message transmission method provided in the above embodiment, when the UPF network element receives the downlink data message sent by the data network, it can determine whether the downlink data message needs to be sent using the dual-transmission selective reception mechanism according to the dual-transmission selective reception link table, and when the dual-transmission selective reception mechanism is adopted, it determines the dual-transmission selective reception link corresponding to the grouped PDU session to send the downlink data message, thereby ensuring the determinism of the communication delay. And by adding the dual-transmission selective reception field at the end of the downlink data message, the performance consumption when inserting the dual-transmission selective reception field and the UE deleting the dual-transmission selective reception field can be reduced.

[0107] In a possible implementation, the two uplink data messages also include: a first quality of service identifier; the above S102 updates the dual-transmit selective reception link table according to the session identifiers of the two PDU sessions receiving the two uplink data messages, the first terminal device address, and the downstream device address, and may include:

[0108] According to the session identifiers of the two PDU sessions, the first terminal device address, the downstream device address and the first service quality identifier, the dual-send selective receiving link table entries are updated. The dual-send selective receiving link table entries include: the pairing relationship between the session identifiers of the two PDU sessions in a group and the terminal device address, the downstream device address and the service quality identifier.

[0109] In this embodiment, during the process of generating an uplink data message, the first terminal device determines a first quality of service identifier of the first terminal device according to configuration information of the first terminal device, where the first quality of service identifier is used to indicate the quality of service supported by the first terminal device.

[0110] In some embodiments, the configuration information of the first terminal device may include QoS parameters of the first terminal device, and the first 5QI value of the first terminal device is determined according to the mapping relationship between the pre-configured QoS parameters and the service quality identifier (5G QoS Identtifier, 5QI). The 5QI value is used to indicate the indicator of the service level required for the data flow in the 5G network. The 5QI value ranges from 1 to 255, and each 5QI value has a corresponding set of configuration information. The configuration information is QoS parameters, including network delay, throughput, data packet loss rate and jitter. The first 5QI value can represent the service level of the network resources that the first terminal device can allocate for the data flow.

[0111] It should be noted that the configuration information of the first terminal device may meet the requirements of multiple groups of configuration information in the mapping relationship, so the first 5QI value of the first terminal device can be multiple values.

[0112] A dual-send selective reception link table entry is pre-created in the UPF network element. The dual-send selective reception link table entry is used to store the pairing relationship between the session identifier of a group of two PDU sessions and the terminal device address, the downstream device address, and the service quality identifier to indicate the 5QI value of the message received through the dual-send selective reception mechanism supported by the downstream device that needs to receive data through the dual-send selective reception mechanism and the first terminal device.

[0113] After receiving the downlink data message, the UPF network element updates the dual-transmitting and receiving link selection table entry according to the session identifiers of the two PDU sessions, the first terminal device address, the downstream device address and the first quality of service identifier.

[0114] In one possible implementation, Figure 4 Schematic diagram of the message transmission method provided in the embodiment of the present application Figure 3 ,like Figure 4 As shown, the process of determining whether the downlink data message is sent through the dual-send selective reception mechanism according to the destination address of the downlink data message and the dual-send selective reception link table in S202 may include:

[0115] S301: According to the destination address, determine the downstream device address corresponding to the destination address from the dual-transmitting and selectively receiving link table.

[0116] S302: If the quality of service identifier that matches the downstream device address corresponding to the destination address matches the second quality of service identifier of the downlink data message, it is determined that the downlink data message is sent through the dual-send selective reception mechanism.

[0117] In this embodiment, the downlink data message sent by the data network DN carries the QoS parameters required for the downlink data message during the transmission process. The UPF network element determines the second 5QI value corresponding to the service quality required for the downlink data message during the transmission process based on the mapping relationship between the pre-configured QoS parameters and 5QI.

[0118] The UPF network element determines, based on the destination address and the second 5QI value, from the dual-send selective reception link table whether there is a downstream device address and 5QI value that matches the destination address and the second 5QI value. Specifically, the UPF network element searches the dual-send selective reception link table for an entry corresponding to the downstream device address that is consistent with the destination address based on the destination address. If the 5QI value recorded in the entry corresponding to the downstream device address matches the second 5QI value, it is determined that the downlink data message needs to be sent using the dual-send selective reception mechanism.

[0119] The message transmission method provided in the above embodiment determines whether the downlink data message needs to be sent using the dual-send selective receiving mechanism based on the 5QI parameter, so that the UPF network element does not need to perform flow identification and determine whether to use the dual-send selective receiving mechanism based on the second, third, and fourth layer frame header information of the downlink data message when processing the downlink data message, thereby reducing performance consumption.

[0120] In a possible implementation, the method may further include:

[0121] If the downstream device address corresponding to the destination address is not obtained in the dual-transmitter selective receiving link table, the downstream data message is broadcast.

[0122] In some embodiments, if the UPF network element stores the mapping relationship between the downstream device addresses of all downstream devices and the terminal device addresses of the terminal devices to which they are connected, the UPF network element can determine the terminal device address corresponding to the downstream device address, and send the downlink data message to the terminal device through a PDU session between the terminal device and the UPF network element.

[0123] In other embodiments, if the UPF network element does not store the mapping relationship between the downstream device address and the terminal device address of the terminal device to which it is connected, the UPF network element can broadcast the downlink data message to all terminal devices through a PDU session with each terminal device.

[0124] In other embodiments, the UPF network element can copy two downlink data messages for each group of two PDU sessions based on all the two-piece PDU sessions recorded in the dual-send selective reception link table, and add the same dual-send selective reception protocol field to each of the two data messages, so as to send the two identical downlink data messages to the corresponding terminal devices through the dual-send selective reception link corresponding to a group of PDU sessions. In this way, the terminal devices corresponding to all the terminal device addresses recorded in the dual-send selective reception link table can receive two identical downlink data messages, and send the first downlink data message received first to the downstream device, and discard the second downlink data message received later.

[0125] In another possible implementation, the method may further include:

[0126] If the dual-transmit selective receiving link table has a target downstream device address corresponding to the destination address, but the service quality identifier matching the target downstream device address does not match the second service quality identifier, then according to any one of the two PDU sessions corresponding to the target downstream device address and the third terminal device address, a downlink data message is sent to the third terminal device corresponding to the third terminal device address through any one of the PDU sessions.

[0127] In this embodiment, the UPF network element searches the dual-send selective reception link table for an entry corresponding to the target downstream device address that is consistent with the destination address according to the destination address. If the 5QI value recorded in the entry corresponding to the target downstream device address does not match the second 5QI value, it is determined that the downlink data message does not need to be sent using the dual-send selective reception mechanism. According to the session identifiers of the two PDU sessions recorded in the entry corresponding to the target downstream device address and the address of the third terminal device, the link corresponding to the PDU session corresponding to any session identifier is used to send the downlink data message to the third terminal device corresponding to the third terminal device address.

[0128] In one possible implementation, Figure 5 Schematic diagram of the message transmission method provided in the embodiment of the present application Figure 4 ,like Figure 5 As shown, the process of sending the first uplink data message received first among the two uplink data messages to the data network in S103 may include:

[0129] S401. Determine, according to a redundancy type identifier in a received target uplink data message, whether the target uplink data message is a dual-transmit selective-receive message.

[0130] S402: Determine, according to the first sequence number in the target uplink data message, whether the first sequence number is marked as having arrived.

[0131] S403: If the first sequence number is not marked as having arrived, determine that the target uplink data packet is the first uplink data packet, send the first uplink data packet to the data network, and mark the first sequence number as having arrived.

[0132] In this embodiment, each time the UPF network element receives a target uplink data message, it determines whether the target uplink data message is a message sent using the dual-send and selective-receive mechanism. Specifically, it determines whether the end of the target uplink data message carries a redundant type identifier in the dual-send and selective-receive protocol field. If so, it determines that the target uplink data message is a dual-send and selective-receive message.

[0133] Determine whether the first sequence number in the target uplink data message has been received. Specifically, determine whether the first sequence number marked as the arrived state is stored. If the first sequence number marked as the arrived state is not stored, determine the first uplink data message in the dual-send selective reception message received by the target uplink data message, delete the dual-send selective reception protocol field at the end of the first uplink data message, send the first uplink data message to the data network DN, and mark the first sequence number as the arrived state.

[0134] If the first sequence number is marked as being in the arrived state, it is determined that the target uplink data message is the second uplink data message, and the second uplink data message is discarded.

[0135] For example, Figure 6 The flowchart of the uplink message transmission provided in the embodiment of the present application is as follows: Figure 6 As shown, the uplink message transmission process may include:

[0136] S501. UE, i.e., the first terminal device, receives a data packet from a downstream device and learns the source address of the downstream device.

[0137] S502. The UE matches the uplink data message with the flow identification rule. If the match fails, a module is selected to send the uplink data message to the UPF network element. If the match succeeds, the process jumps to S503.

[0138] S503: The UE adds a dual-transmission selective reception protocol field to the end of the uplink data message, and copies the uplink data message.

[0139] S504. The UE sends two uplink data messages from two modules respectively.

[0140] S505. The UPF network element receives the uplink data message through the N3 interface.

[0141] S506. The UPF network element determines whether the uplink data message has a dual-transmission and selective-reception protocol field. If not, normal forwarding is performed and sent to the DN. If so, the process jumps to S507.

[0142] S507, UPF determines whether the uplink data message is the first arrived data message, if not, it is directly discarded, if so, jump to S208.

[0143] S508. UPF removes the dual-transmission selective reception protocol field of the uplink data message that arrives first and then sends it to the DN.

[0144] For example, Figure 7 A flowchart of downlink message transmission provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the downlink message transmission process may include:

[0145] S601. The UPF network element receives a downlink data message through the N6 interface and determines a second 5QI value.

[0146] S602, the UPF network element queries the dual-transmitting and receiving link table entry to determine whether there is a matching table entry. If not, the downlink data message is forwarded normally. If so, jump to S603.

[0147] S603, the UPF network element determines whether the second 5QI value matches the 5QI value in the matching table entry. If not, a PDU session is selected to perform normal forwarding of the downlink data message. If they match, the jump value is S604.

[0148] S604. The UPF network element adds a dual-transmission and selective-reception protocol field to the end of the downlink data message and copies the downlink data message.

[0149] S605, the UPF network element sends two downlink data messages through two sessions respectively.

[0150] S606. The module of the UE, i.e. the first terminal device, receives an uplink data message.

[0151] S607. The UE determines whether the downlink data message has a dual-transmission and selective-reception protocol field. If not, conventional forwarding is performed and sent to the downstream device. If present, the process jumps to S608.

[0152] S608. The UPF network element determines whether the downlink data message is the first arrived data message. If not, it is directly discarded. If so, jump to S609.

[0153] S609. The UPF network element removes the dual-transmission selective reception protocol field of the first arriving downlink data message and sends it to the downstream device.

[0154] Based on the above method embodiment, the embodiment of the present application also provides a message transmission device, which is applied to the UPF network element. Figure 8 A schematic diagram of the result of the message transmission device provided in the embodiment of the present application is shown as follows: Figure 8 As shown, the device may include:

[0155] The message receiving module 701 is used to receive two uplink data messages periodically sent by the first terminal device through two communication modules respectively, wherein the two uplink data messages are periodically generated by the first terminal device according to the downstream device address and network transmission information of the first downstream device, and when the uplink data message meets the preset flow identification rule, the uplink data message is copied, and a first dual-transmission selective reception protocol field is added to the end of the two uplink data messages, and the first dual-transmission selective reception protocol field includes: a redundancy type identifier and a first sequence number;

[0156] The link table update module 702 is used to update the dual-transmission selective reception link table according to the session identifiers of the two PDU sessions receiving the two uplink data messages, the first terminal device address and the downstream device address, wherein the dual-transmission selective reception link table includes: a pairing relationship between a group of two PDU sessions and the terminal device address and the downstream device address, and the dual-transmission selective reception link table is used to determine whether the downlink data message sent by the data network is sent to the terminal device through the dual-transmission selective reception mechanism;

[0157] The message sending module 703 is used to send the first uplink data message received first among the two uplink data messages to the data network.

[0158] Optionally, the message receiving module 701 is further used to receive a downlink data message sent by the data network;

[0159] A judgment module, used to judge whether the downlink data message is sent through the dual-send selective reception mechanism according to the destination address of the downlink data message and the dual-send selective reception link table;

[0160] The message duplication module is further used for duplicating the downlink data message to obtain two downlink data messages if the downlink data message is sent through the dual-transmission and selective-reception mechanism, and adding a second dual-transmission and selective-reception protocol field at the end of the two downlink data messages, wherein the second dual-transmission and selective-reception protocol field includes: a redundancy type identifier and a second sequence number;

[0161] The message sending module 703 is used to send two downlink data messages to the second terminal device corresponding to the second terminal device address through two target PDU sessions according to the session identifiers of the two target PDU sessions corresponding to the destination address in the dual-send and selective link table and the second terminal device address, so that the second terminal device will send the first downlink data message received first to the second downstream device corresponding to the destination address.

[0162] Optionally, the two uplink data messages also include: a first service quality identifier; a link table update module 702, which is specifically used to update the dual-transmission selective reception link table entry according to the session identifier of the two PDU sessions, the first terminal device address, the downstream device address and the first service quality identifier, and the dual-transmission selective reception link table entry includes: the pairing relationship between the session identifier of two PDU sessions as a group and the terminal device address, the downstream device address, and the service quality identifier.

[0163] Optionally, the judgment module is used to determine the downstream device address corresponding to the destination address from the dual-send selective reception link table according to the destination address; if the service quality identifier matching the downstream device address corresponding to the destination address matches the second service quality identifier of the downlink data message, it is determined that the downlink data message is sent through the dual-send selective reception mechanism.

[0164] Optionally, the message sending module 703 is further configured to broadcast the downlink data message if the downstream device address corresponding to the destination address is not obtained in the dual-transmit selective receiving link table.

[0165] Optionally, the message sending module 703 is also used to send a downlink data message to a third terminal device corresponding to the third terminal device address through any one of the two PDU sessions corresponding to the target downstream device address and the third terminal device address, if the dual-send selective receiving link table has a target downstream device address corresponding to the destination address, but the service quality identifier matching the target downstream device address does not match the second service quality identifier.

[0166] Optionally, the message sending module 703 is also used to determine whether the target uplink data message is a dual-send selective reception message based on the redundant type identifier in the received target uplink data message; determine whether the first sequence number is marked as an arrived state based on the first sequence number in the target uplink data message; if the first sequence number is not marked as an arrived state, determine that the target uplink data message is the first uplink data message, send the first uplink data message to the data network, and mark the first sequence number as an arrived state.

[0167] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0168] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0169] Fig. 9 A schematic diagram of an electronic device provided in an embodiment of the present application, the electronic device 800 includes: a processor 801, a storage medium 802 and a bus, the storage medium 802 stores program instructions executable by the processor 801, when the electronic device 800 is running, the processor 801 communicates with the storage medium 802 via the bus, and the processor 801 executes the program instructions to execute the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.

[0170] Optionally, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above method embodiment is executed.

[0171] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

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

[0173] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0174] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.

[0175] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A message transmission method, characterized in that: Applied to a user plane function UPF network element, the method comprises: Receive two uplink data messages periodically sent by the first terminal device through two communication modules respectively, wherein the two uplink data messages are periodically generated by the first terminal device according to the downlink device address and network transmission information of the first downlink device, and when the uplink data message meets the preset flow identification rule, the uplink data message is copied, and a first dual-transmission selective reception protocol field is added to the end of the two uplink data messages, and the first dual-transmission selective reception protocol field includes: a redundancy type identifier and a first sequence number; According to the session identifiers of the two PDU sessions receiving the two uplink data messages, the first terminal device address and the downstream device address, the dual-transmission selective reception link table is updated, wherein the dual-transmission selective reception link table includes: a pairing relationship between a group of two PDU sessions and the terminal device address and the downstream device address, and the dual-transmission selective reception link table is used to determine whether the downlink data message sent by the data network is sent to the terminal device through the dual-transmission selective reception mechanism; The first uplink data message received first among the two uplink data messages is sent to the data network.

2. The method according to claim 1, characterized in that The method further comprises: Receiving a downlink data message sent by the data network; According to the destination address of the downlink data message and the dual-send selective reception link table, determining whether the downlink data message is sent through the dual-send selective reception mechanism; If the downlink data message is sent through the dual-transmission selective reception mechanism, the downlink data message is copied to obtain two downlink data messages, and a second dual-transmission selective reception protocol field is added at the end of the two downlink data messages, wherein the second dual-transmission selective reception protocol field includes: the redundancy type identifier and a second sequence number; According to the session identifiers of the two target PDU sessions corresponding to the destination address in the dual-send selective reception link table and the second terminal device address, two copies of the downlink data messages are respectively sent to the second terminal device corresponding to the second terminal device address through the two target PDU sessions, so that the second terminal device sends the first downlink data message received first to the second downstream device corresponding to the destination address.

3. The method according to claim 2, characterized in that The two uplink data messages also include: a first quality of service identifier; the updating of the dual-transmission selective reception link table entry according to the session identifiers of the two PDU sessions receiving the two uplink data messages, the first terminal device address and the downstream device address includes: According to the session identifiers of the two PDU sessions, the first terminal device address, the downstream device address and the first service quality identifier, the dual-send selective reception link table entry is updated, and the dual-send selective reception link table entry includes: the pairing relationship between the session identifiers of two PDU sessions in a group and the terminal device address, the downstream device address and the service quality identifier.

4. The method according to claim 3, characterized in that The determining, according to the destination address of the downlink data message and the dual-transmission selective reception link table, whether the downlink data message is sent through the dual-transmission selective reception mechanism comprises: According to the destination address, determining the downstream device address corresponding to the destination address from the dual-transmit selective receiving link table; If the quality of service identifier that matches the downstream device address corresponding to the destination address matches the second quality of service identifier of the downlink data message, it is determined that the downlink data message is sent through the dual-send selective reception mechanism.

5. The method according to claim 4, characterized in that The method further comprises: If the downstream device address corresponding to the destination address is not obtained in the dual-transmit selective reception link table, the downlink data message is broadcasted.

6. The method according to claim 4, characterized in that The method further comprises: If the dual-transmit selective receiving link table has a target downstream device address corresponding to the destination address, but the service quality identifier matched by the target downstream device address does not match the second service quality identifier, then according to any one of the two PDU sessions corresponding to the target downstream device address and the third terminal device address, the downlink data message is sent to the third terminal device corresponding to the third terminal device address through any one of the PDU sessions.

7. The method according to claim 1, characterized in that The sending the first uplink data message received first among the two uplink data messages to the data network includes: Determining, according to the redundancy type identifier in the received target uplink data message, that the target uplink data message is a dual-transmit selective-receive message; Determining, according to a first sequence number in the target uplink data message, whether the first sequence number is marked as having arrived; If the first sequence number is not marked as the arrived state, determine that the target uplink data packet is the first uplink data packet, send the first uplink data packet to the data network, and mark the first sequence number as the arrived state.

8. A message transmission device, characterized in that: Applied to a user plane function UPF network element, the device comprises: A message receiving module, used for receiving two uplink data messages periodically sent by a first terminal device through two communication modules respectively, wherein the two uplink data messages are periodically generated by the first terminal device according to the downlink device address and network transmission information of the first downlink device, and when the uplink data message meets the preset flow identification rule, the uplink data message is copied, and a first dual-transmission selective reception protocol field is added to the end of the two uplink data messages, and the first dual-transmission selective reception protocol field includes: a redundancy type identifier and a first sequence number; A link table update module, used for updating a dual-transmission selective reception link table according to the session identifiers of the two PDU sessions receiving the two uplink data messages, the first terminal device address and the downstream device address, wherein the dual-transmission selective reception link table includes: a pairing relationship between a group of two PDU sessions and the terminal device address and the downstream device address, and the dual-transmission selective reception link table is used to determine whether the downlink data message sent by the data network is sent to the terminal device through the dual-transmission selective reception mechanism; The message sending module is used to send the first uplink data message received first among the two uplink data messages to the data network.

9. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the message transmission method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the message transmission method according to any one of claims 1 to 7 are executed.

Citation Information

Cited By

  • Communication method, system, equipment and product based on communication module

    CN121692461A