WO2021114115A1 - 通信方法及装置 - Google Patents

通信方法及装置 Download PDF

Info

Publication number
WO2021114115A1
WO2021114115A1 PCT/CN2019/124419 CN2019124419W WO2021114115A1 WO 2021114115 A1 WO2021114115 A1 WO 2021114115A1 CN 2019124419 W CN2019124419 W CN 2019124419W WO 2021114115 A1 WO2021114115 A1 WO 2021114115A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
access network
mac
data
data packet
Prior art date
Application number
PCT/CN2019/124419
Other languages
English (en)
French (fr)
Inventor
于海凤
于峰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2019/124419 priority Critical patent/WO2021114115A1/zh
Priority to CN201980102510.0A priority patent/CN114788401A/zh
Priority to EP19955653.1A priority patent/EP4054286A4/en
Publication of WO2021114115A1 publication Critical patent/WO2021114115A1/zh
Priority to US17/836,719 priority patent/US20220322140A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/247Multipath using M:N active or standby paths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/34Flow control; Congestion control ensuring sequence integrity, e.g. using sequence numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • H04W84/20Master-slave selection or change arrangements

Definitions

  • This application relates to the field of communication technology, and in particular to a communication method and device.
  • Industrial Ethernet is the Ethernet used in industrial configuration. Usually industrial Ethernet communication uses wired connection. 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 requirements of the industrial Ethernet redundant transmission mechanism, which affects the reliability of Ethernet data. Sexual transmission.
  • the embodiments of the present application provide a communication method and device, which can improve the reliability of data transmission.
  • an embodiment of the present application provides a communication method.
  • the method includes: an access network device obtains a corresponding relationship between a first terminal device and a second terminal device, and after the access network device obtains a data packet, according to the corresponding The relationship sends data packets to the first terminal device and the second terminal device.
  • the access network equipment uses the correspondence between the two terminal devices to send the same data packet to the two terminal devices.
  • 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 is transmitted to the second terminal device after passing through the slave station device.
  • the data packet sent by the access network device to the second terminal device is transmitted to the first terminal device after passing through the above-mentioned slave station device, and finally returned to the access network 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.
  • 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 device, the data packets returned by the two terminal devices to the access network device are the same, which is achieved Redundant transmission of data improves the reliability of data transmission.
  • the communication method provided in the embodiment of the present application further includes: the access network device receives the first data from the first terminal device; the access network device sends transmission instruction information to the second terminal device, and the transmission instruction The 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 the data transmitted by the data packet along the second path; A path is from the second terminal device to the first terminal device via at least one slave station device; the second path is from the first terminal device to the second terminal device via at least one slave station device.
  • 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 instruction 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.
  • the transmission indication information is carried in the 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 a 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 and is used to indicate the MAC subheader
  • the corresponding MAC CE includes transmission instruction information. In this way, the MAC subheader and the MAC CE belong to different parts of the MAC subPDU, and the different parts of the MAC subPDU can instruct the second terminal device to stop transmitting the second data to the access network device.
  • 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;
  • the MAC CE includes the identifier of the 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 the sequence number of the data packet, And the MAC CE is used to instruct the second terminal device to stop transmitting the second data corresponding to the serial number to the access network device; or, the MAC CE includes the identification of the data radio bearer, and the MAC CE is used to instruct the second terminal device to stop the access
  • the network device transmits the second data corresponding to the data radio bearer.
  • different types of MAC CEs carry transmission instruction information in different ways. The accuracy of the second data indicated by different types of MAC CE is different.
  • the four granularities of the second data indicated by the MAC CE include: second data corresponding to the second terminal device, second data corresponding to the preset logical channel, second data corresponding to the serial number, and corresponding to the data radio bearer
  • the indication accuracy is different, and the indication granularity is also different.
  • the preset length is zero.
  • the access network device acquiring the correspondence between the first terminal device and the second terminal device includes: the access network device acquires the first terminal device, the second terminal device, or the core network device. Correspondence between a terminal device and a second terminal device. In this way, in the case where the first terminal device, the second terminal device, or the core network device acquires the correspondence between the above two terminal devices, the access network device can obtain information from the first terminal device, the second terminal device, or the core network device. Obtain the corresponding relationship between the above two terminal devices.
  • the access network device acquiring the correspondence between the first terminal device and the second terminal device includes: the access network device receives the first redundant identification information from the first terminal device; accessing The network equipment receives the second redundant identification information from the second terminal device; the access network equipment 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, after the access network device receives the redundant identification information from the two terminal devices, the access network device determines the correspondence between the two terminal devices based on the redundant identification information from the two terminal devices.
  • the first redundant identification information includes at least one of the following information: master station equipment identification, at least one slave station equipment identification, slave station equipment list identification or terminal device identification; second redundant identification information It includes at least one of the following information: master station equipment identification, at least one slave station equipment identification, slave station equipment list identification and 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 Logo. Since the redundant identification information includes at least one of the following information, the master station device ID, at least one slave station device ID, the slave station device list ID, and two terminal device IDs. In this way, the access network equipment can determine the connection between the two terminal devices according to the master station equipment identification, at least one slave equipment identification, the slave equipment list identification, or the two terminal equipment identifications in the two redundant identification information. Correspondence.
  • the communication method provided in the embodiment of the present application further includes: the access network device receives the first redundant sequence number RSN from the first terminal device and the 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, for example, 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 according to the first RSN and the second RSN.
  • the communication method provided in the embodiment of the present application further includes: the access network device receives the identifier of the first logical channel from the first terminal device and the identifier of the second logical channel from the 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.
  • the access network equipment can also learn which logical channel the terminal device uses to transmit the data packet based on the identification of the logical channel from the terminal device.
  • the data packet includes type indication information.
  • 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 between the terminal device and the access network device. data.
  • the terminal device can learn that the data packet is data transmitted between the master device and the slave device, and then send the data packet to the slave device; If the data packet does not carry the type indication information, the terminal device can learn that the data packet is data sent by the access network device to itself, and there is no need to send the data packet to the slave device.
  • the type indication information is carried in the media access control MAC subheader.
  • the MAC subheader includes bits and the logical channel identifier LCID; the bits are used to indicate that the data packet is between the master device and the slave device.
  • the transmitted data, or the LCID is a preset value, and the preset value is used to indicate that the data packet is the data transmitted between the master station device and the slave station device.
  • the type indication information is carried in the MAC subheader, and the type of the data packet is indicated through the MAC subheader of the MAC layer message.
  • the type indication information is carried in the MAC service data unit SDU, the type indication information is the sequence number in the MAC SDU, the sequence number is a preset value, and the preset value is used to indicate that the data packet is the main station device and Data transferred between slave devices. That is, the type indication information is carried in the MAC SDU, and the type of the data packet is indicated through the MAC SDU of the MAC layer message.
  • the communication method of the embodiment of the present application further includes: the access network device sends the first status indication information to the first terminal device; and/or the access network device sends the second status indication to the second terminal device Information; where the first state indication information is used to indicate that the second path is in an active state or an inactive state; the second state indication information is used to indicate that the first path is in an active state or inactive state.
  • the access network equipment uses the first status indication information to indicate the second path for the first terminal device In the active state, the access network equipment uses the second state indication information to indicate to the second terminal device that the first path is in the active state, so that the same data packet is transmitted along two paths to ensure the reliability of data transmission; If the quality is better, the access network equipment uses the first status indication information to indicate to the first terminal device that the second path is in the active state, or the access network equipment uses the second status indication information to indicate the first terminal device to the first terminal device.
  • the path is active, so that the data packet can be transmitted along one path to save transmission resources.
  • the access network device When the access network device transmits the data packet that is interacted between the access network device and the terminal device, the access network device uses the first status indication information to indicate to the first terminal device that the second path is in an inactive state, and the access network device The second state indication information is used to indicate to the second terminal device that the first path is in an inactive state. In this way, the data packet is no longer transmitted along the first path and the second path.
  • 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 active or inactive; and/or the second The 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 active or inactive at a time corresponding to the time information.
  • the access network device instructs the first terminal device at which time to set the status of the second path to active or inactive, and/or the access network device instructs the second terminal device at which time to set the first path The status of is set to active or inactive.
  • 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, and the LCID has a preset value for It indicates that the MAC CE corresponding to the MAC subheader includes the first status indication information or the second status indication information. In this way, the access network equipment transmits the status indication information for the terminal device through the MAC subPDU.
  • an embodiment of the present application provides a communication method.
  • the method includes: after a terminal device receives a first data packet from an access network device, sending the first data packet to at least one slave device; and the terminal device receives the second data packet. data pack.
  • the first data packet includes data sent by the master station device to at least one slave station device
  • the second data packet includes data sent by at least one slave station device to the master station device
  • the second data packet is the same data as the first data packet
  • the package is obtained after processing by at least one slave device.
  • the terminal device 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.
  • the access network device forms a ring network topology with the slave device through two terminal devices (that is, the current terminal device and the other terminal device), for the current terminal device, the first data packet passes through the at least one slave device.
  • the station device After the station device, it is transmitted to another terminal device, that is, another terminal device receives a data packet in which the first data packet is transmitted through at least one slave device.
  • the data packet with the same first data packet is transmitted to the current terminal device after passing through the at least one slave device, that is, the data packet with the same first data packet received by the current terminal device passes at least A data packet transmitted by a slave device, that is, the current terminal device receives the second data packet.
  • each slave device in the at least one slave device can read the data sent by the master device to itself, and The data sent to the master station device is written into the data packet. Since the same data packet is processed by the same at least one slave device, finally two terminal devices (the current terminal device and the other terminal device) receive the same data packet from the above at least one slave device, which also realizes data redundancy. It can improve the reliability of data transmission.
  • 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.
  • the data packet passing through the at least one slave station device is transmitted to the wireless network through the terminal device, so that the data packet passing through the at least one slave station device can be returned to the master station device through the wireless network.
  • 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.
  • the access network device forms a ring network topology structure with the above-mentioned at least one slave device through two terminal devices (that is, the current terminal device and another terminal device)
  • the access network device can be based on the terminal device and the other terminal device.
  • the correspondence relationship of a terminal device determines which two terminal devices to send the same first data packet, and determines which two terminal devices return data packets that are mutually redundant (or backup).
  • the communication method of the embodiment of the present application further includes: the terminal device sends redundant identification information to the access network equipment; wherein the redundant identification information includes at least one of the following information: the master station equipment identification, at least One slave station device identification, slave station device list identification, terminal device identification, and another terminal device identification, 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, the master station equipment identification, at least one slave station equipment identification, the slave station equipment list identification, the identification of the terminal device and the identification of another terminal device. In this way, the access network equipment can determine the above two terminal devices according to the master station equipment identification, at least one slave equipment identification, the slave equipment list identification or the identifications of two corresponding terminal equipments in the redundant identification information. Correspondence between.
  • the communication method of the embodiment of the present application further includes: the terminal device sends a redundant sequence number RSN to the access network device.
  • the communication method of the embodiment of the present application further includes: the terminal device sends the identifier of the logical channel to the access network device.
  • the communication method of the embodiment of the present application further includes: the terminal device receives transmission instruction information from the access network device, and the transmission instruction information is used to instruct the terminal device to stop transmitting the second data packet to the access network device.
  • the data packets returned by the terminal device and the other terminal device to the access network device are mutually redundant (or backup). 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.
  • the terminal device stops transmitting the second data packet to the access network device based on the transmission instruction information, so as to save air interface resources.
  • the transmission indication information is carried in the 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 a 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 and is used to indicate that the MAC subheader corresponds to
  • the MAC CE includes transmission instruction information.
  • 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 the identifier of the 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 the sequence number of the data packet, and the MAC CE is used to instruct the terminal device to stop transmitting the second data packet to the access network device.
  • the preset length is zero.
  • the first data packet includes type indication information, and 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.
  • the type indication information is carried in the media access control MAC subheader.
  • the MAC subheader includes bits and the logical channel identifier LCID; the bits are used to indicate that the data packet is between the slave device and the master device.
  • the transmitted data, 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 It is the 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 device and the master device.
  • the communication method of the embodiment of the present application further includes: the terminal device receives status indication information from the access network device, where the status indication information is used to indicate that the path is in an active or inactive state, and the path is a slave terminal The device passes through at least one slave device to another terminal device; the terminal device sets the status of the path to active or inactive according to the status indication information.
  • the status indication information includes time information, and the status indication information is used to indicate that at the time corresponding to the time information, the status of the path is set to active or inactive.
  • the status indication information is carried in the MAC sub-PDU.
  • the MAC sub-PDU includes the MAC sub-header and the MAC CE.
  • the MAC sub-header includes the LCID.
  • the LCID has a preset value to indicate the MAC sub-header corresponding to the MAC CE. Include status indication information.
  • an embodiment of the present application provides a communication method.
  • the method includes: after receiving a first data packet from an access network device, a first terminal device sends the first data packet to at least one slave device; The device receives the second data packet.
  • the first data packet includes data sent by the master station device to at least one slave station device
  • the second data packet includes data sent by at least one slave station device to the master station device
  • the second data packet is the same data as the first data packet
  • the package is obtained after processing by at least one slave device.
  • the communication method of the embodiment of the present application further includes: the first terminal device sends a second data packet to the access network device.
  • the communication method of the embodiment of the present application further includes: the first terminal device sends the corresponding relationship between the first terminal device and the second terminal device to the access network device.
  • the communication method of the embodiment of the present application further 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: master station device identification , At least one slave device identification, slave device list identification, the identification of the first terminal device, and the identification of the second terminal device, and the second terminal device has a corresponding relationship with the first terminal device.
  • the communication method of the embodiment of the present application further includes: the first terminal device sends a redundant sequence number RSN to the access network device.
  • the communication method of the embodiment of the present application further includes: the first terminal device sends the identifier of the logical channel to the access network device.
  • the first data packet includes type indication information, and 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.
  • the type indication information is carried in the media access control MAC subheader.
  • the MAC subheader includes bits and the logical channel identifier LCID; the bits are used to indicate that the first data packet is the master device and the slave device.
  • the data transmitted between, 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 the MAC service data unit SDU ,
  • the type indication information is the serial number in the MAC SDU, the serial 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.
  • the communication method of the embodiment of the present application further includes: the first terminal device receives status indication information from the access network device, where the status indication information is used to indicate that the path is in an active state or an inactive state, and the path is From the first terminal device to the second terminal device via at least one slave device; the first terminal device sets the status of the path to active or inactive according to the status indication information.
  • the status indication information includes time information, and the status indication information is used to indicate that at the time corresponding to the time information, the status of the path is set to active or inactive.
  • the status indication information is carried in the MAC sub-PDU.
  • the MAC sub-PDU includes the MAC sub-header and the MAC CE.
  • the MAC sub-header includes the LCID.
  • the LCID has a preset value to indicate the MAC sub-header corresponding to the MAC CE. Include status indication information.
  • an embodiment of the present application provides a communication method.
  • the method includes: after receiving a first data packet from an access network device, a second terminal device sends the first data packet to at least one slave device; The device receives the second data packet.
  • the first data packet includes data sent by the master station device to at least one slave station device
  • the second data packet includes data sent by at least one slave station device to the master station device
  • the second data packet is the same data as the first data packet
  • the package is obtained after processing by at least one slave device.
  • the communication method of the embodiment of the present application further includes: the second terminal device sends the corresponding relationship between the second terminal device and the first terminal device to the access network device.
  • the communication method of the embodiment of the present application further 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: master station device identification , At least one slave device identification, slave device list identification, the identification of the second terminal device, and the identification of the first terminal device, the first terminal device and the second terminal device have a corresponding relationship.
  • the communication method of the embodiment of the present application further includes: the second terminal device sends a redundant sequence number RSN to the access network device.
  • the communication method of the embodiment of the present application further includes: the second terminal device sends the identifier of the logical channel to the access network device.
  • the communication method of the embodiment of the present application further includes: the second terminal device receives transmission instruction information from the access network device, and the transmission instruction information is used to instruct the second terminal device to stop transmitting the second terminal device to the access network device. data pack.
  • the transmission indication information is carried in the 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 a 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 and is used to indicate the MAC sub-device.
  • the MAC CE corresponding to the header includes transmission indication information.
  • 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 the identifier of the 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 the sequence number of the data packet, and the MAC CE is used to indicate the second terminal device Stop transmitting the second data packet corresponding to the serial number to the access network device; or, the MAC CE includes the identification of the data radio bearer, and the MAC CE is used to instruct the second terminal device to stop transmitting the second data packet corresponding to the data radio bearer to the access network device.
  • Two data Two data.
  • the preset length is zero.
  • the first data packet includes type indication information, and 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.
  • the type indication information is carried in the media access control MAC subheader.
  • the MAC subheader includes bits and the logical channel identifier LCID; the bits are used to indicate that the first data packet is the master device and the slave device.
  • the data transmitted between, 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 the MAC service data unit SDU ,
  • the type indication information is the serial number in the MAC SDU, the serial 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.
  • the communication method of the embodiment of the present application further includes: the second terminal device receives status indication information from the access network device, where the status indication information is used to indicate that the path is in an active state or an inactive state, and the path is From the second terminal device to another second terminal device via at least one slave station device; the second terminal device sets the status of the path as active or inactive according to the status indication information.
  • the status indication information includes time information, and the status indication information is used to indicate that at the time corresponding to the time information, the status of the path is set to active or inactive.
  • the status indication information is carried in the MAC sub-PDU.
  • the MAC sub-PDU includes the MAC sub-header and the MAC CE.
  • the MAC sub-header includes the LCID.
  • the LCID has a preset value to indicate the MAC sub-header corresponding to the MAC CE. Include status indication information.
  • an embodiment of the present application provides a communication method.
  • the method includes: after a core network device determines a corresponding relationship between a first terminal device and a second terminal device, sending relationship indication information to the first access network device.
  • the relationship indication information is used to indicate the corresponding relationship between the first terminal device and the second terminal device.
  • the access network device 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 correspondence 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, a data packet passes through a terminal device, at least one slave station device and another terminal device, and then returns to the access network device; another data packet passes through another terminal device, at least one slave station device and one terminal device, and returns to the access network device. Access network equipment. Among them, when a data packet passes 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.
  • 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 device, the data packets returned by the two terminal devices to the access network device are the same, which is achieved Redundant transmission of data improves the reliability of data transmission.
  • the core network device determining the correspondence between the first terminal device and the second terminal device includes: the core network device determines according to the contract information of the first terminal device and the contract information of the second terminal device The corresponding relationship between the first terminal device and the second terminal device; or the core network equipment obtains the first redundant identification information from the first terminal device and the second redundant identification information from the second terminal device, and then according to the first redundant identification information The remaining identification information and the second redundant identification information determine the correspondence between the first terminal device and the second terminal device. In this way, the core network equipment can obtain the correspondence between the two terminal devices.
  • the first redundant identification information includes at least one of the following information: master station equipment identification, at least one slave station equipment identification, slave station equipment list identification and terminal device identification; second redundant identification information It includes at least one of the following information: master station equipment identification, at least one slave station equipment identification, slave station equipment list identification and 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 Logo.
  • an embodiment of the present application provides a communication device, the communication device including: a unit for executing each step in any one of the foregoing aspects.
  • the communication device may be the access network device in the first aspect described above, or a device including the access network device described above; or, the communication device may be the terminal device in the second aspect described above, or a device including the terminal device described above; Alternatively, the communication device may be the first terminal device in the foregoing third aspect, or a device including the foregoing first terminal device; or, the communication device may be the second terminal device in the foregoing fourth aspect, or may include the foregoing first terminal device. Two terminal devices; or, the communication device may be the core network equipment in the fifth aspect described above, or a device including the above core network equipment.
  • an embodiment of the present application provides a communication device, including a processor and an interface circuit.
  • the processor is configured 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 first aspect described above, or a device including the access network device described above; or, the communication device may be the terminal device in the second aspect described above, or a device including the terminal device described above;
  • the communication device may be the first terminal device in the third aspect described above, or a device including the first terminal device described above; or, the communication device may be the second terminal device in the fourth aspect described above, or include the second terminal device described above
  • the communication device may be the core network device in the fifth aspect described above, or a device including the core network device described above.
  • an embodiment of the present application provides a communication device, including a processor, configured to be connected to a memory, and configured to call a program stored in the memory to execute the communication method provided in any aspect.
  • the memory may be located in the communication device or outside the communication device.
  • the processor includes one or more.
  • the communication device may be the access network device in the first aspect described above, or a device including the access network device described above; or, the communication device may be the terminal device in the second aspect described above, or a device including the terminal device described above; Alternatively, the communication device may be the first terminal device in the foregoing third aspect, or a device including the foregoing first terminal device; or, the communication device may be the second terminal device in the foregoing fourth aspect, or may include the foregoing first terminal device. Two terminal devices; or, the communication device may be the core network equipment in the fifth aspect described above, or a device including the above core network equipment.
  • an embodiment of the present application provides a communication device, including at least one processor and at least one memory, and the at least one processor is configured to execute the communication method provided in any one of the above aspects.
  • the communication device may be the access network device in the first aspect described above, or a device including the access network device described above; or, the communication device may be the terminal device in the second aspect described above, or a device including the terminal device described above; Alternatively, the communication device may be the first terminal device in the foregoing third aspect, or a device including the foregoing first terminal device; or, the communication device may be the second terminal device in the foregoing fourth aspect, or may include the foregoing first terminal device. Two terminal devices; or, the communication device may be the core network equipment in the fifth aspect described above, or a device including the above core network equipment.
  • an embodiment of the present application provides a computer-readable storage medium that stores instructions in the computer-readable storage medium, which when run on a computer, enables the computer to perform any one of the above-mentioned communications method.
  • an embodiment of the present application provides a computer program product containing instructions, which, when run on a computer, enables the computer to execute the communication method of any one of the foregoing aspects.
  • 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 the communication method according to any one of the foregoing aspects.
  • an embodiment of the present application provides a chip.
  • the chip includes a processor.
  • the processor is coupled to a memory.
  • the memory stores program instructions. When the program instructions stored in the memory are executed by the processor, any one of the above aspects is implemented. Communication method.
  • an embodiment of the present application provides a communication system.
  • the communication system includes the access network device, the terminal device, and the core network device in any of the foregoing aspects, or the communication system includes the foregoing The access network device, the first terminal device, the second terminal device, and the core network device in any one of the various aspects.
  • FIG. 1 is a schematic structural diagram of an industrial Ethernet provided by related technologies
  • Figure 2 (a) is a schematic diagram of another industrial Ethernet provided by related technologies in normal working conditions
  • Figure 2(b) is a schematic diagram of another industrial Ethernet in a fault state provided by related technologies
  • Figure 3 is a network architecture diagram provided by related technologies
  • Figure 4 is a user plane protocol stack provided by related technologies
  • Figure 5 is another network architecture diagram provided by related technologies
  • FIG. 6 is a schematic flowchart of a method for establishing a dual connection provided by related technologies
  • Figure 7 is another network architecture diagram provided by related technologies.
  • FIG. 8 is a schematic diagram of a wireless communication network provided by an embodiment of the application applied to an industrial Ethernet;
  • FIG. 9 is a schematic flowchart of a communication method provided by an embodiment of this application.
  • FIG. 10 is a schematic flowchart of another communication method provided by an embodiment of this application.
  • FIG. 11 is a schematic flowchart of another communication method provided by an embodiment of this application.
  • FIG. 12 is a schematic flowchart of yet another communication method provided by an embodiment of this application.
  • FIG. 13 is a schematic structural diagram of a control unit for media access control according to an embodiment of the application.
  • FIG. 14 is a schematic structural diagram of another medium access control control unit provided by an embodiment of this application.
  • 15 is a schematic structural diagram of yet another medium access control control unit provided by an embodiment of this application.
  • FIG. 16 is a schematic structural diagram of another medium access control control unit provided by an embodiment of this application.
  • FIG. 17 is a schematic structural diagram of yet another medium access control control unit provided by an embodiment of this application.
  • FIG. 18 is a schematic structural diagram of another medium access control control unit provided by an embodiment of this application.
  • FIG. 19 is a schematic structural diagram of another medium access control control unit provided by an embodiment of this application.
  • FIG. 20 is a schematic structural diagram of yet another medium access control control unit provided by an embodiment of this application.
  • FIG. 21 is a schematic structural diagram of yet another medium access control control unit provided by an embodiment of this application.
  • FIG. 22 is a schematic flowchart of yet another communication method provided by an embodiment of this application.
  • FIG. 23 is a schematic flowchart of yet another communication method provided by an embodiment of this application.
  • FIG. 24 is a schematic diagram of another wireless communication network provided by an embodiment of the application applied to an industrial Ethernet;
  • FIG. 25 is a schematic diagram of the composition of a communication device provided by an embodiment of this application.
  • FIG. 26 is a schematic diagram of the hardware structure of a communication device provided by an embodiment of the application.
  • Redundant transmission that is, in addition to the normal transmission path for transmitting service data, the same service data is still supported to be transmitted through at least one redundant path, so as to ensure the reliability requirements of the service data transmission.
  • the communication system includes a master device and a slave device.
  • the communication connection between the master station equipment and the slave station equipment adopts a wired connection mode.
  • the number of slave devices is denoted as N, where N is a positive integer greater than or equal to 1.
  • a wired connection is also used between the slave station equipment and the slave station equipment for communication connection.
  • the slave equipment is controlled by the master equipment.
  • Both the master station device and the slave station device include a transmitting unit (transmit unit) and a receiving unit (receive unit).
  • the media access control (MAC) address of the network card can be recorded as MAC1, and the master station device passes the network card , A dedicated service channel is used for data interaction (or communication) with slave devices.
  • MAC media access control
  • the transmission of data packets is carried out through a dedicated service channel.
  • the slave device Read the data sent by the master device to the slave device, at the same time insert the input data into the data packet, and forward the data packet to the next slave device connected to the slave device, the last slave device in the network segment
  • the station equipment returns the processed data packet, and then passes through each slave station equipment in turn, and then returns to the master station equipment.
  • the transmit unit sends data packets through the network card (the MAC address of the network card is MAC1), and the data packets pass through the slave device 1 in turn After N slave devices such as, slave device 2,..., slave device N-1, slave device N, etc., return to the slave device N, and then return to the master station through the above N slave devices in turn
  • N slave devices such as, slave device 2,..., slave device N-1, slave device N, etc.
  • the network card of the device the network card sends the data packet to the receiving unit (receive unit).
  • Each of the N slave devices includes two sending units and two receiving units.
  • a receiving unit receives a data packet from the master device, and the slave device 1 can read data from the data packet received by the receiving unit, or insert the input data into the data packet, by A sending unit sends data packets to the slave device 2.
  • the other receiving unit of the slave device 1 receives the data packet from the slave device 2.
  • the slave device 1 can read the data from the data packet received by the receiving unit, or insert the input data into the data packet, and the other A sending unit sends data packets to the master station device.
  • a receiving unit receives the data packet from the slave device i-1, and the slave device i can read the data from the data packet received by the receiving unit, or insert the input data into the data packet
  • a sending unit sends data packets to the slave device i+1.
  • Another receiving unit of the slave device i receives the data packet from the slave device i+1, and the slave device i can read the data from the data packet received by the receiving unit, or insert the input data into the data packet
  • Another sending unit sends a data packet to the slave device i-1.
  • i 2,3,...,N-1.
  • a receiving unit receives a data packet from the slave device N-1, and the slave device N can read data from the data packet received by the receiving unit, or insert the input data into the data packet
  • a sending unit transmits a data packet to another receiving unit of the slave device N. After the other receiving unit receives the data packet, it transmits the data packet to the other sending unit, and the other sending unit sends the data packet to the slave device i-1.
  • the solid line with arrows in Figure 1 (a) indicates the transmission process of data packets between various devices (such as the master device and the slave device, and the slave device and the slave device), as shown in Figure 1 ( a)
  • the dotted line in the middle indicates the transmission process of the data packet in the master device or the slave device.
  • the dedicated service channel forms a self-loop at the failed link or slave device, and transmits data packets to the normally communicating slave device so that the data packet returns to the master device.
  • the link used to connect the slave station device 2 and the slave station device 3 fails, and the dedicated service channel forms a self-loop at the slave station device 2.
  • the data packet sent by the master station device sequentially passes through the slave station device 1, the slave station device 2 and the slave station device 1, and then returns to the master station device.
  • the solid line with an arrow in Figure 1 (b) indicates the transmission process of the data packet between devices
  • the dotted line in Figure 1 (b) indicates the transmission process of the data packet within the master device or the slave device.
  • the lightning symbol indicates that the link is faulty.
  • the MAC addresses of the two network cards can be recorded as MAC1 and MAC2 respectively.
  • the master station device uses the two dedicated service channels to interact with the slave station device through the two network cards mentioned above.
  • a dedicated service channel is from the sending end of the first network card (such as the network card with MAC address of MAC1), through the slave device, to the receiving end of the second network card (such as the network card with MAC address of MAC2), that is, the master Station equipment and slave station equipment can form a ring network topology.
  • Another dedicated service channel is from the sending end of the second network card (such as the network card with MAC address of MAC2), through the slave device, to the receiving end of the first network card (such as the network card with MAC address of MAC1), that is, the master station Equipment and slave equipment can form another ring network topology.
  • the second network card such as the network card with MAC address of MAC2
  • the first network card such as the network card with MAC address of MAC1
  • the transmit unit sends data packets through the first network card (the MAC address of the network card is MAC1), and the data packets are sent from the slave station N slave devices such as device 1, slave device 2,..., slave device N-1, slave device N, and so on, return to the second network card of the master device (the MAC address of the network card is MAC2).
  • the first network card the MAC address of the network card is MAC1
  • the slave station N slave devices such as device 1, slave device 2,..., slave device N-1, slave device N, and so on, return to the second network card of the master device (the MAC address of the network card is MAC2).
  • the slave device When 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 slave device The next slave device connected to the device. The last slave device in the network segment (ie slave device N) returns the processed data packet to the master device.
  • the transmit unit sends data packets through the second network card (the MAC address of the network card is MAC2), and the data packets are sent from the slave device N and the slave device N- 1.
  • MAC2 the MAC address of the network card
  • the transmit unit sends data packets through the second network card (the MAC address of the network card is MAC2), and the data packets are sent from the slave device N and the slave device N- 1.
  • ...N slave devices such as slave device 2, slave device 1, return to the first network card of the master device (the MAC address of the network card is MAC1).
  • the slave device When a 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 slave device The next slave device connected.
  • the last slave device in the network segment (ie slave device 1) returns the processed data packet to the master device.
  • the solid line with arrows in Figure 2(a) indicates the transmission process of the data packet between devices
  • the dotted line indicates the transmission process of the data packet within the master device or the slave device.
  • the industrial Ethernet communication system adopts the redundant transmission mechanism and the system fails, for example, one or several of the multiple slave devices fails, or it is used to connect two adjacent slave devices
  • the link 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 normally communicating slave device so that the data packet returns to the master device .
  • the link used to connect the slave device 2 and the slave device 3 fails, and the slave device 3 also fails, as shown by the dashed line in Figure 2(b)
  • the box shows.
  • a dedicated service channel forms a self-loop at the slave device 2
  • another dedicated service channel forms a self-loop at the normal slave device after the failed slave device.
  • Step 2(b) it is marked as "Slave device N Take an example of "a self-loop formed at -1".
  • the data packet sent by the master device from the first network card (the MAC address of the network card is MAC1) passes through the slave device 1, the slave device 2 and the slave device 1, and then returns to the first network card of the master device.
  • the data packet sent by the station device from the second network card (the MAC address of the network card is MAC2) passes through the slave device N, the slave device N-1, and the slave device N in turn, and then returns to the second network card of the master device.
  • the solid line with arrows in Figure 2(b) 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 symbol indicates the link failure.
  • the dashed box indicates the slave device that has failed.
  • FIG. 3 shows a 5G network architecture.
  • the core network is divided into a control plane (CP) and a user plane (UP).
  • CP includes user plane function (UPF) network elements.
  • CP includes access and mobility management function (AMF) network elements, session management function (SMF) network elements, policy control function (PCF) network elements, unified data management ( unified data management (UDM) network elements and network exposure function (NEF) network elements, etc.
  • AMF access and mobility management function
  • SMF session management function
  • PCF policy control function
  • UDM unified data management
  • NEF network exposure function
  • the 5G network architecture may also include application function (AF) network elements.
  • the SMF network element controls the UPF network element through the N4 interface.
  • AMF network elements exchange information with (radio) access network ((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.
  • AN equipment exchanges information with UPF network elements through the N3 interface.
  • the UPF network element exchanges information with a data network (DN) through the N6 interface.
  • DN data network
  • each network element the main functions of each network element are as follows:
  • AMF network element has the functions of terminal device mobility management, registration management, connection management, lawful interception, support transmission of session management (SM) information between terminal device and SMF network element, access authentication and access authorization, etc. .
  • SM session management
  • the SMF network element has functions such as session management and roaming. Among them, session management functions, such as session establishment, modification and release.
  • the roaming function may include charging data collection, and supporting signaling transmission for authentication/authorization with an external data network (data network, DN).
  • the PCF network element includes user subscription information management functions, policy control functions, charging policy control functions, quality of service (QoS) control, etc.
  • the UPF network element is a functional network element of the user plane, which is mainly responsible for connecting to external networks and processing user messages, such as forwarding, billing, and lawful monitoring. Optionally, data can also be received.
  • UDM network elements have functions such as authentication certificate processing, user identification processing, access authorization, registration and mobility management, subscription management, and SMS management.
  • DN is a network that provides services for terminal devices, such as providing Internet access and short message functions.
  • the AF network element can specifically be an application server, which can be used to interact with the PCF network element to customize a strategy for the application.
  • the network functions that NEF network elements can provide include externally providing network element services, capabilities, application functions, and edge computing.
  • the protocol stack of the terminal device includes an application layer, a packet data unit (packet data unit, PDU) layer (PDU layer), and an access network protocol layer (access network protocol layers) from top to bottom.
  • the protocol stack for communication between AN equipment and terminal devices includes the access network protocol layer.
  • the protocol stack for communication between AN devices and UPF network elements includes 5G user plane encapsulation layer, user datagram protocol (UDP) layer/internet protocol (IP) layer, L2 layer and L1 layer from top to bottom. .
  • the protocol stack for communication between UPF network elements and AN equipment includes 5G user plane encapsulation layer, UDP layer/IP layer, L2 layer and L1 layer from top to bottom.
  • the protocol stack for the communication between the UPF network element and the UPF network element as the PDU session anchor includes from top to bottom the 5G user plane encapsulation layer, the UDP layer/IP layer, the L2 layer and the L1 layer.
  • Relay means that the uplink user plane packets are mapped 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), and the user plane packets are mapped from N9 in the downlink.
  • the port 5G user plane protocol stack (such as GTP-U) is mapped to the N3 port 5G user plane protocol stack (such as GTP-U).
  • the protocol stack of the UPF network element as the anchor of the PDU session includes the PDU layer, the 5G user plane encapsulation layer, the UDP layer/IP layer, the L2 layer and the L1 layer from top to bottom.
  • both the terminal device and the UPF network element serving as the PDU session anchor point have a PDU layer.
  • the PDU layer can perform Internet protocol (IP)/medium access control (MAC) address identification, and then map the MAC address with the PDU session to transmit data packets.
  • IP Internet protocol
  • MAC medium access control
  • protocol data unit protocol data unit
  • PDU protocol data unit
  • a terminal device can access core network equipment (such as UPF 1 network element and UPF 2 network element) through two base stations.
  • the base station is a 5G base station (gNB) as an example for description.
  • One base station serves as a master base station (master gNB, MgNB), and the other base station serves as a secondary base station (secondary gNB, SgNB).
  • the primary 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 primary 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 does not access the AMF network element.
  • the secondary base station can also exchange user plane data with the UPF2 network element.
  • the dashed line shows the path that enables control plane signaling interaction
  • the solid line shows the path that enables user plane data interaction.
  • Figure 6 shows the process of establishing a redundant PDU session based on dual connectivity, which specifically includes the following steps:
  • Step 1 Establish PDU session 1.
  • the terminal device sends a session establishment request message to the main base station.
  • the primary base station receives the session establishment request message from the terminal device.
  • the master base station sends a session establishment request message to the AMF network element.
  • the AMF network element receives the session establishment request message from the primary base station
  • the AMF network element sends the session establishment request message to the SMF1 network element.
  • the SMF1 network element receives the session establishment request message from the AMF network element.
  • the SMF1 network element selects the UPF network element according to the session establishment request message.
  • the SMF1 network element may select a proper UPF network element according to the data network name (DNN) or the session and service continuity mode (session and service continuity, SSC).
  • DNN data network name
  • SSC session and service continuity
  • the UPF network element selected by the SMF1 network element is recorded as the UPF1 network element.
  • the SMF1 network element sends a session establishment request message to the UPF1 network element.
  • the UPF1 network element receives the session establishment request message from the SMF1 network element.
  • the UPF1 network element sends a session establishment response message to the SMF1 network element.
  • the SMF1 network element receives the session establishment response message from the UPF1 network element.
  • the session establishment response message may include the tunnel identifier on the UPF1 network element side, the address of the UPF1 network element, and so on.
  • SMF1 sends a session establishment response message to the AMF network element.
  • 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 master base station sends a session establishment response message to the terminal device.
  • Step 2 Establish PDU session 2.
  • the terminal device sends a session establishment request message to the main base station.
  • the primary base station receives the session establishment request message from the terminal device.
  • the master base station sends a session establishment request message to the AMF network element.
  • the AMF network element receives the session establishment request message from the primary base station
  • the AMF network element sends the session establishment request message to the SMF2 network element.
  • the SMF2 network element receives the session establishment request message from the AMF network element.
  • the SMF2 network element selects the 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.
  • the UPF2 network element receives the session establishment request message from the SMF2 network element.
  • the UPF2 network element sends a session establishment response message to the SMF2 network element.
  • the SMF2 network element receives the session establishment response message from the UPF2 network element.
  • the session establishment response message may include the tunnel identifier on the UPF2 network element side, the address of the UPF2 network element, and so on.
  • the SMF2 network element sends a session establishment response message to the AMF network element.
  • 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 master base station sends a session establishment response message to the terminal device.
  • Step 3 Establish a dual connection between the access network equipment.
  • the primary base station sends a secondary network node addition request to the secondary base station.
  • the secondary base station sends a secondary network node addition response to the primary base station. request ACK).
  • the secondary base station and the terminal device perform radio resource control (radio resource control, RRC) connection reconfiguration (reconfig). In this way, one terminal device can access the core network equipment through two base stations to establish redundant PDU sessions based on dual connections.
  • RRC radio resource control
  • the redundant transmission mechanism is realized through two wired links.
  • the wireless network is used to connect to the industrial Ethernet, if the above dual-connection redundancy mechanism is adopted, the dual-connection network architecture needs to be adapted. The scene is limited and the implementation is complicated.
  • a reliability group for devices integrated with multiple terminal devices, such as mobile phones with dual subscriber identity modules (subscriber identity module, SIM), a reliability group (RG) is introduced.
  • the terminal devices in different reliable groups are connected to different access network equipment.
  • For a device integrated with multiple terminal devices it uses different access network devices to perform data transmission to reduce the error rate of data transmission.
  • two terminal devices are integrated in one device, namely the terminal device 1 and the terminal device 2 respectively. Among them, the reliable group where the terminal device 1 is located is recorded as the reliable group A, and the reliable group where the terminal device 2 is located is recorded as the reliable group B.
  • the terminal device 1 performs data interaction with a data network (DN) through the gNB1 and UPF1 network elements, and the terminal device 2 performs data interaction with the DN through the 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.
  • FIG. 8 is a schematic diagram of a wireless communication network provided by an embodiment of the application applied to an industrial Ethernet.
  • the terminal device 30 accesses a wireless communication network through a wireless interface (for example, 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.
  • the access network equipment 20 is used to connect the terminal device 30 to the wireless communication network
  • the core network equipment 10 is used to manage the terminal device 30 and provide a gateway for communication with other devices.
  • the terminal device 30 may be a device with a wireless communication function, which can be connected to the slave device in the above industrial Ethernet through an adapter, so as to receive the data sent by the master device to the slave device through the wireless communication network, and send it to the slave device.
  • the device, or the data sent from the slave device to the master device, is sent 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.
  • the slave device can integrate a wireless communication function component (such as a chip). At this time, the slave device integrates Wireless communication function and the function of performing operations according to instructions.
  • 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 in communication connection with the core network device 10 in the wireless communication network.
  • the number of terminal devices is two.
  • the first terminal device and the second terminal device may be integrated into one device (specifically as shown by the dashed box in FIG. 8), or two independent devices.
  • the first terminal device is connected to one of the plurality of slave devices (for example, the slave device 1). Wired connections are still used between slave devices.
  • the second terminal device is connected to another slave device (such as the slave device 4) among the plurality of slave devices.
  • the access network equipment 20 forms a ring network topology structure with the slave station equipment through two terminal devices 30, as shown in FIG. 8 in detail.
  • the number of slave station devices may also be one, that is, both the first terminal device and the second terminal device are connected to the slave station device.
  • the terminal device 30 is also referred to as 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 station device.
  • the terminal device 30 can refer to the physical entity that integrates the terminal device 30 and the slave station device that integrates wireless communication.
  • Functional devices such as chip or system-on-chip.
  • the terminal device 30 may include a wireless terminal in industrial control, and may also be a terminal with similar requirements in other control systems, such as a wireless terminal in self-driving (self-driving) and remote medical surgery (remote medical surgery).
  • the wireless terminal in the smart grid smart grid
  • the wireless terminal in the transportation safety transportation safety
  • the wireless terminal in the smart city smart city
  • the wireless terminal in the smart home smart home
  • the access network device 20 is a device in a wireless communication network, for example, a radio access network (RAN) node that connects the terminal device 30 to the wireless communication network.
  • RAN nodes are: gNB, transmission reception point (TRP), evolved Node B (evolved Node B, eNB), radio network controller (RNC), Node B (Node B) B, NB), base station controller (BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (baseband unit) , BBU), or wireless fidelity (Wifi) access point (AP), etc.
  • TRP transmission reception point
  • eNB evolved Node B
  • RNC radio network controller
  • BSC base station controller
  • base transceiver station base transceiver station
  • BTS home base station
  • home base station for example, home evolved NodeB, or home
  • 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.
  • the control plane (CP) and the user plane (UP) of the CU node can be separated and realized by dividing them into different entities, namely the control plane CU entity (CU-CP entity) and the user plane.
  • the access network equipment 20 includes a baseband device and a radio frequency device.
  • the baseband device can be implemented by one node or multiple nodes.
  • the radio frequency device can be implemented remotely and independently by the baseband device, for example, a remote radio unit (RRU) is arranged remotely relative to the BBU, can also be integrated in the baseband device, or part of the remote radio unit is integrated in the baseband device.
  • RRU remote radio unit
  • the communication between the access network device 20 and the terminal device 30 follows a certain protocol layer structure.
  • the control plane protocol layer structure may include the radio resource control (RRC) layer, the packet data convergence protocol (PDCP) layer, the radio link control (RLC) layer, and the media interface. Access control (media access control, MAC) layer and physical layer and other protocol layer functions.
  • the user plane protocol layer structure can include the functions of the PDCP layer, the RLC layer, the MAC layer, and the physical layer; in one implementation, the PDCP layer can also include a service data adaptation protocol (SDAP) layer .
  • SDAP service data adaptation protocol
  • the functions of these protocol layers can be implemented by one node, or can be implemented by multiple nodes.
  • multiple DU nodes may be centrally controlled by one CU node.
  • the CU node and the DU node can be divided according to the protocol layers of the wireless network. For example, the functions of the PDCP layer and above protocol layers are set in the CU node, and the protocol layers below the PDCP layer, such as the RLC layer and MAC layer, are set in the DU node. The division of this protocol layer is just an example, and it can also be divided in other protocol layers.
  • the functions of the RLC layer and the above protocol layers are set in the CU node, and the functions of the protocol layers below the RLC layer are set in the DU.
  • Node Or, divided in a certain protocol layer, for example, part of the function of the RLC layer and the function of the protocol layer above the RLC layer are set in the CU node, and the remaining functions of the RLC layer and the function of the protocol layer below the RLC layer are set in DU node.
  • it can also be divided in other ways, for example, divided by time delay, and functions that need to meet the delay requirement for processing time are set on the DU node, and functions that do not need to meet the delay requirement are set on the CU node.
  • 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 directly pass the protocol layer encapsulation without analyzing the signaling and transparently transmit it to the terminal device 30 or the CU node. If the following embodiments involve the transmission of such signaling between the DU node and the terminal device 30, at this time, the sending or receiving of the signaling by the DU node includes this scenario.
  • the signaling of the RRC layer or the PDCP layer is finally processed as the signaling of the PHY layer and sent to the terminal device 30, or converted from the received signaling of the PHY layer.
  • the RRC layer or PDCP layer signaling can also be considered to be sent by the DU node, or sent by the DU node and radio frequency.
  • the devices in the following embodiments of the present application may be located in different devices according to their realized functions.
  • the data between the master station equipment and the slave station equipment is transmitted through the wireless communication network.
  • the embodiment of the application considers that industrial Ethernet has high requirements for data transmission reliability, and proposes a communication method, so that this communication method is more suitable for the requirements of industrial Ethernet, and data transmission is more reliable.
  • the embodiment of the present application provides a communication method, which is applied in the process of industrial Ethernet data transmission.
  • the communication method includes the following steps:
  • the first access network device acquires the correspondence between the first terminal device and the second terminal device.
  • the first terminal device and the second terminal device are two terminal devices in the same ring network topology, and the two terminal devices can transmit data for the same slave station equipment group, and the slave station equipment group includes at least one slave station equipment.
  • the slave station equipment group includes slave station equipment 1-4, the first terminal device and the second terminal device transmit data for the slave station equipment group, thereby forming two mutually redundant (or backup) transmission paths .
  • data packets from the master station device arrive at the slave station device 1 via the first terminal device, pass through the slave station device 2 and the slave station device 3, reach the slave station device 4, and return to the master station device via the second terminal device;
  • data packets from the master station device arrive at the slave station device 4 via the second terminal device, pass through the slave station device 3 and the slave station device 2, arrive at the slave station device 1, and return to the master station device via the first terminal device.
  • the content of the data packet may change, and each slave device reads its own data and/or writes its own data.
  • the slave device group includes only one slave device, the first terminal device and the second terminal device are connected to the same slave device.
  • 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 in a redundant relationship with each other.
  • the first terminal device and the second terminal device provide the same master station device with a wireless interface to the slave station device; in other words, the first terminal device and the second terminal device provide the same slave station device group with a wireless network interface ; 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 device in the slave device group reads the data sent by the master device to itself from the data packet.
  • the data packet can be transmitted to the slave device group via the second terminal device.
  • the slave device in the slave device group reads the data sent by the master device to itself from the data packet, and writes the data sent to the master device
  • the data packet is then transmitted to the wireless network via the first terminal device, and then returned to the main station device via the wireless network.
  • the data packet is, for example, an Ethernet frame, which includes data sent by the master device to at least one slave device.
  • the slave device When passing through each slave device, the slave device reads its own data from it and sends the data to the master device.
  • the ether frame is transmitted to the wireless network through the terminal device, and finally returned to the master station equipment.
  • the ether frame is sent from the master station device to the back to the master station device, although it is for the same ether frame, the data in it is different.
  • the first access network device obtains a data packet.
  • the data packet is obtained by the first access network device from the core network device (such as UPF), and is a data packet for interaction between the master station device and the slave station device.
  • the data packets interacting between the master device and the slave device follow the industrial Ethernet protocol, such as EtherNet/IP, PROFINET, EtherCAT, Powerlink or Modbus-TCP.
  • the "interaction" in the embodiments of this application can be replaced with "transmission”.
  • the interaction refers to the transmission from the master device to the slave device; for the slave device to the master device Direction of the data packet, this interaction refers to the transmission from the device to the master device.
  • 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.
  • the Ethernet data packet is the data transmitted between the master station device and the slave station device. It is encapsulated as a data packet that satisfies the wireless network transmission protocol and is transmitted in the wireless network. This type of instruction information is used to communicate with the traditional wireless network data packet. distinguish.
  • Wireless network data packets refer to data packets that interact between the terminal device and the access network equipment.
  • the type indication information may be, for example, but not limited to the following two examples:
  • the type indication information is the indication information of the industrial Ethernet protocol followed by the data packet. For example, configure the index for the industrial Ethernet protocol in advance.
  • the index of the industrial Ethernet protocol EtherNet/IP, PROFINET, EtherCAT, Powerlink and Modbus-TCP are 1, 2, 3, 4, 5; Index sequentially, such as 1, 2, 3, 5, 6.
  • the type indication information includes the index of the industrial Ethernet protocol.
  • the type indication information can indicate that the data packet is interactive data between the master device and the slave device, and can also indicate the industry that the data packet follows.
  • the type of Ethernet protocol is the indication information of the industrial Ethernet protocol followed by the data packet. For example, configure the index for the industrial Ethernet protocol in advance.
  • the index of the industrial Ethernet protocol EtherNet/IP, PROFINET, EtherCAT, Powerlink and Modbus-TCP are 1, 2, 3, 4, 5; Index sequentially, such as 1, 2, 3, 5, 6.
  • the type indication information is the indication information of the quality of service of the data packet.
  • 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).
  • QCI quality of service class identifier
  • the QCI corresponding to the industrial Ethernet protocol is different from the QCI corresponding to other protocols (such as the protocol of a wireless communication network).
  • the type indication information occupies a preset number of bits.
  • the value of the preset number is any positive integer, such as 2, 3, 4, 5, 6, 7, and so on.
  • the type indication information is carried in different types of messages, such as but not limited to the following two examples:
  • Example 1 The type indication information is carried in the MAC subheader, and the MAC subheader includes bits and 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.
  • 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.
  • the preset value can be any positive integer from 33 to 51.
  • Example 2 The type indication information is carried in the MAC SDU.
  • the type indication information is the 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.
  • the MAC SDU includes other indication information with the same function.
  • the terminal device after the terminal device receives the data packet, if the data packet carries type indication information, the terminal device can learn that the data packet is data transmitted between the master device and the slave device, and then send the data packet to the slave device; If the data packet does not carry type indication information, the terminal device can learn that the data packet is data sent by the first access network device to itself, and there is no need to send the data packet to the slave device.
  • the type indication information may not exist.
  • a special terminal device identifier can be assigned to a terminal device used for 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.
  • the type indication information It may not exist.
  • the first access network device sends a data packet to the first terminal device and the second terminal device according to the corresponding relationship.
  • the first terminal device and the second terminal device receive data packets 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.
  • 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 that is interacted between the first access network device and the first terminal device, then 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 an interactive data packet between the master station device and the slave station device, the first terminal device forwards the data packet to the slave station device. In this case, the data packet sent by the first access network device to the first terminal device is transmitted through the second path. Wherein, the second path is from the first terminal device to the second terminal device via the at least one slave device.
  • 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 an interactive data packet between the first access network device and the second terminal device, then 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 an interactive data packet between the master station device and the slave station device, the second terminal device forwards the data packet to the slave station device. In this case, the data packet sent by the first access network device to the second terminal device is transmitted through the first path. Wherein, the first path is from the second terminal device to the first terminal device via at least one slave station device.
  • each slave device when the data packet passes 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.
  • the data sent by the slave device to the master device can be: an acknowledgement (acknowledge, ACK) or a negative response (non-acknowledge, NACK) that the slave device sends back to the data packet sent by the master device, or it can be : Newly generated data from the slave device.
  • 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 device, the data packets returned by the two terminal devices to the first access network device are the same, It also realizes the redundant transmission of data, improves the reliability of data transmission, and realizes the data redundant transmission mechanism using the wireless network through two terminal devices.
  • the order of execution of S901 and S902 is not limited, that is, the first access network device may first execute S901 and then execute S902, or it may execute S902 first, and then execute S901. , You can also execute S901 and S902 at the same time.
  • the specific implementation process of S901 can be, for example, but not limited to the following three ways:
  • Manner 1 The first access network device obtains the "correspondence between the first terminal device and the second terminal device" from the terminal device.
  • the first terminal device and/or the second terminal device then send the correspondence between the first terminal device and the second terminal device to the first access network device.
  • the first terminal device or the second terminal device sends the corresponding relationship between the first terminal device and the second terminal device (such as the identity of the first terminal device and the identity of the second terminal device) to the first access network device.
  • the first terminal device sends the identification of the first terminal device and the identification of the second terminal device to the first access network device; or the first terminal device sends the second terminal to the first access network device
  • the identity of the device, and the message carrying the identity of the second terminal device is scrambled by the identity of the first terminal device.
  • This embodiment is not limited to this, as long as the first access network device can learn the correspondence between the first terminal device and the second terminal device.
  • the first terminal device sends the identification of the second terminal device to the first access network device, and the second terminal device sends the identification of the first terminal device to the first access network device.
  • the first access network device can obtain the correspondence between the two terminal devices.
  • the identifier of the terminal device may be, for example, but not limited to: cell-radio network temporary identifier (C-RNTI), international mobile subscriber identity (IMSI), and globally unique temporary identifier (globally mobile subscriber identity, IMSI).
  • C-RNTI cell-radio network temporary identifier
  • IMSI international mobile subscriber identity
  • GUI globally unique temporary identifier
  • SIM subscriber identity module
  • address information that identifies terminal devices (such as Internet Protocol (IP) address, medium access control (MAC) address) ), the system architecture evolved-temporary mobile subscriber identity (SAE-TMSI), etc. assigned by the core network equipment to the terminal device.
  • SAE-TMSI may be abbreviated as S-TMSI.
  • the temporary identifier (such as C-RNTI, GUTI, S-TMSI) allocated to the terminal device by the network side is not stored in the terminal device in advance, but can be used to scramble the message sent by the terminal device to the access network device, or It is used as an identifier reported by the terminal device after the terminal device accesses the network.
  • the first access network device can obtain information from the first terminal device, and/or, the second terminal device.
  • the corresponding relationship between the above two terminal devices is acquired in the terminal device.
  • Manner 2 The first access network device obtains redundant identification information from the terminal device, and then determines the "correspondence between the first terminal device and the second terminal device".
  • the specific implementation process of S901 includes S9011, S9012, and S9013:
  • the first terminal device sends first redundant identification information to the first access network device.
  • the first access network device receives the first redundant identification information from the first terminal device.
  • the first redundant identification information includes at least one of the following information: a master station equipment identification, at least one slave station equipment identification, a slave station equipment list identification, and a terminal device identification.
  • the master station device identifier may include the MAC address of the master station device.
  • the identification of at least one slave device includes an identification of a slave device (such as a slave device connected to a first terminal device or a slave device connected to a second terminal device), or includes multiple slave devices (such as a ring network).
  • the slave device list includes at least one slave device (or the identification of the slave device).
  • the identifier of the slave device list is described as the identifier of the slave device list.
  • the first redundant identification information may include the identifiers of two terminal devices (that is, the aforementioned first terminal device and second terminal device).
  • the first redundant identification information may include the identification of a terminal device (such as the first terminal device or the second terminal device) and the master station device identification, or include a terminal device (such as the first terminal device or the second terminal device)
  • at least one slave device identification or include the identification of a terminal device (such as the first terminal device or the second terminal device) and the slave device list identification.
  • the second terminal device sends second redundant identification information to the first access network device.
  • the first access network device receives the second redundant identification information from the second terminal device.
  • the second redundant identification information includes at least one of the following information: master station equipment identification, at least one slave station equipment identification, slave station equipment list identification and terminal device identification.
  • the terminal device identifier includes the identifier of the first terminal device and/or the identifier of the second terminal device.
  • the slave device list includes the identification of at least one slave device. The identifier of the slave device list is described as the identifier of the slave device list.
  • the second redundant identification information may include the identifiers of two terminal devices (that is, the aforementioned first terminal device and the second terminal device).
  • the second redundant identification information may also include the identification of a terminal device (such as the first terminal device or the second terminal device) and the master station device identification, or the identification information of a terminal device (such as the first terminal device or the second terminal device).
  • 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).
  • the order of execution of S9011 and S9012 is not limited. That is to say, the first access network device can execute S9011 first, then execute S9012, or execute S9012 first, and then execute S9011. , You can also execute S9011 and S9012 at the same time.
  • the first access network device 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.
  • the first redundant identifier and the second redundant identifier can carry identification information identifying an industrial network area, and when the first redundant identifier and the second redundant identifier carry identification information representing the same industrial network area, the first redundant identifier and the second redundant identifier carry identification information that characterizes the same industrial network area.
  • a terminal device and a second terminal device have a corresponding relationship.
  • the identification information of the industrial network area may include, for example, the identification of the master device, the identification of the slave device, or the identification of the slave device list. Of course, more than one of the above identifiers can also be selected to identify the industrial network area, which is not limited in this application.
  • the identification of the terminal device can also be used to identify the industrial network area.
  • 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 mutually redundant, that is, the corresponding relationship between the first terminal device and the second terminal device.
  • the first access network device may determine the first terminal device and the second terminal device according to the sources of the first redundant identification information and the second redundant identification information, for example, carry the first redundant identification information and the second redundant identification information.
  • the identification information message is scrambled by the identification of the first terminal device and the identification of the second terminal device.
  • the first redundant identification information and the second redundant identification information may also include the identification of the terminal device. In this way, the first access network device may be based on the first redundant identification information and the second redundant identification information.
  • the identification of the terminal device determines the corresponding relationship.
  • 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)
  • the first The redundant identification and the second redundant identification carry identification information that characterizes the same industrial network area
  • the first access network device determines 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.
  • the two terminal devices have a corresponding relationship.
  • the first access network device will The subordination relationship between the station equipment identification and the slave station equipment identification determines the correspondence between the first terminal device and the second terminal device.
  • 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 based on the identity of the second terminal device and the identity of the first terminal device.
  • the first access network device determines the correspondence between the two terminal devices based on the redundant identification information from the two terminal devices. relationship.
  • Manner 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).
  • the core network device such as UPF
  • the core network device sends relationship indication information to the first access network device.
  • the first access network device receives the relationship indication information from the core network device.
  • the relationship indication information is used to indicate the corresponding relationship between the first terminal device and the second terminal device.
  • the core network equipment uses, for example, but not limited to, the following methods to determine the correspondence between the first terminal device and the second terminal device.
  • Manner 1 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. Wherein, the contract information of the first terminal device and the contract information of the second terminal device are obtained in advance.
  • the UPF obtains the contract information of the first terminal device and the contract information of the second terminal device from the UDR, and then determines the correspondence between the first terminal device and the second terminal device.
  • Manner 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 first terminal device and the second redundant identification information according to the first redundant identification information and the second redundant identification information. Correspondence between two terminal devices. Exemplarily, referring to Figure 11, the core network device executes S9015 and S9016:
  • the first access network device sends the first redundant identification information and the second redundant identification information to the core network device.
  • the core network device receives the first redundant identification information and the second redundant identification information from the first access network device.
  • NAS non-access stratum
  • the core network device 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.
  • 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.
  • the core network equipment is based on the master station device identification.
  • the affiliation relationship with the device identifier of the slave station determines the correspondence relationship between the first terminal device and the second terminal device.
  • the core network device can determine the corresponding relationship between the two terminal devices, and indicate the corresponding relationship between the two terminal devices for the first access network device.
  • the data packet is transmitted between the slave station devices.
  • the second terminal device after receiving the data packet from the first access network device, the second terminal device sends the data packet to the first (or last) slave device among the plurality of slave devices .
  • 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.
  • the data sent by the slave device to the master device can be: an acknowledgement (acknowledge, ACK) or a negative response (non-acknowledge, NACK) that the slave device sends back to the data packet sent by the master device, or it can be : Newly generated data from the slave device.
  • the data packet 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 plurality of slave devices.
  • the data packets are transmitted along the first path (from the second terminal device through the slave device to the first terminal device), Described as "first data”.
  • 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 device among the plurality of slave devices .
  • 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.
  • the data packet After the data packet passes through each slave device, it is transmitted by the first (or last) slave device among the multiple slave devices to the second terminal device.
  • the data packets are transmitted along the second path (from the first terminal device through the slave device to the second terminal device), Described as "second data".
  • 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 packets are transmitted through mutually redundant paths to ensure the reliability of data transmission.
  • the number of transmission paths that are mutually redundant may be three paths, four paths or more paths. In the embodiments of the present application, only two paths are mutually redundant as an example for description.
  • RSN redundancy sequence numbers
  • 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.
  • the number of mutually redundant paths is 2, and the number of RSN bits may be 1, and the number of mutually redundant paths is 3, and the number of RSN bits may be 2.
  • the terminal device transmits the RSN for the first access network device, and the following steps 1 and 2 may be performed:
  • Step 1 The first terminal device sends the first RSN to the first access network device.
  • the first access network device receives the first RSN from the first terminal device.
  • the first RSN identifies the sequence number of a redundant path.
  • the value of the first RSN may be 1, to indicate that the redundant path corresponding to the first terminal device is the first redundant path serving the master station device.
  • the value of the first RSN may also be 2, to indicate that the redundant path corresponding to the first terminal device is the second redundant path serving the master station device.
  • the first RSN may 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.
  • Step 2 The second terminal device sends a second RSN to the first access network device.
  • the first access network device receives the second RSN from the second terminal device.
  • the second RSN identifies the sequence number of another redundant path.
  • the value of the first RSN is 1, the value of the second RSN may be 2, to indicate that the redundant path corresponding to the second terminal device is the second redundant path serving the master station device ;
  • the value of the second RSN may be 1, to indicate that the redundant path corresponding to the second terminal device is the first redundant path serving the master station device.
  • the second RSN may 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, 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.
  • the first access network device can distinguish different redundant paths according to the first RSN and the second RSN.
  • the first access network device can send corresponding data packets to the terminal device corresponding to a certain redundant path, so that the data packets are transmitted through the corresponding redundant path .
  • the first RSN may be carried in the first redundant identification information, or may also be carried in other information, so that the first access network device can obtain the redundant path and the first terminal device identified by the first RSN.
  • the second RSN can be carried in the second redundant identification information, or can be carried in other information, so that the first access network device can obtain the redundant path identified by the second RSN and the second terminal device. The corresponding relationship.
  • the “first path” and the “second path” described in the embodiments of the present application are two different transmission paths, and they are in a redundant relationship with each other.
  • the first path may be a redundant path whose RSN value is 1, or may be a redundant path whose RSN value is 2.
  • the second path may be a redundant path with an RSN value of 2.
  • the second path may be a redundant path with an RSN value of 1.
  • logical channels there may be multiple logical channels (logical channels, LCH) in the terminal device, and the terminal device designates a certain one or several logical channels dedicated to transmitting data packets interacted between the master station device and the slave station device.
  • LCH logical channels
  • Step 3 The first terminal device sends the identifier of the first logical channel to the first access network device.
  • the first access network device receives the identifier of the first logical channel from the first terminal device.
  • the first logical channel is used to transmit data packets interacted between the master station device and the slave station device.
  • the first access network device can learn which logical channel the first terminal device uses to transmit the data packet.
  • Step 4 The second terminal device sends the identifier of the second logical channel to the first access network device.
  • the first access network device receives the identifier of the second logical channel from the second terminal device.
  • the second logical channel is used to transmit data packets interacted between the master station device and the slave station device.
  • the first access network device can learn which logical channel the second terminal device uses to transmit the data packet.
  • the identification of the first logical channel may be carried in the first redundant identification information, or may also be carried in other information.
  • the identification of the second logical channel may be carried in the second redundant identification information, or may also be carried in other information.
  • 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 setting. Specifically, the first access network device stops scheduling for receiving the returned data packet.
  • the uplink resource may also include the retransmission resource of the data packet returned by the stop scheduling retransmission. That is, after the first access network device executes S903, S904 and S905 are executed.
  • the first access network device waits to receive a data packet returned by another path, and the first access network device does not perform S905.
  • S904 and S905 are as follows:
  • the first terminal device sends the first data to the first access network device.
  • the first access network device receives the first data from the first terminal device.
  • the first data is data transmitted by the data packet along the first path.
  • the first path is from the second terminal device to the first terminal device via the slave device.
  • the first access network device sends transmission instruction information to the second terminal device.
  • the second terminal device receives the transmission instruction information from the first access network device.
  • the transmission instruction 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 the data transmitted by the data packet along the second path.
  • the second path is from the first terminal device to the second terminal device via the slave device.
  • the transmission instruction information is carried in the medium access control (MAC) sub-protocol data unit (PDU), and the MAC sub-PDU includes the MAC sub-header and the medium access control (MAC) sub-header.
  • the MAC subheader includes a logical channel identity (LCID).
  • the above transmission indication information can be implemented through the LCID in the MAC subheader, or it can be implemented through the MAC CE. For example, when the LCID in the MAC subheader 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.
  • the LCID is used to indicate that the MAC CE corresponding to the MAC subheader where it is located is the 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 (for transmission indication information or carrying Transmission instructions).
  • 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.
  • Different types of MAC CE indicate different accuracy of the second data to stop transmission.
  • the types of MAC CE include but are not limited to the following types:
  • the MAC CE of the first type is a preset length
  • the MAC CE of this type 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.
  • 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 the first preset value, and the LCID having the value of the first preset value is used to indicate the MAC CE of the first type.
  • the second terminal device When the second terminal device receives the MAC CE corresponding to the LCID of the first preset value, it can obtain that the first access network device instructs 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.
  • the second type of MAC CE includes the identifier of the preset logical channel, and this type of MAC CE is used to instruct the second terminal device to stop transmitting the second terminal device corresponding to the preset logical channel to the first access network device.
  • the preset logical channel is used to transmit data packets interacted between the master station device and the slave station device.
  • the role of the preset logical channel identifier in the MAC CE and the LCID in the MAC subheader are different.
  • the value of the LCID in the MAC subheader is the second preset value, and the LCID having the value of 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.
  • the identifier of the preset logical channel may be one, see FIG. 13 for details.
  • 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, the number of bits occupied by the identifier of the preset logical channel is not limited.
  • the MAC CE includes the identifiers of multiple preset logical channels.
  • each LCID is an identifier of a preset logical channel.
  • LCID1 is the identification of the first preset logical channel
  • LCID2 is the identification of the second preset logical channel
  • LCID3 is the identification of the third preset logical channel.
  • the length of MAC CE varies. The length of the MAC CE varies with the number of identifiers of the preset logical channel.
  • one bit in the MAC CE corresponds to a preset logical channel.
  • each bit corresponds to a preset logical channel.
  • the preset number of 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.
  • 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.
  • the value of the LCID in the MAC subheader is the third preset value, and the LCID having the value of the third preset value is used to indicate the third type of MAC CE.
  • the number of the sequence number (SN) of the data packet in the MAC CE may be one.
  • R is a reserved bit.
  • the sequence number of a data packet can occupy multiple bits, such as 5, 6 or 7 bits.
  • the number of bits occupied by the serial number of the data packet is not limited.
  • the sequence number of the data packet can be multiple.
  • the MAC CE includes the sequence numbers of multiple data packets.
  • SN1 is the serial number of the first data packet
  • SN2 is the serial number of the second data packet
  • SN3 is the serial number of the third data packet
  • the length of MAC CE also changes.
  • the length of the MAC CE varies with the number of sequence numbers of the data packet. In the case where the number of sequence numbers of the data packet is small, the length of the MAC CE is small; when the number of sequence numbers of the data packet is large, the length of the MAC CE is large.
  • the sequence number of the data packet can be the sequence number of the radio link control (RLC) layer, or the sequence number of the packet data convergence protocol (PDCP) layer, or the GTP-U
  • the serial number is either the application layer serial number or other serial numbers with indicating function.
  • MAC CE includes a type indication field T, as shown in Figure 18.
  • 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 may be a positive integer greater than or equal to 0, for example, the type indication field T occupies 1, 2 or more bits.
  • a bit in the type indication field T corresponds to a type of SN. If the value of the bit is 1, it means that the current MAC CE includes the type of SN corresponding to the bit, or the The value of the bit is 0, which means that the current MAC CE includes the SN corresponding to the bit.
  • each type of SN corresponds to an index, and the value of the type indication field T is used to indicate the index of one type of SN, so as to indicate that the current MAC CE includes the type of SN corresponding to the index.
  • the fourth type of MAC CE includes a preset data radio bearer identity (DRB ID), and this type of MAC CE is used to instruct the second terminal device to stop accessing the first
  • the network device transmits the second data corresponding to the data radio bearer identification number.
  • the data radio bearer identified by the preset data bearer identification number is used to transmit the data packets interacted between the master station device and the slave station device.
  • the value of the LCID in the MAC subheader is the fourth preset value
  • the LCID having the value of 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 identifier.
  • R is a reserved bit.
  • the preset data radio bearer identifier 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 preset data radio bearer identifier is not limited.
  • the MAC CE includes identifiers of multiple preset data radio bearers.
  • LCID1 is the identifier of the first preset data radio bearer
  • LCID2 is the identifier of the second preset data radio bearer
  • LCID3 is the identifier of the third preset data radio bearer.
  • the length of MAC CE varies. The length of the MAC CE varies with the number of preset data radio bearer identities.
  • one bit in the MAC CE corresponds to one data radio bearer identifier.
  • one bit corresponds to one data radio bearer identity.
  • the preset number of data radio bearer identifiers is i. Among them, DRB1 represents the first preset data radio bearer identity, DRB2 represents the second preset data radio bearer identity, and so on, DRBi represents the i-th preset data radio bearer identity.
  • a bit on a bit is set to 1, it means that the transmission of the second data wirelessly carried by the data corresponding to the bit to the first access network device is stopped. Or, if the bit on the bit is 0, it means that the second data wirelessly carried by the data corresponding to the bit is stopped to be transmitted to the first access network device.
  • the accuracy of the second data to stop transmission indicated by different types of MAC CEs is different.
  • the second type of MAC CE indicates the stop transmission
  • the second data corresponds to the preset logical channel, the indication is more accurate and the granularity is finer.
  • the second data to stop transmission indicated by the MAC CE of the third type corresponds to the transmission sequence number, and the indication granularity is finer.
  • the first data and the second data obtained are the same.
  • a certain 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 instruction information.
  • the second terminal device To instruct the second terminal device to stop transmitting corresponding second data to the first access network device, so as to save data transmission resources.
  • the above second data may be transmitted through pre-configured resources, for example, resources of configured grant type 1 or configured grant type 2 are transmitted.
  • the transmission may be performed through resources dynamically scheduled by the first access network device, that is, the resources of the physical downlink data channel are scheduled for the terminal device through the physical downlink control channel for transmitting the second data.
  • the first access network device may not send the transmission instruction information, but stop scheduling resources so that the second terminal device cannot obtain the resource for transmitting the second data, thereby stopping the transmission of the second data.
  • the first access network device after the first access network device receives the first data from the first terminal device, if the quality of the first data meets the service requirements, such as the first data If the packet loss rate 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 service requirements, such as If the packet loss rate of one piece of 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 perform S905, so that the first access network device receives the data packet from the second access network device.
  • the second data of the terminal device is used to ensure the reliable transmission of the data.
  • the communication method in the embodiment of the present application further includes S906 and/or S907:
  • the first access network device sends first status indication information to the first terminal device.
  • the first terminal device receives the first status indication information from the first access network device.
  • the first state indication information is used to indicate that the second path is in an active state or an inactive state. If the second path is active, the second path transmits data packets. If the second path is in an inactive state, the second path does not need to transmit data packets.
  • the first terminal device After receiving the first state indication information from the first access network device, the first terminal device sets the second path to an active state or an inactive state according to the first state indication information.
  • 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 active or inactive at a time corresponding to the time information.
  • the time information includes at least one of the following information: a system frame number (SFN), a slot number in the SFN, and a time domain symbol in the slot.
  • SFN system frame number
  • the first terminal device sets the status of the second path to active at the frame boundary of the system frame number, or at the frame boundary of the adjacent frame of the system frame number. Or inactive.
  • the first status indication information does not include time information.
  • the first terminal device receives the first status indication information, and then, at a certain point in the default time period, the first terminal device sets the status of the second path to active or inactive.
  • the first status indication information may be carried in downlink control information (downlink control element, DCI) or medium access control (medium access control, MAC) sub-protocol data unit (PDU), or dedicated signaling in.
  • the MAC sub-PDU includes a MAC sub-header and a medium access control (medium access control, MAC) control element (CE).
  • the MAC subheader includes a logical channel identity (LCID).
  • the LCID has a preset value, and is used to indicate that the MAC CE corresponding to the MAC subheader includes the first state indication information (it is the first state indication information or carries the first state indication information).
  • the first access network device executes S906 before sending a data packet to the first terminal device.
  • the first state indication information is used to indicate that the second path is in the active state.
  • the first access network device sends the data packet to the first terminal device, so that the data packet is transmitted along the second path.
  • S906 may be executed.
  • the first status indication information is used to indicate that the second path is in an inactive state.
  • 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 the second path to the first terminal device.
  • the path is active.
  • S906 may be executed.
  • the first status indication information is used to indicate that the second path is in an inactive state.
  • the first access network device sends second status indication information to the second terminal device.
  • the second terminal device receives the second status indication information from the first access network device.
  • the second state indication information is used to indicate that the first path is in an active state or an inactive state.
  • the second terminal device After receiving the second state indication information from the first access network device, the second terminal device sets the first path to an active state or an inactive state according to the second state indication information.
  • the second status indication information includes time information, and the second status indication information is used to indicate that at a time corresponding to the time information, the second terminal device sets the status of the first path to active or inactive.
  • the time information includes at least one of the following information: SFN, the slot number in the SFN, and the time domain symbol in the slot.
  • the second status indication information does not include time information.
  • the second terminal device receives the second status indication information, and then, at a certain point in the default time period, the second terminal device sets the status of the first path to active or inactive.
  • the second status indication information may also be carried in DCI or MAC sub-PDU, or dedicated signaling.
  • the MAC sub-PDU includes a MAC sub-header and MAC CE.
  • the MAC subheader includes LCID.
  • the LCID has a preset value and is used to indicate that the MAC CE corresponding to the MAC subheader includes the above-mentioned second state indication information (the second state indication information or the second state indication information).
  • the first access network device executes S907 before sending a data packet to the second terminal device.
  • the second state indication information is used to indicate that the first path is in an active state.
  • the first access network device sends the data packet to the second terminal device, so that the data packet is transmitted along the first path.
  • S907 may be executed.
  • the first status indication information is used to indicate that the first path is in an inactive state.
  • the first access network device does not need to perform S907 before sending a data packet to the second terminal device, and does not need to indicate the first path to the second terminal device.
  • the path is active.
  • S907 may be executed.
  • the second status indication information is used to indicate that the first path is in an inactive state.
  • the first access network device uses the status indication information to indicate the status of one path or two paths for the terminal device.
  • the first access network device transmits data packets that are interacted 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 the first terminal device to the first terminal device.
  • the second path is in the active state
  • the first access network device uses the second state indication information to indicate to the second terminal device that the first path is in the active state, so that the same data packet is transmitted along the two paths to ensure reliable data transmission If the channel quality is good, the first access network device uses the first status indication information to indicate to the first terminal device that the second path is in the active state, or the first access network device uses the second status indication information, Instruct the second terminal device that the first path is active, so that the data packet is transmitted along one path, so as to save transmission resources.
  • the first access network device When the first access network device transmits a data packet interactive between the first access network device and the terminal device, the first access network device uses the first status indication information to indicate to the first terminal device that the second path is inactive State, the first access network device uses the second state indication information to indicate to the second terminal device that the first path is in an inactive state. 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 that the path is in the active state or the inactive state, so as to meet different service requirements or wireless channel quality, and also save air interface resources.
  • 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 according to two For the correspondence between terminal devices, a data packet is first sent to a terminal device so that the data packet is transmitted along a certain path.
  • the first access network device receives the returned data packet within the preset time, the first access network device does not need to send the data packet to another terminal device.
  • the first access network device sends the data packet to another terminal device so that the The data packet is transmitted along another path, and the first access network device receives the data packet returned by the other path.
  • the data packets sent by the first access network device to the two terminal devices are the same, and the two paths are mutually redundant.
  • 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.
  • the first access network device sends a data packet to the second terminal device according to the corresponding relationship.
  • the second terminal device receives the data packet from the first access network device.
  • the data packet sent by the first access network device to the second terminal device is transmitted through the first path.
  • the first path is from the second terminal device to the first terminal device via the at least one 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.
  • the first access network device executes S909 within the preset time
  • 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, the first access network device executes S910 so that the data packet is transmitted along another path.
  • S909 and S910 are as follows:
  • the first terminal device sends third data to the first access network device.
  • the first access network device receives the third data from the first terminal device.
  • the third data is data transmitted by the data packet along the first path.
  • the data packet is transmitted along the first path (from the second terminal device through the slave device to the first terminal device), Described as "Third Data”.
  • the first access network device sends a data packet to the first terminal device according to the corresponding relationship.
  • the first terminal device receives the data packet from the first access network device.
  • the data packet in S910 is the same as the data packet in S908.
  • the first terminal device 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.
  • the data packet is transmitted along the second path (from the first terminal device through the slave device to the second terminal device), Described as "fourth data".
  • 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.
  • a certain 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 also does not need to send data packets to the first terminal device, so as to save data transmission resources. If a certain 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, so that the data packet is transmitted along another path, and returns to the first access network device to improve the data. Reliability of transmission.
  • 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 If the value is less than or equal to the preset value, there is no need to transmit the data packet along another path, that is, the first access network device does not need to perform S910; the quality of the third data cannot meet the service requirements, such as the third data packet loss rate is greater than the preset Value, the first access network device still executes S910, so that the data packet is transmitted along another path and returned to the first access network device to ensure the reliability of data transmission.
  • the aforementioned communication methods are all aimed at a network architecture in which two terminal devices are connected to the same access network device.
  • the network architecture suitable for industrial Ethernet is shown in Figure 24.
  • the number of access network devices is two, that is, 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 may be an X2 interface or an Xn interface.
  • the information exchanged between two access network devices is carried in X2 messages or Xn messages.
  • 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 indicates that control plane signaling is transmitted between the two.
  • the interaction process between the first terminal device and the first access network device can be referred to in the above S9011, S903, S904, S906, S909 and S910. Related descriptions will not be repeated here.
  • the interaction process between the first access network device and the core network device reference may be made to the related descriptions of S9014 and S9015 above, which will not be repeated here.
  • the information exchange process between the second terminal device and the first access network device is as follows:
  • the process for the second terminal device to report the second redundant identification information that is, the specific implementation steps of S9012 are as follows: the second terminal device sends the second redundant identification information to the second access network device, and then the second terminal device sends the second redundant identification information to the second access network device.
  • the network access device sends the second redundant identification information to the first access network device.
  • the first access network device sends a data packet to the second access network device, and the second access network device sends the data packet to the second terminal device.
  • 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.
  • the specific implementation steps of S905 are as follows: the first access network device sends the transmission instruction information to the second access network device, and then The second access network device sends transmission instruction information to the second terminal device.
  • the process in which the first access network device sends the second status indication information to the second terminal device that is, the specific implementation steps of S907 are as follows: the first access network device sends the second status indication to the second access network device Information, the second access network device sends the second status indication information to the second terminal device.
  • the specific implementation steps for the process of the second terminal device sending the returned data packet to the first access network device are as follows: the second terminal device sends the data packet to the second access network device, and then the second access network device Send a data packet to the first access network device.
  • the methods and/or steps implemented by the first access network device can also be implemented by components (such as chips or circuits) that can be used in the first access network device;
  • the methods and/or steps implemented by the terminal device can also be implemented by components (such as chips or circuits) that can be used in the first terminal device; the methods and/or steps implemented by the second terminal device can also be implemented in the second terminal device.
  • the components (such as chips or circuits) of the device are implemented; the methods and/or steps implemented by the core network equipment can also be implemented by components (such as chips or circuits) that can be used in the core network equipment.
  • an embodiment of the present application also provides a communication device.
  • the communication device may be the network element in the foregoing method embodiment, or a device including the foregoing network element, or a component that can be used for a network element.
  • the communication device includes hardware structures and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • FIG. 25 shows a schematic structural diagram of a communication device 2500.
  • 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 for receiving or sending signals from other devices.
  • the interface module 2501 is an interface circuit for the chip to receive signals from other chips or devices.
  • the interface module 2501 is an interface circuit used by the chip to send signals to other chips or devices.
  • 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 data packets; the processing module 2502 is used to send information to the first terminal device and the second terminal device according to the corresponding relationship. Send data packets.
  • the interface module 2501 is also used to receive the first data from the first terminal device; the interface module 2501 is also used to send transmission instruction information to the second terminal device, and the transmission instruction information is used to instruct the second terminal device.
  • the device stops transmitting the second data to the access network device; where the first data is data transmitted by the data packet along the first path, and the second data is the data transmitted by the data packet along the second path; the first path is from the second terminal.
  • the device passes through at least one slave device to the first terminal device; the second path is from the first terminal device to the second terminal device via at least one slave device.
  • the processing module 2502 is used to obtain the corresponding relationship between the first terminal device and the second terminal device, including: the processing module 2502 is used to receive the data from the first terminal device, the second terminal device, or the core network device Acquire the correspondence between the first terminal device and the second terminal device.
  • the processing module 2502 is configured to obtain the correspondence between the first terminal device and the second terminal device, including: the interface module 2501 is configured to receive the 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 first terminal device and the second terminal device according to the first redundant identification information and the second redundant identification information Correspondence between.
  • the interface module 2501 is further configured to receive the first redundant serial number RSN from the first terminal device and the second redundant serial number RSN from the second terminal device.
  • the interface module 2501 is further configured to receive the identifier of the first logical channel from the first terminal device and the identifier of the second logical channel from the second terminal device.
  • 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;
  • a state indication information is used to indicate that the second path is in an active state or an inactive state;
  • the second state indication information is used to indicate that the first path is in an active state or an inactive state.
  • 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 device; the interface module 2501 is also used to receive a second data packet, the second data packet includes at least one data packet sent from the slave device to the master device, the second data packet is the same data packet as the first data packet through at least one Obtained after processing from the station equipment.
  • the interface module 2501 is also used to send the second data packet to the access network device.
  • the interface module 2501 is also used to send the corresponding relationship between the terminal device and another terminal device to the access network device.
  • the interface module 2501 is also used to send redundant identification information to the access network equipment;
  • the redundant identification information includes at least one of the following information: a master station equipment identification, at least one slave station equipment identification, and slave equipment identification.
  • the station equipment list identifier, the terminal device identifier, and the other terminal device identifier, and the other terminal device has a corresponding relationship with the terminal device.
  • the interface module 2501 is also used to send the redundant serial number RSN to the access network device.
  • the interface module 2501 is also used to send the identifier of the logical channel to the access network device.
  • the interface module 2501 is also used to receive transmission instruction information from the access network device, and the transmission instruction information is used to instruct the terminal device to stop transmitting the second data packet to the access network device.
  • the interface module 2501 is also used to receive status indication information from the access network equipment, where the status indication information is used to indicate that the path is active or inactive, and the path is from the terminal device via at least one slave Station equipment to another terminal device; the processing module 2502 is used to set the status of the path to active or inactive according to the status indication information.
  • 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 first terminal Correspondence between the device and the second terminal device.
  • the processing module 2502 is used to determine the correspondence between the first terminal device and the second terminal device, including: the processing module 2502 is used to determine the correspondence between the first terminal device and the second terminal device according to the contract information of the first terminal device and the second terminal device.
  • the contract information determines the correspondence between the first terminal device and the second terminal device;
  • the interface module 2501 is used to obtain the first redundant identification information from the first terminal device and the second redundant identification information from the second terminal device
  • the processing module 2502 is used to obtain the first redundant identification information and the second redundant identification information according to the first redundant identification information and the second redundant identification information.
  • the identification information determines the correspondence between the first terminal device and the second terminal device.
  • the communication device 2500 is presented in the form of dividing various functional modules in an integrated manner.
  • the "module” here can refer to a specific ASIC, circuit, processor and memory that executes one or more software or firmware programs, integrated logic circuit, and/or other devices that can provide the above-mentioned functions.
  • the communication device 2500 may take the form of the communication device 2600 shown in FIG. 26.
  • the processor 2601 in the communication device 2600 shown in FIG. 26 may invoke the computer execution instructions stored in the memory 2603 to make the communication device 2600 execute the communication method in the foregoing method embodiment.
  • the function/implementation process of the interface module 2501 and the processing module 2502 in FIG. 25 may be implemented by the processor 2601 in the communication device 2600 shown in FIG. 26 calling the computer execution instructions stored in the memory 2603.
  • the function/implementation process of the processing module 2502 in FIG. 25 can be implemented by the processor 2601 in the communication device 2600 shown in FIG. 26 calling the computer execution instructions stored in the memory 2603, and the function of the interface module 2501 in FIG. 25
  • the implementation process can be implemented through the communication interface 2604 in the communication device 2600 shown in FIG. 26.
  • the processor 2601, the memory 2603, and the communication interface 2604 are connected through a bus 2602.
  • 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 embodiment, and will not be repeated here.
  • one or more of the above modules or units can be implemented by software, hardware or a combination of both.
  • the software exists in the form of computer program instructions and is stored in the memory, and the processor can be used to execute the program instructions and implement the above method flow.
  • the processor can be built in SoC (system on chip) or application specific integrated circuit (ASIC), or it can be an independent semiconductor chip.
  • SoC system on chip
  • ASIC application specific integrated circuit
  • the processor's internal processing is used to execute software instructions for calculations or processing, and may further include necessary hardware accelerators, such as field programmable gate arrays (FPGA) and programmable logic devices (programmable logic devices). device, PLD), or a logic circuit that implements dedicated logic operations.
  • FPGA field programmable gate arrays
  • programmable logic devices programmable logic devices
  • the hardware can be a CPU, a microprocessor, a digital signal processing (digital signal processing, DSP) chip, a microcontroller unit (MCU), an artificial intelligence processor, an ASIC, Any one or any combination of system-on-chip (SoC), FPGA, PLD, dedicated digital circuit, hardware accelerator, or non-integrated discrete device, which can run necessary software or does not rely on software to perform the above Method flow.
  • DSP digital signal processing
  • MCU microcontroller unit
  • SoC system-on-chip
  • FPGA field-programmable gate array
  • PLD dedicated digital circuit
  • hardware accelerator or non-integrated discrete device
  • an embodiment of the present application further provides a communication device (for example, the communication device may be a chip or a chip system), and the communication device includes a processor for implementing the method in any of the foregoing method embodiments.
  • the communication device further 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 foregoing method embodiments.
  • the memory may not be in the communication device.
  • the communication device is a chip system, it may be composed of a chip, or may include a chip and other discrete devices, which is not specifically limited in the embodiment of the present application.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • 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, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or includes one or more data storage devices such as servers, data centers, etc. that can be integrated with the medium.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a digital video disc/disk (DVD)), or a semiconductor medium (for example, a solid state disk (SSD)). ))Wait.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供了通信方法及装置,涉及通信技术领域,能够提高数据传输的可靠性。在该通信方法所适用的网络架构中,第一接入网设备分别通过第一终端装置和第二终端装置与从站设备构成环网拓扑结构,第一接入网设备还通过核心网设备与主站设备连接。在主站设备通过网络架构向从站设备发送数据包时,第一接入网设备与终端装置之间所采用的通信方法包括:第一接入网设备获取第一终端装置和第二终端装置之间的对应关系。在第一接入网设备获取数据包之后,根据上述对应关系向第一终端装置和第二终端装置发送相同的数据包,以使第一终端装置和第二终端装置向从站设备传输相同的数据包。

