Communication method and device

By establishing a corresponding relationship between the access network equipment and the terminal device, and using the ring network topology for redundant transmission of data packets, the problem that the wireless communication network in the existing technology cannot meet the redundant transmission requirements of industrial Ethernet is solved, and the efficiency is improved. Data transmission reliability and resource utilization efficiency.

CN114788401BActive Publication Date: 2024-09-10HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN201980102510.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-10
Publication Date
2024-09-10
Estimated Expiration
2039-12-10

AI Technical Summary

Technical Problem

Existing wireless communication networks cannot meet the redundant transmission mechanism requirements of industrial Ethernet, affecting the reliability of data transmission.

Method used

By establishing a corresponding relationship between the access network equipment and the terminal device, the ring network topology is used for redundant transmission of data packets to ensure the processing consistency of data packets on different paths, thereby improving the reliability of data transmission.

Benefits of technology

It realizes redundant transmission of data packets, improves the reliability of data transmission, saves air interface resources, and adapts to the high reliability requirements of industrial Ethernet for data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114788401B
    Figure CN114788401B
Patent Text Reader

Abstract

The present application provides a communication method and device, which relates to the field of communication technology and can improve the reliability of data transmission. In the network architecture to which the communication method is applicable, the first access network device forms a ring network topology with the slave device through the first terminal device and the second terminal device respectively, and the first access network device is also connected to the master device through the core network device. When the master device sends a data packet to the slave device through the network architecture, the communication method adopted between the first access network device and the terminal device includes: the first access network device obtains the corresponding relationship between the first terminal device and the second terminal device. After the first access network device obtains the data packet, the same data packet is sent to the first terminal device and the second terminal device according to the above-mentioned corresponding relationship, so that the first terminal device and the second terminal device transmit the same data packet to the slave device.
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 communication method and device. Background Art

[0002] Industrial Ethernet is Ethernet used in industrial configurations. Usually, industrial Ethernet communication uses wired connections. However, when industrial Ethernet is connected to a wireless communication network, the redundant transmission mechanism supported by the existing wireless communication network cannot meet the redundant transmission mechanism requirements of industrial Ethernet, affecting the reliability of Ethernet data transmission. Summary of the invention

[0003] The embodiments of the present application provide a communication method and device, which can improve the reliability of data transmission.

[0004] In order to achieve the above purpose, the embodiment of the present application adopts the following technical solution:

[0005] In a first aspect, an embodiment of the present application provides a communication method, the method comprising: an access network device obtains a correspondence between a first terminal device and a second terminal device, and after the access network device obtains a data packet, sends the data packet to the first terminal device and the second terminal device according to the correspondence.

[0006] In this way, the access network device uses the corresponding relationship between the two terminal devices to send the same data packet to the two terminal devices. In the case where the access network device forms a ring network topology structure through the above two terminal devices and the slave station device, the data packet sent by the access network device to the first terminal device passes through the above slave station device, is transmitted to the second terminal device, and finally returns to the access network device; the data packet sent by the access network device to the second terminal device passes through the above slave station device, is transmitted to the first terminal device, and finally returns to the access network device. Among them, when the data packet passes through each slave station device, each slave station device can read the data sent to itself by the master station device, and write the data sent to the master station device into the data packet. Since the data packets sent by the access network device to the two terminal devices are the same, and the same data packets are processed by the same slave station device, the data packets returned to the access network device by the two terminal devices are the same, which realizes the redundant transmission of data and improves the reliability of data transmission.

[0007] In one possible design, the communication method provided by the embodiment of the present application also includes: the access network device receives first data from the first terminal device; the access network device sends transmission indication information to the second terminal device, and the transmission indication information is used to instruct the second terminal device to stop transmitting the second data to the access network device; wherein the first data is data transmitted by the data packet along the first path, and the second data is data transmitted by the data packet along the second path; the first path is from the second terminal device via at least one slave station device to the first terminal device; and the second path is from the first terminal device via at least one slave station device to the second terminal device.

[0008] Since the data of the same data packet after being transmitted through the first path and the second path is the same, when the access network device receives the data packet returned by the first terminal device, the access network device does not need to receive the data packet returned by the second terminal device. In this way, the access network device sends transmission indication information to the second terminal device to indicate that the second terminal device does not need to transmit the second data to the access network device, so as to save air interface resources.

[0009] In a possible design, the transmission indication information is carried in a media access control MAC sub-protocol data unit PDU, the MAC sub-PDU includes a MAC sub-header and a MAC control unit CE, and the MAC sub-header includes a logical channel identifier LCID.

[0010] The transmission indication information includes an LCID with a preset value, and the LCID with the preset value is used to instruct the second terminal device to stop transmitting the second data to the access network device; or the LCID has a preset value, which is used to indicate that the MACCE corresponding to the MAC subheader includes the transmission indication information. In this way, the MAC subheader and the MAC CE belong to different parts in the MAC sub-PDU, and different parts in the MAC sub-PDU can instruct the second terminal device to stop transmitting the second data to the access network device.

[0011] In one possible design, the length of the MAC CE is a preset length, and the MAC CE is used to instruct the second terminal apparatus to stop transmitting the second data to the access network device;

[0012] Alternatively, the MAC CE includes an identifier of a preset logical channel, and the MAC CE is used to instruct the second terminal device to stop transmitting the second data corresponding to the preset logical channel to the access network device; or, the MAC CE includes a sequence number of a data packet, and the MAC CE is used to instruct the second terminal device to stop transmitting the second data corresponding to the sequence number to the access network device; or, the MAC CE includes an identifier of a data radio bearer, and the MAC CE is used to instruct the second terminal device to stop transmitting the second data corresponding to the data radio bearer to the access network device. In other words, different types of MAC CEs carry transmission indication information in different ways. The accuracy of the second data indicated by different types of MAC CEs is different. The granularity of the second data indicated by the four types of MAC CEs include: the second data corresponding to the second terminal device, the second data corresponding to the preset logical channel, the second data corresponding to the sequence number, and the second data corresponding to the data radio bearer, with different indication accuracy and different indication granularity.

[0013] In one possible design, the preset length is 0.

[0014] In a possible design, the access network device obtains the corresponding relationship between the first terminal device and the second terminal device, including: the access network device obtains the corresponding relationship between the first terminal device and the second terminal device from the first terminal device, the second terminal device, or the core network device. In this way, when the first terminal device, the second terminal device, or the core network device obtains the corresponding relationship between the two terminal devices, the access network device can obtain the corresponding relationship between the two terminal devices from the first terminal device, the second terminal device, or the core network device.

[0015] In a possible design, the access network device obtains the corresponding relationship between the first terminal device and the second terminal device, including: the access network device receives the first redundant identification information from the first terminal device; the access network device receives the second redundant identification information from the second terminal device; the access network device determines the corresponding relationship between the first terminal device and the second terminal device according to the first redundant identification information and the second redundant identification information. In this way, after the access network device receives the redundant identification information from the two terminal devices, the access network device determines the corresponding relationship between the two terminal devices based on the redundant identification information from the two terminal devices.

[0016] In one possible design, the first redundant identification information includes at least one of the following information: a master station device identification, at least one slave station device identification, a slave station device list identification or a terminal device identification; the second redundant identification information includes at least one of the following information: a master station device identification, at least one slave station device identification, a slave station device list identification and a terminal device identification; wherein the terminal device identification includes an identification of the first terminal device and / or an identification of the second terminal device. Since the redundant identification information includes at least one of the following information, a master station device identification, at least one slave station device identification, a slave station device list identification and two terminal device identifications. In this way, the access network device can determine the correspondence between the above two terminal devices based on the master station device identification, at least one slave station device identification, a slave station device list identification or two terminal device identifications in the two redundant identification information.

[0017] In a possible design, the communication method provided by the embodiment of the present application further includes: the access network device receives a first redundant sequence number RSN from the first terminal device and a second RSN from the second terminal device. Since the RSN is used to identify the sequence number of the redundant path serving the master station device, such as the first RSN identifies the first redundant path, and the second RSN identifies the second redundant path. In this way, the access network device can distinguish different redundant paths based on the first RSN and the second RSN.

[0018] In a possible design, the communication method provided by the embodiment of the present application further includes: the access network device receives an identifier of a first logical channel from a first terminal device and an identifier of a second logical channel from a second terminal device. The first logical channel and the second logical channel are used to transmit data packets transmitted between the master station device and the slave station device. In this way, the access network device can also know which logical channel the terminal device uses to transmit data packets based on the identifier of the logical channel from the terminal device.

[0019] In a possible design, the data packet includes type indication information, and the type indication information is used to indicate that the data packet is data transmitted between the master station device and the slave station device, rather than data transmitted between the terminal device and the access network device. In this way, after the terminal device receives the data packet, if the data packet carries the type indication information, the terminal device can know that the data packet is data transmitted between the master station device and the slave station device, and then send the data packet to the slave station device; if the data packet does not carry the type indication information, the terminal device can know that the data packet is data sent to itself by the access network device, and there is no need to send the data packet to the slave station device.

[0020] In one possible design, the type indication information is carried in a media access control MAC subheader, and the MAC subheader includes a bit and a logical channel identifier LCID; the bit is used to indicate that the data packet is data transmitted between a master station device and a slave station device, or the LCID is a preset value, and the preset value is used to indicate that the data packet is data transmitted between a master station device and a slave station device. In other words, the type indication information is carried in the MAC subheader, and the type of the data packet is indicated by the MAC subheader of the MAC layer message.

[0021] In a possible design, the type indication information is carried in the MAC service data unit SDU, and the type indication information is a sequence number in the MAC SDU, and the sequence number is a preset value, and the preset value is used to indicate that the data packet is data transmitted between the master station device and the slave station device. In other words, the type indication information is carried in the MAC SDU, and the type of the data packet is indicated by the MAC SDU of the MAC layer message.

[0022] In one possible design, the communication method of the embodiment of the present application also includes: the access network device sends first status indication information to the first terminal device; and / or the access network device sends second status indication information to the second terminal device; wherein the first status indication information is used to indicate that the second path is in an activated state or an inactivated state; and the second status indication information is used to indicate that the first path is in an activated state or an inactivated state.

[0023] In this way, when the access network device transmits the data packet exchanged between the master station device and the slave station device, if the channel quality is poor, the access network device uses the first state indication information to indicate that the second path is in an activated state for the first terminal device, and the access network device uses the second state indication information to indicate that the first path is in an activated state for the second terminal device, so that the same data packet is transmitted along two paths to ensure the reliability of data transmission; if the channel quality is good, the access network device uses the first state indication information to indicate that the second path is in an activated state for the first terminal device, or the access network device uses the second state indication information to indicate that the first path is in an activated state for the second terminal device, so that the data packet can be transmitted along one path to save transmission resources. When the access network device transmits the data packet exchanged between the access network device and the terminal device, the access network device uses the first state indication information to indicate that the second path is in an inactivated state for the first terminal device, and the access network device uses the second state indication information to indicate that the first path is in an inactivated state for the second terminal device. In this way, the data packet is no longer transmitted along the first path and the second path.

[0024] In one possible design, the first status indication information includes time information, and the first status indication information is used to indicate that at the time corresponding to the time information, the status of the second path is set to activated or inactivated; and / or the second status indication information includes time information, and the second status indication information is used to indicate that at the time corresponding to the time information, the status of the first path is set to activated or inactivated.

[0025] In this way, the access network device indicates to the first terminal device when to set the status of the second path to active or inactive, and / or the access network device indicates to the second terminal device when to set the status of the first path to active or inactive.

[0026] In one possible design, the first status indication information or the second status indication information is carried in a MAC sub-PDU, the MAC sub-PDU includes a MAC sub-header and a MAC CE, the MAC sub-header includes an LCID, the LCID has a preset value, and is used to indicate that the MAC CE corresponding to the MAC sub-header includes the first status indication information or the second status indication information. In this way, the access network device transmits the status indication information to the terminal device through the MAC sub-PDU.

[0027] In a second aspect, an embodiment of the present application provides a communication method, the method comprising: after a terminal device receives a first data packet from an access network device, the terminal device sends the first data packet to at least one slave device; the terminal device receives a second data packet. The first data packet includes data sent by the master device to at least one slave device, the second data packet includes data sent by at least one slave device to the master device, and the second data packet is the same data packet as the first data packet after being processed by at least one slave device.

[0028] In this way, after receiving the first data packet from the access network device, the terminal device sends the first data packet to at least one slave device, so that the first data packet is transmitted along the at least one slave device. In the case where the access network device forms a ring network topology structure with the slave device through two terminal devices (i.e., the current terminal device and another terminal device), for the current terminal device, the first data packet is transmitted to the other terminal device after passing through the at least one slave device, that is, the other terminal device receives the data packet of the first data packet transmitted through the at least one slave device. For the other terminal device, the data packet identical to the first data packet is transmitted to the current terminal device after passing through the at least one slave device, that is, the current terminal device receives the data packet identical to the first data packet transmitted through the at least one slave device, that is, the current terminal device receives the second data packet. Among them, when the first data packet or the data packet identical to the first data packet passes through the at least one slave device, each of the at least one slave device can read the data sent to itself by the master device and write the data sent to the master device into the data packet. Since the same data packet is processed by the same at least one slave device, the two terminal devices (the current terminal device and the other terminal device) finally receive the same data packet from the at least one slave device, thus realizing redundant transmission of data and improving the reliability of data transmission.

[0029] In one possible design, the communication method of the embodiment of the present application further includes: the terminal device sends a second data packet to the access network device. In this way, the data packet passing through at least one slave station device is transmitted to the wireless network through the terminal device, so that the data packet passing through at least one slave station device can be returned to the master station device through the wireless network.

[0030] In a possible design, the communication method of the embodiment of the present application further includes: the terminal device sends the corresponding relationship between the terminal device and another terminal device to the access network device. In this way, when the access network device forms a ring network topology structure with the above-mentioned at least one slave station device through two terminal devices (i.e., the current terminal device and another terminal device), the access network device can determine which two terminal devices to send the same first data packet to based on the corresponding relationship between the terminal device and the other terminal device, and determine which two terminal devices return data packets that are redundant (or backup) with each other.

[0031] In one possible design, the communication method of the embodiment of the present application also includes: the terminal device sends redundant identification information to the access network device; wherein the redundant identification information includes at least one of the following information: a master station device identification, at least one slave station device identification, a slave station device list identification, an identification of the terminal device, and an identification of another terminal device, and the other terminal device has a corresponding relationship with the terminal device. Since the redundant identification information includes at least one of the following information, a master station device identification, at least one slave station device identification, a slave station device list identification, an identification of the terminal device and an identification of another terminal device. In this way, the access network device can determine the corresponding relationship between the above two terminal devices based on the master station device identification, at least one slave station device identification, a slave station device list identification or the identifications of two terminal devices with a corresponding relationship in the redundant identification information.

[0032] In one possible design, the communication method of the embodiment of the present application also includes: the terminal device sends a redundant sequence number RSN to the access network device.

[0033] In one possible design, the communication method of the embodiment of the present application also includes: the terminal device sends an identifier of a logical channel to the access network device.

[0034] In one possible design, the communication method of the embodiment of the present application also includes: the terminal device receives transmission indication information from the access network device, and the transmission indication information is used to instruct the terminal device to stop transmitting the second data packet to the access network device. Because the data packets returned by the terminal device and another terminal device to the access network device are redundant (or backup) with each other. In this way, after the access network device receives the data packet from another terminal device, the access network device does not need to receive the second data packet from the terminal device. Based on the transmission indication information, the terminal device stops transmitting the second data packet to the access network device to save air interface resources.

[0035] In one possible design, the transmission indication information is carried in a media access control MAC sub-protocol data unit PDU, the MAC sub-PDU includes a MAC sub-header and a MAC control unit CE, and the MAC sub-header includes a logical channel identifier LCID. The transmission indication information includes an LCID with a preset value, and the LCID with the preset value is used to instruct the terminal device to stop transmitting the second data packet to the access network device; or, the LCID has a preset value, which is used to indicate that the MAC CE corresponding to the MAC sub-header includes the transmission indication information.