Description

通信方法及装置 技术领域
本申请涉及通信技术领域,尤其涉及一种通信方法及装置。
背景技术
工业以太网,即应用于工业配置的以太网。通常工业以太网通信采用有线连接,然而,在工业以太网对接无线通信网络时,现有无线通信网络支持的冗余传输机制无法满足工业以太网的冗余传输机制要求,影响以太网数据的可靠性传输。
发明内容
本申请实施例提供一种通信方法及装置,能够提高数据传输的可靠性。
为达到上述目的,本申请实施例采用如下技术方案:
第一方面,本申请实施例提供一种通信方法,该方法包括:接入网设备获取第一终端装置和第二终端装置之间的对应关系,在接入网设备获取数据包之后,根据对应关系向第一终端装置和第二终端装置发送数据包。
如此,接入网设备利用两个终端装置之间的对应关系,向两个终端装置发送相同的数据包。在接入网设备通过上述两个终端装置与从站设备构成环网拓扑结构的情况下,接入网设备向第一终端装置发送的数据包经过上述从站设备之后,传输到第二终端装置,最终返回到接入网设备;接入网设备向第二终端装置发送的数据包经过上述从站设备之后,传输到第一终端装置,最终返回到接入网设备。其中,数据包经过各个从站设备的时候,每个从站设备可以读取主站设备发送给自己的数据,并将发送给主站设备的数据写入数据包中。由于接入网设备向两个终端装置发送的数据包相同,并且,相同的数据包经过相同的从站设备处理,最终两个终端装置返回给接入网设备的数据包相同,也就实现了数据的冗余传输,提高数据传输的可靠性。
在一种可能的设计中,本申请实施例提供的通信方法还包括:接入网设备接收来自第一终端装置的第一数据;接入网设备向第二终端装置发送传输指示信息,传输指示信息用于指示第二终端装置停止向接入网设备传输第二数据;其中,第一数据是数据包沿第一路径传输的数据,第二数据是数据包沿第二路径传输的数据;第一路径为从第二终端装置经至少一个从站设备到第一终端装置;第二路径为从第一终端装置经至少一个从站设备到第二终端装置。
由于相同的数据包经过第一路径和第二路径传输后的数据是相同的。在接入网设备接收到第一终端装置返回的数据包时,接入网设备也就无需接收第二终端装置返回的数据包。如此,接入网设备向第二终端装置发送传输指示信息,来指示第二终端装置无需向接入网设备传输第二数据,以节省空口资源。
在一种可能的设计中,传输指示信息承载于媒体接入控制MAC子协议数据单元PDU,MAC子PDU包括MAC子头和MAC控制单元CE,MAC子头包括逻辑信道标识LCID。
其中,传输指示信息包括具有预设值的LCID,预设值的LCID用于指示第二终端装置停止向接入网设备传输第二数据;或者,LCID具有预设值,用于指示MAC子头对应的MAC  CE包括传输指示信息。如此,MAC子头和MAC CE属于MAC子PDU中的不同部分,MAC子PDU中的不同部分均能够指示第二终端装置停止向接入网设备传输第二数据。
在一种可能的设计中,MAC CE的长度为预设长度,且MAC CE用于指示第二终端装置停止向接入网设备传输第二数据;
或者,MAC CE包括预设逻辑信道的标识,且MAC CE用于指示第二终端装置停止向接入网设备传输预设逻辑信道对应的第二数据;或者,MAC CE包括数据包的序列号,且MAC CE用于指示第二终端装置停止向接入网设备传输序列号对应的第二数据;或者,MAC CE包括数据无线承载的标识,且MAC CE用于指示第二终端装置停止向接入网设备传输数据无线承载对应的第二数据。也就是说,不同类型的MAC CE以不同的方式承载传输指示信息。不同类型的MAC CE所指示的第二数据的精准度不同。四种MAC CE所指示的第二数据的粒度包括:与第二终端装置对应的第二数据、与预设逻辑信道对应的第二数据、与序列号对应的第二数据、与数据无线承载对应的第二数据,指示精准度不同,指示粒度也不一样。
在一种可能的设计中,预设长度为0。
在一种可能的设计中,接入网设备获取第一终端装置和第二终端装置之间的对应关系,包括:接入网设备从第一终端装置、第二终端装置或核心网设备获取第一终端装置和第二终端装置之间的对应关系。如此,在第一终端装置、第二终端装置或核心网设备获取上述两个终端装置之间的对应关系的情况下,接入网设备能够从第一终端装置、第二终端装置或核心网设备中获取上述两个终端装置之间的对应关系。
在一种可能的设计中,接入网设备获取第一终端装置和第二终端装置之间的对应关系,包括:接入网设备接收来自第一终端装置的第一冗余标识信息;接入网设备接收来自第二终端装置的第二冗余标识信息;接入网设备根据第一冗余标识信息和第二冗余标识信息,确定第一终端装置和第二终端装置之间的对应关系。如此,在接入网设备接收来自两个终端装置的冗余标识信息之后,接入网设备基于来自两个终端装置的冗余标识信息来确定上述两个终端装置之间的对应关系。
在一种可能的设计中,第一冗余标识信息包括以下信息的至少一种:主站设备标识,至少一个从站设备标识,从站设备列表标识或终端装置标识;第二冗余标识信息包括以下信息的至少一种:主站设备标识,至少一个从站设备标识,从站设备列表标识和终端装置标识;其中,终端装置标识包括第一终端装置的标识和/或第二终端装置的标识。由于冗余标识信息中包括以下信息的至少一种,主站设备标识,至少一个从站设备标识,从站设备列表标识和两个终端装置标识。如此,接入网设备即可根据两个冗余标识信息中的主站设备标识,至少一个从站设备标识,从站设备列表标识或两个终端装置标识来确定上述两个终端装置之间的对应关系。
在一种可能的设计中,本申请实施例提供的通信方法还包括:接入网设备接收来自第一终端装置的第一冗余序列号RSN和来自第二终端装置的第二RSN。由于RSN用于标识为主站设备服务的冗余路径的序号,如第一RSN标识第一条冗余路径,第二RSN标识第二条冗余路径。如此,接入网设备即可根据第一RSN和第二RSN区分不同的冗余路径。
在一种可能的设计中,本申请实施例提供的通信方法还包括:接入网设备接收来自第一终端装置的第一逻辑信道的标识和来自第二终端装置的第二逻辑信道的标识。其中,第 一逻辑信道和第二逻辑信道用于传输主站设备与从站设备之间传输的数据包。如此,接入网设备还能够基于来自终端装置的逻辑信道的标识获知该终端装置采用哪一逻辑信道传输数据包。
在一种可能的设计中,数据包包括类型指示信息,类型指示信息用于指示数据包是主站设备与从站设备之间传输的数据,而不是终端装置与接入网设备之间传输的数据。如此,终端装置接收数据包之后,若数据包携带类型指示信息,则终端装置即可获知该数据包是主站设备与从站设备之间传输的数据,进而向从站设备发送该数据包;若数据包未携带类型指示信息,则终端装置即可获知该数据包是接入网设备向自己发送的数据,无需向从站设备发送该数据包。
在一种可能的设计中,类型指示信息承载于媒体接入控制MAC子头,MAC子头包括比特位和逻辑信道标识LCID;比特位用于指示数据包是主站设备与从站设备之间传输的数据,或者,LCID为预设值,预设值用于指示数据包是主站设备与从站设备之间传输的数据。也就是说,类型指示信息承载于MAC子头,通过MAC层消息的MAC子头来指示数据包的类型。
在一种可能的设计中,类型指示信息承载于MAC服务数据单元SDU,类型指示信息为MAC SDU中的序列号,序列号为预设值,预设值用于指示数据包是主站设备与从站设备之间传输的数据。也就是说,类型指示信息承载于MAC SDU,通过MAC层消息的MAC SDU来指示数据包的类型。
在一种可能的设计中,本申请实施例通信方法还包括:接入网设备向第一终端装置发送第一状态指示信息;和/或接入网设备向第二终端装置发送第二状态指示信息;其中,第一状态指示信息用于指示第二路径为激活状态或非激活状态;第二状态指示信息用于指示第一路径为激活状态或非激活状态。
如此,在接入网设备传输主站设备与从站设备之间交互的数据包时,若信道质量较差,则接入网设备采用第一状态指示信息,为第一终端装置指示第二路径为激活状态,接入网设备采用第二状态指示信息,为第二终端装置指示第一路径为激活状态,以使相同的数据包沿两条路径传输,来保证数据传输的可靠性;若信道质量较好,则接入网设备采用第一状态指示信息,为第一终端装置指示第二路径为激活状态,或者,接入网设备采用第二状态指示信息,为第二终端装置指示第一路径为激活状态,以使数据包沿一条路径传输即可,以节省传输资源。在接入网设备传输接入网设备与终端装置之间交互的数据包时,接入网设备采用第一状态指示信息,为第一终端装置指示第二路径为非激活状态,接入网设备采用第二状态指示信息,为第二终端装置指示第一路径为非激活状态。如此,数据包不再沿第一路径和第二路径传输。
在一种可能的设计中,第一状态指示信息包括时间信息,第一状态指示信息用于指示在时间信息对应的时间,将第二路径的状态设置为激活或非激活;和/或第二状态指示信息包括时间信息,第二状态指示信息用于指示在时间信息对应的时间,将第一路径的状态设置为激活或非激活。
如此,接入网设备为第一终端装置指示在哪一时间将第二路径的状态设置为激活或非激活,和/或接入网设备为第二终端装置指示在哪一时间将第一路径的状态设置为激活或非激活。
在一种可能的设计中,第一状态指示信息或第二状态指示信息携带于MAC子PDU,MAC 子PDU包括MAC子头和MAC CE,MAC子头包括LCID,LCID具有预设值,用于指示MAC子头对应的MAC CE包括第一状态指示信息或第二状态指示信息。如此,接入网设备通过MAC子PDU为终端装置传输状态指示信息。
第二方面,本申请实施例提供一种通信方法,该方法包括:终端装置从接入网设备接收第一数据包之后,将第一数据包发送给至少一个从站设备;终端装置接收第二数据包。其中,第一数据包包括主站设备发送给至少一个从站设备的数据,第二数据包包括至少一个从站设备发送给主站设备的数据,第二数据包为第一数据包相同的数据包经过至少一个从站设备处理后得到的。
如此,终端装置接收来自接入网设备的第一数据包之后,向至少一个从站设备发送第一数据包,以使第一数据包沿至少一个从站设备传输。在接入网设备通过两个终端装置(即当前终端装置与另一终端装置)与从站设备构成环网拓扑结构的情况下,对于当前终端装置而言,第一数据包经过上述至少一个从站设备之后,传输到另一终端装置,也就是说,另一终端装置接收到第一数据包经过至少一个从站设备传输的数据包。对于另一终端装置而言,第一数据包相同的数据包经过上述至少一个从站设备之后,传输到当前终端装置,也就是说,当前终端装置接收到第一数据包相同的数据包经过至少一个从站设备传输的数据包,即当前终端装置接收第二数据包。其中,第一数据包或第一数据包相同的数据包经过上述至少一个从站设备的时候,至少一个从站设备中每个从站设备可以读取主站设备发送给自己的数据,并将发送给主站设备的数据写入数据包中。由于相同的数据包经过相同的至少一个从站设备处理,最终两个终端装置(当前终端装置和另一终端装置)接收来自上述至少一个从站设备的数据包相同,也就实现了数据的冗余传输,提高数据传输的可靠性。
在一种可能的设计中,本申请实施例通信方法还包括:终端装置向接入网设备发送第二数据包。如此,经过至少一个从站设备的数据包通过终端装置传输到无线网络中,使得经过至少一个从站设备的数据包能够通过无线网络返回到主站设备。
在一种可能的设计中,本申请实施例通信方法还包括:终端装置向接入网设备发送终端装置与另一终端装置的对应关系。如此,在接入网设备通过两个终端装置(即当前终端装置与另一终端装置)与上述至少一个从站设备构成环网拓扑结构的情况下,接入网设备即可基于终端装置与另一终端装置的对应关系,确定向哪两个终端装置发送相同的第一数据包,以及确定哪两个终端装置返回的数据包存在互为冗余(或备份)的情况。
在一种可能的设计中,本申请实施例通信方法还包括:终端装置向接入网设备发送冗余标识信息;其中,冗余标识信息包括以下信息的至少一种:主站设备标识,至少一个从站设备标识,从站设备列表标识,终端装置的标识,和另一终端装置的标识,另一终端装置与终端装置具有对应关系。由于冗余标识信息中包括以下信息的至少一种,主站设备标识,至少一个从站设备标识,从站设备列表标识,终端装置的标识和另一终端装置的标识。如此,接入网设备即可根据冗余标识信息中的主站设备标识,至少一个从站设备标识,从站设备列表标识或两个具有对应关系的终端装置的标识来确定上述两个终端装置之间的对应关系。
在一种可能的设计中,本申请实施例通信方法还包括:终端装置向接入网设备发送冗余序列号RSN。
在一种可能的设计中,本申请实施例通信方法还包括:终端装置向接入网设备发送逻辑信道的标识。
在一种可能的设计中,本申请实施例通信方法还包括:终端装置从接入网设备接收传输指示信息,传输指示信息用于指示终端装置停止向接入网设备传输第二数据包。由于终端装置与另一终端装置向接入网设备返回的数据包互为冗余(或备份)。如此,在接入网设备接收到另一终端装置的数据包之后,接入网设备也就无需接收来自终端装置的第二数据包。终端装置基于传输指示信息,停止向接入网设备传输第二数据包,以节省空口资源。
在一种可能的设计中,传输指示信息承载于媒体接入控制MAC子协议数据单元PDU,MAC子PDU包括MAC子头和MAC控制单元CE,MAC子头包括逻辑信道标识LCID。其中,传输指示信息包括具有预设值的LCID,预设值的LCID用于指示终端装置停止向接入网设备传输第二数据包;或者,LCID具有预设值,用于指示MAC子头对应的MAC CE包括传输指示信息。
在一种可能的设计中,MAC CE的长度为预设长度,且MAC CE用于指示终端装置停止向接入网设备传输第二数据包;或者,MAC CE包括预设逻辑信道的标识,且MAC CE用于指示终端装置停止向接入网设备传输预设逻辑信道对应的第二数据包;或者,MAC CE包括数据包的序列号,且MAC CE用于指示终端装置停止向接入网设备传输序列号对应的第二数据包;或者,MAC CE包括数据无线承载的标识,且MAC CE用于指示终端装置停止向接入网设备传输数据无线承载对应的第二数据。
在一种可能的设计中,预设长度为0。
在一种可能的设计中,第一数据包包括类型指示信息,类型指示信息用于指示第一数据包是主站设备与从站设备之间传输的数据。
在一种可能的设计中,类型指示信息承载于媒体接入控制MAC子头,MAC子头包括比特位和逻辑信道标识LCID;比特位用于指示数据包是从站设备与主站设备之间传输的数据,或者,LCID为预设值,预设值用于指示数据包是从站设备与主站设备之间传输的数据,或者,类型指示信息承载于MAC服务数据单元SDU,类型指示信息为MAC SDU中的序列号,序列号为预设值,预设值用于指示数据包是从站设备与主站设备之间传输的数据。
在一种可能的设计中,本申请实施例通信方法还包括:终端装置从接入网设备接收状态指示信息,其中,状态指示信息用于指示路径为激活状态或非激活状态,路径为从终端装置经至少一个从站设备到另一终端装置;终端装置根据状态指示信息将路径的状态设置为激活或非激活。
在一种可能的设计中,状态指示信息包括时间信息,状态指示信息用于指示在时间信息对应的时间,将路径的状态设置为激活或非激活。
在一种可能的设计中,状态指示信息携带于MAC子PDU,MAC子PDU包括MAC子头和MAC CE,MAC子头包括LCID,LCID具有预设值,用于指示MAC子头对应的MAC CE包括状态指示信息。
第三方面,本申请实施例提供一种通信方法,该方法包括:第一终端装置从接入网设备接收第一数据包之后,将第一数据包发送给至少一个从站设备;第一终端装置接收第二数据包。其中,第一数据包包括主站设备发送给至少一个从站设备的数据,第二数据包包括至少一个从站设备发送给主站设备的数据,第二数据包为第一数据包相同的数据包经过 至少一个从站设备处理后得到的。
在一种可能的设计中,本申请实施例通信方法还包括:第一终端装置向接入网设备发送第二数据包。
在一种可能的设计中,本申请实施例通信方法还包括:第一终端装置向接入网设备发送第一终端装置与第二终端装置的对应关系。
在一种可能的设计中,本申请实施例通信方法还包括:第一终端装置向接入网设备发送冗余标识信息;其中,冗余标识信息包括以下信息的至少一种:主站设备标识,至少一个从站设备标识,从站设备列表标识,第一终端装置的标识,和第二终端装置的标识,第二终端装置与第一终端装置具有对应关系。
在一种可能的设计中,本申请实施例通信方法还包括:第一终端装置向接入网设备发送冗余序列号RSN。
在一种可能的设计中,本申请实施例通信方法还包括:第一终端装置向接入网设备发送逻辑信道的标识。
在一种可能的设计中,第一数据包包括类型指示信息,类型指示信息用于指示第一数据包是主站设备与从站设备之间传输的数据。
在一种可能的设计中,类型指示信息承载于媒体接入控制MAC子头,MAC子头包括比特位和逻辑信道标识LCID;比特位用于指示第一数据包是主站设备与从站设备之间传输的数据,或者,LCID为预设值,预设值用于指示第一数据包是主站设备与从站设备之间传输的数据,或者,类型指示信息承载于MAC服务数据单元SDU,类型指示信息为MAC SDU中的序列号,序列号为预设值,预设值用于指示第一数据包是主站设备与从站设备之间传输的数据。
在一种可能的设计中,本申请实施例通信方法还包括:第一终端装置从接入网设备接收状态指示信息,其中,状态指示信息用于指示路径为激活状态或非激活状态,路径为从第一终端装置经至少一个从站设备到第二终端装置;第一终端装置根据状态指示信息将路径的状态设置为激活或非激活。
在一种可能的设计中,状态指示信息包括时间信息,状态指示信息用于指示在时间信息对应的时间,将路径的状态设置为激活或非激活。
在一种可能的设计中,状态指示信息携带于MAC子PDU,MAC子PDU包括MAC子头和MAC CE,MAC子头包括LCID,LCID具有预设值,用于指示MAC子头对应的MAC CE包括状态指示信息。
第四方面,本申请实施例提供一种通信方法,该方法包括:第二终端装置从接入网设备接收第一数据包之后,将第一数据包发送给至少一个从站设备;第二终端装置接收第二数据包。其中,第一数据包包括主站设备发送给至少一个从站设备的数据,第二数据包包括至少一个从站设备发送给主站设备的数据,第二数据包为第一数据包相同的数据包经过至少一个从站设备处理后得到的。
在一种可能的设计中,本申请实施例通信方法还包括:第二终端装置向接入网设备发送第二终端装置与第一终端装置的对应关系。
在一种可能的设计中,本申请实施例通信方法还包括:第二终端装置向接入网设备发送冗余标识信息;其中,冗余标识信息包括以下信息的至少一种:主站设备标识,至少一 个从站设备标识,从站设备列表标识,第二终端装置的标识,和第一终端装置的标识,第一终端装置与第二终端装置具有对应关系。
在一种可能的设计中,本申请实施例通信方法还包括:第二终端装置向接入网设备发送冗余序列号RSN。
在一种可能的设计中,本申请实施例通信方法还包括:第二终端装置向接入网设备发送逻辑信道的标识。
在一种可能的设计中,本申请实施例通信方法还包括:第二终端装置从接入网设备接收传输指示信息,传输指示信息用于指示第二终端装置停止向接入网设备传输第二数据包。
在一种可能的设计中,传输指示信息承载于媒体接入控制MAC子协议数据单元PDU,MAC子PDU包括MAC子头和MAC控制单元CE,MAC子头包括逻辑信道标识LCID。其中,传输指示信息包括具有预设值的LCID,预设值的LCID用于指示第二终端装置停止向接入网设备传输第二数据包;或者,LCID具有预设值,用于指示MAC子头对应的MAC CE包括传输指示信息。
在一种可能的设计中,MAC CE的长度为预设长度,且MAC CE用于指示第二终端装置停止向接入网设备传输第二数据包;或者,MAC CE包括预设逻辑信道的标识,且MAC CE用于指示第二终端装置停止向接入网设备传输预设逻辑信道对应的第二数据包;或者,MAC CE包括数据包的序列号,且MAC CE用于指示第二终端装置停止向接入网设备传输序列号对应的第二数据包;或者,MAC CE包括数据无线承载的标识,且MAC CE用于指示第二终端装置停止向接入网设备传输数据无线承载对应的第二数据。
在一种可能的设计中,预设长度为0。
在一种可能的设计中,第一数据包包括类型指示信息,类型指示信息用于指示第一数据包是主站设备与从站设备之间传输的数据。
在一种可能的设计中,类型指示信息承载于媒体接入控制MAC子头,MAC子头包括比特位和逻辑信道标识LCID;比特位用于指示第一数据包是主站设备与从站设备之间传输的数据,或者,LCID为预设值,预设值用于指示第一数据包是主站设备与从站设备之间传输的数据,或者,类型指示信息承载于MAC服务数据单元SDU,类型指示信息为MAC SDU中的序列号,序列号为预设值,预设值用于指示第一数据包是主站设备与从站设备之间传输的数据。
在一种可能的设计中,本申请实施例通信方法还包括:第二终端装置从接入网设备接收状态指示信息,其中,状态指示信息用于指示路径为激活状态或非激活状态,路径为从第二终端装置经至少一个从站设备到另一第二终端装置;第二终端装置根据状态指示信息将路径的状态设置为激活或非激活。
在一种可能的设计中,状态指示信息包括时间信息,状态指示信息用于指示在时间信息对应的时间,将路径的状态设置为激活或非激活。
在一种可能的设计中,状态指示信息携带于MAC子PDU,MAC子PDU包括MAC子头和MAC CE,MAC子头包括LCID,LCID具有预设值,用于指示MAC子头对应的MAC CE包括状态指示信息。
第五方面,本申请实施例提供一种通信方法,该方法包括:核心网设备确定第一终端装置和第二终端装置之间的对应关系之后,向第一接入网设备发送关系指示信息。其中, 关系指示信息用于指示第一终端装置和第二终端装置之间的对应关系。
如此,在接入网设备通过上述两个终端装置与从站设备构成环网拓扑结构的情况下,接入网设备从核心网设备获取两个终端装置之间的对应关系。在接入网设备获取到数据包之后,向两个终端装置分别发送相同的数据包。其中,一个数据包经过一个终端装置、至少一个从站设备和另一个终端装置,返回到接入网设备;另一个数据包经过另一个终端装置、至少一个从站设备和一个终端装置,返回到接入网设备。其中,数据包经过各个从站设备的时候,每个从站设备可以读取主站设备发送给自己的数据,并将发送给主站设备的数据写入数据包中。由于接入网设备向两个终端装置发送的数据包相同,并且,相同的数据包经过相同的从站设备处理,最终两个终端装置返回给接入网设备的数据包相同,也就实现了数据的冗余传输,提高数据传输的可靠性。
在一种可能的设计中,核心网设备确定第一终端装置和第二终端装置之间的对应关系,包括:核心网设备根据第一终端装置的签约信息和第二终端装置的签约信息,确定第一终端装置和第二终端装置之间的对应关系;或核心网设备获取来自第一终端装置的第一冗余标识信息和来自第二终端装置的第二冗余标识信息,根据第一冗余标识信息和第二冗余标识信息,确定第一终端装置和第二终端装置之间的对应关系。如此,核心网设备即可获取到两个终端装置之间的对应关系。
在一种可能的设计中,第一冗余标识信息包括以下信息的至少一种:主站设备标识,至少一个从站设备标识,从站设备列表标识和终端装置标识;第二冗余标识信息包括以下信息的至少一种:主站设备标识,至少一个从站设备标识,从站设备列表标识和终端装置标识;其中,终端装置标识包括第一终端装置的标识和/或第二终端装置的标识。
第六方面,本申请实施例提供一种通信装置,该通信装置包括:用于执行上述任一方面中各个步骤的单元。该通信装置可以为上述第一方面中的接入网设备,或者包含上述接入网设备的装置;或者,该通信装置可以为上述第二方面中的终端装置,或者包含上述终端装置的装置;或者,该通信装置可以为上述第三方面中的第一终端装置,或者包含上述第一终端装置的装置;或者,该通信装置可以为上述第四方面中的第二终端装置,或者包含上述第二终端装置的装置;或者,该通信装置可以为上述第五方面中的核心网设备,或者包含上述核心网设备的装置。
第七方面,本申请实施例提供一种通信装置,包括处理器和接口电路,处理器用于通过接口电路与其它装置通信,并执行以上任一方面提供的通信方法。该处理器包括一个或多个。该通信装置可以为上述第一方面中的接入网设备,或者包含上述接入网设备的装置;或者,该通信装置可以为上述第二方面中的终端装置,或者包含上述终端装置的装置;该通信装置可以为上述第三方面中的第一终端装置,或者包含上述第一终端装置的装置;或者,该通信装置可以为上述第四方面中的第二终端装置,或者包含上述第二终端装置的装置;或者,该通信装置可以为上述第五方面中的核心网设备,或者包含上述核心网设备的装置。
第八方面,本申请实施例提供一种通信装置,包括处理器,用于与存储器相连,用于调用存储器中存储的程序,以执行任一方面提供的通信方法。该存储器可以位于该通信装置之内,也可以位于该通信装置之外。且该处理器包括一个或多个。该通信装置可以为上述第一方面中的接入网设备,或者包含上述接入网设备的装置;或者,该通信装置可 以为上述第二方面中的终端装置,或者包含上述终端装置的装置;或者,该通信装置可以为上述第三方面中的第一终端装置,或者包含上述第一终端装置的装置;或者,该通信装置可以为上述第四方面中的第二终端装置,或者包含上述第二终端装置的装置;或者,该通信装置可以为上述第五方面中的核心网设备,或者包含上述核心网设备的装置。
第九方面,本申请实施例提供一种通信装置,包括至少一个处理器和至少一个存储器,所述至少一个处理器用于执行以上任一方面提供的通信方法。该通信装置可以为上述第一方面中的接入网设备,或者包含上述接入网设备的装置;或者,该通信装置可以为上述第二方面中的终端装置,或者包含上述终端装置的装置;或者,该通信装置可以为上述第三方面中的第一终端装置,或者包含上述第一终端装置的装置;或者,该通信装置可以为上述第四方面中的第二终端装置,或者包含上述第二终端装置的装置;或者,该通信装置可以为上述第五方面中的核心网设备,或者包含上述核心网设备的装置。
第十方面,本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述任一方面中任一项的通信方法。
第十一方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述任一方面中任一项的通信方法。
第十二方面,本申请实施例提供一种电路***,电路***包括处理电路,处理电路被配置为执行如上述任一方面中任一项的通信方法。
第十三方面,本申请实施例提供一种芯片,芯片包括处理器,处理器和存储器耦合,存储器存储有程序指令,当存储器存储的程序指令被处理器执行时实现上述任一方面任意一项的通信方法。
第十四方面,本申请实施例提供一种通信***,通信***包括上述各个方面中任一方面中的接入网设备、终端装置和任一方面中的核心网设备,或者,通信***包括上述各个方面中任一方面中的接入网设备、第一终端装置、第二终端装置和任一方面中的核心网设备。
其中,第二方面至第十四方面中任一种设计方式所带来的技术效果可参见第一方面中不同设计方式所带来的技术效果,此处不再赘述。
附图说明
图1为相关技术提供的一种工业以太网的结构示意图;
图2(a)为相关技术提供的另一种工业以太网在正常工作状态下的示意图;
图2(b)为相关技术提供的又一种工业以太网在故障状态下的示意图;
图3为相关技术提供的一种网络架构图;
图4为相关技术提供的一种用户面协议栈;
图5为相关技术提供的又一种网络架构图;
图6为相关技术提供的一种双连接建立方法的流程示意图;
图7为相关技术提供的再一种网络架构图;
图8为本申请实施例提供的一种无线通信网络应用于工业以太网的示意图;
图9为本申请实施例提供的一种通信方法的流程示意图;
图10为本申请实施例提供的另一种通信方法的流程示意图;
图11为本申请实施例提供的又一种通信方法的流程示意图;
图12为本申请实施例提供的再一种通信方法的流程示意图;
图13为本申请实施例提供的一种媒体接入控制的控制单元的结构示意图;
图14为本申请实施例提供的又一种媒体接入控制的控制单元的结构示意图;
图15为本申请实施例提供的再一种媒体接入控制的控制单元的结构示意图;
图16为本申请实施例提供的再一种媒体接入控制的控制单元的结构示意图;
图17为本申请实施例提供的再一种媒体接入控制的控制单元的结构示意图;
图18为本申请实施例提供的再一种媒体接入控制的控制单元的结构示意图;
图19为本申请实施例提供的再一种媒体接入控制的控制单元的结构示意图;
图20为本申请实施例提供的再一种媒体接入控制的控制单元的结构示意图;
图21为本申请实施例提供的再一种媒体接入控制的控制单元的结构示意图;
图22为本申请实施例提供的再一种通信方法的流程示意图;
图23为本申请实施例提供的再一种通信方法的流程示意图;
图24为本申请实施例提供的又一种无线通信网络应用于工业以太网的示意图;
图25为本申请实施例提供的一种通信装置的组成示意图;
图26为本申请实施例提供的一种通信装置的硬件结构示意图。
具体实施方式
本申请的说明书以及附图中的术语“第一”和“第二”等是用于区别不同的对象,或者用于区别对同一对象的不同处理,而不是用于描述对象的特定顺序。此外,本申请的描述中所提到的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、***、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括其他没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
首先,介绍本申请实施例所涉及的技术术语:
冗余传输,即在正常的传输路径传输业务数据之外,仍支持通过至少一条冗余路径来传输相同的业务数据,以保证业务数据传输的可靠性需求。
以工业以太网领域为例,通信***包括主站(master)设备和从站(slave)设备。其中,主站设备与从站设备之间采用有线连接方式进行通信连接。从站设备的数量记为N,N为大于或等于1的正整数。从站设备与从站设备之间也采用有线连接方式进行通信连接。从站设备均受控于主站设备。主站设备和从站设备均包括发送单元(transmit unit)和接收单元(receive unit)。
若工业以太网的通信***不采用冗余传输机制,例如,主站设备上装有一个网卡,该网卡的媒体接入控制(medium access control,MAC)地址可以记为MAC1,主站设备通过该网卡,采用一个专用的服务通道与从站设备进行数据交互(或通信)。
在工业以太网的通信***不采用冗余传输机制且正常工作时,数据包的传输是通过一个专用的服务通道进行的,主站设备发送的数据包经过每一个从站设备时,从站设备读取主站设备发送给该从站设备的数据,同时将输入数据***至数据包中,并将该数据包转发至该从站设备所连接的下一个从站设备,网段中最后一个从站设备将经过处理的数据包返回,再依次经过各个从站设备之后,返回到主站设备。示例性的,如图1中的(a)所示,在主站设备内部,发送单元(transmit unit)通过网卡(该网卡的MAC地址为MAC1)发送数据包,数据包依次经过从站设备1、从站设备2、···、从站设备N-1、从站设备N等N个从站设备之后,在从站设备N处返回,再依次经过上述N个从站设备返回到主站设备的网卡,由网卡将数据包发送给接收单元(receive unit)。N个从站设备均包括两个发送单元和两个接收单元。
对于从站设备1而言,一个接收单元接收来自主站设备的数据包,从站设备1可以从该接收单元接收到的数据包中读取数据,或将输入数据***至数据包中,由一个发送单元向从站设备2发送数据包。从站设备1的另一个接收单元接收来自从站设备2的数据包,从站设备1可以从该接收单元接收到的数据包中读取数据,或将输入数据***至数据包中,由另一个发送单元向主站设备发送数据包。
对于从站设备i而言,一个接收单元接收来自从站设备i-1的数据包,从站设备i可以从该接收单元接收到的数据包中读取数据,或将输入数据***至数据包中,由一个发送单元向从站设备i+1发送数据包。从站设备i的另一个接收单元接收来自从站设备i+1的数据包,从站设备i可以从该接收单元接收到的数据包中读取数据,或将输入数据***至数据包中,由另一个发送单元向从站设备i-1发送数据包。其中,i=2,3,···,N-1。
对于从站设备N而言,一个接收单元接收来自从站设备N-1的数据包,从站设备N可以从该接收单元接收到的数据包中读取数据,或将输入数据***至数据包中,由一个发送单元向从站设备N的另一个接收单元传输数据包。另一个接收单元接收到数据包之后,向另一个发送单元传输数据包,由另一个发送单元向从站设备i-1发送数据包。
其中,图1中的(a)中带箭头的实线指示数据包在各个设备(如主站设备与从站设备、从站设备与从站设备)之间的传输过程,图1中的(a)中虚线指示数据包在主站设备或从站设备内部的传输过程。
在工业以太网的通信***不采用冗余传输机制且***故障时,导致部分从站设备无法与主站设备正常通信,影响数据的可靠性传输。这里,多个从站设备中的某一个或某几个从站设备出现故障,或者,用于连接两个相邻从站设备的链路出现故障,均能够导致***故障。而专用的服务通道在出现故障的链路或从站设备处形成自回环,向正常通信的从站设备传输数据包,以使数据包再返回到主站设备。示例性的,如图1中的(b)所示,用于连接从站设备2和从站设备3的链路出现故障,专用的服务通道在从站设备2处形成自回环。主站设备发送的数据包依次经过从站设备1、从站设备2和从站设备1之后,再返回到主站设备。其中,图1中的(b)中带箭头的实线指示数据包在设备之间的传输过程,图1中的(b)中虚线指示数据包在主站设备或从站设备内部的传输过程,闪电标识符号指示链路出现故障。
若工业以太网的通信***采用冗余传输机制,例如,主站设备上装有两个网卡,两个网卡的MAC地址可以分别记为MAC1和MAC2。主站设备通过上述两个网卡,采用两个专用 的服务通道与从站设备进行数据交互。其中,一条专用的服务通道是从第一网卡(如MAC地址为MAC1的网卡)的发送端,经从站设备,到第二网卡(如MAC地址为MAC2的网卡)的接收端,也即主站设备和从站设备能够形成一个环网拓扑结构。另一条专用的服务通道是从第二网卡(如MAC地址为MAC2的网卡)的发送端,经从站设备,到第一网卡(如MAC地址为MAC1的网卡)的接收端,也即主站设备和从站设备能够形成另一个环网拓扑结构。
在工业以太网的通信***采用冗余传输机制且正常工作时,数据包的传输是通过两个专用的服务通道进行的。如图2(a)所示,在一个专用的服务通道中,在主站设备内部,发送单元(transmit unit)通过第一网卡(该网卡的MAC地址为MAC1)发送数据包,数据包自从站设备1、从站设备2、···、从站设备N-1、从站设备N等N个从站设备,返回主站设备的第二网卡(该网卡的MAC地址为MAC2)。在数据包经过每一个从站设备的过程中,从站设备读取主站设备发送给该从站设备的数据,同时将输入数据***至数据包中,并将该数据包转发至该从站设备所连接的下一个从站设备。网段中最后一个从站设备(即从站设备N)将经过处理的数据包返回主站设备。在另一个专用的服务通道中,在主站设备内部,发送单元(transmit unit)通过第二网卡(该网卡的MAC地址为MAC2)发送数据包,数据包自从站设备N、从站设备N-1、···、从站设备2、从站设备1等N个从站设备,返回主站设备的第一网卡(该网卡的MAC地址为MAC1)。数据包经过每一个从站设备的过程中,从站设备读取主站设备发送给该从站设备的数据,同时将输入数据***至数据包中,并将该数据包转发至该从站设备所连接的下一个从站设备。网段中最后一个从站设备(即从站设备1)将经过处理的数据包返回主站设备。其中,图2(a)中带箭头的实线指示数据包在设备之间的传输过程,虚线指示数据包在主站设备或从站设备内部的传输过程。
在工业以太网的通信***采用冗余传输机制且***故障时,例如,多个从站设备中的某一个或某几个从站设备出现故障,或者,用于连接两个相邻从站设备的链路出现故障,而两条专用的服务通道均在出现故障的链路或从站设备处形成自回环,向正常通信的从站设备传输数据包,以使数据包再返回到主站设备。示例性的,如图2(b)所示,用于连接从站设备2和从站设备3的链路出现故障,并且,从站设备3也出现故障,如图2(b)中的虚线方框所示。一条专用的服务通道在从站设备2处形成自回环,另一条专用的服务通道在故障的从站设备之后的正常从站设备处形成自回环,图2(b)中以“从站设备N-1处形成自回环”为例进行说明。主站设备从第一网卡(该网卡的MAC地址为MAC1)发送的数据包依次经过从站设备1、从站设备2和从站设备1之后,再返回到主站设备的第一网卡,主站设备从第二网卡(该网卡的MAC地址为MAC2)发送的数据包依次经过从站设备N、从站设备N-1和从站设备N之后,再返回到主站设备的第二网卡。其中,图2(b)中带箭头的实线指示数据包在设备之间的传输过程,虚线指示数据包在从站设备或主站设备内部的传输过程,闪电标识符号指示链路出现故障,虚线方框指示出现故障的从站设备。相比于图1中的(b)所示出的场景,采用冗余传输机制的通信***,能够减少***故障所带来的影响,保证更多的从站设备能够与主站设备进行正常通信。
但是,采用冗余传输机制的通信***的各个设备之间均采用有线连接方式,不利于网络扩展,且存在布线困难的问题。而移动通信技术的冗余传输机制不支持工业以太网数据的传输。以第五代(fifth generation,5G)移动通信技术为例,图3示出了一种5G网络架构。在5G网络架构下,核心网分成控制面(control plane,CP)和用户面(user plane, UP)。UP包括用户面功能(user plane function,UPF)网元。CP包括接入和移动管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、策略控制功能(policy control function,PCF)网元、统一数据管理(unified data management,UDM)网元和网络开放功能(network exposure function,NEF)网元等。5G网络架构还可以包括应用功能(application function,AF)网元。SMF网元通过N4接口控制UPF网元。AMF网元分别通过N2接口和N1接口与(无线)接入网((radio)access network,(R)AN)设备和终端装置进行信息交互,完成注册、会话建立、移动性管理等功能。AN设备通过N3接口与UPF网元进行信息交互。UPF网元通过N6接口与数据网络(data network,DN)进行信息交互。
其中,各个网元的主要功能如下:
AMF网元具有终端装置的移动性管理、注册管理、连接管理、合法监听、支持传输终端装置和SMF网元之间的会话管理(session management,SM)信息、接入认证和接入授权等功能。
SMF网元具有会话管理、漫游等功能。其中,会话管理功能,如会话建立、修改和释放。漫游功能可以包括计费数据收集、支持与外部(external)数据网络(data network,DN)进行认证/授权的信令传输。
PCF网元包含用户签约信息管理功能、策略控制功能、计费策略控制功能、服务质量(quality of service,QoS)控制等。
UPF网元是用户面的功能网元,主要负责连接外部网络,以及对用户报文进行处理,如转发、计费、合法监听等。可选的,还可以接收数据。
UDM网元具有认证证书的处理,用户识别处理,访问授权,注册和移动性管理,订阅管理以及短信管理等功能。
DN是为终端装置提供服务的网络,如提供上网功能,短信功能等。
AF网元具体可以为应用服务器,可用于与PCF网元交互,为应用定制策略。
NEF网元能够提供的网络功能包括对外提供网元的服务、能力以及应用功能和边缘计算。
参见图4,图4示出了5G移动通信技术的用户面协议栈。终端装置的协议栈中从上至下包括应用(application)层、分组数据单元(packet data unit,PDU)层(PDU layer)、接入网协议层(access network protocol layers)。AN设备与终端装置通信的协议栈中包括接入网协议层。AN设备与UPF网元通信的协议栈中从上至下包括5G用户面封装层、用户数据报协议(user datagram protocol,UDP)层/互联网协议(internet protocol,IP)层、L2层和L1层。中继(relay)表示上行将用户面报文从AN协议栈(如分组数据汇聚协议(packet data convergence protocol,PDCP)层)映射到5G用户面协议栈(如通用分组无线服务隧道协议用户面(general packet radio service tunneling protocol-user plane,GTP-U)层),以及下行将用户面报文从5G用户面协议栈(如GTP-U)映射到AN协议栈(如PDCP)。UPF网元与AN设备通信的协议栈中从上至下包括5G用户面封装层、UDP层/IP层、L2层和L1层。UPF网元与作为PDU会话锚点的UPF网元通信的协议栈中从上至下包括5G用户面封装层、UDP层/IP层、L2层和L1层。中继(relay)表示上行将用户面报文从N3端口5G用户面协议栈(如GTP-U)映射到N9端口5G用户面协议栈(如GTP-U),下行将用户面 报文从N9端口5G用户面协议栈(如GTP-U)映射到N3端口5G用户面协议栈(如GTP-U)。作为PDU会话锚点的UPF网元的协议栈中从上至下包括PDU层、5G用户面封装层、UDP层/IP层、L2层和L1层。
这里,终端装置和作为PDU会话锚点的UPF网元均具备PDU层。PDU层可以进行互联网协议(internet protocol,IP)/媒体接入控制(medium access control,MAC)地址识别,然后将MAC地址与PDU会话进行映射,从而传输数据包。
为了保证低时延高可靠连接(ultra-reliable and low latency communication,URLLC)业务的可靠性,采用两个协议数据单元(protocol data unit,PDU)会话(session)来发送数据包。
在一种可能的设计中,基于双连接建立冗余的PDU会话。参见图5,图5示出了一种基于双连接(dual connectivity,DC)的网络架构。一个终端装置可以通过两个基站接入到核心网设备(如UPF 1网元和UPF 2网元),这里以基站为5G基站(gNB)为例进行说明。一个基站作为主基站(master gNB,MgNB),另一个基站作为辅基站(secondary gNB,SgNB)。主基站可以与AMF网元进行控制面的信令交互,也可以与UPF网元进行用户面的数据交互。主基站可以决定是否启用辅基站。辅基站不与AMF网元进行控制面的信令交互,所以辅基站未接入AMF网元。辅基站也可以与UPF2网元进行用户面的数据交互。在图5中,虚线示出了能够进行控制面信令交互的路径,实线示出了能够进行用户面数据交互的路径。
参见图6,图6示出了基于双连接的冗余的PDU会话的建立过程,具体包括如下步骤:
步骤一、建立PDU会话1。
示例性的,终端装置向主基站发送会话建立请求消息。相应的,主基站接收来自终端装置的会话建立请求消息。之后,主基站向AMF网元发送会话建立请求消息。在AMF网元接收来自主基站的会话建立请求消息之后,AMF网元向SMF1网元发送会话建立请求消息。相应的,SMF1网元接收来自AMF网元的会话建立请求消息。
SMF1网元根据会话建立请求消息选择UPF网元。示例性的,SMF1网元可以根据数据网络名称(data network name,DNN)或者会话与服务连续性模式(session and service continuity,SSC)等选择合适的UPF网元。这里,将SMF1网元所选择的UPF网元记为UPF1网元。
SMF1网元向UPF1网元发送会话建立请求消息。相应的,UPF1网元接收来自SMF1网元的会话建立请求消息。在UPF1网元会话建立完成之后,UPF1网元向SMF1网元发送会话建立响应消息。SMF1网元接收来自UPF1网元的会话建立响应消息。其中,会话建立响应消息可以包括UPF1网元侧的隧道标识和UPF1网元的地址等。SMF1向AMF网元发送会话建立响应消息。相应的,AMF网元接收来自SMF1网元的会话建立响应消息。AMF网元向主基站发送会话建立响应消息。主基站向终端装置发送会话建立响应消息。
步骤二、建立PDU会话2。
示例性的,终端装置向主基站发送会话建立请求消息。相应的,主基站接收来自终端装置的会话建立请求消息。之后,主基站向AMF网元发送会话建立请求消息。在AMF网元接收来自主基站的会话建立请求消息之后,AMF网元向SMF2网元发送会话建立请求消息。相应的,SMF2网元接收来自AMF网元的会话建立请求消息。
SMF2网元根据会话建立请求消息选择UPF网元。将SMF2网元所选择的UPF网元记为UPF2网元。SMF2网元向UPF2网元发送会话建立请求消息。相应的,UPF2网元接收来自SMF2网元的会话建立请求消息。在UPF2网元会话建立完成之后,UPF2网元向SMF2网元发送会话建立响应消息。SMF2网元接收来自UPF2网元的会话建立响应消息。其中,会话建立响应消息可以包括UPF2网元侧的隧道标识和UPF2网元的地址等。SMF2网元向AMF网元发送会话建立响应消息。相应的,AMF网元接收来自SMF2网元的会话建立响应消息。AMF网元向主基站发送会话建立响应消息。主基站向终端装置发送会话建立响应消息。
步骤三、在接入网设备之间建立双连接。
主基站向辅基站发送辅网络节点添加请求(secondary network addition request),相应的,辅基站接收来自主基站的辅网络节点添加请求之后,辅基站向主基站发送辅网络节点添加应答(secondary network addition request ACK)。辅基站与终端装置之间进行无线资源控制(radio resource control,RRC)连接重新配置(reconfig)。如此,一个终端装置即可通过两个基站接入到核心网设备,以基于双连接建立冗余的PDU会话。
在传统工业以太网的通信***中,通过两条有线链路实现冗余传输机制,当采用无线网络对接工业以太网时,如果采用以上双连接冗余机制,需要适配双连接的网络架构,场景受限,实现复杂。
在另一种可能的设计中,针对集成有多个终端装置的设备,如具有双客户识别模块(subscriber identity module,SIM)的手机,引入可靠组(reliability group,RG)。不同可靠组中的终端装置所连接的接入网设备不同。对于集成有多个终端装置的设备而言,其通过不同的接入网设备进行数据传输,来降低数据传输的错误率。示例性的,参见图7,一个设备中集成两个终端装置,分别为终端装置1和终端装置2。其中,终端装置1所在的可靠组记为可靠组A,终端装置2所在的可靠组记为可靠组B。终端装置1通过gNB1和UPF1网元与数据网络(data network,DN)进行数据交互,终端装置2通过gNB2和UPF2网元与DN进行数据交互。AMF1网元通过N2接口与gNB1连接,SMF1网元通过N4接口与UPF1网元连接。AMF2网元通过N2接口与gNB2连接,SMF2网元通过N4接口与UPF2网元连接。
在引入可靠组的***架构中,不同的终端装置对应不同的核心网设备和接入网设备。而工业以太网通信***中,未要求终端装置与核心网设备和接入网设备均是一一对应关系。另外,在引入可靠组的***架构中,接入网设备均向其对应的终端装置传输信息,传输资源开销大。
有鉴于此,参考图8,其为本申请实施例提供的一种无线通信网络应用于工业以太网的示意图。如图8所示,终端装置30通过无线接口(例如空口)接入到无线通信网络,以通过无线通信网络跟其它设备通信,例如主站设备。该无线通信网络包括(无线)接入网设备20和核心网设备10。其中,接入网设备20用于将终端装置30接入到无线通信网络,核心网设备10用于对终端装置30进行管理并提供与其它设备通信的网关。终端装置30可以为具有无线通信功能的设备,其可以通过适配器与以上工业以太网中的从站设备连接,以通过无线通信网络接收主站设备发送给从站设备的数据,并发送给从站设备,或者将从站设备发送给主站设备的数据,通过无线通信网络发送给主站设备。终端装置30可以和多个从站设备中的一个从站设备集成在一个物理实体上,例如从站设备上可以集成具 有无线通信的功能的元件(如芯片),此时,从站设备集成有无线通信功能和按指令执行操作的功能。
以上工业以太网中,利用无线通信网络取代主站设备和从站设备之间的有线连接,主站设备与无线通信网络中的核心网设备10通信连接。参见图8,终端装置的数量为两个,第一终端装置和第二终端装置可以集成在一个设备(具体如图8中的虚线框所示)中,也可以为两个独立的设备。第一终端装置与多个从站设备中的一个从站设备(如从站设备1)连接。从站设备之间仍然采用有线连接。第二终端装置与多个从站设备中的另一个从站设备(如从站设备4)连接。接入网设备20通过两个终端装置30与从站设备构成环网拓扑结构,具体如图8所示。另外,从站设备的数量也可以是一个,即第一终端装置和第二终端装置均与该从站设备连接。
终端装置30又称之为终端或用户设备(user equipment,UE),为具有无线通信功能的装置,且可以与从站设备连接,以下实施例中称为终端装置。该终端装置30可以独立设置,或者,该终端装置30可以与从站设备集成在一起,此时,该终端装置30可以指集成有终端装置30和从站设备的物理实体中的集成有无线通信功能的装置,例如芯片或片上***。终端装置30可以包括工业控制(industrial control)中的无线终端,也可以为其它控制***中有类似需求的终端,例如无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、或智慧家庭(smart home)中的无线终端等。
接入网设备20是无线通信网络中的设备,例如将终端装置30接入到无线通信网络的无线接入网(radio access network,RAN)节点。目前,一些RAN节点的举例为:gNB、传输接收点(transmission reception point,TRP)、演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(base band unit,BBU),或无线保真(wireless fidelity,Wifi)接入点(access point,AP)等。
在一种网络结构中,接入网设备20可以包括集中单元(centralized unit,CU)节点、或分布单元(distributed unit,DU)节点、或包括CU节点和DU节点。可选的,还可以将CU节点的控制面(control plane,CP)和用户面(user plane,UP)分离,分成不同实体来实现,分别为控制面CU实体(CU-CP实体)和用户面CU实体(CU-UP实体)。在一种网络架构中,接入网设备20包括基带装置和射频装置。其中,基带装置可以由一个节点实现,也可以由多个节点实现。射频装置可以由基带装置拉远独立实现,如射频拉远单元(remote radio unit,RRU)相对于BBU拉远布置,也可以集成在基带装置中,或者部分拉远部分集成在基带装置中。
接入网设备20和终端装置30之间的通信遵循一定的协议层结构。例如控制面协议层结构可以包括无线资源控制(radio resource control,RRC)层、分组数据汇聚层协议(packet data convergence protocol,PDCP)层、无线链路控制(radio link control,RLC)层、媒体接入控制(media access control,MAC)层和物理层等协议层的功能。用户面协议层结构可以包括PDCP层、RLC层、MAC层和物理层等协议层的功能;在一种实现 中,PDCP层之上还可以包括业务数据适配(service data adaptation protocol,SDAP)层。这些协议层的功能可以由一个节点实现,或者可以由多个节点实现。
例如,在接入网设备20包括CU节点和DU节点的情形下,多个DU节点可以由一个CU节点集中控制。CU节点和DU节点可以根据无线网络的协议层划分,例如PDCP层及以上协议层的功能设置在CU节点,PDCP层以下的协议层,例如RLC层和MAC层等的功能设置在DU节点。这种协议层的划分仅仅是一种举例,还可以在其它协议层划分,例如在RLC层划分,将RLC层及以上协议层的功能设置在CU节点,RLC层以下协议层的功能设置在DU节点;或者,在某个协议层中划分,例如将RLC层的部分功能和RLC层以上的协议层的功能设置在CU节点,将RLC层的剩余功能和RLC层以下的协议层的功能设置在DU节点。此外,也可以按其它方式划分,例如按时延划分,将处理时间需要满足时延要求的功能设置在DU节点,不需要满足该时延要求的功能设置在CU节点。
在以上网络架构中,CU节点产生的信令可以通过DU节点发送给终端装置30,或者终端装置30产生的信令可以通过DU节点发送给CU节点。DU节点可以不对该信令进行解析而直接通过协议层封装而透传给终端装置30或CU节点。以下实施例中如果涉及这种信令在DU节点和终端装置30之间的传输,此时,DU节点对信令的发送或接收包括这种场景。例如,RRC层或PDCP层的信令最终处理为PHY层的信令发送给终端装置30,或者,由接收到的PHY层的信令转变而来。在这种架构下,该RRC层或PDCP层的信令,即也可以认为是由DU节点发送的,或者,由DU节点和射频发送的。
本申请以下实施例中的装置,根据其实现的功能,可以位于不同的设备。
在工业以太网引入无线网络之后,主站设备和从站设备之间的数据通过无线通信网络传输。本申请实施例考虑到工业以太网对数据传输可靠性的要求较高,提出一种通信方法,使得这种通信方法更加适合工业以太网的需求,使得数据传输更为可靠。
本申请实施例描述的通信***以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定。本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
下面对本申请实施例提供的通信方法进行具体阐述。
需要说明的是,本申请下述实施例中各个网元之间的消息名字或消息中各参数的名字等只是一个示例,具体实现中也可以是其他的名字,在此统一说明,以下不再赘述。
本申请实施例提供一种通信方法,该通信方法应用在工业以太网数据传输的过程中。参见图9,该通信方法包括如下步骤:
S901、第一接入网设备获取第一终端装置和第二终端装置之间的对应关系。
其中,第一终端装置和第二终端装置是同一环网拓扑结构中的两个终端装置,两个终端装置能够为同一个从站设备组传输数据,该从站设备组包括至少一个从站设备。结合图8,该从站设备组包括从站设备1-4,第一终端装置和第二终端装置为该从站设备组传输数据,从而构成两条互为冗余(或备份)的传输路径。第一条路径,来自主站设备的数据包经第一终端装置到达从站设备1,经从站设备2和从站设备3,到达从站设备4,经第二终端装置返回主站设备;第二条路径,来自主站设备的数据包经第二终端装置到达从站设备4,经从站设备3和从站设备2,到达从站设备1,经第一终端装置返回主站设备。其中, 数据包在经过各个从站设备时,数据包的内容可以发生变化,由各个从站设备读取自己的数据,和/或,写入自己的数据。当从站设备组只包括一个从站设备时,第一终端装置和第二终端装置与同一个从站设备连接。
其中,第一终端装置和第二终端装置之间的对应关系用于指示:第一终端装置和第二终端装置互为冗余关系。或者说,第一终端装置和第二终端装置为同一主站设备提供到从站设备的无线接口;或者说,第一终端装置和第二终端装置为同一个从站设备组提供无线网络的接口;或者说,第一终端装置和第二终端装置为同一个工业网区域提供无线接口。使得主站设备发送给从站设备组的数据包可以经第一终端装置传输到从站设备组,从站设备组中的从站设备从数据包中读取主站设备发送给自己的数据,并将发送给主站设备的数据写入数据包中,而后经第二终端装置传输到无线网络中,并通过无线网络返回到主站设备;类似的,主站设备发送给从站设备组的数据包可以经第二终端装置传输到从站设备组,从站设备组中的从站设备从数据包中读取主站设备发送给自己的数据,并将发送给主站设备的数据写入数据包中,而后经第一终端装置传输到无线网络中,并通过无线网络返回到主站设备。
数据包例如为以太帧,该以太帧包括主站设备发送给至少一个从站设备的数据,经过各个从站设备时,从站设备从中读取自己的数据,并将发送给主站设备的数据写入到以太帧中,该以太帧经过终端装置传输到无线网络,最终返回到主站设备。该以太帧从主站设备发出到返回主站设备时,虽然针对的是同一个以太帧,但是里面的数据是不同的。
S902、第一接入网设备获取数据包。
其中,数据包是第一接入网设备从核心网设备(如UPF)中获取的,且是主站设备与从站设备之间交互的数据包。这里,主站设备与从站设备之间交互的数据包遵循工业以太网协议,如EtherNet/IP,PROFINET,EtherCAT,Powerlink或Modbus-TCP等。本申请实施例中的“交互”可以替换为“传输”,对于主站设备到从站设备方向的数据包,该交互指主站设备到从站设备的传输;对于从站设备到主站设备方向的数据包,该交互指从站设备到主站设备的传输。
可选的,数据包包括类型指示信息。类型指示信息用于指示数据包的类型,例如以太网数据包,或者是无线网络数据包。其中,以太网数据包是主站设备与从站设备之间传输的数据,其封装为满足无线网络传输协议的数据包在无线网络中传输,通过该类型指示信息与传统的无线网络数据包进行区分。无线网络数据包是指终端装置与接入网设备之间交互的数据包。
具体的,类型指示信息可以例如但不限于如下两个示例:
示例一、类型指示信息是数据包所遵循的工业以太网协议的指示信息。例如,预先为工业以太网协议配置索引(index),如工业以太网协议EtherNet/IP,PROFINET,EtherCAT,Powerlink和Modbus-TCP的索引依次为1、2、3、4、5;也可以不按顺序进行索引,例如1、2、3、5、6。此时,类型指示信息包括工业以太网协议的索引,如此,类型指示信息既能够指示该数据包是主站设备与从站设备之间的交互的数据,又能够指示该数据包所遵循的工业以太网协议的类型。
示例二、类型指示信息是数据包的服务质量的指示信息。示例性的,类型指示信息是用于标识数据包传输特性的参数,如服务质量等级标识(quality of service class  identifier,QCI)。这里,工业以太网协议所对应的QCI,与其他协议(如无线通信网络的协议)所对应的QCI不同。
具体的,类型指示信息占用预设数量的比特位。其中,预设数量的取值为任意正整数,如2、3、4、5、6、7等。
具体的,类型指示信息承载于不同类型的消息中,可以例如但不限于如下两个示例:
示例一、类型指示信息承载于MAC子头,MAC子头包括比特位和LCID。比特位用于指示数据包是主站设备与从站设备之间传输的数据,比特位可以是预留比特R。或者,LCID为预设值,预设值用于指示数据包是主站设备与从站设备之间传输的数据。预设值可以是从33到51这一区间段的任一正整数。
示例二、类型指示信息承载于MAC SDU。示例性的,类型指示信息为MAC SDU中的序列号,序列号为预设值,预设值用于指示数据包是主站设备与从站设备之间传输的数据。或者,MAC SDU中包括其它具有相同功能的指示信息。
如此,终端装置接收数据包之后,若数据包携带类型指示信息,则终端装置即可获知该数据包是主站设备与从站设备之间传输的数据,进而向从站设备发送该数据包;若数据包未携带类型指示信息,则终端装置即可获知该数据包是第一接入网设备向自己发送的数据,无需向从站设备发送该数据包。
当该终端装置专用于工业以太网与无线网络之间的接口时,该类型指示信息可以不存在。或者可以为用于工业以太网的终端装置分配专门的终端装置标识,调度数据包传输的信息通过该终端装置标识加扰,从而可以区分无线网络中的普通终端装置,此时,该类型指示信息可以不存在。
S903、第一接入网设备根据对应关系向第一终端装置和第二终端装置发送数据包。相应的,第一终端装置和第二终端装置接收来自第一接入网设备的数据包。其中,第一接入网设备向第一终端装置和第二终端装置发送相同的数据包。
其中,对应关系为上述“第一终端装置和第二终端装置之间的对应关系”。
对于第一终端装置而言,第一终端装置接收数据包之后,若数据包不包括类型指示信息,即该数据包是第一接入网设备与第一终端装置之间交互的数据包,则第一终端装置无需向从站设备转发该数据包。若数据包包括类型指示信息,即该数据包是主站设备与从站设备之间交互的数据包,则第一终端装置向从站设备转发该数据包。此种情况下,第一接入网设备向第一终端装置发送的数据包通过第二路径传输。其中,第二路径为从第一终端装置经上述至少一个从站设备到第二终端装置。
对于第二终端装置而言,第二终端装置接收数据包之后,若数据包不包括类型指示信息,即该数据包是第一接入网设备与第二终端装置之间交互的数据包,则第二终端装置无需向从站设备转发该数据包。若数据包包括类型指示信息,即该数据包是主站设备与从站设备之间交互的数据包,则第二终端装置向从站设备转发该数据包。此种情况下,第一接入网设备向第二终端装置发送的数据包通过第一路径传输。其中,第一路径为从第二终端装置经至少一个从站设备到第一终端装置。
其中,在数据包经过各个从站设备的时候,每个从站设备可以读取主站设备发送给自己的数据,并将发送给主站设备的数据写入数据包中。其中,从站设备发送给主站设备的数据可以是:从站设备针对主站设备下发的数据包反馈的确认应答(acknowledge,ACK) 或否定应答(non-acknowledge,NACK),也可以是:从站设备新生成的数据。由于第一接入网设备向两个终端装置发送的数据包相同,并且,相同的数据包经过相同的从站设备处理,最终两个终端装置返回给第一接入网设备的数据包相同,也就实现了数据的冗余传输,提高数据传输的可靠性,且通过两个终端装置实现了利用无线网络的数据冗余传输机制。
需要说明的是,本申请实施例中,对S901和S902的先后执行顺序不作限定,也就是说,第一接入网设备可以先执行S901,再执行S902,也可以先执行S902,再执行S901,还可以同时执行S901和S902。
可选的,S901的具体实现过程可以例如但不限于如下三种方式:
方式一、第一接入网设备从终端装置获取“第一终端装置和第二终端装置之间的对应关系”。
在工业网络中,可以预先设置为同一个从站设备组服务的终端装置,从而提前将第二终端装置的标识存储在第一终端装置中,和/或,可以将第一终端装置的标识存储在第二终端装置中,而后由第一终端装置和/或第二终端装置将第一终端装置和第二终端装置的对应关系发送给第一接入网设备。例如,第一终端装置或第二终端装置向第一接入网设备发送第一终端装置和第二终端装置之间的对应关系(如第一终端装置的标识和第二终端装置的标识)。以第一终端装置为例,第一终端装置向第一接入网设备发送第一终端装置的标识和第二终端装置的标识;或者第一终端装置向第一接入网设备发送第二终端装置的标识,携带该第二终端装置的标识的消息通过第一终端装置的标识加扰。本实施例不以此为限,只要可以让第一接入网设备获知第一终端装置和第二终端装置的对应关系即可。
又例如,第一终端装置向第一接入网设备发送第二终端装置的标识,第二终端装置向第一接入网设备发送第一终端装置的标识。如此,第一接入网设备即可获取两个终端装置之间的对应关系。
其中,终端装置的标识可以例如但不限于:小区无线网络临时标识(cell-radio network temporary identifier,C-RNTI)、国际移动用户识别号(international mobile subscriber identity,IMSI)、全球唯一临时标识(globally unique temporary identifier,GUTI)、客户识别模块(subscriber identity module,SIM)的标识、标识终端装置的地址信息(如互联网协议(internet protocol,IP)地址、媒体接入控制(medium access control,MAC)地址)、核心网设备为终端装置分配的***架构演进的临时移动用户标识(system architecture evolved-temporary mobile subscriber identity,SAE-TMSI)等。这里,SAE-TMSI可简称为S-TMSI。其中,网络侧为终端装置分配的临时标识(如C-RNTI、GUTI、S-TMSI),不提前存储在终端装置中,但可以用于加扰终端装置发送给接入网设备的消息,或者用于终端装置接入网络之后,作为终端装置上报的标识。
如此,在第一终端装置,和/或,第二终端装置获取上述两个终端装置之间的对应关系的情况下,第一接入网设备能够从第一终端装置,和/或,第二终端装置中获取上述两个终端装置之间的对应关系。
方式二、第一接入网设备从终端装置获取冗余标识信息,进而确定“第一终端装置和第二终端装置之间的对应关系”。示例性的,参见图10,S901的具体实现过程包括S9011、S9012和S9013:
S9011、第一终端装置向第一接入网设备发送第一冗余标识信息。相应的,第一接入 网设备接收来自第一终端装置的第一冗余标识信息。
其中,第一冗余标识信息包括以下信息的至少一种:主站设备标识,至少一个从站设备标识,从站设备列表标识和终端装置标识。示例性的,主站设备标识可以包括主站设备的MAC地址。至少一个从站设备标识包括一个从站设备(如与第一终端装置连接的从站设备,或与第二终端装置连接的从站设备)的标识,或包括多个从站设备(如环网拓扑结构中位于第一终端装置和第二终端装置之间的从站设备)的标识。这里,从站设备列表中包括至少一个从站设备(或从站设备的标识)。该从站设备列表的标识即描述为从站设备列表标识。例如,若第一冗余标识信息包括终端装置标识,则第一冗余标识信息可以包括两个终端装置(即上述第一终端装置和第二终端装置)的标识。或,第一冗余标识信息可以包括一个终端装置(如第一终端装置或第二终端装置)的标识和主站设备标识,或包括一个终端装置(如第一终端装置或第二终端装置)的标识和至少一个从站设备标识,或包括一个终端装置(如第一终端装置或第二终端装置)的标识和从站设备列表标识。
S9012、第二终端装置向第一接入网设备发送第二冗余标识信息。相应的,第一接入网设备接收来自第二终端装置的第二冗余标识信息。
其中,第二冗余标识信息包括以下信息的至少一种:主站设备标识,至少一个从站设备标识,从站设备列表标识和终端装置标识。终端装置标识包括第一终端装置的标识和/或第二终端装置的标识。这里,从站设备列表中包括至少一个从站设备的标识。该从站设备列表的标识即描述为从站设备列表标识。
例如,若第二冗余标识信息包括终端装置标识,则第二冗余标识信息可以包括两个终端装置(即上述第一终端装置和第二终端装置)的标识。第二冗余标识信息还可以包括一个终端装置(如第一终端装置或第二终端装置)的标识和主站设备标识,或包括一个终端装置(如第一终端装置或第二终端装置)的标识和至少一个从站设备标识,或包括一个终端装置(如第一终端装置或第二终端装置)的标识和从站设备列表标识。
第一冗余标识信息可以承载于RRC消息或MAC控制单元(control element,CE)。第二冗余标识信息也可以承载于RRC消息或MAC控制单元(control element,CE)。
需要说明的是,本申请实施例中,对S9011和S9012的先后执行顺序不作限定,也就是说,第一接入网设备可以先执行S9011,再执行S9012,也可以先执行S9012,再执行S9011,还可以同时执行S9011和S9012。
S9013、第一接入网设备根据第一冗余标识信息和第二冗余标识信息,确定第一终端装置和第二终端装置之间的对应关系。
其中,第一冗余标识和第二冗余标识可以携带标识工业网区域的标识信息,当第一冗余标识和第二冗余标识携带了表征同一个工业网区域的标识信息时,则第一终端装置和第二终端装置具有对应关系。该工业网区域的标识信息例如可以包括主站设备的标识、从站设备的标识,或从站设备列表标识。当然,也可以选择以上标识中的多个来标识工业网区域,本申请不做限制。可选的,也可以利用终端装置的标识来标识工业网区域。
示例性的,若第一冗余标识信息和第二冗余标识信息包括相同主站设备标识,或包括相同从站设备标识,或包括相同从站设备列表标识,或包括相同终端装置标识,则第一接入网设备确定第一终端装置和第二终端装置之间互为冗余关系,即第一终端装置和第二终端装置之间的对应关系。
此时,第一接入网设备可以根据第一冗余标识信息和第二冗余标识信息的来源确定第一终端装置和第二终端装置,例如携带第一冗余标识信息和第二冗余标识信息的消息通过第一终端装置的标识和第二终端装置的标识加扰。可选的,第一冗余标识信息和第二冗余标识信息还可以包括终端装置的标识,如此,第一接入网设备可以根据第一冗余标识信息和第二冗余标识信息中的终端装置的标识确定对应关系。例如第一冗余标识信息包括第一终端装置的标识(或第二终端装置的标识),第二冗余标识信息包括第二终端装置的标识(或第一终端装置的标识),且第一冗余标识和第二冗余标识携带了表征同一个工业网区域的标识信息,且第一接入网设备确定第一终端装置的标识和第二终端装置的标识表征的第一终端装置和第二终端装置具有对应关系。
另外,若第一冗余标识信息包括一个终端装置的标识和主站设备标识,第二冗余标识信息包括一个终端装置的标识和至少一个从站设备标识,则第一接入网设备根据主站设备标识和从站设备标识之间的从属关系,确定第一终端装置和第二终端装置之间的对应关系。
第一冗余标识和第二冗余标识可以携带终端装置的标识,第一冗余标识携带第二终端装置的标识,第二冗余标识携带第一终端装置的标识。则,第一接入网设备根据第二终端装置的标识和第一终端装置的标识,确定第一终端装置和第二终端装置具有对应关系。
如此,在第一接入网设备接收来自两个终端装置的冗余标识信息之后,第一接入网设备基于来自两个终端装置的冗余标识信息来确定上述两个终端装置之间的对应关系。
方式三、第一接入网设备从核心网设备(如UPF)获取“第一终端装置和第二终端装置之间的对应关系”。参见图11,即S901的具体实现过程包括S9014:
S9014、核心网设备向第一接入网设备发送关系指示信息。相应的,第一接入网设备接收来自核心网设备的关系指示信息。
其中,关系指示信息用于指示第一终端装置和第二终端装置之间的对应关系。
对于核心网设备而言,核心网设备执行S9014之前,确定第一终端装置和第二终端装置之间的对应关系。其中,核心网设备采用例如但不限于如下方式,来确定第一终端装置和第二终端装置之间的对应关系。
方式一、核心网设备根据第一终端装置的签约信息和第二终端装置的签约信息,确定第一终端装置和第二终端装置之间的对应关系。其中,第一终端装置的签约信息和第二终端装置的签约信息是预获取的。示例性的,UPF从UDR获取第一终端装置的签约信息和第二终端装置的签约信息,进而确定第一终端装置和第二终端装置之间的对应关系。
方式二、核心网设备从第一接入网设备获取第一冗余标识信息和第二冗余标识信息,根据第一冗余标识信息和第二冗余标识信息,确定第一终端装置和第二终端装置之间的对应关系。示例性的,参见图11,核心网设备执行S9015和S9016:
S9015、第一接入网设备向核心网设备发送第一冗余标识信息和第二冗余标识信息。相应的,核心网设备接收来自第一接入网设备的第一冗余标识信息和第二冗余标识信息。
这里,对于第一接入网设备而言,第一接入网设备执行S9011和S9012之后,执行S9015。若第一接入网设备转发第一冗余标识信息和第二冗余标识信息,不解析第一冗余标识信息和第二冗余标识信息,则第一冗余标识信息和第二冗余标识信息均承载于非接入层(non-access stratum,NAS)消息,例如但不限于附着请求(attach request)消息或注册请求(register request)消息。
S9016、核心网设备根据第一冗余标识信息和第二冗余标识信息,确定第一终端装置和第二终端装置之间的对应关系。
示例性的,若第一冗余标识信息和第二冗余标识信息包括相同主站设备标识,或包括相同从站设备标识,或包括相同从站设备列表标识,或包括相同终端装置标识,则核心网设备确定第一终端装置和第二终端装置之间互为冗余关系,即第一终端装置和第二终端装置之间的对应关系。另外,若第一冗余标识信息包括一个终端装置的标识和主站设备标识,第二冗余标识信息包括一个终端装置的标识和至少一个从站设备标识,则核心网设备根据主站设备标识和从站设备标识之间的从属关系,确定第一终端装置和第二终端装置之间的对应关系。
如此,核心网设备即可确定两个终端装置之间的对应关系,以为第一接入网设备指示两个终端装置之间的对应关系。
在第一接入网设备执行S903之后,数据包在从站设备间传输。参见图12,对于第二终端装置而言,第二终端装置接收来自第一接入网设备的数据包之后,向多个从站设备中的首个(或尾个)从站设备发送数据包。在经过各个从站设备的时候,每个从站设备可以读取主站设备发送给自己的数据,并将发送给主站设备的数据写入数据包中。其中,从站设备发送给主站设备的数据可以是:从站设备针对主站设备下发的数据包反馈的确认应答(acknowledge,ACK)或否定应答(non-acknowledge,NACK),也可以是:从站设备新生成的数据。数据包经过各个从站设备之后,由多个从站设备中的尾个(或首个)从站设备传输到第一终端装置。在本申请中,第一接入网设备向两个终端装置发送数据包的场景下,将数据包沿第一路径(从第二终端装置经过从站设备到第一终端装置)传输的数据,描述为“第一数据”。
参见图12,对于第一终端装置而言,第一终端装置接收来自第一接入网设备的数据包之后,向多个从站设备中的尾个(或首个)从站设备发送数据包。在经过各个从站设备的时候,每个从站设备可以读取主站设备发送给自己的数据,并将发送给主站设备的数据写入数据包中。数据包经过各个从站设备之后,由多个从站设备中的首个(或尾个)从站设备传输到第二终端装置。在本申请中,第一接入网设备向两个终端装置发送数据包的场景下,将数据包沿第二路径(从第一终端装置经过从站设备到第二终端装置)传输的数据,描述为“第二数据”。
这里,第一路径和第二路径互为冗余,相同的数据包通过第一路径和第二路径传输之后,得到的第一数据与第二数据也是相同的。如此,相同的数据包经过互为冗余的路径传输,来保障数据传输的可靠性。
需要说明的是,存在互为冗余关系的传输路径的数量可以是三条路径,四条路径或更多条路径。本申请实施例中仅以两条路径互为冗余作为示例,进行说明。
可选的,为了便于区分不同的冗余路径,采用不同的冗余序列号(redundancy sequence number,RSN)来标识不同的冗余路径。其中,RSN所采用的比特(bit)数量可以为大于或等于1的正整数,且与存在互为冗余关系的传输路径数量有关。例如,互为冗余路径的数量为2,RSN的比特数可以是1;互为冗余路径的数量为3,RSN的比特数可以是2。为了便于第一接入网设备区分不同的冗余路径,终端装置为第一接入网设备传输RSN,可以执行如下步骤一和步骤二:
步骤一、第一终端装置向第一接入网设备发送第一RSN。相应的,第一接入网设备接收来自第一终端装置的第一RSN。
其中,第一RSN标识一条冗余路径的序号。例如,第一RSN的取值可以为1,以表示第一终端装置所对应的冗余路径是为主站设备服务的第一条冗余路径。第一RSN的取值也可以为2,以表示第一终端装置所对应的冗余路径是为主站设备服务的第二条冗余路径。第一RSN可以是第一终端装置预先存储的信息。第一RSN所标识的冗余路径与第一终端装置对应。也就是说,第一接入网设备向第一终端发送数据包,以使该数据包沿第一RSN所标识的冗余路径传输。
步骤二、第二终端装置向第一接入网设备发送第二RSN。相应的,第一接入网设备接收来自第二终端装置的第二RSN。
其中,第二RSN标识另一条冗余路径的序号。例如,在第一RSN的取值为1的情况下,第二RSN的取值可以为2,以表示第二终端装置所对应的冗余路径是为主站设备服务的第二条冗余路径;在第一RSN的取值为2的情况下,第二RSN的取值可以为1,以表示第二终端装置所对应的冗余路径是为主站设备服务的第一条冗余路径。如此,第一接入网设备即可区分不同的冗余路径。第二RSN也可以是第二终端装置预存储的信息。第二RSN所标识的冗余路径与第二终端装置对应。也就是说,第一接入网设备向第二终端发送数据包,以使该数据包沿第二RSN所标识的冗余路径传输。
如此,第一接入网设备即可根据第一RSN和第二RSN来区分不同的冗余路径。在采用不同的冗余路径传输数据包的过程中,第一接入网设备即可向与某一冗余路径对应的终端装置发送相应的数据包,以使数据包通过相应的冗余路径传输。
需要说明的是,第一RSN可以承载于第一冗余标识信息,也可以承载于其它的信息,以使第一接入网设备获取到第一RSN所标识的冗余路径与第一终端装置之间的对应关系。类似的,第二RSN可以承载于第二冗余标识信息,也可以承载于其它的信息,以使第一接入网设备获取到第二RSN所标识的冗余路径与第二终端装置之间的对应关系。
另外,不同的RSN所标识的冗余路径不同。本申请实施例中所描述的“第一路径”和“第二路径”是两条不同的传输路径,且互为冗余关系。第一路径可以是RSN取值为1的冗余路径,也可以是RSN取值为2的冗余路径。在第一路径是RSN取值为1的冗余路径的情况下,第二路径可以是RSN取值为2的冗余路径。在第一路径是RSN取值为2的冗余路径的情况下,第二路径可以是RSN取值为1的冗余路径。
可选的,终端装置中可以有多个逻辑信道(logical channel,LCH),终端装置指定某一个或某几个逻辑信道专用于传输主站设备与从站设备之间交互的数据包。为了便于第一接入网设备获知接收到的数据包是通过终端装置的哪个逻辑信道传输的数据包,可以执行如下步骤三和步骤四:
步骤三、第一终端装置向第一接入网设备发送第一逻辑信道的标识。相应的,第一接入网设备接收来自第一终端装置的第一逻辑信道的标识。
其中,第一逻辑信道用于传输主站设备与从站设备之间交互的数据包。如此,第一接入网设备即可获知该第一终端装置采用哪一逻辑信道传输数据包。
步骤四、第二终端装置向第一接入网设备发送第二逻辑信道的标识。相应的,第一接入网设备接收来自第二终端装置的第二逻辑信道的标识。
其中,第二逻辑信道用于传输主站设备与从站设备之间交互的数据包。如此,第一接入网设备即可获知该第二终端装置采用哪一逻辑信道传输数据包。
需要说明的是,第一逻辑信道的标识可以承载于第一冗余标识信息,也可以承载于其它的信息。类似的,第二逻辑信道的标识可以承载于第二冗余标识信息,也可以承载于其它的信息。
可选的,为了节省空口资源,在S903之后,若第一接入网设备接收到其中一条路径返回的数据包,则第一接入网设备停止另一条路径的传输。也就是说,第一接入网设备指示另一条路径上的终端装置停止向第一接入网设置传输返回的数据包,具体的,第一接入网设备停止调度用于接收返回的数据包的上行资源,还可以包括停止调度重传返回的数据包的重传资源。即第一接入网设备执行S903之后,执行S904和S905。若第一接入网设备在预设时间内未接收到某一条路径返回的数据包,则第一接入网设备等待接收另一条路径返回的数据包,第一接入网设备不执行S905。其中,参见图12,S904和S905的说明如下:
S904、第一终端装置向第一接入网设备发送第一数据。相应的,第一接入网设备接收来自第一终端装置的第一数据。
其中,第一数据是数据包沿第一路径传输的数据。第一路径为从第二终端装置经从站设备到第一终端装置。
S905、第一接入网设备向第二终端装置发送传输指示信息。相应的,第二终端装置接收来自第一接入网设备的传输指示信息。
其中,传输指示信息用于指示第二终端装置停止向第一接入网设备传输第二数据。第二数据是数据包沿第二路径传输的数据。第二路径为从第一终端装置经从站设备到第二终端装置。
其中,传输指示信息承载于媒体接入控制(medium access control,MAC)子协议数据单元(protocol data unit,PDU),MAC子PDU包括MAC子头和媒体接入控制(medium access control,MAC)的控制单元(control element,CE)。MAC子头包括逻辑信道标识(logical channel identity,LCID)。以上传输指示信息可以通过MAC子头中的LCID来实现,或者可以通过MAC CE来实现。例如MAC子头中的LCID取预设值时,第二终端装置根据该LCID的取值,停止向第一接入网设备传输第二数据。或者LCID用于指示其所在MAC子头对应的MAC CE为指示第二终端装置停止向第一接入网设备传输第二数据的MAC CE,即MAC CE包括传输指示信息(为传输指示信息或携带传输指示信息)。例如,LCID用于指示MAC CE的类型。LCID的取值不同,LCID的取值所指示的MAC CE的类型也不一样。不同类型的MAC CE所指示的停止传输的第二数据的精准度不同,MAC CE的类型包括但不限于如下类型:
第一类型的MAC CE,该类型的MAC CE的长度为预设长度,且该类型的MAC CE用于指示第二终端装置停止向第一接入网设备传输第二数据。其中,预设长度可以是一个字节,或两个字节,或其他数量的字节。在一种实现中,MAC CE的预设长度为0,即MAC子PDU的承载为0。MAC CE对应的MAC子头中的LCID的取值为第一预设值,取值为第一预设值的LCID用于指示第一类型的MAC CE。当第二终端装置接收到第一预设值的LCID对应的MAC CE时,即可获取第一接入网设备指示第二终端装置停止向第一接入网设备传输第二数据。此时,也可以理解为LCID用于指示第二终端装置停止向第一接入网设备传输第二数据。
第二类型的MAC CE,该类型的MAC CE包括预设逻辑信道的标识,且该类型的MAC CE用于指示第二终端装置停止向第一接入网设备传输该预设逻辑信道对应的第二数据。其中,预设逻辑信道用于传输主站设备与从站设备之间交互的数据包。这里,MAC CE中预设逻辑信道的标识和MAC子头中的LCID的作用不同。MAC子头中的LCID的取值为第二预设值,取值为第二预设值的LCID用于指示第二类型的MAC CE。携带有预设逻辑信道的标识的MAC CE用于指示停止传输该预设逻辑信道对应的第二数据。
这里,预设逻辑信道的标识可以为一个,具体参见图13。其中,R为预留比特位。预设逻辑信道的标识可以占用多个比特位,如占用5个、6个或7个比特(bit)。本申请实施例中对预设逻辑信道的标识所占用的比特位数不作限定。
这里,预设逻辑信道的标识可以为多个。在一些实施例中,MAC CE包括多个预设逻辑信道的标识,具体参见图14。在图14中,每个LCID为一个预设逻辑信道的标识。如LCID1是第一个预设逻辑信道的标识,LCID2是第二个预设逻辑信道的标识,LCID3是第三个预设逻辑信道的标识。此种情况下,MAC CE的长度是变化的。MAC CE的长度随预设逻辑信道的标识个数而变化。在预设逻辑信道的标识个数较少的情况下,MAC CE的长度较小;在预设逻辑信道的标识个数较多的情况下,MAC CE的长度较大。在另一些实施例中,为了节省比特数量,MAC CE中的一个比特对应一个预设的逻辑信道,具体参见图15。在图15中,一个比特分别对应一个预设的逻辑信道。其中,预设的逻辑信道的个数为i。L1表示第一个预设的逻辑信道,L2表示第二个预设的逻辑信道,以此类推,Li表示第i个预设的逻辑信道。若一个比特位上的比特取1,则表示停止向第一接入网设备传输该比特位所对应的预设逻辑信道的第二数据。或者,该比特位上的比特取0,则表示停止向第一接入网设备传输该比特位所对应的预设逻辑信道的第二数据。第三类型的MAC CE,该类型的MAC CE包括数据包的序列号,且该类型的MAC CE用于指示第二终端装置停止向第一接入网设备传输序列号对应的第二数据。这里,MAC子头中的LCID的取值为第三预设值,取值为第三预设值的LCID用于指示第三类型的MAC CE。
这里,MAC CE中数据包的序列号(sequence number,SN)的个数可以是一个,具体参见图16。其中,R为预留比特位。一个数据包的序列号可以占用多个比特位,如占用5个、6个或7个比特(bit)。本申请实施例中对数据包的序列号所占用的比特位数不作限定。
这里,数据包的序列号可以为多个。在一些实施例中,MAC CE包括多个数据包的序列号,具体参见图17。在图17中,SN1是第一个数据包的序列号,SN2是第二数据包的序列号,SN3是第三个数据包的序列号,以此类推。此种情况下,MAC CE的长度也是变化的。MAC CE的长度随数据包的序列号个数而变化。在数据包的序列号个数较少的情况下,MAC CE的长度较小;在数据包的序列号个数较多的情况下,MAC CE的长度较大。
其中,数据包的序列号可以是无线链路控制(radio link control,RLC)层的序列号、或者是分组数据汇聚层协议(packet data convergence protocol,PDCP)层的序列号,或者是GTP-U序列号,或者是应用层序列号,或者是其他具有指示功能的序列号。鉴于数据包的序列号的类型有多种,MAC CE中包括类型指示域T,如图18所示。其中,类型指示域T用于指示MAC CE中包含哪种类型的序列号。类型指示域T所占用的比特数量与SN的类型数量有关。类型指示域T所占用的比特数量可以是大于等于0的正整数,如类型指示 域T占用了1个、2个或更多个比特。在一些实施例中,类型指示域T中一个比特位对应一种类型的SN,若该比特位的取值为1,则表示当前MAC CE中包括与该比特位对应类型的SN,或者,该比特位的取值为0,则表示当前MAC CE中包括与该比特位对应类型的SN。在另一些实施例中,每种类型的SN对应一个索引,类型指示域T的取值用于指示一种类型的SN的索引,以指示当前MAC CE中包括与该索引对应类型的SN。
第四类型的MAC CE,该类型的MAC CE包括预设的数据无线承载标识号(data radio bearer identity,DRB ID),且该类型的MAC CE用于指示第二终端装置停止向第一接入网设备传输数据无线承载标识号对应的第二数据。其中,预设的数据承载标识号所标识的数据无线承载用于传输主站设备与从站设备之间交互的数据包。这里,MAC子头中的LCID的取值为第四预设值,取值为第四预设值的LCID用于指示第四种类型的MAC CE。携带有DRB ID的第四种类型的MAC CE用于指示停止传输该数据无线承载标识对应的第二数据。
这里,预设数据无线承载的标识可以为一个,具体参见图19。其中,R为预留比特位。预设的数据无线承载的标识可以占用多个比特位,如占用5个、6个或7个比特(bit)。本申请实施例中对预设的数据无线承载的标识所占用的比特位数不作限定。
这里,预设数据无线承载的标识可以为多个。在一些实施例中,MAC CE包括多个预设数据无线承载的标识,具体参见图20。在图20中,LCID1是第一个预设数据无线承载的标识,LCID2是第二个预设数据无线承载的标识,LCID3是第三个预设数据无线承载的标识。此种情况下,MAC CE的长度是变化的。MAC CE的长度随预设数据无线承载的标识个数而变化。在预设数据无线承载的标识个数较少的情况下,MAC CE的长度较小;在预设数据无线承载的标识个数较多的情况下,MAC CE的长度较大。在另一些实施例中,为了节省比特数量,MAC CE中的一个比特对应一个数据无线承载标识,具体参见图21。在图21中,一个比特分别对应一个数据无线承载标识。预设的数据无线承载标识的个数为i。其中,DRB1表示第一个预设的数据无线承载标识,DRB2表示第二个预设的数据无线承载标识,以此类推,DRBi表示第i个预设的数据无线承载标识。若一个比特位上的比特取1,则表示停止向第一接入网设备传输该比特位所对应的数据无线承载的第二数据。或者,该比特位上的比特取0,则表示停止向第一接入网设备传输该比特位所对应的数据无线承载的第二数据。
这里,不同类型的MAC CE所指示的停止传输的第二数据的精准度不同。在第一类型的MAC CE、第二类型的MAC CE和第三类型的MAC CE中,相对于第一类型的MAC CE所指示的第二数据,第二类型的MAC CE所指示的停止传输的第二数据与预设逻辑信道对应,指示更精准,粒度更细。相对于第二类型的MAC CE所指示的与预设逻辑信道对应的第二数据,第三类型的MAC CE所指示的停止传输的第二数据与传输序列号对应,指示粒度更细。
同一数据包沿两条互为冗余的路径(第一路径和第二路径)传输之后,得到的第一数据和第二数据是相同的。如此,某一数据包沿第一路径传输成功,即第一接入网设备接收来自第一终端装置的第一数据之后,第一接入网设备也就无需接收第二数据,采用传输指示信息,来指示第二终端装置停止向第一接入网设备传输相应的第二数据,以节省数据传输资源。
可选的,以上第二数据可以通过预配置的资源进行传输,例如配置授权类型 (configured gant)1或配置授权类型2的资源进行传输。或者,可以通过第一接入网设备动态调度的资源进行传输,即通过物理下行控制信道为终端装置调度物理下行数据信道的资源,用于传输第二数据。在另一种实现中,第一接入网设备可以不发送传输指示信息,而是停止调度资源来使得第二终端装置无法获得传输第二数据的资源,从而停止传输第二数据。
可以理解的是,作为另一种可能的实现方式,在S904中,第一接入网设备接收来自第一终端装置的第一数据之后,若第一数据的质量满足业务需求,如第一数据的丢包率小于或等于预设值,则第一接入网设备无需接收另一路径返回的数据包,第一接入网设备执行S905;若第一数据的质量无法满足业务需求,如第一数据的丢包率大于预设值,则第一接入网设备等待接收另一路径返回的数据包,第一接入网设备不执行S905,以使第一接入网设备接收来自第二终端装置的第二数据,来保证数据的可靠性传输。
可选的,为了提高冗余路径配置的灵活性,参见图22,本申请实施例通信方法还包括S906和/或S907:
S906、第一接入网设备向第一终端装置发送第一状态指示信息。相应的,第一终端装置接收来自第一接入网设备的第一状态指示信息。
其中,第一状态指示信息用于指示第二路径为激活状态或非激活状态。若第二路径为激活状态,则第二路径传输数据包。若第二路径为非激活状态,则第二路径无需传输数据包。
第一终端装置接收来自第一接入网设备的第一状态指示信息之后,根据第一状态指示信息将第二路径设置为激活状态或非激活状态。
可选的,第一状态指示信息包括时间信息,第一状态指示信息用于指示在时间信息对应的时间,将第二路径的状态设置为激活或非激活。其中,时间信息包括以下信息中的至少一种:***帧号(system frame number,SFN),SFN中的时隙号,时隙中的时域符号。例如,若***帧号作为时间信息,则第一终端装置在该***帧号的帧边界,或在该***帧号相邻帧的帧边界,第一终端装置将第二路径的状态设置为激活或非激活。
第一状态指示信息不包括时间信息。此种情况下,第一终端装置接收第一状态指示信息,之后,在默认的时间段内的某一时刻点,第一终端装置将第二路径的状态设置为激活或非激活。
可选的,第一状态指示信息可以承载于下行控制信息(downlink control element,DCI)或媒体接入控制(medium access control,MAC)子协议数据单元(protocol data unit,PDU),或专用信令中。具体的,MAC子PDU包括MAC子头和媒体接入控制(medium access control,MAC)的控制单元(control element,CE)。MAC子头包括逻辑信道标识(logical channel identity,LCID)。LCID具有预设值,用于指示MAC子头对应的MAC CE包括上述第一状态指示信息(为第一状态指示信息或携带第一状态指示信息)。
示例性的,参见图22,若第一接入网设备执行S903之前,第二路径的状态为非激活状态,第一接入网设备在向第一终端装置发送数据包之前,执行S906,此种情况下,第一状态指示信息用于指示第二路径为激活状态。进而,第一接入网设备再向第一终端装置发送数据包,以使数据包沿第二路径传输。第一接入网设备接收到沿第二路径返回的数据包(即第二数据)之后,可以执行S906,此种情况下,第一状态指示信息用于指示第二路径 为非激活状态。
若第一接入网设备执行S903之前,第二路径的状态为激活状态,第一接入网设备在向第一终端装置发送数据包之前,无需执行S906,无需向第一终端装置指示第二路径为激活状态。第一接入网设备接收到沿第二路径返回的数据包(即第二数据)之后,可以执行S906,此种情况下,第一状态指示信息用于指示第二路径为非激活状态。
S907、第一接入网设备向第二终端装置发送第二状态指示信息。相应的,第二终端装置接收来自第一接入网设备的第二状态指示信息。
其中,第二状态指示信息用于指示第一路径为激活状态或非激活状态。
第二终端装置接收来自第一接入网设备的第二状态指示信息之后,根据第二状态指示信息将第一路径设置为激活状态或非激活状态。
可选的,第二状态指示信息包括时间信息,第二状态指示信息用于指示在时间信息对应的时间,第二终端装置将第一路径的状态设置为激活或非激活。其中,时间信息包括以下信息中的至少一种:SFN,SFN中的时隙号,时隙中的时域符号。
第二状态指示信息不包括时间信息。此种情况下,第二终端装置接收第二状态指示信息,之后,在默认的时间段内的某一时刻点,第二终端装置将第一路径的状态设置为激活或非激活。
可选的,第二状态指示信息也可以承载于DCI或MAC子PDU,或专用信令中。具体的,MAC子PDU包括MAC子头和MAC CE。MAC子头包括LCID。LCID具有预设值,用于指示MAC子头对应的MAC CE包括上述第二状态指示信息(为第二状态指示信息或携带第二状态指示信息)。
示例性的,参见图22,若第一接入网设备执行S903之前,第一路径的状态为非激活状态,第一接入网设备在向第二终端装置发送数据包之前,执行S907,此种情况下,第二状态指示信息用于指示第一路径为激活状态。进而,第一接入网设备再向第二终端装置发送数据包,以使数据包沿第一路径传输。第一接入网设备接收到沿第一路径返回的数据包(即第二数据)之后,可以执行S907,此种情况下,第一状态指示信息用于指示第一路径为非激活状态。
若第一接入网设备执行S903之前,第一路径的状态为激活状态,第一接入网设备在向第二终端装置发送数据包之前,无需执行S907,无需向第二终端装置指示第一路径为激活状态。第一接入网设备接收到沿第一路径返回的数据包(即第二数据)之后,可以执行S907,此种情况下,第二状态指示信息用于指示第一路径为非激活状态。
如此,第一接入网设备采用状态指示信息,为终端装置指示一条路径或两个路径的状态。在第一接入网设备传输主站设备与从站设备之间交互的数据包时,若信道质量较差,则第一接入网设备采用第一状态指示信息,为第一终端装置指示第二路径为激活状态,第一接入网设备采用第二状态指示信息,为第二终端装置指示第一路径为激活状态,以使相同的数据包沿两条路径传输,来保证数据传输的可靠性;若信道质量较好,则第一接入网设备采用第一状态指示信息,为第一终端装置指示第二路径为激活状态,或者,第一接入网设备采用第二状态指示信息,为第二终端装置指示第一路径为激活状态,以使数据包沿一条路径传输即可,以节省传输资源。在第一接入网设备传输第一接入网设备与终端装置之间交互的数据包时,第一接入网设备采用第一 状态指示信息,为第一终端装置指示第二路径为非激活状态,第一接入网设备采用第二状态指示信息,为第二终端装置指示第一路径为非激活状态。如此,数据包不再沿第一路径和第二路径传输。也就是说,第一接入网设备采用状态指示信息,为终端装置指示路径为激活状态或非激活状态,以满足不同的业务需求或无线信道质量,也节省了空口资源。
可选的,作为另一种可能的实现方式,在S901或S902之后,“第一接入网设备向终端装置下发数据包”的具体过程也可以包括:第一接入网设备根据两个终端装置之间的对应关系,先向一个终端装置发送数据包,以使该数据包沿某一条路径传输。这里,若该数据包沿该路径传输成功,即第一接入网设备在预设时间内,接收到返回的数据包,则第一接入网设备无需向另一个终端装置发送该数据包。若该数据包沿该路径传输失败,即第一接入网设备在预设时间内,未接收到返回的数据包,则第一接入网设备向另一个终端装置发送数据包,以使该数据包沿另一条路径传输,第一接入网设接收另一条路径返回的数据包。其中,第一接入网设备向两个终端装置发送的数据包相同,且两条路径互为冗余。具体的,第一接入网设备调度下行传输资源,以向终端装置发送数据包。进一步的,第一接入网设备还调度上行传输资源,以接收来自终端装置的返回的数据包。
下面,参见图23,以第一接入网设备先向第二终端装置发送数据包为例,进行说明:
S908、第一接入网设备根据对应关系向第二终端装置发送数据包。相应的,第二终端装置接收来自第一接入网设备的数据包。
其中,对应关系为上述“第一终端装置和第二终端装置之间的对应关系”。
第一接入网设备向第二终端装置发送的数据包通过第一路径传输。其中,第一路径为从第二终端装置经上述至少一个从站设备到第一终端装置。在经过各个从站设备的时候,每个从站设备可以读取主站设备发送给自己的数据,并将发送给主站设备的数据写入数据包中。
这里,若该数据包沿第一路径传输成功,即第一接入网设备在预设时间内,执行S909,则第一接入网设备无需执行S910。若该数据包沿第一路径传输失败,即第一接入网设备在预设时间内,未执行S909,则第一接入网设备执行S910,以使该数据包沿另一条路径传输。其中,S909和S910的具体说明如下:
S909、第一终端装置向第一接入网设备发送第三数据。相应的,第一接入网设备接收来自第一终端装置的第三数据。
其中,第三数据是数据包沿第一路径传输的数据。
在本申请中,第一接入网设备先向一个终端装置发送数据包的场景下,将数据包沿第一路径(从第二终端装置经过从站设备到第一终端装置)传输的数据,描述为“第三数据”。
S910、第一接入网设备根据对应关系向第一终端装置发送数据包。相应的,第一终端装置接收来自第一接入网设备的数据包。
其中,S910中的数据包与S908中的数据包相同。在第一终端装置接收数据包之后,向从站设备转发数据包,以使数据包沿第二路径传输,返回到第一接入网设备。在本申请中,第一接入网设备先向一个终端装置发送数据包的场景下,将数据包沿第二路径(从第一终端装置经过从站设备到第二终端装置)传输的数据,描述为“第四数据”。这里,同一数据包沿两条互为冗余的路径(第一路径和第二路径)传输之后,得到的第三数据和第 四数据是相同的。如此,某一数据包沿第一路径传输成功,即第一接入网设备接收来自第一终端装置的第三数据之后,数据包也就无需沿第二路径传输。第一接入网设备也就无需向第一终端装置发送数据包,以节省数据传输资源。某一数据包沿第一路径传输失败,则第一接入网设备再向第一终端装置发送相同的数据包,使数据包沿另一条路径传输,返回第一接入网设备,以提高数据传输的可靠性。
可以理解的是,若该数据包沿第一路径传输成功,即第一接入网设备在预设时间内,执行S909,且第三数据的质量满足业务需求,如第三数据的丢包率小于或等于预设值,则无需使数据包沿另一路径传输,即第一接入网设备无需执行S910;第三数据的质量无法满足业务需求,如第三数据的丢包率大于预设值,则第一接入网设备仍执行S910,以使该数据包沿另一条路径传输,返回到第一接入网设备,以保证数据传输的可靠性。
上述通信方法均针对两个终端装置连接同一接入网设备的网络架构。在两个终端装置连接不同接入网设备的情况下,适用于工业以太网的网络架构如图24所示。参考图24,接入网设备的数量为两个,即第一接入网设备201和第二接入网设备202。第一接入网设备201与第一终端装置301连接,第二接入网设备202与第二终端装置302连接。第一接入网设备201和第二接入网设备202之间交互信息,两个接入网设备之间的接口可以是X2接口或Xn接口。两个接入网设备之间交互的信息承载于X2消息或Xn消息中。两个接入网设备的锚点在第一接入网设备201。第一接入网设备201接收来自核心网设备10的数据包,或向核心网设备10发送数据包。核心网设备10与第二接入网设备202之间的虚线表示两者之间传输控制面信令。
基于图24所示的网络架构,本申请实施例提供的通信方法中,第一终端装置与第一接入网设备之间的交互过程可以参见上述S9011、S903、S904、S906、S909和S910的相关描述,此处不再赘述。第一接入网设备与核心网设备之间的交互过程可以参见上述S9014和S9015的相关描述,此处不再赘述。第二终端装置与第一接入网设备之间的信息交互过程如下:
第一、对于第二终端装置上报第二冗余标识信息的过程,即S9012的具体实现步骤如下:第二终端装置向第二接入网设备发送第二冗余标识信息,再由第二接入网设备向第一接入网设备发送第二冗余标识信息。
第二、对于第一接入网设备向第二终端装置下发数据包的过程,即S903的具体实现步骤如下:
第一接入网设备向第二接入网设备发送数据包,再由第二接入网设备向第二终端装置发送数据包。这里,第一接入网设备向第二接入网设备发送的数据包,与第一接入网设备向第一终端装置发送的数据包相同。
第三、对于第一接入网设备向第二终端装置发送传输指示信息的过程,即S905的具体实现步骤如下:第一接入网设备向第二接入网设备发送传输指示信息,再由第二接入网设备向第二终端装置发送传输指示信息。
第四、对于第一接入网设备向第二终端装置发送第二状态指示信息的过程,即S907的具体实现步骤如下:第一接入网设备向第二接入网设备发送第二状态指示信息,再由第二接入网设备向第二终端装置发送第二状态指示信息。
第五、对于第二终端装置向第一接入网设备发送返回的数据包的过程具体实现步骤如 下:第二终端装置向第二接入网设备发送数据包,再由第二接入网设备向第一接入网设备发送数据包。可以理解的是,以上各个实施例中,由第一接入网设备实现的方法和/或步骤,也可以由可用于第一接入网设备的部件(例如芯片或者电路)实现;由第一终端装置实现的方法和/或步骤,也可以由可用于第一终端装置的部件(例如芯片或者电路)实现;由第二终端装置实现的方法和/或步骤,也可以由可用于第二终端装置的部件(例如芯片或者电路)实现;由核心网设备实现的方法和/或步骤,也可以由可用于核心网设备的部件(例如芯片或者电路)实现。
上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。相应的,本申请实施例还提供了通信装置,该通信装置可以为上述方法实施例中的网元,或者包含上述网元的装置,或者为可用于网元的部件。可以理解的是,该通信装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
图25示出了一种通信装置2500的结构示意图。该通信装置2500包括接口模块2501和处理模块2502。接口模块2501是一种该装置的接口电路,用于从其它装置接收或发送信号。例如,当该装置以芯片的方式实现时,该接口模块2501是该芯片用于从其它芯片或装置接收信号的接口电路。或者,该接口模块2501是该芯片用于向其它芯片或装置发送信号的接口电路。
比如,以通信装置2500为上述方法实施例中的接入网设备为例,
则接口模块2501用于获取第一终端装置和第二终端装置之间的对应关系;接口模块2501还用于获取数据包;处理模块2502用于根据对应关系向第一终端装置和第二终端装置发送数据包。
在一种可能的设计中,接口模块2501还用于接收来自第一终端装置的第一数据;接口模块2501还用于向第二终端装置发送传输指示信息,传输指示信息用于指示第二终端装置停止向接入网设备传输第二数据;其中,第一数据是数据包沿第一路径传输的数据,第二数据是数据包沿第二路径传输的数据;第一路径为从第二终端装置经至少一个从站设备到第一终端装置;第二路径为从第一终端装置经至少一个从站设备到第二终端装置。
在一种可能的设计中,处理模块2502用于获取第一终端装置和第二终端装置之间的对应关系,包括:处理模块2502用于从第一终端装置、第二终端装置或核心网设备获取第一终端装置和第二终端装置之间的对应关系。
在一种可能的设计中,处理模块2502用于获取第一终端装置和第二终端装置之间的对应关系,包括:接口模块2501用于接收来自第一终端装置的第一冗余标识信息;接口模块2501还用于接收来自第二终端装置的第二冗余标识信息;处理模块2502用于根据第一冗余标识信息和第二冗余标识信息,确定第一终端装置和第二终端装置之间的对应关系。
在一种可能的设计中,接口模块2501还用于接收来自第一终端装置的第一冗余序列号RSN和来自第二终端装置的第二冗余序列号RSN。
在一种可能的设计中,接口模块2501还用于接收来自第一终端装置的第一逻辑信道 的标识和来自第二终端装置的第二逻辑信道的标识。
在一种可能的设计中,接口模块2501还用于向第一终端装置发送第一状态指示信息;和/或接口模块2501还用于向第二终端装置发送第二状态指示信息;其中,第一状态指示信息用于指示第二路径为激活状态或非激活状态;第二状态指示信息用于指示第一路径为激活状态或非激活状态。
比如,以通信装置2500为上述方法实施例中的终端装置为例,
则接口模块2501用于从接入网设备接收第一数据包,第一数据包包括主站设备发送给至少一个从站设备的数据;接口模块2501还用于将第一数据包发送给至少一个从站设备;接口模块2501还用于接收第二数据包,第二数据包包括至少一个从站设备发送给主站设备的数据,第二数据包为第一数据包相同的数据包经过至少一个从站设备处理后得到的。
在一种可能的设计中,接口模块2501还用于向接入网设备发送第二数据包。
在一种可能的设计中,接口模块2501还用于向接入网设备发送终端装置与另一终端装置的对应关系。
在一种可能的设计中,接口模块2501还用于向接入网设备发送冗余标识信息;冗余标识信息包括以下信息的至少一种:主站设备标识,至少一个从站设备标识,从站设备列表标识,终端装置的标识,和另一终端装置的标识,另一终端装置与终端装置具有对应关系。
在一种可能的设计中,接口模块2501还用于向接入网设备发送冗余序列号RSN。
在一种可能的设计中,接口模块2501还用于向接入网设备发送逻辑信道的标识。
在一种可能的设计中,接口模块2501还用于从接入网设备接收传输指示信息,传输指示信息用于指示终端装置停止向接入网设备传输第二数据包。
在一种可能的设计中,接口模块2501还用于从接入网设备接收状态指示信息,其中,状态指示信息用于指示路径为激活状态或非激活状态,路径为从终端装置经至少一个从站设备到另一终端装置;处理模块2502用于根据状态指示信息将路径的状态设置为激活或非激活。
比如,以通信装置2500为上述方法实施例中的核心网设备为例,
则处理模块2502用于确定第一终端装置和第二终端装置之间的对应关系;接口模块2501用于向第一接入网设备发送关系指示信息;其中,关系指示信息用于指示第一终端装置和第二终端装置之间的对应关系。
在一种可能的设计中,处理模块2502用于确定第一终端装置和第二终端装置之间的对应关系,包括:处理模块2502用于根据第一终端装置的签约信息和第二终端装置的签约信息,确定第一终端装置和第二终端装置之间的对应关系;
或接口模块2501用于获取来自第一终端装置的第一冗余标识信息和来自第二终端装置的第二冗余标识信息,处理模块2502用于根据第一冗余标识信息和第二冗余标识信息,确定第一终端装置和第二终端装置之间的对应关系。
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在本实施例中,该通信装置2500以采用集成的方式划分各个功能模块的形式来呈现。 这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到该通信装置2500可以采用图26所示的通信装置2600的形式。
比如,图26所示的通信装置2600中的处理器2601可以通过调用存储器2603中存储的计算机执行指令,使得通信装置2600执行上述方法实施例中的通信方法。
具体的,图25中的接口模块2501和处理模块2502的功能/实现过程可以通过图26所示的通信装置2600中的处理器2601调用存储器2603中存储的计算机执行指令来实现。或者,图25中的处理模块2502的功能/实现过程可以通过图26所示的通信装置2600中的处理器2601调用存储器2603中存储的计算机执行指令来实现,图25中的接口模块2501的功能/实现过程可以通过图26中所示的通信装置2600中的通信接口2604来实现。处理器2601、存储器2603和通信接口2604通过总线2602相连接。
由于本实施例提供的通信装置2500可执行上述的通信方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。
需要说明的是,以上模块或单元的一个或多个可以软件、硬件或二者结合来实现。当以上任一模块或单元以软件实现的时候,所述软件以计算机程序指令的方式存在,并被存储在存储器中,处理器可以用于执行所述程序指令并实现以上方法流程。该处理器可以内置于SoC(片上***)或专用集成电路(application specific integrated circuit,ASIC),也可是一个独立的半导体芯片。该处理器内处理用于执行软件指令以进行运算或处理的核外,还可进一步包括必要的硬件加速器,如现场可编程门阵列(field programmable gate array,FPGA)、可编程逻辑器件(programmable logic device,PLD)、或者实现专用逻辑运算的逻辑电路。
当以上模块或单元以硬件实现的时候,该硬件可以是CPU、微处理器、数字信号处理(digital signal processing,DSP)芯片、微控制单元(microcontroller unit,MCU)、人工智能处理器、ASIC、***级芯片(system on chip,SoC)、FPGA、PLD、专用数字电路、硬件加速器或非集成的分立器件中的任一个或任一组合,其可以运行必要的软件或不依赖于软件以执行以上方法流程。
可选的,本申请实施例还提供了一种通信装置(例如,该通信装置可以是芯片或芯片***),该通信装置包括处理器,用于实现上述任一方法实施例中的方法。在一种可能的设计中,该通信装置还包括存储器。该存储器,用于保存必要的程序指令和数据,处理器可以调用存储器中存储的程序代码以指令该通信装置执行上述任一方法实施例中的方法。当然,存储器也可以不在该通信装置中。该通信装置是芯片***时,可以由芯片构成,也可以包含芯片和其他分立器件,本申请实施例对此不作具体限定。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光 纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,数字化视频光盘(digital video disc/disk,DVD))、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。
本申请以上实施例中,“多个”是指两个或两个以上。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。此外,对于单数形式“a”,“an”和“the”出现的元素(element),除非上下文另有明确规定,否则其不意味着“一个或仅一个”,而是意味着“一个或多于一个”。例如,“a device”意味着对一个或多个这样的device。再者,至少一个(at least one of).......”意味着后续关联对象中的一个或任意组合,例如“A,B和C中的至少一个”包括A,B,C,AB,AC,BC,或ABC。根据X确定Y并不意味着仅仅根据X确定Y,还可以根据X和其它信息确定Y。
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (45)

  1. 一种通信方法,其特征在于,包括:
    接入网设备获取第一终端装置和第二终端装置之间的对应关系;
    所述接入网设备获取数据包;
    所述接入网设备根据所述对应关系向所述第一终端装置和所述第二终端装置发送所述数据包。
  2. 根据权利要求1所述的通信方法,其特征在于,所述方法还包括:
    所述接入网设备接收来自所述第一终端装置的第一数据;
    所述接入网设备向所述第二终端装置发送传输指示信息,所述传输指示信息用于指示所述第二终端装置停止向所述接入网设备传输第二数据;
    其中,所述第一数据是所述数据包沿第一路径传输的数据,所述第二数据是所述数据包沿第二路径传输的数据;
    所述第一路径为从所述第二终端装置经至少一个从站设备到所述第一终端装置;所述第二路径为从所述第一终端装置经所述至少一个从站设备到所述第二终端装置。
  3. 根据权利要求2所述的通信方法,其特征在于,所述传输指示信息承载于媒体接入控制MAC子协议数据单元PDU,所述MAC子PDU包括MAC子头和MAC控制单元CE,所述MAC子头包括逻辑信道标识LCID,其中,
    所述传输指示信息包括具有预设值的所述LCID,所述预设值的LCID用于指示所述第二终端装置停止向所述接入网设备传输所述第二数据;或者,
    所述LCID具有预设值,用于指示所述MAC子头对应的MAC CE包括所述传输指示信息。
  4. 根据权利要求3所述的通信方法,其特征在于,
    所述MAC CE的长度为预设长度,且所述MAC CE用于指示所述第二终端装置停止向所述接入网设备传输所述第二数据;或者,
    所述MAC CE包括预设逻辑信道的标识,且所述MAC CE用于指示所述第二终端装置停止向所述接入网设备传输所述预设逻辑信道对应的第二数据;或者,
    所述MAC CE包括数据包的序列号,且所述MAC CE用于指示所述第二终端装置停止向接入网设备传输所述序列号对应的第二数据;或者,
    所述MAC CE包括数据无线承载的标识,且所述MAC CE用于指示所述第二终端装置停止向接入网设备传输所述数据无线承载对应的第二数据。
  5. 根据权利要求4所述的通信方法,其特征在于,所述预设长度为0。
  6. 根据权利要求1至5任一项所述的通信方法,其特征在于,所述接入网设备获取第一终端装置和第二终端装置之间的对应关系,包括:
    所述接入网设备从所述第一终端装置、所述第二终端装置或核心网设备获取所述第一终端装置和所述第二终端装置之间的对应关系。
  7. 根据权利要求1至5任一项所述的通信方法,其特征在于,所述接入网设备获取第一终端装置和第二终端装置之间的对应关系,包括:
    所述接入网设备接收来自所述第一终端装置的第一冗余标识信息;
    所述接入网设备接收来自所述第二终端装置的第二冗余标识信息;
    所述接入网设备根据所述第一冗余标识信息和所述第二冗余标识信息,确定所述第一 终端装置和所述第二终端装置之间的对应关系。
  8. 根据权利要求7所述的通信方法,其特征在于,所述第一冗余标识信息包括以下信息的至少一种:主站设备标识,至少一个从站设备标识,从站设备列表标识和终端装置标识;
    所述第二冗余标识信息包括以下信息的至少一种:主站设备标识,至少一个从站设备标识,从站设备列表标识和终端装置标识;
    其中,所述终端装置标识包括所述第一终端装置的标识和/或所述第二终端装置的标识。
  9. 根据权利要求1至8任一项所述的通信方法,其特征在于,所述方法还包括:
    所述接入网设备接收来自所述第一终端装置的第一冗余序列号RSN和来自所述第二终端装置的第二冗余序列号RSN。
  10. 根据权利要求1至9任一项所述的通信方法,其特征在于,所述方法还包括:
    所述接入网设备接收来自所述第一终端装置的第一逻辑信道的标识和来自所述第二终端装置的第二逻辑信道的标识。
  11. 根据权利要求2至10任一项所述的通信方法,其特征在于,所述数据包包括类型指示信息,所述类型指示信息用于指示所述数据包是主站设备与从站设备之间传输的数据。
  12. 根据权利要求11所述的通信方法,其特征在于,
    所述类型指示信息承载于媒体接入控制MAC子头,所述MAC子头包括比特位和逻辑信道标识LCID;所述比特位用于指示所述数据包是主站设备与从站设备之间传输的数据,或者,所述LCID为预设值,所述预设值用于指示所述数据包是所述主站设备与所述从站设备之间传输的数据。
  13. 根据权利要求11所述的通信方法,其特征在于,
    所述类型指示信息承载于MAC服务数据单元SDU,所述类型指示信息为所述MAC SDU中的序列号,所述序列号为预设值,所述预设值用于指示所述数据包是所述主站设备与所述从站设备之间传输的数据。
  14. 根据权利要求2至13任一项所述的通信方法,其特征在于,所述方法还包括:
    所述接入网设备向所述第一终端装置发送第一状态指示信息;
    和/或所述接入网设备向所述第二终端装置发送第二状态指示信息;
    其中,所述第一状态指示信息用于指示第二路径为激活状态或非激活状态;所述第二状态指示信息用于指示第一路径为激活状态或非激活状态。
  15. 根据权利要求14所述的通信方法,其特征在于,所述第一状态指示信息包括时间信息,所述第一状态指示信息用于指示在所述时间信息对应的时间,将所述第二路径的状态设置为激活或非激活;
    和/或所述第二状态指示信息包括时间信息,所述第二状态指示信息用于指示在所述时间信息对应的时间,将所述第一路径的状态设置为激活或非激活。
  16. 根据权利要求14或15所述的通信方法,其特征在于,所述第一状态指示信息或所述第二状态指示信息携带于MAC子PDU,所述MAC子PDU包括MAC子头和MAC CE,所述MAC子头包括LCID,所述LCID具有预设值,用于指示所述MAC子头对应的MAC CE包括所 述第一状态指示信息或所述第二状态指示信息。
  17. 一种通信方法,其特征在于,包括:
    终端装置从接入网设备接收第一数据包,所述第一数据包包括主站设备发送给至少一个从站设备的数据;
    所述终端装置将所述第一数据包发送给所述至少一个从站设备;
    所述终端装置接收第二数据包,所述第二数据包包括所述至少一个从站设备发送给所述主站设备的数据,所述第二数据包为所述第一数据包相同的数据包经过所述至少一个从站设备处理后得到的。
  18. 根据权利要求17所述的通信方法,其特征在于,所述方法还包括:
    所述终端装置向所述接入网设备发送所述第二数据包。
  19. 根据权利要求17或18所述的通信方法,其特征在于,所述方法还包括:
    所述终端装置向所述接入网设备发送所述终端装置与另一终端装置的对应关系。
  20. 根据权利要求17至19任一项所述的通信方法,其特征在于,所述方法还包括:
    所述终端装置向所述接入网设备发送冗余标识信息;所述冗余标识信息包括以下信息的至少一种:主站设备标识,至少一个从站设备标识,从站设备列表标识,所述终端装置的标识,和另一终端装置的标识,所述另一终端装置与所述终端装置具有对应关系。
  21. 根据权利要求19或20所述的通信方法,其特征在于,所述方法还包括:
    所述终端装置向所述接入网设备发送冗余序列号RSN。
  22. 根据权利要求19至21任一项所述的通信方法,其特征在于,所述方法还包括:
    所述终端装置向所述接入网设备发送逻辑信道的标识。
  23. 根据权利要求17至22任一项所述的通信方法,其特征在于,所述方法还包括:
    所述终端装置从所述接入网设备接收传输指示信息,所述传输指示信息用于指示所述终端装置停止向所述接入网设备传输所述第二数据包。
  24. 根据权利要求23所述的通信方法,其特征在于,所述传输指示信息承载于媒体接入控制MAC子协议数据单元PDU,所述MAC子PDU包括MAC子头和MAC控制单元CE,所述MAC子头包括逻辑信道标识LCID,其中,
    所述传输指示信息包括具有预设值的所述LCID,所述预设值的LCID用于指示所述终端装置停止向所述接入网设备传输所述第二数据包;或者,
    所述LCID具有预设值,用于指示所述MAC子头对应的MAC CE包括所述传输指示信息。
  25. 根据权利要求24所述的通信方法,其特征在于,
    所述MAC CE的长度为预设长度,且所述MAC CE用于指示所述终端装置停止向所述接入网设备传输所述第二数据包;或者,
    所述MAC CE包括预设逻辑信道的标识,且所述MAC CE用于指示所述终端装置停止向所述接入网设备传输所述预设逻辑信道对应的第二数据包;或者,
    所述MAC CE包括数据包的序列号,且所述MAC CE用于指示所述终端装置停止向接入网设备传输所述序列号对应的第二数据包;或者,
    所述MAC CE包括数据无线承载的标识,且所述MAC CE用于指示所述终端装置停止向接入网设备传输所述数据无线承载对应的第二数据。
  26. 根据权利要求25所述的通信方法,其特征在于,所述预设长度为0。
  27. 根据权利要求17至26任一项所述的通信方法,其特征在于,所述第一数据包包括类型指示信息,所述类型指示信息用于指示所述第一数据包是主站设备与从站设备之间传输的数据。
  28. 根据权利要求27所述的通信方法,其特征在于,所述类型指示信息承载于媒体接入控制MAC子头,所述MAC子头包括比特位和逻辑信道标识LCID;所述比特位用于指示所述数据包是从站设备与主站设备之间传输的数据,或者,所述LCID为预设值,所述预设值用于指示所述数据包是所述从站设备与主站设备之间传输的数据,或者,
    所述类型指示信息承载于MAC服务数据单元SDU,所述类型指示信息为所述MAC SDU中的序列号,所述序列号为预设值,所述预设值用于指示所述数据包是所述从站设备与主站设备之间传输的数据。
  29. 根据权利要求17至28任一项所述的通信方法,其特征在于,所述方法还包括:
    所述终端装置从所述接入网设备接收状态指示信息,其中,所述状态指示信息用于指示路径为激活状态或非激活状态,所述路径为从所述终端装置经所述至少一个从站设备到另一终端装置;
    所述终端装置根据所述状态指示信息将所述路径的状态设置为激活或非激活。
  30. 根据权利要求29所述的通信方法,其特征在于,所述状态指示信息包括时间信息,所述状态指示信息用于指示在所述时间信息对应的时间,将所述路径的状态设置为激活或非激活。
  31. 根据权利要求29或30所述的通信方法,其特征在于,所述状态指示信息携带于MAC子PDU,所述MAC子PDU包括MAC子头和MAC CE,所述MAC子头包括LCID,所述LCID具有预设值,用于指示所述MAC子头对应的MAC CE包括所述状态指示信息。
  32. 一种通信方法,其特征在于,包括:
    核心网设备确定第一终端装置和第二终端装置之间的对应关系;
    所述核心网设备向第一接入网设备发送关系指示信息;
    其中,所述关系指示信息用于指示所述第一终端装置和所述第二终端装置之间的对应关系。
  33. 根据权利要求32所述的通信方法,其特征在于,所述核心网设备确定第一终端装置和第二终端装置之间的对应关系,包括:
    所述核心网设备根据所述第一终端装置的签约信息和所述第二终端装置的签约信息,确定所述第一终端装置和所述第二终端装置之间的对应关系;
    或所述核心网设备获取来自第一终端装置的第一冗余标识信息和来自第二终端装置的第二冗余标识信息,根据所述第一冗余标识信息和所述第二冗余标识信息,确定所述第一终端装置和所述第二终端装置之间的对应关系。
  34. 根据权利要求33所述的通信方法,其特征在于,
    所述第一冗余标识信息包括以下信息的至少一种:主站设备标识,至少一个从站设备标识,从站设备列表标识和终端装置标识;
    所述第二冗余标识信息包括以下信息的至少一种:主站设备标识,至少一个从站设备标识,从站设备列表标识和终端装置标识;
    其中,所述终端装置标识包括所述第一终端装置的标识和/或所述第二终端装置的标 识。
  35. 一种通信装置,其特征在于,包括:用于执行权利要求1至16任一项所述的各个步骤的单元。
  36. 一种通信装置,其特征在于,包括:处理器,用于调用存储器中的程序,以执行权利要求1至16任一项所述的通信方法。
  37. 一种通信装置,其特征在于,包括:处理器和接口电路,所述接口电路用于与其它装置通信,所述处理器用于执行权利要求1至16任一项所述的通信方法。
  38. 一种通信装置,其特征在于,包括:用于执行权利要求17至31任一项所述的各个步骤的单元。
  39. 一种通信装置,其特征在于,包括:处理器,用于调用存储器中的程序,以执行权利要求17至31任一项所述的通信方法。
  40. 一种通信装置,其特征在于,包括:处理器和接口电路,所述接口电路用于与其它装置通信,所述处理器用于执行权利要求17至31任一项所述的通信方法。
  41. 一种通信装置,其特征在于,包括:用于执行权利要求32至34任一项所述的各个步骤的单元。
  42. 一种通信装置,其特征在于,包括:处理器,用于调用存储器中的程序,以执行权利要求32至34任一项所述的通信方法。
  43. 一种通信装置,其特征在于,包括:处理器和接口电路,所述接口电路用于与其它装置通信,所述处理器用于执行权利要求32至34任一项所述的通信方法。
  44. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储程序,所述程序被处理器调用时,权利要求1至16任一项所述的通信方法被执行,或者权利要求17至31任一项所述的通信方法被执行,或者权利要求32至34任一项所述的通信方法被执行。
  45. 一种计算机程序,其特征在于,当所述程序被处理器调用时,权利要求1至16任一项所述的通信方法被执行,或者权利要求17至31任一项所述的通信方法被执行,或者权利要求32至34任一项所述的通信方法被执行。
PCT/CN2019/124419 2019-12-10 2019-12-10 通信方法及装置 WO2021114115A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2019/124419 WO2021114115A1 (zh) 2019-12-10 2019-12-10 通信方法及装置
CN201980102510.0A CN114788401A (zh) 2019-12-10 2019-12-10 通信方法及装置
EP19955653.1A EP4054286A4 (en) 2019-12-10 2019-12-10 COMMUNICATION METHOD AND APPARATUS
US17/836,719 US20220322140A1 (en) 2019-12-10 2022-06-09 Communication method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/124419 WO2021114115A1 (zh) 2019-12-10 2019-12-10 通信方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/836,719 Continuation US20220322140A1 (en) 2019-12-10 2022-06-09 Communication method and apparatus

Publications (1)

Publication Number Publication Date
WO2021114115A1 true WO2021114115A1 (zh) 2021-06-17

Family

ID=76329199

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/124419 WO2021114115A1 (zh) 2019-12-10 2019-12-10 通信方法及装置

Country Status (4)

Country Link
US (1) US20220322140A1 (zh)
EP (1) EP4054286A4 (zh)
CN (1) CN114788401A (zh)
WO (1) WO2021114115A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023185237A1 (zh) * 2022-03-29 2023-10-05 华为技术有限公司 报文传输的方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016201654A (ja) * 2015-04-09 2016-12-01 住友電気工業株式会社 通信装置及びパケットの中継方法
CN108023800A (zh) * 2016-11-03 2018-05-11 ***通信集团广东有限公司 一种lte承载网络的保护方法及装置
WO2019104685A1 (zh) * 2017-11-30 2019-06-06 华为技术有限公司 通信方法和通信设备
CN109996306A (zh) * 2017-12-29 2019-07-09 华为技术有限公司 通信方法和通信设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8416727B2 (en) * 2008-07-31 2013-04-09 Motorola Solutions, Inc. Communicating a group message packet over a wide area network
CN102215456B (zh) * 2010-04-07 2013-11-06 华为技术有限公司 一种组播控制方法和装置
CN104025534B (zh) * 2011-11-04 2017-11-28 飞思卡尔半导体公司 实时分布式网络从器件、实时分布式网络

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016201654A (ja) * 2015-04-09 2016-12-01 住友電気工業株式会社 通信装置及びパケットの中継方法
CN108023800A (zh) * 2016-11-03 2018-05-11 ***通信集团广东有限公司 一种lte承载网络的保护方法及装置
WO2019104685A1 (zh) * 2017-11-30 2019-06-06 华为技术有限公司 通信方法和通信设备
CN109996306A (zh) * 2017-12-29 2019-07-09 华为技术有限公司 通信方法和通信设备

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
ERICSSON: "Anchor change for Ethernet PDU Sessions", 3GPP DRAFT; S2-187767-ETHERNET-ANCHOR-CHANGE, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Sophia Antipolis, France; 20180820 - 20180824, 14 August 2018 (2018-08-14), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP051536730 *
ERICSSON: "Ethernet Header Compression", 3GPP DRAFT; R2-1817175 ETHERNET HEADER COMPRESSION, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG2, no. Spokane, USA; 20181112 - 20181116, 1 November 2018 (2018-11-01), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP051481093 *
ERICSSON: "Redundant user plane paths based on dual connectivity", 3GPP TSG-SA WG2 MEETING #127BIS, S2-184862, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, 22 May 2018 (2018-05-22), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP051535411 *
HUAWEI, HISILICON: "CR on 37.340 for supporting the handover from NR to EN-DC", 3GPP DRAFT; R2-1817363 CR ON 37.340 FOR SUPPORTING THE HANDOVER FROM NR TO EN-DC, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG2, no. Spokane, US; 20181112 - 20181116, 12 November 2018 (2018-11-12), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP051556896 *
See also references of EP4054286A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023185237A1 (zh) * 2022-03-29 2023-10-05 华为技术有限公司 报文传输的方法及装置