[0036] In one possible design, the length of the MAC CE is a preset length, and the MAC CE is used to instruct the terminal device to stop transmitting the second data packet to the access network device; or, the MAC CE includes an identifier of a preset logical channel, and the MAC CE is used to instruct the terminal device to stop transmitting the second data packet corresponding to the preset logical channel to the access network device; or, the MAC CE includes a sequence number of the data packet, and the MAC CE is used to instruct the terminal device to stop transmitting the second data packet corresponding to the sequence number to the access network device; or, the MAC CE includes an identifier of a data radio bearer, and the MAC CE is used to instruct the terminal device to stop transmitting the second data corresponding to the data radio bearer to the access network device.

[0037] In one possible design, the preset length is 0.

[0038] In one possible design, the first data packet includes type indication information, where the type indication information is used to indicate that the first data packet is data transmitted between the master station device and the slave station device.

[0039] In one possible design, the type indication information is carried in a media access control MAC subheader, and the MAC subheader includes a bit and a logical channel identifier LCID; the bit is used to indicate that the data packet is data transmitted between a slave device and a master device, or, the LCID is a preset value, and the preset value is used to indicate that the data packet is data transmitted between a slave device and a master device, or, the type indication information is carried in a MAC service data unit SDU, and the type indication information is a sequence number in the MAC SDU, and the sequence number is a preset value, and the preset value is used to indicate that the data packet is data transmitted between a slave device and a master device.

[0040] In one possible design, the communication method of an embodiment of the present application also includes: the terminal device receives status indication information from the access network device, wherein the status indication information is used to indicate that the path is in an activated state or an inactivated state, and the path is from the terminal device through at least one slave station device to another terminal device; the terminal device sets the status of the path to activated or inactivated according to the status indication information.

[0041] In a possible design, the status indication information includes time information, and the status indication information is used to indicate that the status of the path is set to activated or inactivated at a time corresponding to the time information.

[0042] In one possible design, the status indication information is carried in a MAC sub-PDU, the MAC sub-PDU includes a MAC sub-header and a MAC CE, the MAC sub-header includes an LCID, the LCID has a preset value, and is used to indicate that the MAC CE corresponding to the MAC sub-header includes the status indication information.

[0043] In a third aspect, an embodiment of the present application provides a communication method, the method comprising: after a first terminal device receives a first data packet from an access network device, the first data packet is sent to at least one slave device; the first terminal device receives a second data packet. The first data packet includes data sent by the master device to at least one slave device, the second data packet includes data sent by at least one slave device to the master device, and the second data packet is the same data packet as the first data packet after being processed by at least one slave device.

[0044] In one possible design, the communication method of the embodiment of the present application also includes: the first terminal device sends a second data packet to the access network device.

[0045] In one possible design, the communication method of the embodiment of the present application also includes: the first terminal device sends the correspondence between the first terminal device and the second terminal device to the access network device.

[0046] In one possible design, the communication method of the embodiment of the present application also includes: the first terminal device sends redundant identification information to the access network device; wherein the redundant identification information includes at least one of the following information: a master station device identifier, at least one slave station device identifier, a slave station device list identifier, an identifier of the first terminal device, and an identifier of the second terminal device, and the second terminal device has a corresponding relationship with the first terminal device.

[0047] In one possible design, the communication method of the embodiment of the present application also includes: the first terminal device sends a redundant sequence number RSN to the access network device.

[0048] In one possible design, the communication method of the embodiment of the present application also includes: the first terminal device sends an identifier of a logical channel to the access network device.

[0049] In one possible design, the first data packet includes type indication information, where the type indication information is used to indicate that the first data packet is data transmitted between the master station device and the slave station device.

[0050] In one possible design, the type indication information is carried in a media access control MAC subheader, and the MAC subheader includes a bit and a logical channel identifier LCID; the bit is used to indicate that the first data packet is data transmitted between a master station device and a slave station device, or, the LCID is a preset value, and the preset value is used to indicate that the first data packet is data transmitted between the master station device and the slave station device, or, the type indication information is carried in a MAC service data unit SDU, and the type indication information is a sequence number in the MAC SDU, and the sequence number is a preset value, and the preset value is used to indicate that the first data packet is data transmitted between the master station device and the slave station device.

[0051] In one possible design, the communication method of an embodiment of the present application also includes: the first terminal device receives status indication information from an access network device, wherein the status indication information is used to indicate that a path is in an activated state or an inactivated state, and the path is from the first terminal device to the second terminal device via at least one slave station device; the first terminal device sets the state of the path to activated or inactivated according to the status indication information.

[0052] In a possible design, the status indication information includes time information, and the status indication information is used to indicate that the status of the path is set to activated or inactivated at a time corresponding to the time information.

[0053] In one possible design, the status indication information is carried in a MAC sub-PDU, the MAC sub-PDU includes a MAC sub-header and a MAC CE, the MAC sub-header includes an LCID, the LCID has a preset value, and is used to indicate that the MAC CE corresponding to the MAC sub-header includes the status indication information.

[0054] In a fourth aspect, an embodiment of the present application provides a communication method, the method comprising: after a second terminal device receives a first data packet from an access network device, the second terminal device sends the first data packet to at least one slave device; the second terminal device receives a second data packet. The first data packet includes data sent from the master device to at least one slave device, the second data packet includes data sent from at least one slave device to the master device, and the second data packet is the same data packet as the first data packet after being processed by at least one slave device.

[0055] In one possible design, the communication method of the embodiment of the present application also includes: the second terminal device sends the correspondence between the second terminal device and the first terminal device to the access network device.

[0056] In one possible design, the communication method of the embodiment of the present application also includes: the second terminal device sends redundant identification information to the access network device; wherein the redundant identification information includes at least one of the following information: a master station device identifier, at least one slave station device identifier, a slave station device list identifier, an identifier of the second terminal device, and an identifier of the first terminal device, and the first terminal device and the second terminal device have a corresponding relationship.

[0057] In one possible design, the communication method of the embodiment of the present application also includes: the second terminal device sends a redundant sequence number RSN to the access network device.

[0058] In one possible design, the communication method of the embodiment of the present application also includes: the second terminal device sends an identifier of the logical channel to the access network device.

[0059] In one possible design, the communication method of an embodiment of the present application also includes: the second terminal device receives transmission indication information from the access network device, and the transmission indication information is used to instruct the second terminal device to stop transmitting the second data packet to the access network device.

[0060] In one possible design, the transmission indication information is carried in a media access control MAC sub-protocol data unit PDU, the MAC sub-PDU includes a MAC sub-header and a MAC control unit CE, and the MAC sub-header includes a logical channel identifier LCID. The transmission indication information includes an LCID with a preset value, and the LCID with the preset value is used to instruct the second terminal device to stop transmitting the second data packet to the access network device; or, the LCID has a preset value, which is used to indicate that the MAC CE corresponding to the MAC sub-header includes the transmission indication information.

[0061] In one possible design, the length of the MAC CE is a preset length, and the MAC CE is used to instruct the second terminal device to stop transmitting the second data packet to the access network device; or, the MAC CE includes an identifier of a preset logical channel, and the MAC CE is used to instruct the second terminal device to stop transmitting the second data packet corresponding to the preset logical channel to the access network device; or, the MAC CE includes a sequence number of the data packet, and the MAC CE is used to instruct the second terminal device to stop transmitting the second data packet corresponding to the sequence number to the access network device; or, the MAC CE includes an identifier of a data radio bearer, and the MAC CE is used to instruct the second terminal device to stop transmitting the second data corresponding to the data radio bearer to the access network device.

[0062] In one possible design, the preset length is 0.

[0063] In one possible design, the first data packet includes type indication information, where the type indication information is used to indicate that the first data packet is data transmitted between the master station device and the slave station device.

[0064] In one possible design, the type indication information is carried in a media access control MAC subheader, and the MAC subheader includes a bit and a logical channel identifier LCID; the bit is used to indicate that the first data packet is data transmitted between a master station device and a slave station device, or, the LCID is a preset value, and the preset value is used to indicate that the first data packet is data transmitted between the master station device and the slave station device, or, the type indication information is carried in a MAC service data unit SDU, and the type indication information is a sequence number in the MAC SDU, and the sequence number is a preset value, and the preset value is used to indicate that the first data packet is data transmitted between the master station device and the slave station device.

[0065] In one possible design, the communication method of the embodiment of the present application also includes: the second terminal device receives status indication information from the access network device, wherein the status indication information is used to indicate that the path is in an activated state or an inactivated state, and the path is from the second terminal device through at least one slave station device to another second terminal device; the second terminal device sets the status of the path to activated or inactivated according to the status indication information.

[0066] In a possible design, the status indication information includes time information, and the status indication information is used to indicate that the status of the path is set to activated or inactivated at a time corresponding to the time information.

[0067] In one possible design, the status indication information is carried in a MAC sub-PDU, the MAC sub-PDU includes a MAC sub-header and a MAC CE, the MAC sub-header includes an LCID, the LCID has a preset value, and is used to indicate that the MAC CE corresponding to the MAC sub-header includes the status indication information.

[0068] In a fifth aspect, an embodiment of the present application provides a communication method, the method comprising: after a core network device determines a corresponding relationship between a first terminal device and a second terminal device, the core network device sends relationship indication information to a first access network device, wherein the relationship indication information is used to indicate the corresponding relationship between the first terminal device and the second terminal device.

[0069] In this way, when the access network device forms a ring network topology structure through the above two terminal devices and the slave station device, the access network device obtains the corresponding relationship between the two terminal devices from the core network device. After the access network device obtains the data packet, it sends the same data packet to the two terminal devices respectively. Among them, one data packet passes through a terminal device, at least one slave station device and another terminal device, and returns to the access network device; another data packet passes through another terminal device, at least one slave station device and a terminal device, and returns to the access network device. Among them, when the data packet passes through each slave station device, each slave station device can read the data sent to itself by the master station device, and write the data sent to the master station device into the data packet. Since the data packets sent by the access network device to the two terminal devices are the same, and the same data packets are processed by the same slave station device, the data packets returned to the access network device by the two terminal devices are finally the same, which realizes the redundant transmission of data and improves the reliability of data transmission.

[0070] In a possible design, the core network device determines the correspondence between the first terminal device and the second terminal device, including: the core network device determines the correspondence between the first terminal device and the second terminal device according to the contract information of the first terminal device and the contract information of the second terminal device; or the core network device obtains the first redundant identification information from the first terminal device and the second redundant identification information from the second terminal device, and determines the correspondence between the first terminal device and the second terminal device according to the first redundant identification information and the second redundant identification information. In this way, the core network device can obtain the correspondence between the two terminal devices.

[0071] In one possible design, the first redundant identification information includes at least one of the following information: a master station device identification, at least one slave station device identification, a slave station device list identification and a terminal device identification; the second redundant identification information includes at least one of the following information: a master station device identification, at least one slave station device identification, a slave station device list identification and a terminal device identification; wherein the terminal device identification includes the identification of the first terminal device and / or the identification of the second terminal device.

[0072] In a sixth aspect, an embodiment of the present application provides a communication device, which includes: a unit for executing each step in any of the above aspects. The communication device may be the access network device in the above first aspect, or a device including the above access network device; or, the communication device may be the terminal device in the above second aspect, or a device including the above terminal device; or, the communication device may be the first terminal device in the above third aspect, or a device including the above first terminal device; or, the communication device may be the second terminal device in the above fourth aspect, or a device including the above second terminal device; or, the communication device may be the core network device in the above fifth aspect, or a device including the above core network device.

[0073] In a seventh aspect, an embodiment of the present application provides a communication device, comprising a processor and an interface circuit, wherein the processor is used to communicate with other devices through the interface circuit and execute the communication method provided in any of the above aspects. The processor includes one or more. The communication device may be the access network device in the above-mentioned first aspect, or a device including the above-mentioned access network device; or, the communication device may be the terminal device in the above-mentioned second aspect, or a device including the above-mentioned terminal device; the communication device may be the first terminal device in the above-mentioned third aspect, or a device including the above-mentioned first terminal device; or, the communication device may be the second terminal device in the above-mentioned fourth aspect, or a device including the above-mentioned second terminal device; or, the communication device may be the core network device in the above-mentioned fifth aspect, or a device including the above-mentioned core network device.

[0074] In an eighth aspect, an embodiment of the present application provides a communication device, including a processor, which is connected to a memory and is used to call a program stored in the memory to execute the communication method provided in any aspect. The memory may be located inside the communication device or outside the communication device. And the processor includes one or more. The communication device may be the access network device in the first aspect above, or a device including the access network device; or, the communication device may be the terminal device in the second aspect above, or a device including the terminal device; or, the communication device may be the first terminal device in the third aspect above, or a device including the first terminal device; or, the communication device may be the second terminal device in the fourth aspect above, or a device including the second terminal device; or, the communication device may be the core network device in the fifth aspect above, or a device including the core network device.

[0075] In a ninth aspect, an embodiment of the present application provides a communication device, comprising at least one processor and at least one memory, wherein the at least one processor is used to execute the communication method provided in any one of the above aspects. The communication device may be the access network device in the above first aspect, or a device including the above access network device; or, the communication device may be the terminal device in the above second aspect, or a device including the above terminal device; or, the communication device may be the first terminal device in the above third aspect, or a device including the above first terminal device; or, the communication device may be the second terminal device in the above fourth aspect, or a device including the above second terminal device; or, the communication device may be the core network device in the above fifth aspect, or a device including the above core network device.

[0076] In a tenth aspect, an embodiment of the present application provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer can execute any of the communication methods in any of the above aspects.

[0077] In the eleventh aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the communication methods of any of the above aspects.

[0078] In a twelfth aspect, an embodiment of the present application provides a circuit system, the circuit system includes a processing circuit, and the processing circuit is configured to execute a communication method as described in any one of the above aspects.

[0079] In the thirteenth aspect, an embodiment of the present application provides a chip, the chip includes a processor, the processor and a memory are coupled, the memory stores program instructions, and when the program instructions stored in the memory are executed by the processor, the communication method of any one of the above aspects is implemented.

[0080] In a fourteenth aspect, an embodiment of the present application provides a communication system, which includes the access network equipment, the terminal device and the core network equipment in any aspect of the above-mentioned various aspects, or the communication system includes the access network equipment, the first terminal device, the second terminal device and the core network equipment in any aspect of the above-mentioned various aspects.

[0081] Among them, the technical effects brought about by any design method in the second aspect to the fourteenth aspect can refer to the technical effects brought about by different design methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] Figure 1 A schematic diagram of the structure of an industrial Ethernet provided for related technologies;

[0083] FIG. 2( a ) is a schematic diagram of another industrial Ethernet in a normal working state provided by the related art;

[0084] FIG2( b ) is a schematic diagram of another industrial Ethernet in a fault state provided by the related art;

[0085] Figure 3 A network architecture diagram provided for related technologies;

[0086] Figure 4 A user plane protocol stack provided for related technologies;

[0087] Figure 5 Another network architecture diagram provided for related technologies;

[0088] Figure 6 A flowchart of a dual connection establishment method provided for related technologies;

[0089] Figure 7 Another network architecture diagram provided for related technologies;

[0090] Figure 8 A schematic diagram of a wireless communication network provided in an embodiment of the present application applied to industrial Ethernet;

[0091] Fig. 9 A flow chart of a communication method provided in an embodiment of the present application;

[0092] Fig.10 A flowchart of another communication method provided in an embodiment of the present application;

[0093] Fig.11 A flowchart of another communication method provided in an embodiment of the present application;

[0094] Fig.12A flowchart of another communication method provided in an embodiment of the present application;

[0095] Fig.13 A schematic diagram of the structure of a media access control control unit provided in an embodiment of the present application;

[0096] Fig.14 A schematic diagram of the structure of another media access control control unit provided in an embodiment of the present application;

[0097] Fig.15 A schematic diagram of the structure of another media access control control unit provided in an embodiment of the present application;

[0098] Fig.16 A schematic diagram of the structure of another media access control control unit provided in an embodiment of the present application;

[0099] Fig.17 A schematic diagram of the structure of another media access control control unit provided in an embodiment of the present application;

[0100] Fig.18 A schematic diagram of the structure of another media access control control unit provided in an embodiment of the present application;

[0101] Fig.19 A schematic diagram of the structure of another media access control control unit provided in an embodiment of the present application;

[0102] Fig. 20 A schematic diagram of the structure of another media access control control unit provided in an embodiment of the present application;

[0103] Fig.21 A schematic diagram of the structure of another media access control control unit provided in an embodiment of the present application;

[0104] Fig. 22 A flowchart of another communication method provided in an embodiment of the present application;

[0105] Fig.23 A flowchart of another communication method provided in an embodiment of the present application;

[0106] Fig.24 A schematic diagram of another wireless communication network provided in an embodiment of the present application applied to industrial Ethernet;

[0107] Fig.25 A schematic diagram of the composition of a communication device provided in an embodiment of the present application;

[0108] Fig.26 A schematic diagram of the hardware structure of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0109] The terms "first" and "second" in the specification and drawings of the present application are used to distinguish different objects, or to distinguish different treatments of the same object, rather than to describe the specific order of objects. In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application 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 limited to the listed steps or units, but optionally also includes other steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific manner.

[0110] First, the technical terms involved in the embodiments of the present application are introduced:

[0111] Redundant transmission means that in addition to transmitting business data over the normal transmission path, it still supports transmitting the same business data through at least one redundant path to ensure the reliability requirements of business data transmission.

[0112] Taking the field of industrial Ethernet as an example, the communication system includes a master device and a slave device. The master device and the slave device are connected by wired connection. The number of slave devices is recorded as N, and N is a positive integer greater than or equal to 1. The slave devices are also connected by wired connection. The slave devices are all controlled by the master device. The master device and the slave device both include a transmitting unit and a receiving unit.

[0113] If the communication system of the industrial Ethernet does not adopt a redundant transmission mechanism, for example, a network card is installed on the master device, and the media access control (MAC) address of the network card can be recorded as MAC1, the master device uses a dedicated service channel to exchange data (or communicate) with the slave device through the network card.

[0114] When the communication system of industrial Ethernet does not use redundant transmission mechanism and works normally, the transmission of data packets is carried out through a dedicated service channel. When the data packet sent by the master device passes through each slave device, the slave device reads the data sent by the master device to the slave device, inserts the input data into the data packet, and forwards the data packet to the next slave device connected to the slave device. The last slave device in the network segment returns the processed data packet, which then passes through each slave device in turn and returns to the master device. For example, Figure 1 As shown in (a), inside the master station device, the transmission unit sends a data packet through the network card (the MAC address of the network card is MAC1), and the data packet passes through slave device 1, slave device 2, ..., slave device N-1, slave device N and other N slave devices in sequence, and then returns to slave device N, and then passes through the above N slave devices in sequence and returns to the network card of the master station device, and the network card sends the data packet to the receiving unit. Each of the N slave station devices includes two transmission units and two receiving units.

[0115] For slave device 1, a receiving unit receives a data packet from the master device, and slave device 1 can read data from the data packet received by the receiving unit, or insert input data into the data packet, and a sending unit sends the data packet to slave device 2. Another receiving unit of slave device 1 receives a data packet from slave device 2, and slave device 1 can read data from the data packet received by the receiving unit, or insert input data into the data packet, and another sending unit sends the data packet to the master device.

[0116] For slave device i, a receiving unit receives a data packet from slave device i-1, and slave device i can read data from the data packet received by the receiving unit, or insert input data into the data packet, and a sending unit sends the data packet to slave device i+1. Another receiving unit of slave device i receives a data packet from slave device i+1, and slave device i can read data from the data packet received by the receiving unit, or insert input data into the data packet, and another sending unit sends the data packet to slave device i-1. Wherein, i=2, 3, ..., N-1.

[0117] For slave device N, a receiving unit receives a data packet from slave device N-1, and slave device N can read data from the data packet received by the receiving unit, or insert input data into the data packet, and a sending unit transmits the data packet to another receiving unit of slave device N. After receiving the data packet, another receiving unit transmits the data packet to another sending unit, and the other sending unit sends the data packet to slave device i-1.

[0118] in, Figure 1 The solid line with arrows in (a) indicates the transmission process of data packets between various devices (such as master station devices and slave station devices, slave station devices and slave station devices). Figure 1 The dotted line in (a) indicates the transmission process of the data packet inside the master station device or the slave station device.

[0119] When the communication system of industrial Ethernet does not use a redundant transmission mechanism and the system fails, some slave devices cannot communicate normally with the master device, affecting the reliability of data transmission. Here, a failure in one or several slave devices among multiple slave devices, or a failure in the link connecting two adjacent slave devices, can cause a system failure. The dedicated service channel forms a self-loop at the failed link or slave device, transmitting data packets to the slave devices that are communicating normally, so that the data packets are returned to the master device. For example, Figure 1 As shown in (b), the link connecting slave device 2 and slave device 3 fails, and the dedicated service channel forms a self-loop at slave device 2. The data packet sent by the master device passes through slave device 1, slave device 2, and slave device 1 in sequence, and then returns to the master device. Figure 1 The solid line with arrows in (b) indicates the transmission process of data packets between devices. Figure 1 In (b), the dotted line indicates the transmission process of the data packet inside the master device or the slave device, and the lightning mark indicates that the link fails.

[0120] If the communication system of industrial Ethernet adopts a redundant transmission mechanism, for example, two network cards are installed on the master device, and the MAC addresses of the two network cards can be recorded as MAC1 and MAC2 respectively. The master device uses two dedicated service channels to exchange data with the slave device through the above two network cards. Among them, one dedicated service channel is from the sending end of the first network card (such as the network card with MAC address MAC1), through the slave device, to the receiving end of the second network card (such as the network card with MAC address MAC2), that is, the master device and the slave device can form a ring network topology. The other dedicated service channel is from the sending end of the second network card (such as the network card with MAC address MAC2), through the slave device, to the receiving end of the first network card (such as the network card with MAC address MAC1), that is, the master device and the slave device can form another ring network topology.

[0121] When the communication system of industrial Ethernet adopts a redundant transmission mechanism and works normally, the transmission of data packets is carried out through two dedicated service channels. As shown in Figure 2(a), in a dedicated service channel, inside the master device, the transmission unit sends a data packet through the first network card (the MAC address of the network card is MAC1), and the data packet is returned from the N slave devices such as slave device 1, slave device 2, ..., slave device N-1, slave device N, etc. to the second network card of the master device (the MAC address of the network card is MAC2). In the process of the data packet passing through each slave device, the slave device reads the data sent by the master device to the slave device, inserts the input data into the data packet, and forwards the data packet to the next slave device connected to the slave device. The last slave device in the network segment (i.e., slave device N) returns the processed data packet to the master device. In another dedicated service channel, inside the master device, the transmission unit sends a data packet through the second network card (the MAC address of the network card is MAC2), and the data packet is returned to the first network card (the MAC address of the network card is MAC1) of the master device from N slave devices, such as slave device N, slave device N-1, ..., slave device 2, slave device 1, etc. As the data packet passes through each slave device, the slave device reads the data sent by the master device to the slave device, inserts the input data into the data packet, and forwards the data packet to the next slave device connected to the slave device. The last slave device in the network segment (i.e., slave device 1) returns the processed data packet to the master device. Among them, the solid line with arrows in Figure 2(a) indicates the transmission process of the data packet between devices, and the dotted line indicates the transmission process of the data packet inside the master device or the slave device.

[0122] When the communication system of the industrial Ethernet adopts a redundant transmission mechanism and the system fails, for example, one or several slave devices among the multiple slave devices fail, or the link used to connect two adjacent slave devices fails, and the two dedicated service channels both form a self-loop at the failed link or slave device, and transmit data packets to the slave devices in normal communication, so that the data packets are returned to the master device. Exemplarily, as shown in FIG2(b), the link used to connect slave device 2 and slave device 3 fails, and slave device 3 also fails, as shown in the dotted box in FIG2(b). One dedicated service channel forms a self-loop at slave device 2, and the other dedicated service channel forms a self-loop at the normal slave device after the failed slave device. FIG2(b) takes "a self-loop at slave device N-1" as an example for explanation. The data packets sent by the master device from the first network card (the MAC address of the network card is MAC1) pass through slave device 1, slave device 2 and slave device 1 in sequence, and then return to the first network card of the master device. The data packets sent by the master device from the second network card (the MAC address of the network card is MAC2) pass through slave device N, slave device N-1 and slave device N in sequence, and then return to the second network card of the master device. In FIG2(b), the solid line with an arrow indicates the transmission process of the data packet between devices, the dotted line indicates the transmission process of the data packet within the slave device or the master device, the lightning mark indicates that the link is faulty, and the dotted box indicates the faulty slave device. Compared to Figure 1 In the scenario shown in (b), a communication system using a redundant transmission mechanism can reduce the impact of system failures and ensure that more slave devices can communicate normally with the master device.

[0123] However, the various devices in the communication system using redundant transmission mechanism are connected by wire, which is not conducive to network expansion and has the problem of difficult wiring. The redundant transmission mechanism of mobile communication technology does not support the transmission of industrial Ethernet data. Taking the fifth generation (5G) mobile communication technology as an example, Figure 3A 5G network architecture is shown. Under the 5G network architecture, the core network is divided into a control plane (CP) and a user plane (UP). The UP includes a user plane function (UPF) network element. The CP includes an access and mobility management function (AMF) network element, a session management function (SMF) network element, a policy control function (PCF) network element, a unified data management (UDM) network element, and a network exposure function (NEF) network element. The 5G network architecture may also include an application function (AF) network element. The SMF network element controls the UPF network element through the N4 interface. The AMF network element interacts with the (radio) access network ((R)AN) equipment and terminal devices through the N2 interface and the N1 interface respectively to complete functions such as registration, session establishment, and mobility management. The AN device interacts with the UPF network element through the N3 interface. The UPF network element exchanges information with the data network (DN) through the N6 interface.

[0124] The main functions of each network element are as follows:

[0125] The AMF network element has the functions of terminal device mobility management, registration management, connection management, legal interception, support for transmission of session management (SM) information between terminal devices and SMF network elements, access authentication and access authorization.

[0126] The SMF network element has functions such as session management and roaming. Among them, the session management function is such as session establishment, modification and release. The roaming function can include billing data collection and support for signaling transmission for authentication / authorization with an external data network (DN).

[0127] The PCF network element includes user subscription information management function, policy control function, charging policy control function, quality of service (QoS) control, etc.

[0128] The UPF network element is a functional network element of the user plane, which is mainly responsible for connecting to the external network and processing user messages, such as forwarding, billing, and legal interception. Optionally, it can also receive data.

[0129] The UDM network element has functions such as authentication certificate processing, user identification processing, access authorization, registration and mobility management, subscription management, and SMS management.

[0130] DN is a network that provides services to terminal devices, such as Internet access and text messaging.

[0131] The AF network element may specifically be an application server, which may be used to interact with the PCF network element and customize policies for applications.

[0132] The network functions that NEF network elements can provide include providing network element services, capabilities, application functions and edge computing to the outside world.

[0133] See also Figure 4 , Figure 4The user plane protocol stack of 5G mobile communication technology is shown. The protocol stack of the terminal device includes the application layer, the packet data unit (PDU) layer (PDU layer), and the access network protocol layer (access network protocol layers) from top to bottom. The protocol stack for communication between the AN device and the terminal device includes the access network protocol layer. The protocol stack for communication between the AN device and the UPF network element includes the 5G user plane encapsulation layer, the user datagram protocol (UDP) layer / internet protocol (IP) layer, the L2 layer, and the L1 layer from top to bottom. Relay means mapping the user plane message from the AN protocol stack (such as the packet data convergence protocol (PDCP) layer) to the 5G user plane protocol stack (such as the general packet radio service tunneling protocol-user plane (GTP-U) layer) in the uplink, and mapping the user plane message from the 5G user plane protocol stack (such as GTP-U) to the AN protocol stack (such as PDCP) in the downlink. The protocol stack for communication between the UPF network element and the AN device includes, from top to bottom, the 5G user plane encapsulation layer, UDP layer / IP layer, L2 layer, and L1 layer. The protocol stack for communication between the UPF network element and the UPF network element as the PDU session anchor point includes, from top to bottom, the 5G user plane encapsulation layer, UDP layer / IP layer, L2 layer, and L1 layer. Relay means mapping the user plane message from the N3 port 5G user plane protocol stack (such as GTP-U) to the N9 port 5G user plane protocol stack (such as GTP-U) in the uplink, and mapping the user plane message from the N9 port 5G user plane protocol stack (such as GTP-U) to the N3 port 5G user plane protocol stack (such as GTP-U) in the downlink. The protocol stack of the UPF network element as the PDU session anchor point includes, from top to bottom, the PDU layer, the 5G user plane encapsulation layer, the UDP layer / IP layer, the L2 layer, and the L1 layer.

[0134] Here, both the terminal device and the UPF network element as the PDU session anchor point have a PDU layer. The PDU layer can identify the Internet protocol (IP) / media access control (MAC) address, and then map the MAC address to the PDU session to transmit the data packet.

[0135] In order to ensure the reliability of ultra-reliable and low latency communication (URLLC) services, two protocol data unit (PDU) sessions are used to send data packets.

[0136] In one possible design, redundant PDU sessions are established based on dual connections. Figure 5 , Figure 5 A network architecture based on dual connectivity (DC) is shown. A terminal device can access the core network equipment (such as UPF 1 network element and UPF 2 network element) through two base stations. The base station is taken as a 5G base station (gNB) as an example. One base station serves as the master base station (master gNB, MgNB), and the other base station serves as the secondary base station (secondary gNB, SgNB). The main base station can perform control plane signaling interaction with the AMF network element, and can also perform user plane data interaction with the UPF network element. The main base station can decide whether to enable the secondary base station. The secondary base station does not perform control plane signaling interaction with the AMF network element, so the secondary base station is not connected to the AMF network element. The secondary base station can also perform user plane data interaction with the UPF2 network element. Figure 5 In the figure, the dotted line shows a path that can perform control plane signaling interaction, and the solid line shows a path that can perform user plane data interaction.

[0137] See also Figure 6 , Figure 6 The process of establishing a redundant PDU session based on dual connections is shown, which specifically includes the following steps:

[0138] Step 1: Establish PDU session 1.

[0139] Exemplarily, the terminal device sends a session establishment request message to the main base station. Accordingly, the main base station receives the session establishment request message from the terminal device. Afterwards, the main base station sends a session establishment request message to the AMF network element. After the AMF network element receives the session establishment request message from the main base station, the AMF network element sends a session establishment request message to the SMF1 network element. Accordingly, the SMF1 network element receives the session establishment request message from the AMF network element.

[0140] The SMF1 network element selects a UPF network element according to the session establishment request message. Exemplarily, the SMF1 network element may select a suitable UPF network element according to a data network name (DNN) or a session and service continuity mode (SSC). Here, the UPF network element selected by the SMF1 network element is recorded as the UPF1 network element.

[0141] The SMF1 network element sends a session establishment request message to the UPF1 network element. Accordingly, the UPF1 network element receives the session establishment request message from the SMF1 network element. After the UPF1 network element session is established, the UPF1 network element sends a session establishment response message to the SMF1 network element. The SMF1 network element receives a session establishment response message from the UPF1 network element. Among them, the session establishment response message may include the tunnel identifier on the UPF1 network element side and the address of the UPF1 network element, etc. SMF1 sends a session establishment response message to the AMF network element. Accordingly, the AMF network element receives the session establishment response message from the SMF1 network element. The AMF network element sends a session establishment response message to the main base station. The main base station sends a session establishment response message to the terminal device.

[0142] Step 2: Establish PDU session 2.

[0143] Exemplarily, the terminal device sends a session establishment request message to the main base station. Accordingly, the main base station receives the session establishment request message from the terminal device. Afterwards, the main base station sends a session establishment request message to the AMF network element. After the AMF network element receives the session establishment request message from the main base station, the AMF network element sends a session establishment request message to the SMF2 network element. Accordingly, the SMF2 network element receives the session establishment request message from the AMF network element.