Also Published As

Publication number Publication date
EP4054286A1 (en) 2022-09-07
CN114788401A (zh) 2022-07-22
US20220322140A1 (en) 2022-10-06
EP4054286A4 (en) 2023-03-01

Similar Documents

Publication Publication Date Title
WO2020001171A1 (zh) 一种网络切片的资源分配方法及装置
CN112636884B (zh) 一种消息传输方法和装置
JP2017508364A (ja) セカンダリ基地局及びマスター基地局によって実行される通信方法、並びに対応する基地局
WO2021238774A1 (zh) 通信方法及装置
WO2022017285A1 (zh) 报文转发方法、装置及***
CN113746585A (zh) 授时方法和通信装置
US20230262557A1 (en) Methods and devices for enhancing integrated access backhaul networks for new radio
US20230029292A1 (en) Data transmission method and apparatus
TWI775009B (zh) 用於行動通訊系統之基地台及其資料傳輸方法
WO2022033543A1 (zh) 一种中继通信方法及通信装置
WO2021204022A1 (zh) 一种测量方法和装置
US20220322140A1 (en) Communication method and apparatus
WO2021174377A1 (zh) 切换方法和通信装置
WO2020147806A1 (zh) 资源周期的配置方法及装置、链路的处理、建立方法及装置
US20230199600A1 (en) Method and communications apparatus for configuring assistance information
US10944625B2 (en) Bearer configuration method and related products
CN111418229B (zh) 数据复制传输功能的配置方法、网络设备及终端设备
US20220182910A1 (en) Data Processing Method, Apparatus, And System
WO2020213407A1 (ja) 通信システム、通信装置、及び端末装置
WO2021042381A1 (zh) 一种通信方法、装置及***
WO2021168773A1 (zh) 通信方法和通信装置
WO2023061207A1 (zh) 一种通信方法、通信装置及通信***
WO2023246746A1 (zh) 一种通信方法及相关设备
US20230345323A1 (en) Data transmission method and apparatus
WO2022237505A1 (zh) 一种通信方法、设备及***

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19955653

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019955653

Country of ref document: EP

Effective date: 20220601

NENP Non-entry into the national phase

Ref country code: DE