[0144] The SMF2 network element selects a UPF network element according to the session establishment request message. The UPF network element selected by the SMF2 network element is recorded as the UPF2 network element. The SMF2 network element sends a session establishment request message to the UPF2 network element. Correspondingly, the UPF2 network element receives the session establishment request message from the SMF2 network element. After the UPF2 network element session is established, the UPF2 network element sends a session establishment response message to the SMF2 network element. The SMF2 network element receives a session establishment response message from the UPF2 network element. Among them, the session establishment response message may include the tunnel identifier on the UPF2 network element side and the address of the UPF2 network element, etc. The SMF2 network element sends a session establishment response message to the AMF network element. Correspondingly, the AMF network element receives the session establishment response message from the SMF2 network element. The AMF network element sends a session establishment response message to the main base station. The main base station sends a session establishment response message to the terminal device.

[0145] Step 3: Establish dual connections between access network devices.

[0146] The primary base station sends a secondary network addition request to the secondary base station. Correspondingly, after the secondary base station receives the secondary network addition request from the primary base station, the secondary base station sends a secondary network addition response ACK to the primary base station. The radio resource control (RRC) connection reconfiguration is performed between the secondary base station and the terminal device. In this way, a terminal device can access the core network device through two base stations to establish a redundant PDU session based on dual connections.

[0147] In the communication system of traditional industrial Ethernet, a redundant transmission mechanism is implemented through two wired links. When a wireless network is used to connect to the industrial Ethernet, if the above dual-connection redundancy mechanism is adopted, it is necessary to adapt the dual-connection network architecture, which limits the scenarios and makes the implementation complicated.

[0148] In another possible design, for a device that integrates multiple terminal devices, such as a mobile phone with dual subscriber identity modules (SIM), a reliability group (RG) is introduced. The terminal devices in different reliability groups are connected to different access network devices. For a device that integrates multiple terminal devices, it transmits data through different access network devices to reduce the error rate of data transmission. For example, see Figure 7 , two terminal devices are integrated in one device, namely terminal device 1 and terminal device 2. Among them, the reliable group where terminal device 1 is located is recorded as reliable group A, and the reliable group where terminal device 2 is located is recorded as reliable group B. Terminal device 1 interacts with the data network (DN) through gNB1 and UPF1 network elements, and terminal device 2 interacts with DN through gNB2 and UPF2 network elements. The AMF1 network element is connected to the gNB1 through the N2 interface, and the SMF1 network element is connected to the UPF1 network element through the N4 interface. The AMF2 network element is connected to the gNB2 through the N2 interface, and the SMF2 network element is connected to the UPF2 network element through the N4 interface.

[0149] In the system architecture that introduces reliable groups, different terminal devices correspond to different core network devices and access network devices. However, in the industrial Ethernet communication system, it is not required that the terminal devices have a one-to-one correspondence with the core network devices and access network devices. In addition, in the system architecture that introduces reliable groups, the access network devices all transmit information to their corresponding terminal devices, which results in high transmission resource overhead.

[0150] In view of this, refer to Figure 8 , which is a schematic diagram of a wireless communication network provided by an embodiment of the present application applied to industrial Ethernet. Figure 8 As shown, the terminal device 30 is connected to the wireless communication network through a wireless interface (such as an air interface) to communicate with other devices, such as a master station device, through the wireless communication network. The wireless communication network includes a (wireless) access network device 20 and a core network device 10. Among them, the access network device 20 is used to access the terminal device 30 to the wireless communication network, and the core network device 10 is used to manage the terminal device 30 and provide a gateway for communication with other devices. The terminal device 30 can be a device with a wireless communication function, which can be connected to the slave device in the above industrial Ethernet through an adapter to receive data sent by the master station device to the slave device through the wireless communication network and send it to the slave device, or send data sent by the slave device to the master device to the master device through the wireless communication network. The terminal device 30 can be integrated with one of the multiple slave devices on a physical entity, for example, a component with a wireless communication function (such as a chip) can be integrated in the slave device, and at this time, the slave device is integrated with a wireless communication function and a function of executing operations according to instructions.

[0151] In the above industrial Ethernet, a wireless communication network is used to replace the wired connection between the master station device and the slave station device, and the master station device is connected to the core network device 10 in the wireless communication network. Figure 8 The number of terminal devices is two, and the first terminal device and the second terminal device can be integrated into one device (specifically, Figure 8 The first terminal device is connected to a slave device (such as slave device 1) among the multiple slave devices. The slave devices are still connected by wire. The second terminal device is connected to another slave device (such as slave device 4) among the multiple slave devices. The access network device 20 forms a ring network topology with the slave devices through two terminal devices 30, as shown in FIG. Figure 8 In addition, the number of the slave station device may also be one, that is, the first terminal device and the second terminal device are both connected to the slave station device.

[0152] The terminal device 30 is also called a terminal or user equipment (UE), which is a device with a wireless communication function and can be connected to a slave device, and is referred to as a terminal device in the following embodiments. The terminal device 30 can be set independently, or the terminal device 30 can be integrated with the slave device. In this case, the terminal device 30 can refer to a device integrated with a wireless communication function in a physical entity that integrates the terminal device 30 and the slave device, such as a chip or a system on a chip. The terminal device 30 may include a wireless terminal in industrial control, or a terminal with similar requirements in other control systems, such as a wireless terminal in self driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, or a wireless terminal in a smart home.

[0153] The access network device 20 is a device in a wireless communication network, such as a radio access network (RAN) node that connects the terminal device 30 to the wireless communication network. At present, some examples of RAN nodes are: gNB, transmission reception point (TRP), evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home evolved NodeB, or home Node B, HNB), base band unit (BBU), or wireless fidelity (Wifi) access point (AP), etc.

[0154] In a network structure, the access network device 20 may include a centralized unit (CU) node, or a distributed unit (DU) node, or include a CU node and a DU node. Optionally, the control plane (CP) and the user plane (UP) of the CU node may be separated and implemented in different entities, namely, a control plane CU entity (CU-CP entity) and a user plane CU entity (CU-UP entity). In a network architecture, the access network device 20 includes a baseband device and a radio frequency device. Among them, the baseband device may be implemented by one node or by multiple nodes. The radio frequency device may be implemented independently by the baseband device, such as a remote radio unit (RRU) arranged remotely relative to the BBU, or may be integrated in the baseband device, or partially remotely integrated in the baseband device.

[0155] The communication between the access network device 20 and the terminal device 30 follows a certain protocol layer structure. For example, the control plane protocol layer structure may include the functions of the radio resource control (RRC) layer, the packet data convergence protocol (PDCP) layer, the radio link control (RLC) layer, the media access control (MAC) layer, and the physical layer. The user plane protocol layer structure may include the functions of the PDCP layer, the RLC layer, the MAC layer, and the physical layer; in one implementation, the service data adaptation protocol (SDAP) layer may also be included above the PDCP layer. The functions of these protocol layers may be implemented by one node, or may be implemented by multiple nodes.

[0156] For example, in the case where the access network device 20 includes a CU node and a DU node, multiple DU nodes can be centrally controlled by one CU node. The CU node and the DU node can be divided according to the protocol layer of the wireless network, for example, the functions of the PDCP layer and the protocol layers above are set in the CU node, and the functions of the protocol layers below the PDCP layer, such as the RLC layer and the MAC layer, are set in the DU node. This division of the protocol layer is only an example, and it can also be divided in other protocol layers, such as dividing in the RLC layer, setting the functions of the RLC layer and the protocol layers above the RLC layer in the CU node, and the functions of the protocol layers below the RLC layer in the DU node; or, dividing in a certain protocol layer, for example, setting some functions of the RLC layer and the functions of the protocol layers above the RLC layer in the CU node, and setting the remaining functions of the RLC layer and the functions of the protocol layers below the RLC layer in the DU node. In addition, it can also be divided in other ways, such as dividing by delay, setting the functions whose processing time needs to meet the delay requirements in the DU node, and setting the functions that do not need to meet the delay requirements in the CU node.

[0157] In the above network architecture, the signaling generated by the CU node can be sent to the terminal device 30 through the DU node, or the signaling generated by the terminal device 30 can be sent to the CU node through the DU node. The DU node may not parse the signaling but directly encapsulate it through the protocol layer and transparently transmit it to the terminal device 30 or the CU node. In the following embodiments, if the transmission of such signaling between the DU node and the terminal device 30 is involved, at this time, the sending or receiving of the signaling by the DU node includes this scenario. For example, the signaling of the RRC layer or the PDCP layer is ultimately processed into the signaling of the PHY layer and sent to the terminal device 30, or it is converted from the received signaling of the PHY layer. Under this architecture, the signaling of the RRC layer or the PDCP layer can also be considered to be sent by the DU node, or, sent by the DU node and the radio frequency.

[0158] The devices in the following embodiments of the present application may be located in different devices according to the functions they implement.

[0159] After the introduction of wireless networks into industrial Ethernet, data between master devices and slave devices is transmitted through wireless communication networks. Considering the high requirements of industrial Ethernet for data transmission reliability, the present application embodiment proposes a communication method that is more suitable for the requirements of industrial Ethernet and makes data transmission more reliable.

[0160] The communication system and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. It is known to those skilled in the art that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0161] The communication method provided in the embodiments of the present application is described in detail below.

[0162] It should be noted that the message names between the network elements or the names of the parameters in the messages in the following embodiments of the present application are only examples, and other names may be used in the specific implementation. They are uniformly described here and will not be repeated below.

[0163] The present application embodiment provides a communication method, which is applied in the process of industrial Ethernet data transmission. Fig. 9 , the communication method comprises the following steps:

[0164] S901. A first access network device obtains a correspondence relationship between a first terminal device and a second terminal device.

[0165] The first terminal device and the second terminal device are two terminal devices in the same ring network topology structure, and the two terminal devices can transmit data for the same slave device group, and the slave device group includes at least one slave device. Figure 8 , the slave station device group includes slave station devices 1-4, and the first terminal device and the second terminal device transmit data for the slave station device group, thereby forming two redundant (or backup) transmission paths. In the first path, the data packet from the master station device reaches the slave station device 1 through the first terminal device, reaches the slave station device 4 through the slave station device 2 and the slave station device 3, and returns to the master station device through the second terminal device; in the second path, the data packet from the master station device reaches the slave station device 4 through the second terminal device, reaches the slave station device 1 through the slave station device 3 and the slave station device 2, and returns to the master station device through the first terminal device. Among them, when the data packet passes through each slave station device, the content of the data packet can change, and each slave station device reads its own data and / or writes its own data. When the slave station device group includes only one slave station device, the first terminal device and the second terminal device are connected to the same slave station device.

[0166] The corresponding relationship between the first terminal device and the second terminal device is used to indicate that the first terminal device and the second terminal device are mutually redundant. In other words, the first terminal device and the second terminal device provide a wireless interface to the slave device for the same master device; in other words, the first terminal device and the second terminal device provide a wireless network interface for the same slave device group; in other words, the first terminal device and the second terminal device provide a wireless interface for the same industrial network area. The data packet sent by the master device to the slave device group can be transmitted to the slave device group via the first terminal device, and the slave devices in the slave device group read the data sent by the master device to themselves from the data packet, and write the data sent to the master device into the data packet, and then transmit it to the wireless network via the second terminal device, and return it to the master device through the wireless network; similarly, the data packet sent by the master device to the slave device group can be transmitted to the slave device group via the second terminal device, and the slave devices in the slave device group read the data sent by the master device to themselves from the data packet, and write the data sent to the master device into the data packet, and then transmit it to the wireless network via the first terminal device, and return it to the master device through the wireless network.

[0167] The data packet is, for example, an Ethernet frame, which includes data sent from the master device to at least one slave device. When passing through each slave device, the slave device reads its own data from it and writes the data sent to the master device into the Ethernet frame. The Ethernet frame is transmitted to the wireless network through the terminal device and finally returned to the master device. When the Ethernet frame is sent from the master device and returned to the master device, although it is the same Ethernet frame, the data inside is different.

[0168] S902: The first access network device obtains a data packet.

[0169] Among them, the data packet is obtained by the first access network device from the core network device (such as UPF), and is a data packet exchanged between the master station device and the slave station device. Here, the data packet exchanged between the master station device and the slave station device follows the industrial Ethernet protocol, such as EtherNet / IP, PROFINET, EtherCAT, Powerlink or Modbus-TCP, etc. "Interaction" in the embodiment of the present application can be replaced by "transmission". For data packets from the master station device to the slave station device, the interaction refers to the transmission from the master station device to the slave station device; for data packets from the slave station device to the master station device, the interaction refers to the transmission from the slave station device to the master station device.

[0170] Optionally, the data packet includes type indication information. The type indication information is used to indicate the type of the data packet, such as an Ethernet data packet or a wireless network data packet. Among them, the Ethernet data packet is the data transmitted between the master station device and the slave station device, which is encapsulated as a data packet that meets the wireless network transmission protocol and is transmitted in the wireless network. The type indication information is used to distinguish it from the traditional wireless network data packet. The wireless network data packet refers to the data packet exchanged between the terminal device and the access network device.

[0171] Specifically, the type indication information may be, for example but not limited to, the following two examples:

[0172] Example 1: The type indication information is the indication information of the industrial Ethernet protocol followed by the data packet. For example, the index (index) is configured in advance for the industrial Ethernet protocol, such as the indexes of the industrial Ethernet protocols EtherNet / IP, PROFINET, EtherCAT, Powerlink and Modbus-TCP are 1, 2, 3, 4, 5 respectively; or the indexes may be performed out of sequence, such as 1, 2, 3, 5, 6. In this case, the type indication information includes the index of the industrial Ethernet protocol, so that the type indication information can indicate that the data packet is the data of the interaction between the master station device and the slave station device, and can also indicate the type of the industrial Ethernet protocol followed by the data packet.

[0173] Example 2: The type indication information is the indication information of the service quality of the data packet. Exemplarily, the type indication information is a parameter used to identify the transmission characteristics of the data packet, such as a quality of service class identifier (QCI). Here, the QCI corresponding to the industrial Ethernet protocol is different from the QCI corresponding to other protocols (such as the protocol of the wireless communication network).

[0174] Specifically, the type indication information occupies a preset number of bits, where the value of the preset number is any positive integer, such as 2, 3, 4, 5, 6, 7, etc.

[0175] Specifically, the type indication information is carried in different types of messages, and may be, for example but not limited to, the following two examples:

[0176] Example 1: Type indication information is carried in a MAC subheader, and the MAC subheader includes a bit and an LCID. The bit is used to indicate that the data packet is data transmitted between the master device and the slave device, and the bit can be a reserved bit R. Alternatively, the LCID is a preset value, and the preset value is used to indicate that the data packet is data transmitted between the master device and the slave device. The preset value can be any positive integer in the interval from 33 to 51.

[0177] Example 2: Type indication information is carried in MAC SDU. Exemplarily, the type indication information is a sequence number in the MAC SDU, and the sequence number is a preset value, which is used to indicate that the data packet is data transmitted between the master station device and the slave station device. Alternatively, the MAC SDU includes other indication information with the same function.

[0178] In this way, after the terminal device receives the data packet, if the data packet carries type indication information, the terminal device can know that the data packet is data transmitted between the master station device and the slave station device, and then send the data packet to the slave station device; if the data packet does not carry type indication information, the terminal device can know that the data packet is data sent to itself by the first access network device, and there is no need to send the data packet to the slave station device.

[0179] When the terminal device is dedicated to the interface between the industrial Ethernet and the wireless network, the type indication information may not exist. Alternatively, a dedicated terminal device identifier may be allocated to the terminal device used for the industrial Ethernet, and the information for scheduling data packet transmission is scrambled by the terminal device identifier, so that ordinary terminal devices in the wireless network can be distinguished. In this case, the type indication information may not exist.

[0180] S903: The first access network device sends a data packet to the first terminal device and the second terminal device according to the corresponding relationship. Correspondingly, the first terminal device and the second terminal device receive the data packet from the first access network device. The first access network device sends the same data packet to the first terminal device and the second terminal device.

[0181] The corresponding relationship is the above-mentioned “corresponding relationship between the first terminal device and the second terminal device”.

[0182] For the first terminal device, after the first terminal device receives the data packet, if the data packet does not include type indication information, that is, the data packet is a data packet exchanged between the first access network device and the first terminal device, the first terminal device does not need to forward the data packet to the slave device. If the data packet includes type indication information, that is, the data packet is a data packet exchanged between the master device and the slave device, the first terminal device forwards the data packet to the slave device. In this case, the data packet sent by the first access network device to the first terminal device is transmitted via the second path. The second path is from the first terminal device to the second terminal device via the at least one slave device mentioned above.

[0183] For the second terminal device, after the second terminal device receives the data packet, if the data packet does not include type indication information, that is, the data packet is a data packet exchanged between the first access network device and the second terminal device, the second terminal device does not need to forward the data packet to the slave device. If the data packet includes type indication information, that is, the data packet is a data packet exchanged between the master device and the slave device, the second terminal device forwards the data packet to the slave device. In this case, the data packet sent by the first access network device to the second terminal device is transmitted via the first path. The first path is from the second terminal device to the first terminal device via at least one slave device.

[0184] When the data packet passes through each slave station device, each slave station device can read the data sent by the master station device to itself, and write the data sent to the master station device into the data packet. The data sent by the slave station device to the master station device can be: an acknowledgement (ACK) or a negative acknowledgement (NACK) fed back by the slave station device to the data packet sent by the master station device, or it can be: data newly generated by the slave station device. Since the data packets sent by the first access network device to the two terminal devices are the same, and the same data packets are processed by the same slave station device, the data packets returned by the two terminal devices to the first access network device are the same, thus realizing redundant transmission of data, improving the reliability of data transmission, and realizing the data redundant transmission mechanism using the wireless network through the two terminal devices.

[0185] It should be noted that in the embodiment of the present application, there is no limitation on the order of execution of S901 and S902, that is, the first access network device may execute S901 first and then S902, or may execute S902 first and then S901, or may execute S901 and S902 at the same time.

[0186] Optionally, the specific implementation process of S901 may be, for example but not limited to, the following three methods:

[0187] Method 1: The first access network device obtains “the correspondence relationship between the first terminal device and the second terminal device” from the terminal device.

[0188] In an industrial network, a terminal device that serves the same slave device group can be pre-set, so that the identifier of the second terminal device can be stored in the first terminal device in advance, and / or the identifier of the first terminal device can be stored in the second terminal device, and then the first terminal device and / or the second terminal device sends the correspondence between the first terminal device and the second terminal device to the first access network device. For example, the first terminal device or the second terminal device sends the correspondence between the first terminal device and the second terminal device (such as the identifier of the first terminal device and the identifier of the second terminal device) to the first access network device. Taking the first terminal device as an example, the first terminal device sends the identifier of the first terminal device and the identifier of the second terminal device to the first access network device; or the first terminal device sends the identifier of the second terminal device to the first access network device, and the message carrying the identifier of the second terminal device is scrambled by the identifier of the first terminal device. This embodiment is not limited to this, as long as the first access network device can be informed of the correspondence between the first terminal device and the second terminal device.

[0189] For another example, the first terminal device sends the identifier of the second terminal device to the first access network device, and the second terminal device sends the identifier of the first terminal device to the first access network device. In this way, the first access network device can obtain the corresponding relationship between the two terminal devices.

[0190] The terminal device identifier may be, for example but not limited to: a cell-radio network temporary identifier (C-RNTI), an international mobile subscriber identity (IMSI), a globally unique temporary identifier (GUTI), an identifier of a subscriber identity module (SIM), address information identifying the terminal device (such as an Internet protocol (IP) address, a media access control (MAC) address), a system architecture evolved-temporary mobile subscriber identity (SAE-TMSI) allocated by a core network device to the terminal device, etc. Here, SAE-TMSI may be referred to as S-TMSI. The temporary identifier (such as C-RNTI, GUTI, S-TMSI) allocated by the network side to the terminal device is not stored in the terminal device in advance, but can be used to scramble messages sent by the terminal device to the access network device, or used as an identifier reported by the terminal device after the terminal device accesses the network.

[0191] In this way, when the first terminal device and / or the second terminal device obtains the correspondence between the above two terminal devices, the first access network device can obtain the correspondence between the above two terminal devices from the first terminal device and / or the second terminal device.

[0192] Method 2: The first access network device obtains redundant identification information from the terminal device, and then determines the "corresponding relationship between the first terminal device and the second terminal device". For example, see Fig.10 , the specific implementation process of S901 includes S9011, S9012 and S9013:

[0193] S9011. The first terminal device sends first redundant identification information to the first access network device. Correspondingly, the first access network device receives the first redundant identification information from the first terminal device.

[0194] Wherein, the first redundant identification information includes at least one of the following information: a master station device identification, at least one slave station device identification, a slave station device list identification and a terminal device identification. Exemplarily, the master station device identification may include the MAC address of the master station device. At least one slave station device identification includes an identification of a slave station device (such as a slave station device connected to the first terminal device, or a slave station device connected to the second terminal device), or includes identifications of multiple slave station devices (such as a slave station device located between the first terminal device and the second terminal device in a ring network topology). Here, the slave station device list includes at least one slave station device (or an identification of a slave station device). The identification of the slave station device list is described as a slave station device list identification. For example, if the first redundant identification information includes a terminal device identification, the first redundant identification information may include identifications of two terminal devices (i.e., the first terminal device and the second terminal device mentioned above). Alternatively, the first redundant identification information may include an identification of a terminal device (such as the first terminal device or the second terminal device) and a master station device identification, or include an identification of a terminal device (such as the first terminal device or the second terminal device) and at least one slave station device identification, or include an identification of a terminal device (such as the first terminal device or the second terminal device) and a slave station device list identification.

[0195] S9012: The second terminal device sends second redundant identification information to the first access network device. Correspondingly, the first access network device receives the second redundant identification information from the second terminal device.

[0196] The second redundant identification information includes at least one of the following information: a master station device identification, at least one slave station device identification, a slave station device list identification and a terminal device identification. The terminal device identification includes an identification of a first terminal device and / or an identification of a second terminal device. Here, the slave station device list includes an identification of at least one slave station device. The identification of the slave station device list is described as a slave station device list identification.

[0197] For example, if the second redundant identification information includes a terminal device identification, the second redundant identification information may include identifications of two terminal devices (i.e., the first terminal device and the second terminal device mentioned above). The second redundant identification information may also include an identification of a terminal device (such as the first terminal device or the second terminal device) and a master device identification, or include an identification of a terminal device (such as the first terminal device or the second terminal device) and at least one slave device identification, or include an identification of a terminal device (such as the first terminal device or the second terminal device) and a slave device list identification.

[0198] The first redundant identification information may be carried in an RRC message or a MAC control element (CE). The second redundant identification information may also be carried in an RRC message or a MAC control element (CE).

[0199] It should be noted that in the embodiment of the present application, there is no limitation on the order of execution of S9011 and S9012. That is to say, the first access network device may execute S9011 first and then S9012, or may execute S9012 first and then S9011, or may execute S9011 and S9012 at the same time.

[0200] S9013. The first access network device determines a correspondence between the first terminal device and the second terminal device according to the first redundant identification information and the second redundant identification information.

[0201] Among them, the first redundant identifier and the second redundant identifier can carry identification information that identifies the industrial network area. When the first redundant identifier and the second redundant identifier carry identification information that characterizes the same industrial network area, the first terminal device and the second terminal device have a corresponding relationship. The identification information of the industrial network area may include, for example, the identification of the master station device, the identification of the slave station device, or the identification of the slave station device list. Of course, multiple of the above identifiers can also be selected to identify the industrial network area, and this application does not impose any restrictions. Optionally, the identification of the terminal device can also be used to identify the industrial network area.

[0202] Exemplarily, if the first redundant identification information and the second redundant identification information include the same master station device identifier, or include the same slave station device identifier, or include the same slave station device list identifier, or include the same terminal device identifier, the first access network device determines that the first terminal device and the second terminal device are in a redundant relationship with each other, that is, a corresponding relationship between the first terminal device and the second terminal device.

[0203] At this time, the first access network device can determine the first terminal device and the second terminal device according to the source of the first redundant identification information and the second redundant identification information, for example, the message carrying the first redundant identification information and the second redundant identification information is scrambled by the identification of the first terminal device and the identification of the second terminal device. Optionally, the first redundant identification information and the second redundant identification information may also include the identification of the terminal device, so that the first access network device can determine the corresponding relationship according to the identification of the terminal device in the first redundant identification information and the second redundant identification information. For example, the first redundant identification information includes the identification of the first terminal device (or the identification of the second terminal device), the second redundant identification information includes the identification of the second terminal device (or the identification of the first terminal device), and the first redundant identification and the second redundant identification carry identification information representing the same industrial network area, and the first access network device determines that the first terminal device and the second terminal device represented by the identification of the first terminal device and the identification of the second terminal device have a corresponding relationship.

[0204] In addition, if the first redundant identification information includes an identifier of a terminal device and a master station device identifier, and the second redundant identification information includes an identifier of a terminal device and at least one slave station device identifier, the first access network device determines the correspondence between the first terminal device and the second terminal device based on the subordinate relationship between the master station device identifier and the slave station device identifier.

[0205] The first redundant identifier and the second redundant identifier may carry the identifier of the terminal device, the first redundant identifier carries the identifier of the second terminal device, and the second redundant identifier carries the identifier of the first terminal device. Then, the first access network device determines that the first terminal device and the second terminal device have a corresponding relationship according to the identifier of the second terminal device and the identifier of the first terminal device.

[0206] In this way, after the first access network device receives the redundant identification information from the two terminal devices, the first access network device determines the corresponding relationship between the two terminal devices based on the redundant identification information from the two terminal devices.

[0207] Method 3: The first access network device obtains the "correspondence between the first terminal device and the second terminal device" from the core network device (such as UPF). Fig.11 , that is, the specific implementation process of S901 includes S9014:

[0208] S9014: The core network device sends relationship indication information to the first access network device. Correspondingly, the first access network device receives the relationship indication information from the core network device.

[0209] The relationship indication information is used to indicate the corresponding relationship between the first terminal device and the second terminal device.

[0210] For the core network device, before executing S9014, the core network device determines the corresponding relationship between the first terminal device and the second terminal device. The core network device determines the corresponding relationship between the first terminal device and the second terminal device in, for example but not limited to, the following manner.

[0211] Method 1: The core network device determines the corresponding relationship between the first terminal device and the second terminal device according to the contract information of the first terminal device and the contract information of the second terminal device. The contract information of the first terminal device and the contract information of the second terminal device are pre-acquired. Exemplarily, the UPF acquires the contract information of the first terminal device and the contract information of the second terminal device from the UDR, and then determines the corresponding relationship between the first terminal device and the second terminal device.

[0212] Method 2: The core network device obtains the first redundant identification information and the second redundant identification information from the first access network device, and determines the corresponding relationship between the first terminal device and the second terminal device according to the first redundant identification information and the second redundant identification information. Fig.11 , the core network equipment executes S9015 and S9016:

[0213] S9015: The first access network device sends the first redundant identification information and the second redundant identification information to the core network device. Correspondingly, the core network device receives the first redundant identification information and the second redundant identification information from the first access network device.

[0214] Here, for the first access network device, after the first access network device executes S9011 and S9012, S9015 is executed. If the first access network device forwards the first redundant identification information and the second redundant identification information without parsing the first redundant identification information and the second redundant identification information, the first redundant identification information and the second redundant identification information are both carried in a non-access stratum (NAS) message, such as but not limited to an attach request message or a register request message.

[0215] S9016. The core network device determines a correspondence between the first terminal device and the second terminal device according to the first redundant identification information and the second redundant identification information.

[0216] Exemplarily, if the first redundant identification information and the second redundant identification information include the same master station device identification, or include the same slave station device identification, or include the same slave station device list identification, or include the same terminal device identification, the core network device determines that the first terminal device and the second terminal device are mutually redundant, that is, the corresponding relationship between the first terminal device and the second terminal device. In addition, if the first redundant identification information includes an identification of a terminal device and a master station device identification, and the second redundant identification information includes an identification of a terminal device and at least one slave station device identification, the core network device determines the corresponding relationship between the first terminal device and the second terminal device based on the subordinate relationship between the master station device identification and the slave station device identification.

[0217] In this way, the core network device can determine the correspondence between the two terminal devices, so as to indicate the correspondence between the two terminal devices to the first access network device.

[0218] After the first access network device executes S903, the data packet is transmitted between the slave devices. Fig.12 , for the second terminal device, after receiving the data packet from the first access network device, the second terminal device sends a data packet to the first (or last) slave device among the multiple slave devices. When passing through each slave device, each slave device can read the data sent to itself by the master device, and write the data sent to the master device into the data packet. Among them, the data sent by the slave device to the master device can be: an acknowledgement (ACK) or a negative acknowledgement (NACK) fed back by the slave device to the data packet sent by the master device, or it can be: data newly generated by the slave device. After the data packet passes through each slave device, it is transmitted to the first terminal device by the last (or first) slave device among the multiple slave devices. In the present application, in the scenario where the first access network device sends a data packet to two terminal devices, the data transmitted along the first path (from the second terminal device through the slave device to the first terminal device) is described as "first data".

[0219] See also Fig.12, for the first terminal device, after receiving the data packet from the first access network device, the first terminal device sends the data packet to the last (or first) slave station device among the multiple slave station devices. When passing through each slave station device, each slave station device can read the data sent to itself by the master station device, and write the data sent to the master station device into the data packet. After the data packet passes through each slave station device, it is transmitted to the second terminal device by the first (or last) slave station device among the multiple slave station devices. In the present application, in the scenario where the first access network device sends a data packet to two terminal devices, the data transmitted along the second path (from the first terminal device through the slave station device to the second terminal device) is described as "second data".

[0220] Here, the first path and the second path are mutually redundant, and after the same data packet is transmitted through the first path and the second path, the first data and the second data obtained are also the same. In this way, the same data packet is transmitted through the mutually redundant paths to ensure the reliability of data transmission.

[0221] It should be noted that the number of transmission paths that are mutually redundant may be three paths, four paths or more. In the embodiment of the present application, only two paths that are mutually redundant are used as an example for description.

[0222] Optionally, in order to facilitate the distinction between different redundant paths, different redundant sequence numbers (RSN) are used to identify different redundant paths. The number of bits used by the RSN can be a positive integer greater than or equal to 1, and is related to the number of transmission paths that are mutually redundant. For example, if the number of mutually redundant paths is 2, the number of bits of the RSN can be 1; if the number of mutually redundant paths is 3, the number of bits of the RSN can be 2. In order to facilitate the first access network device to distinguish different redundant paths, the terminal device transmits the RSN to the first access network device, and the following steps 1 and 2 can be performed:

[0223] Step 1: The first terminal device sends a first RSN to the first access network device. Correspondingly, the first access network device receives the first RSN from the first terminal device.

[0224] Among them, the first RSN identifies the serial number of a redundant path. For example, the value of the first RSN can be 1, to indicate that the redundant path corresponding to the first terminal device is the first redundant path serving the main station device. The value of the first RSN can also be 2, to indicate that the redundant path corresponding to the first terminal device is the second redundant path serving the main station device. The first RSN can be information pre-stored by the first terminal device. The redundant path identified by the first RSN corresponds to the first terminal device. That is, the first access network device sends a data packet to the first terminal so that the data packet is transmitted along the redundant path identified by the first RSN.

[0225] Step 2: The second terminal device sends the second RSN to the first access network device. Correspondingly, the first access network device receives the second RSN from the second terminal device.

[0226] Among them, the second RSN identifies the serial number of another redundant path. For example, when the value of the first RSN is 1, the value of the second RSN can be 2, to indicate that the redundant path corresponding to the second terminal device is the second redundant path serving the main station device; when the value of the first RSN is 2, the value of the second RSN can be 1, to indicate that the redundant path corresponding to the second terminal device is the first redundant path serving the main station device. In this way, the first access network device can distinguish different redundant paths. The second RSN can also be information pre-stored by the second terminal device. The redundant path identified by the second RSN corresponds to the second terminal device. That is to say, the first access network device sends a data packet to the second terminal so that the data packet is transmitted along the redundant path identified by the second RSN.

[0227] In this way, the first access network device can distinguish different redundant paths according to the first RSN and the second RSN. In the process of using different redundant paths to transmit data packets, the first access network device can send corresponding data packets to the terminal device corresponding to a redundant path so that the data packets are transmitted through the corresponding redundant path.

[0228] It should be noted that the first RSN can be carried in the first redundant identification information or in other information, so that the first access network device can obtain the corresponding relationship between the redundant path identified by the first RSN and the first terminal device. Similarly, the second RSN can be carried in the second redundant identification information or in other information, so that the first access network device can obtain the corresponding relationship between the redundant path identified by the second RSN and the second terminal device.

[0229] In addition, the redundant paths identified by different RSNs are different. The "first path" and "second path" described in the embodiments of the present application are two different transmission paths, and are redundant to each other. The first path can be a redundant path with an RSN value of 1, or a redundant path with an RSN value of 2. In the case where the first path is a redundant path with an RSN value of 1, the second path can be a redundant path with an RSN value of 2. In the case where the first path is a redundant path with an RSN value of 2, the second path can be a redundant path with an RSN value of 1.

[0230] Optionally, the terminal device may have multiple logical channels (logical channels, LCHs), and the terminal device specifies one or several logical channels to be used exclusively for transmitting data packets exchanged between the master device and the slave device. In order to facilitate the first access network device to know which logical channel of the terminal device the received data packet is transmitted through, the following steps 3 and 4 may be performed:

[0231] Step 3: The first terminal device sends the identifier of the first logical channel to the first access network device. Correspondingly, the first access network device receives the identifier of the first logical channel from the first terminal device.

[0232] The first logical channel is used to transmit data packets exchanged between the master station device and the slave station device. In this way, the first access network device can know which logical channel the first terminal device uses to transmit the data packet.

[0233] Step 4: The second terminal device sends the identifier of the second logical channel to the first access network device. Correspondingly, the first access network device receives the identifier of the second logical channel from the second terminal device.

[0234] The second logical channel is used to transmit data packets exchanged between the master station device and the slave station device. In this way, the first access network device can know which logical channel the second terminal device uses to transmit data packets.

[0235] It should be noted that the identifier of the first logical channel can be carried in the first redundant identifier information or in other information. Similarly, the identifier of the second logical channel can be carried in the second redundant identifier information or in other information.

[0236] Optionally, in order to save air interface resources, after S903, if the first access network device receives a data packet returned from one of the paths, the first access network device stops the transmission of the other path. That is, the first access network device instructs the terminal device on the other path to stop transmitting the returned data packet to the first access network. Specifically, the first access network device stops scheduling uplink resources for receiving the returned data packet, and may also include stopping scheduling retransmission resources for retransmitting the returned data packet. That is, after the first access network device executes S903, it executes S904 and S905. If the first access network device does not receive a data packet returned from a certain path within the preset time, the first access network device waits to receive the data packet returned from another path, and the first access network device does not execute S905. Among them, refer to Fig.12 , the descriptions of S904 and S905 are as follows:

[0237] S904: The first terminal device sends first data to the first access network device. Correspondingly, the first access network device receives the first data from the first terminal device.

[0238] The first data is data transmitted along a first path from the second terminal device to the first terminal device via the slave station device.

[0239] S905: The first access network device sends transmission indication information to the second terminal apparatus. Correspondingly, the second terminal apparatus receives the transmission indication information from the first access network device.

[0240] The transmission indication information is used to instruct the second terminal device to stop transmitting the second data to the first access network device. The second data is data transmitted along the second path. The second path is from the first terminal device to the second terminal device via the slave station device.

[0241] Among them, the transmission indication information is carried in a medium access control (MAC) sub-protocol data unit (PDU), and the MAC sub-PDU includes a MAC sub-header and a control element (CE) of the medium access control (MAC). The MAC sub-header includes a logical channel identity (LCID). The above transmission indication information can be implemented by the LCID in the MAC sub-header, or can be implemented by the MAC CE. For example, when the LCID in the MAC sub-header takes a preset value, the second terminal device stops transmitting the second data to the first access network device according to the value of the LCID. Or the LCID is used to indicate that the MAC CE corresponding to the MAC sub-header is a MAC CE that instructs the second terminal device to stop transmitting the second data to the first access network device, that is, the MAC CE includes transmission indication information (which is transmission indication information or carries transmission indication information). For example, LCID is used to indicate the type of MAC CE. The value of LCID is different, and the type of MAC CE indicated by the value of LCID is also different. The accuracy of the second data to be stopped transmitted indicated by different types of MAC CE is different, and the types of MAC CE include but are not limited to the following types:

[0242] A first type of MAC CE, the length of this type of MAC CE is a preset length, and this type of MAC CE is used to instruct the second terminal device to stop transmitting the second data to the first access network device. The preset length can be one byte, or two bytes, or another number of bytes. In one implementation, the preset length of the MAC CE is 0, that is, the bearer of the MAC sub-PDU is 0. The value of the LCID in the MAC subheader corresponding to the MAC CE is a first preset value, and the LCID with the first preset value is used to indicate the first type of MAC CE. When the second terminal device receives the MAC CE corresponding to the LCID of the first preset value, it can obtain the first access network device instructing the second terminal device to stop transmitting the second data to the first access network device. At this time, it can also be understood that the LCID is used to instruct the second terminal device to stop transmitting the second data to the first access network device.

[0243] The second type of MAC CE, this type of MAC CE includes an identifier of a preset logical channel, and this type of MAC CE is used to instruct the second terminal device to stop transmitting the second data corresponding to the preset logical channel to the first access network device. The preset logical channel is used to transmit data packets exchanged between the master station device and the slave station device. Here, the identifier of the preset logical channel in the MAC CE and the LCID in the MAC subheader have different functions. The value of the LCID in the MAC subheader is the second preset value, and the LCID with the second preset value is used to indicate the second type of MAC CE. The MAC CE carrying the identifier of the preset logical channel is used to instruct to stop transmitting the second data corresponding to the preset logical channel.

[0244] Here, the identifier of the preset logical channel can be one, see Fig.13 . R is a reserved bit. The identifier of the preset logical channel may occupy multiple bits, such as 5, 6 or 7 bits. In the embodiment of the present application, there is no limitation on the number of bits occupied by the identifier of the preset logical channel.

[0245] Here, there may be multiple identifiers of the preset logical channels. In some embodiments, the MAC CE includes multiple identifiers of the preset logical channels. Fig.14 .exist Fig.14 In the MAC CE, each LCID is an identifier of a preset logical channel. For example, LCID1 is the identifier of the first preset logical channel, LCID2 is the identifier of the second preset logical channel, and LCID3 is the identifier of the third preset logical channel. In this case, the length of the MAC CE is variable. The length of the MAC CE varies with the number of identifiers of the preset logical channels. When the number of identifiers of the preset logical channels is small, the length of the MAC CE is small; when the number of identifiers of the preset logical channels is large, the length of the MAC CE is large. In other embodiments, in order to save the number of bits, one bit in the MAC CE corresponds to a preset logical channel, see for details. Fig.15 .exist Fig.15In the above, one bit corresponds to a preset logical channel. The number of preset logical channels is i. L1 represents the first preset logical channel, L2 represents the second preset logical channel, and so on. Li represents the i-th preset logical channel. If the bit on a bit position is 1, it means stopping the transmission of the second data of the preset logical channel corresponding to the bit position to the first access network device. Alternatively, if the bit on the bit position is 0, it means stopping the transmission of the second data of the preset logical channel corresponding to the bit position to the first access network device. The third type of MAC CE, this type of MAC CE includes the sequence number of the data packet, and this type of MAC CE is used to instruct the second terminal device to stop transmitting the second data corresponding to the sequence number to the first access network device. Here, the value of the LCID in the MAC subheader is the third preset value, and the LCID with the third preset value is used to indicate the third type of MAC CE.

[0246] Here, the number of sequence numbers (SN) of the data packets in the MAC CE may be one. For details, see Fig.16 . R is a reserved bit. The serial number of a data packet may occupy multiple bits, such as 5, 6 or 7 bits. The embodiment of the present application does not limit the number of bits occupied by the serial number of the data packet.

[0247] Here, the sequence number of the data packet may be multiple. In some embodiments, the MAC CE includes the sequence numbers of multiple data packets, see Fig.17 .exist Fig.17 In the example, SN1 is the sequence number of the first data packet, SN2 is the sequence number of the second data packet, SN3 is the sequence number of the third data packet, and so on. In this case, the length of the MAC CE also varies. The length of the MAC CE varies with the number of sequence numbers of the data packets. When the number of sequence numbers of the data packets is small, the length of the MAC CE is small; when the number of sequence numbers of the data packets is large, the length of the MAC CE is large.

[0248] The sequence number of the data packet may be a sequence number of the radio link control (RLC) layer, a sequence number of the packet data convergence protocol (PDCP) layer, a GTP-U sequence number, an application layer sequence number, or other sequence numbers with indication functions. In view of the fact that there are many types of sequence numbers of data packets, the MAC CE includes a type indication field T, such as Fig.18As shown. Among them, the type indication field T is used to indicate which type of sequence number is included in the MAC CE. The number of bits occupied by the type indication field T is related to the number of types of SN. The number of bits occupied by the type indication field T can be a positive integer greater than or equal to 0, such as the type indication field T occupies 1, 2 or more bits. In some embodiments, one bit in the type indication field T corresponds to one type of SN. If the value of the bit is 1, it means that the current MAC CE includes an SN of the type corresponding to the bit, or, if the value of the bit is 0, it means that the current MAC CE includes an SN of the type corresponding to the bit. In other embodiments, each type of SN corresponds to an index, and the value of the type indication field T is used to indicate the index of a type of SN, so as to indicate that the current MAC CE includes an SN of the type corresponding to the index.

[0249] The fourth type of MAC CE includes a preset data radio bearer identity (DRB ID), and the MAC CE of this type is used to instruct the second terminal device to stop transmitting the second data corresponding to the data radio bearer identity to the first access network device. The data radio bearer identified by the preset data bearer identity is used to transmit data packets exchanged between the master station device and the slave station device. Here, the value of the LCID in the MAC subheader is the fourth preset value, and the LCID with the fourth preset value is used to indicate the fourth type of MAC CE. The fourth type of MAC CE carrying the DRB ID is used to instruct to stop transmitting the second data corresponding to the data radio bearer identity.

[0250] Here, the identifier of the preset data radio bearer can be one, see Fig.19 . R is a reserved bit. The identifier of the preset data radio bearer may occupy multiple bits, such as 5, 6 or 7 bits. In the embodiment of the present application, the number of bits occupied by the identifier of the preset data radio bearer is not limited.

[0251] Here, there may be multiple identifiers of the preset data radio bearer. In some embodiments, the MAC CE includes multiple identifiers of the preset data radio bearer, see Fig. 20 .exist Fig. 20In the embodiment, LCID1 is the identifier of the first preset data radio bearer, LCID2 is the identifier of the second preset data radio bearer, and LCID3 is the identifier of the third preset data radio bearer. In this case, the length of MAC CE is variable. The length of MAC CE varies with the number of identifiers of the preset data radio bearers. When the number of identifiers of the preset data radio bearers is small, the length of MAC CE is small; when the number of identifiers of the preset data radio bearers is large, the length of MAC CE is large. In other embodiments, in order to save the number of bits, one bit in MACCE corresponds to one data radio bearer identifier, see for details. Fig.21 .exist Fig.21 In the data radio bearer identifier, one bit corresponds to one data radio bearer identifier. The number of preset data radio bearer identifiers is i. Among them, DRB1 represents the first preset data radio bearer identifier, DRB2 represents the second preset data radio bearer identifier, and so on, DRBi represents the i-th preset data radio bearer identifier. If the bit on a bit position is 1, it means stopping the transmission of the second data of the data radio bearer corresponding to the bit position to the first access network device. Or, if the bit on the bit position is 0, it means stopping the transmission of the second data of the data radio bearer corresponding to the bit position to the first access network device.

[0252] Here, the accuracy of the second data to stop transmission indicated by different types of MAC CE is different. In the first type of MAC CE, the second type of MAC CE and the third type of MAC CE, relative to the second data indicated by the first type of MAC CE, the second data to stop transmission indicated by the second type of MAC CE corresponds to the preset logical channel, and the indication is more accurate and the granularity is finer. Relative to the second data corresponding to the preset logical channel indicated by the second type of MAC CE, the second data to stop transmission indicated by the third type of MAC CE corresponds to the transmission sequence number, and the indication granularity is finer.

[0253] After the same data packet is transmitted along two mutually redundant paths (the first path and the second path), the first data and the second data obtained are the same. In this way, after a data packet is successfully transmitted along the first path, that is, after the first access network device receives the first data from the first terminal device, the first access network device does not need to receive the second data, and uses the transmission indication information to instruct the second terminal device to stop transmitting the corresponding second data to the first access network device, so as to save data transmission resources.

[0254] Optionally, the above second data can be transmitted through preconfigured resources, such as resources configured with authorization type (configured gant) 1 or configured with authorization type 2. Alternatively, it can be transmitted through resources dynamically scheduled by the first access network device, that is, resources of the physical downlink data channel are scheduled for the terminal device through the physical downlink control channel for transmitting the second data. In another implementation, the first access network device may not send the transmission indication information, but stop scheduling resources so that the second terminal device cannot obtain resources for transmitting the second data, thereby stopping transmitting the second data.

[0255] It can be understood that, as another possible implementation method, in S904, after the first access network device receives the first data from the first terminal device, if the quality of the first data meets the business requirements, such as the packet loss rate of the first data is less than or equal to the preset value, the first access network device does not need to receive the data packet returned by another path, and the first access network device executes S905; if the quality of the first data cannot meet the business requirements, such as the packet loss rate of the first data is greater than the preset value, the first access network device waits to receive the data packet returned by another path, and the first access network device does not execute S905, so that the first access network device receives the second data from the second terminal device to ensure the reliability of data transmission.

[0256] Optional, to increase the flexibility of redundant path configuration, see Fig. 22 The communication method in the embodiment of the present application further includes S906 and / or S907:

[0257] S906: The first access network device sends first status indication information to the first terminal apparatus. Correspondingly, the first terminal apparatus receives the first status indication information from the first access network device.

[0258] The first state indication information is used to indicate whether the second path is in an activated state or an inactivated state. If the second path is in an activated state, the second path transmits data packets. If the second path is in an inactivated state, the second path does not need to transmit data packets.

[0259] After the first terminal device receives the first status indication information from the first access network device, the first terminal device sets the second path to an activated state or an inactivated state according to the first status indication information.

[0260] Optionally, the first status indication information includes time information, and the first status indication information is used to indicate that at the time corresponding to the time information, the status of the second path is set to activated or inactivated. The time information includes at least one of the following information: a system frame number (SFN), a time slot number in the SFN, and a time domain symbol in the time slot. For example, if the system frame number is used as the time information, the first terminal device sets the status of the second path to activated or inactivated at a frame boundary of the system frame number or at a frame boundary of adjacent frames of the system frame number.

[0261] The first status indication information does not include time information. In this case, the first terminal device receives the first status indication information, and then, at a certain time point in a default time period, the first terminal device sets the status of the second path to activated or inactivated.

[0262] Optionally, the first status indication information can be carried in a downlink control information (downlink control element, DCI) or a medium access control (medium access control, MAC) sub-protocol data unit (protocol data unit, PDU), or a dedicated signaling. Specifically, the MAC sub-PDU includes a MAC sub-header and a control element (control element, CE) of the medium access control (medium access control, MAC). The MAC sub-header includes a logical channel identity (logical channel identity, LCID). The LCID has a preset value, which is used to indicate that the MAC CE corresponding to the MAC sub-header includes the above-mentioned first status indication information (which is the first status indication information or carries the first status indication information).

[0263] For example, see Fig. 22 If the state of the second path is inactive before the first access network device executes S903, the first access network device executes S906 before sending a data packet to the first terminal device. In this case, the first state indication information is used to indicate that the second path is active. Then, the first access network device sends a data packet to the first terminal device so that the data packet is transmitted along the second path. After the first access network device receives the data packet (i.e., the second data) returned along the second path, it can execute S906. In this case, the first state indication information is used to indicate that the second path is inactive.

[0264] If the state of the second path is activated before the first access network device executes S903, the first access network device does not need to execute S906 before sending the data packet to the first terminal device, and does not need to indicate to the first terminal device that the second path is activated. After the first access network device receives the data packet (i.e., the second data) returned along the second path, it can execute S906. In this case, the first state indication information is used to indicate that the second path is in an inactive state.

[0265] S907: The first access network device sends second status indication information to the second terminal apparatus. Correspondingly, the second terminal apparatus receives the second status indication information from the first access network device.

[0266] The second state indication information is used to indicate whether the first path is in an activated state or an inactivated state.

[0267] After receiving the second status indication information from the first access network device, the second terminal device sets the first path to an activated state or an inactivated state according to the second status indication information.

[0268] Optionally, the second status indication information includes time information, and the second status indication information is used to indicate that at the time corresponding to the time information, the second terminal device sets the state of the first path to activated or inactivated. The time information includes at least one of the following information: SFN, a time slot number in the SFN, and a time domain symbol in the time slot.

[0269] The second status indication information does not include time information. In this case, the second terminal device receives the second status indication information, and then, at a certain time point in a default time period, the second terminal device sets the status of the first path to activated or inactivated.

[0270] Optionally, the second status indication information may also be carried in a DCI or a MAC sub-PDU, or in a dedicated signaling. Specifically, the MAC sub-PDU includes a MAC subheader and a MAC CE. The MAC subheader includes an LCID. The LCID has a preset value, which is used to indicate that the MAC CE corresponding to the MAC subheader includes the above-mentioned second status indication information (which is the second status indication information or carries the second status indication information).

[0271] For example, see Fig. 22If the state of the first path is inactive before the first access network device executes S903, the first access network device executes S907 before sending a data packet to the second terminal device. In this case, the second state indication information is used to indicate that the first path is inactive. Then, the first access network device sends a data packet to the second terminal device so that the data packet is transmitted along the first path. After the first access network device receives the data packet (i.e., the second data) returned along the first path, it can execute S907. In this case, the first state indication information is used to indicate that the first path is inactive.

[0272] If the state of the first path is activated before the first access network device executes S903, the first access network device does not need to execute S907 before sending a data packet to the second terminal device, and does not need to indicate to the second terminal device that the first path is activated. After the first access network device receives the data packet (i.e., the second data) returned along the first path, it can execute S907. In this case, the second state indication information is used to indicate that the first path is in an inactive state.

[0273] In this way, the first access network device uses the status indication information to indicate the status of one path or two paths for the terminal device. When the first access network device transmits the data packet exchanged between the master station device and the slave station device, if the channel quality is poor, the first access network device uses the first status indication information to indicate that the second path is in the activated state for the first terminal device, and the first access network device uses the second status indication information to indicate that the first path is in the activated state for the second terminal device, so that the same data packet is transmitted along two paths to ensure the reliability of data transmission; if the channel quality is good, the first access network device uses the first status indication information to indicate that the second path is in the activated state for the first terminal device, or the first access network device uses the second status indication information to indicate that the first path is in the activated state for the second terminal device, so that the data packet can be transmitted along one path to save transmission resources. When the first access network device transmits the data packet exchanged between the first access network device and the terminal device, the first access network device uses the first status indication information to indicate that the second path is in the inactivated state for the first terminal device, and the first access network device uses the second status indication information to indicate that the first path is in the inactivated state for the second terminal device. In this way, the data packet is no longer transmitted along the first path and the second path. That is, the first access network device uses the status indication information to indicate to the terminal device whether the path is in an activated state or an inactivated state, so as to meet different service requirements or wireless channel quality, and also save air interface resources.

[0274] Optionally, as another possible implementation, after S901 or S902, the specific process of "the first access network device sends a data packet to the terminal device" may also include: the first access network device first sends a data packet to one terminal device according to the corresponding relationship between the two terminal devices, so that the data packet is transmitted along a certain path. Here, if the data packet is successfully transmitted along the path, that is, the first access network device receives the returned data packet within the preset time, then the first access network device does not need to send the data packet to the other terminal device. If the data packet fails to be transmitted along the path, that is, the first access network device does not receive the returned data packet within the preset time, then the first access network device sends a data packet to the other terminal device, so that the data packet is transmitted along another path, and the first access network device receives the data packet returned by the other path. Among them, the data packets sent by the first access network device to the two terminal devices are the same, and the two paths are redundant. Specifically, the first access network device schedules downlink transmission resources to send data packets to the terminal device. Further, the first access network device also schedules uplink transmission resources to receive the returned data packet from the terminal device.

[0275] Below, see Fig.23 , taking the first access network device sending a data packet to the second terminal device as an example, the following is explained:

[0276] S908: The first access network device sends a data packet to the second terminal device according to the corresponding relationship. Correspondingly, the second terminal device receives the data packet from the first access network device.

[0277] The corresponding relationship is the above-mentioned “corresponding relationship between the first terminal device and the second terminal device”.

[0278] The data packet sent by the first access network device to the second terminal device is transmitted via the first path. The first path is from the second terminal device to the first terminal device via the at least one slave device. When passing through each slave device, each slave device can read the data sent by the master device to itself, and write the data sent to the master device into the data packet.

[0279] Here, if the data packet is successfully transmitted along the first path, that is, the first access network device executes S909 within the preset time, then the first access network device does not need to execute S910. If the data packet fails to be transmitted along the first path, that is, the first access network device does not execute S909 within the preset time, then the first access network device executes S910 to transmit the data packet along another path. The specific descriptions of S909 and S910 are as follows:

[0280] S909: The first terminal device sends the third data to the first access network device. Correspondingly, the first access network device receives the third data from the first terminal device.

[0281] The third data is data transmitted by the data packet along the first path.

[0282] In the present application, in a scenario where the first access network device first sends a data packet to a terminal device, the data packet transmitted along the first path (from the second terminal device through the slave station device to the first terminal device) is described as "third data".

[0283] S910: The first access network device sends a data packet to the first terminal apparatus according to the corresponding relationship. Correspondingly, the first terminal apparatus receives the data packet from the first access network device.

[0284] Among them, the data packet in S910 is the same as the data packet in S908. After the first terminal device receives the data packet, it forwards the data packet to the slave station device so that the data packet is transmitted along the second path and returned to the first access network device. In the present application, in the scenario where the first access network device first sends a data packet to a terminal device, the data transmitted by the data packet along the second path (from the first terminal device through the slave station device to the second terminal device) is described as "fourth data". Here, after the same data packet is transmitted along two mutually redundant paths (the first path and the second path), the third data and the fourth data obtained are the same. In this way, after a data packet is successfully transmitted along the first path, that is, after the first access network device receives the third data from the first terminal device, the data packet does not need to be transmitted along the second path. The first access network device does not need to send a data packet to the first terminal device to save data transmission resources. If a data packet fails to be transmitted along the first path, the first access network device sends the same data packet to the first terminal device again, so that the data packet is transmitted along another path and returns to the first access network device to improve the reliability of data transmission.

[0285] It can be understood that if the data packet is successfully transmitted along the first path, that is, the first access network device executes S909 within the preset time, and the quality of the third data meets the business requirements, such as the packet loss rate of the third data is less than or equal to the preset value, then there is no need to transmit the data packet along another path, that is, the first access network device does not need to execute S910; if the quality of the third data cannot meet the business requirements, such as the packet loss rate of the third data is greater than the preset value, the first access network device still executes S910 to enable the data packet to be transmitted along another path and returned to the first access network device to ensure the reliability of data transmission.

[0286] The above communication methods are all for the network architecture where two terminal devices are connected to the same access network device. In the case where the two terminal devices are connected to different access network devices, the network architecture suitable for industrial Ethernet is as follows: Fig.24 Reference Fig.24, the number of access network devices is two, namely, the first access network device 201 and the second access network device 202. The first access network device 201 is connected to the first terminal device 301, and the second access network device 202 is connected to the second terminal device 302. The first access network device 201 and the second access network device 202 exchange information, and the interface between the two access network devices can be an X2 interface or an Xn interface. The information exchanged between the two access network devices is carried in an X2 message or an Xn message. The anchor point of the two access network devices is the first access network device 201. The first access network device 201 receives a data packet from the core network device 10, or sends a data packet to the core network device 10. The dotted line between the core network device 10 and the second access network device 202 represents the transmission of control plane signaling between the two.

[0287] based on Fig.24 In the network architecture shown in the communication method provided in the embodiment of the present application, the interaction process between the first terminal device and the first access network device can refer to the relevant descriptions of S9011, S903, S904, S906, S909 and S910 above, which will not be repeated here. The interaction process between the first access network device and the core network device can refer to the relevant descriptions of S9014 and S9015 above, which will not be repeated here. The information interaction process between the second terminal device and the first access network device is as follows:

[0288] First, the specific implementation steps of the process of the second terminal device reporting the second redundant identification information, that is, S9012, are as follows: the second terminal device sends the second redundant identification information to the second access network device, and then the second access network device sends the second redundant identification information to the first access network device.

[0289] Second, the specific implementation steps of the process of the first access network device sending a data packet to the second terminal device, that is, S903, are as follows:

[0290] The first access network device sends a data packet to the second access network device, and the second access network device then sends a data packet to the second terminal device. Here, the data packet sent by the first access network device to the second access network device is the same as the data packet sent by the first access network device to the first terminal device.

[0291] Third, the specific implementation steps of the process of the first access network device sending transmission indication information to the second terminal device, that is, S905, are as follows: the first access network device sends the transmission indication information to the second access network device, and then the second access network device sends the transmission indication information to the second terminal device.

[0292] Fourth, the specific implementation steps of the process of the first access network device sending the second status indication information to the second terminal device, that is, S907, are as follows: the first access network device sends the second status indication information to the second access network device, and then the second access network device sends the second status indication information to the second terminal device.

[0293] Fifth, the specific implementation steps of the process of the second terminal device sending a returned data packet to the first access network device are as follows: the second terminal device sends a data packet to the second access network device, and then the second access network device sends a data packet to the first access network device. It can be understood that in the above embodiments, the method and / or step implemented by the first access network device can also be implemented by a component (such as a chip or circuit) that can be used for the first access network device; the method and / or step implemented by the first terminal device can also be implemented by a component (such as a chip or circuit) that can be used for the first terminal device; the method and / or step implemented by the second terminal device can also be implemented by a component (such as a chip or circuit) that can be used for the second terminal device; the method and / or step implemented by the core network device can also be implemented by a component (such as a chip or circuit) that can be used for the core network device.

[0294] The above mainly introduces the scheme provided by the embodiment of the present application from the perspective of interaction between various network elements. Accordingly, the embodiment of the present application also provides a communication device, which can be a network element in the above method embodiment, or a device including the above network element, or a component that can be used for a network element. It can be understood that in order to realize the above functions, the communication device includes a hardware structure and / or software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0295] Fig.25 A schematic diagram of the structure of a communication device 2500 is shown. The communication device 2500 includes an interface module 2501 and a processing module 2502. The interface module 2501 is an interface circuit of the device, which is used to receive or send signals from other devices. For example, when the device is implemented in a chip, the interface module 2501 is an interface circuit of the chip for receiving signals from other chips or devices. Alternatively, the interface module 2501 is an interface circuit of the chip for sending signals to other chips or devices.

[0296] For example, taking the communication device 2500 as the access network device in the above method embodiment,

[0297] The interface module 2501 is used to obtain the corresponding relationship between the first terminal device and the second terminal device; the interface module 2501 is also used to obtain a data packet; and the processing module 2502 is used to send the data packet to the first terminal device and the second terminal device according to the corresponding relationship.

[0298] In one possible design, the interface module 2501 is also used to receive first data from a first terminal device; the interface module 2501 is also used to send transmission indication information to a second terminal device, the transmission indication information being used to instruct the second terminal device to stop transmitting second data to the access network device; wherein the first data is data transmitted by a data packet along a first path, and the second data is data transmitted by a data packet along a second path; the first path is from the second terminal device via at least one slave station device to the first terminal device; and the second path is from the first terminal device via at least one slave station device to the second terminal device.

[0299] In one possible design, the processing module 2502 is used to obtain the correspondence between the first terminal device and the second terminal device, including: the processing module 2502 is used to obtain the correspondence between the first terminal device and the second terminal device from the first terminal device, the second terminal device or the core network device.

[0300] In one possible design, the processing module 2502 is used to obtain the correspondence between the first terminal device and the second terminal device, including: the interface module 2501 is used to receive first redundant identification information from the first terminal device; the interface module 2501 is also used to receive second redundant identification information from the second terminal device; the processing module 2502 is used to determine the correspondence between the first terminal device and the second terminal device based on the first redundant identification information and the second redundant identification information.

[0301] In a possible design, the interface module 2501 is further used to receive a first redundant sequence number RSN from the first terminal device and a second redundant sequence number RSN from the second terminal device.

[0302] In a possible design, the interface module 2501 is further used to receive an identifier of a first logical channel from the first terminal device and an identifier of a second logical channel from the second terminal device.

[0303] In one possible design, the interface module 2501 is also used to send first status indication information to the first terminal device; and / or the interface module 2501 is also used to send second status indication information to the second terminal device; wherein the first status indication information is used to indicate that the second path is in an activated state or an inactivated state; and the second status indication information is used to indicate that the first path is in an activated state or an inactivated state.

[0304] For example, taking the communication device 2500 as the terminal device in the above method embodiment,

[0305] The interface module 2501 is used to receive a first data packet from the access network device, the first data packet includes data sent by the master station device to at least one slave station device; the interface module 2501 is also used to send the first data packet to at least one slave station device; the interface module 2501 is also used to receive a second data packet, the second data packet includes data sent by at least one slave station device to the master station device, and the second data packet is the same as the first data packet after being processed by at least one slave station device.

[0306] In one possible design, interface module 2501 is also used to send a second data packet to the access network device.

[0307] In one possible design, the interface module 2501 is further used to send the correspondence between the terminal device and another terminal device to the access network equipment.

[0308] In one possible design, the interface module 2501 is also used to send redundant identification information to the access network device; the redundant identification information includes at least one of the following information: a master station device identification, at least one slave station device identification, a slave station device list identification, an identification of a terminal device, and an identification of another terminal device, and the other terminal device has a corresponding relationship with the terminal device.

[0309] In one possible design, the interface module 2501 is also used to send a redundant sequence number RSN to the access network device.

[0310] In one possible design, interface module 2501 is also used to send an identifier of a logical channel to an access network device.

[0311] In one possible design, the interface module 2501 is also used to receive transmission indication information from the access network device, where the transmission indication information is used to instruct the terminal device to stop transmitting the second data packet to the access network device.

[0312] In one possible design, the interface module 2501 is also used to receive status indication information from the access network device, wherein the status indication information is used to indicate that the path is in an activated state or an inactivated state, and the path is from the terminal device through at least one slave station device to another terminal device; the processing module 2502 is used to set the status of the path to activated or inactivated according to the status indication information.

[0313] For example, taking the communication device 2500 as the core network device in the above method embodiment,

[0314] The processing module 2502 is used to determine the corresponding relationship between the first terminal device and the second terminal device; the interface module 2501 is used to send relationship indication information to the first access network device; wherein the relationship indication information is used to indicate the corresponding relationship between the first terminal device and the second terminal device.

[0315] In one possible design, the processing module 2502 is used to determine the corresponding relationship between the first terminal device and the second terminal device, including: the processing module 2502 is used to determine the corresponding relationship between the first terminal device and the second terminal device according to the contract information of the first terminal device and the contract information of the second terminal device;

[0316] The interface module 2501 is used to obtain first redundant identification information from the first terminal device and second redundant identification information from the second terminal device, and the processing module 2502 is used to determine the corresponding relationship between the first terminal device and the second terminal device according to the first redundant identification information and the second redundant identification information.

[0317] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.

[0318] In this embodiment, the communication device 2500 is presented in the form of dividing various functional modules in an integrated manner. The "module" here may refer to a specific ASIC, a circuit, a processor and a memory that executes one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions. In a simple embodiment, those skilled in the art can imagine that the communication device 2500 can be used Fig.26 The form of the communication device 2600 is shown.

[0319] for example, Fig.26 The processor 2601 in the communication device 2600 shown can call the computer execution instructions stored in the memory 2603 to enable the communication device 2600 to execute the communication method in the above method embodiment.

[0320] Specifically, Fig.25The functions / implementation processes of the interface module 2501 and the processing module 2502 can be Fig.26 The processor 2601 in the communication device 2600 shown calls the computer execution instructions stored in the memory 2603 to implement. Or, Fig.25 The function / implementation process of the processing module 2502 in can be Fig.26 The processor 2601 in the communication device 2600 shown calls the computer execution instructions stored in the memory 2603 to implement, Fig.25 The function / implementation process of the interface module 2501 in can be Fig.26 The processor 2601 , the memory 2603 and the communication interface 2604 are connected via a bus 2602 .

[0321] Since the communication device 2500 provided in this embodiment can execute the above-mentioned communication method, the technical effects that can be obtained can refer to the above-mentioned method embodiments and will not be repeated here.

[0322] It should be noted that one or more of the above modules or units can be implemented by software, hardware or a combination of the two. When any of the above modules or units is implemented by software, the software exists in the form of computer program instructions and is stored in a memory, and a processor can be used to execute the program instructions and implement the above method flow. The processor can be built into an SoC (system on chip) or an application specific integrated circuit (application specific integrated circuit, ASIC), or it can be an independent semiconductor chip. The processor is used to execute software instructions to perform calculations or processing in addition to the core, and may further include necessary hardware accelerators, such as field programmable gate arrays (field programmable gate array, FPGA), programmable logic devices (programmable logic device, PLD), or logic circuits that implement dedicated logic operations.

[0323] When the above modules or units are implemented in hardware, the hardware can be any one or any combination of a CPU, a microprocessor, a digital signal processing (DSP) chip, a microcontroller unit (MCU), an artificial intelligence processor, an ASIC, a system on chip (SoC), an FPGA, a PLD, a dedicated digital circuit, a hardware accelerator or a non-integrated discrete device, which can run the necessary software or not rely on the software to execute the above method flow.

[0324] Optionally, an embodiment of the present application further provides a communication device (for example, the communication device may be a chip or a chip system), which includes a processor for implementing the method in any of the above method embodiments. In one possible design, the communication device also includes a memory. The memory is used to store necessary program instructions and data, and the processor can call the program code stored in the memory to instruct the communication device to execute the method in any of the above method embodiments. Of course, the memory may not be in the communication device. When the communication device is a chip system, it may be composed of chips, or it may include chips and other discrete devices, which is not specifically limited in the embodiments of the present application.

[0325] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or may contain one or more servers, data centers and other data storage devices that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc / disk (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0326] In the above embodiments of the present application, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B, which may represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, for elements (element) in the singular form "a", "an" and "the", unless the context clearly stipulates otherwise, it does not mean "one or only one", but means "one or more than one". For example, "a device" means one or more such devices. Furthermore, at least one (at least one of)..." means one or any combination of subsequent associated objects, for example, "at least one of A, B and C" includes A, B, C, AB, AC, BC, or ABC. Determining Y based on X does not mean determining Y based only on X, but Y can also be determined based on X and other information.

[0327] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0328] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A communication method, characterized in that: The method is applicable to an access network device, and the method comprises: Acquiring a correspondence between a first terminal device and a second terminal device; the first terminal device and the second terminal device having the correspondence are used to provide an interface to a slave device for the same master station device; the access network device forms a ring network topology structure with the slave device through the first terminal device and the second terminal device, and the access network device is also connected to the master station device through a core network device; Get the data packet; The data packet is sent to the first terminal device and the second terminal device according to the corresponding relationship.

2. The communication method according to claim 1, characterized in that: The method further comprises: receiving first data from the first terminal device; Sending transmission indication information to the second terminal device, where the transmission indication information is used to instruct the second terminal device to stop transmitting the second data to the access network device; The first data is data transmitted by the data packet along the first path, and the second data is data transmitted by the data packet along the second path; The first path is from the second terminal device via at least one slave station device to the first terminal device; the second path is from the first terminal device via the at least one slave station device to the second terminal device.

3. The communication method according to claim 2, characterized in that: The transmission indication information is carried in a media access control MAC sub-protocol data unit PDU, the MAC sub-PDU includes a MAC sub-header and a MAC control unit CE, the MAC sub-header includes a logical channel identifier LCID, wherein: The transmission indication information includes the LCID having a preset value, and the LCID having the preset value is used to instruct the second terminal device to stop transmitting the second data to the access network device; or, The LCID has a preset value, which is used to indicate that the MAC CE corresponding to the MAC subheader includes the transmission indication information.

4. The communication method according to claim 3, characterized in that: The length of the MAC CE is a preset length, and the MAC CE is used to instruct the second terminal device to stop transmitting the second data to the access network device; or, The MAC CE includes an identifier of a preset logical channel, and the MAC CE is used to instruct the second terminal device to stop transmitting second data corresponding to the preset logical channel to the access network device; or, The MAC CE includes a sequence number of a data packet, and the MAC CE is used to instruct the second terminal device to stop transmitting second data corresponding to the sequence number to the access network device; or, The MAC CE includes an identifier of a data radio bearer, and the MAC CE is used to instruct the second terminal apparatus to stop transmitting second data corresponding to the data radio bearer to the access network device.

5. The communication method according to claim 4, characterized in that: The preset length is 0.

6. The communication method according to any one of claims 1 to 5, characterized in that: The acquiring the correspondence relationship between the first terminal device and the second terminal device includes: The correspondence between the first terminal device and the second terminal device is acquired from the first terminal device, the second terminal device or a core network device.

7. The communication method according to any one of claims 1 to 5, characterized in that: The acquiring the correspondence relationship between the first terminal device and the second terminal device includes: receiving first redundant identification information from the first terminal device; receiving second redundant identification information from the second terminal device; A correspondence relationship between the first terminal device and the second terminal device is determined according to the first redundant identification information and the second redundant identification information.

8. The communication method according to claim 7, characterized in that: The first redundant identification information includes at least one of the following information: a master station device identification, at least one slave station device identification, a slave station device list identification and a terminal device identification; The second redundant identification information includes at least one of the following information: a master station device identification, at least one slave station device identification, a slave station device list identification and a terminal device identification; The terminal device identification includes an identification of the first terminal device and / or an identification of the second terminal device.

9. The communication method according to any one of claims 1 to 8, characterized in that: The method further comprises: A first redundant sequence number, RSN, is received from the first terminal device and a second redundant sequence number, RSN, is received from the second terminal device.

10. The communication method according to any one of claims 1 to 9, characterized in that: The method further comprises: An identification of a first logical channel from the first terminal device and an identification of a second logical channel from the second terminal device are received.

11. The communication method according to any one of claims 2 to 10, characterized in that: The data packet includes type indication information, and the type indication information is used to indicate that the data packet is data transmitted between a master station device and a slave station device.

12. The communication method according to claim 11, characterized in that: The type indication information is carried in a media access control MAC subheader, and the MAC subheader includes a bit and a logical channel identifier LCID; the bit is used to indicate that the data packet is data transmitted between the master station device and the slave station device, or the LCID is a preset value, and the preset value is used to indicate that the data packet is data transmitted between the master station device and the slave station device.

13. The communication method according to claim 11, characterized in that: The type indication information is carried in the MAC service data unit SDU, and the type indication information is a serial number in the MAC SDU. The serial number is a preset value, and the preset value is used to indicate that the data packet is data transmitted between the master station device and the slave station device.

14. The communication method according to any one of claims 2 to 13, characterized in that: The method further comprises: Sending first status indication information to the first terminal device; and / or sending second status indication information to the second terminal device; The first status indication information is used to indicate whether the second path is in an activated state or an inactivated state; and the second status indication information is used to indicate whether the first path is in an activated state or an inactivated state.

15. The communication method according to claim 14, characterized in that: The first status indication information includes time information, and the first status indication information is used to indicate that the status of the second path is set to activated or inactivated at a time corresponding to the time information; And / or the second status indication information includes time information, and the second status indication information is used to indicate that the status of the first path is set to activated or inactivated at the time corresponding to the time information.

16. The communication method according to claim 14 or 15, characterized in that: The first status indication information or the second status indication information is carried in a MAC sub-PDU, the MAC sub-PDU includes a MAC sub-header and a MAC CE, the MAC sub-header includes an LCID, the LCID has a preset value, and is used to indicate that the MAC CE corresponding to the MAC sub-header includes the first status indication information or the second status indication information.

17. A communication method, characterized in that: The method is applicable to a first terminal device, there is a corresponding relationship between the first terminal device and the second terminal device, and the first terminal device and the second terminal device are used to provide an interface to a slave device for the same master station device; The access network device forms a ring network topology with the slave station device through the first terminal device and the second terminal device, and the access network device is also connected to the master station device through a core network device; there is at least one slave station device; the method comprises: receiving a first data packet from the access network device, wherein the first data packet includes data sent by the master station device to the at least one slave station device; Sending the first data packet to the at least one slave device; A second data packet is received, where the second data packet includes data sent by the at least one slave station device to the master station device, and the second data packet is the same as the first data packet but is processed by the at least one slave station device.

18. The communication method according to claim 17, characterized in that: The method further comprises: The corresponding relationship between the first terminal device and the second terminal device is sent to the access network device.

19. The communication method according to claim 17 or 18, characterized in that: The method further comprises: Redundant identification information is sent to the access network device; the redundant identification information includes at least one of the following information: a master station device identification, at least one slave station device identification, a slave station device list identification, an identification of the first terminal device, and an identification of the second terminal device.

20. The communication method according to claim 18 or 19, characterized in that: The method further comprises: Send a redundant sequence number RSN to the access network device.

21. The communication method according to any one of claims 18 to 20, characterized in that: The method further comprises: Sending an identifier of a logical channel to the access network device.

22. The communication method according to any one of claims 17 to 21, characterized in that: The method further comprises: Send the second data packet to the access network device.

23. The communication method according to any one of claims 17 to 21, characterized in that: The method further comprises: Receive transmission indication information from the access network device, where the transmission indication information is used to instruct the first terminal device to stop transmitting the second data packet to the access network device.

24. The communication method according to claim 23, characterized in that: The transmission indication information is carried in a media access control MAC sub-protocol data unit PDU, the MAC sub-PDU includes a MAC sub-header and a MAC control unit CE, the MAC sub-header includes a logical channel identifier LCID, wherein: The transmission indication information includes the LCID having a preset value, and the LCID having the preset value is used to instruct the first terminal device to stop transmitting the second data packet to the access network device; or, The LCID has a preset value, which is used to indicate that the MAC CE corresponding to the MAC subheader includes the transmission indication information.

25. The communication method according to claim 24, characterized in that: The length of the MAC CE is a preset length, and the MAC CE is used to instruct the first terminal device to stop transmitting the second data packet to the access network device; or, The MAC CE includes an identifier of a preset logical channel, and the MAC CE is used to instruct the first terminal device to stop transmitting a second data packet corresponding to the preset logical channel to the access network device; or, The MAC CE includes a sequence number of a data packet, and the MAC CE is used to instruct the first terminal device to stop transmitting a second data packet corresponding to the sequence number to the access network device; or, The MAC CE includes an identifier of a data radio bearer, and the MAC CE is used to instruct the first terminal apparatus to stop transmitting second data corresponding to the data radio bearer to the access network device.

26. The communication method according to claim 25, characterized in that: The preset length is 0.

27. The communication method according to any one of claims 17 to 26, characterized in that: The first data packet includes type indication information, where the type indication information is used to indicate that the first data packet is data transmitted between a master station device and a slave station device.

28. The communication method according to claim 27, characterized in that: The type indication information is carried in a media access control MAC subheader, and the MAC subheader includes a bit and a logical channel identifier LCID; the bit is used to indicate that the data packet is data transmitted between a slave device and a master device, or the LCID is a preset value, and the preset value is used to indicate that the data packet is data transmitted between the slave device and the master device, or, The type indication information is carried in the MAC service data unit SDU, and the type indication information is a serial number in the MAC SDU. The serial number is a preset value, and the preset value is used to indicate that the data packet is data transmitted between the slave station device and the master station device.

29. The communication method according to any one of claims 17 to 28, characterized in that: The method further comprises: receiving state indication information from the access network device, wherein the state indication information is used to indicate whether a path is in an activated state or an inactivated state, and the path is from the first terminal device to the second terminal device via the at least one slave station device; The state of the path is set to be activated or inactivated according to the state indication information.

30. The communication method according to claim 29, characterized in that: The state indication information includes time information, and the state indication information is used to indicate that the state of the path is set to be activated or inactivated at the time corresponding to the time information.

31. The communication method according to claim 29 or 30, characterized in that: The status indication information is carried in a MAC sub-PDU, the MAC sub-PDU includes a MAC sub-header and a MAC CE, the MAC sub-header includes an LCID, the LCID has a preset value, and is used to indicate that the MAC CE corresponding to the MAC sub-header includes the status indication information.

32. A communication method, characterized in that: The method is applicable to a core network device, and the method includes: determining a correspondence relationship between the first terminal device and the second terminal device; Sending relationship indication information to the first access network device; Among them, the relationship indication information is used to indicate the corresponding relationship between the first terminal device and the second terminal device; the first terminal device and the second terminal device having the corresponding relationship are used to provide an interface to the slave station device for the same master station device; the first access network device forms a ring network topology structure with the slave station device through the first terminal device and the second terminal device, and the first access network device is also connected to the master station device through the core network device.

33. The communication method according to claim 32, characterized in that: The determining the correspondence between the first terminal device and the second terminal device includes: determining a correspondence between the first terminal device and the second terminal device according to the contract information of the first terminal device and the contract information of the second terminal device; Or obtain first redundant identification information from the first terminal device and second redundant identification information from the second terminal device, and determine the corresponding relationship between the first terminal device and the second terminal device according to the first redundant identification information and the second redundant identification information.

34. The communication method according to claim 33, characterized in that: The first redundant identification information includes at least one of the following information: a master station device identification, at least one slave station device identification, a slave station device list identification and a terminal device identification; The second redundant identification information includes at least one of the following information: a master station device identification, at least one slave station device identification, a slave station device list identification and a terminal device identification; The terminal device identification includes an identification of the first terminal device and / or an identification of the second terminal device.

35. A communication device, characterized in that: include: A unit for performing each step according to any one of claims 1 to 16.

36. A communication device, characterized in that: The invention comprises: a processor, configured to call a program in a memory to execute the communication method according to any one of claims 1 to 16.

37. A communication device, characterized in that: include: A processor and an interface circuit, wherein the interface circuit is used to communicate with other devices, and the processor is used to execute the communication method according to any one of claims 1 to 16.

38. A communication device, characterized in that: include: A unit for performing each step as claimed in any one of claims 17 to 31.

39. A communication device, characterized in that: It comprises: a processor, used to call a program in a memory to execute the communication method described in any one of claims 17 to 31.

40. A communication device, characterized in that: include: A processor and an interface circuit, wherein the interface circuit is used to communicate with other devices, and the processor is used to execute the communication method described in any one of claims 17 to 31.

41. A communication device, characterized in that: include: A unit for performing each step as claimed in any one of claims 32 to 34.

42. A communication device, characterized in that: Comprising: a processor, configured to call a program in a memory to execute the communication method described in any one of claims 32 to 34.

43. A communication device, characterized in that: include: A processor and an interface circuit, wherein the interface circuit is used to communicate with other devices, and the processor is used to execute the communication method described in any one of claims 32 to 34.

44. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a program, and when the program is called by the processor, the communication method described in any one of claims 1 to 16 is executed, or the communication method described in any one of claims 17 to 31 is executed, or the communication method described in any one of claims 32 to 34 is executed.

45. A computer program product, characterized in that The computer program product stores a program, and when the program is called by a processor, the communication method described in any one of claims 1 to 16 is executed, or the communication method described in any one of claims 17 to 31 is executed, or the communication method described in any one of claims 32 to 34 is executed.

Citation Information

Patent Citations

  • Protection method and device of LTE bearer network

    CN108023800A

  • Communication method and communication device

    CN109996306A

  • Communication device and relaying method of packet

    JP2016201654A

  • Communication method and communication device

    WO2019104685A1